|
|
|
|
|
by haukebri
31 days ago
|
|
I drive a real browser against websites as my job, so I've been on the buyer side of this. What decides whether I keep an agent in the loop isn't how many bugs it finds, it's whether I trust the red result without redoing the check myself. Two things bit me early. Agent written assertions drift to whatever is stable to assert: page copy, a fixed config value, an element existing. Those stay green through a redesign that breaks the flow, so the suite told me nothing. And one noisy finding per run is enough for me to stop reading the report at all (after that the tool is dead for me, even when the real findings are in there). What fixed my scoring was planting known defects in a staging copy: a coupon that computes the total wrong, a disabled button that still submits, a toast with the wrong error text. Then run the agent 5 or 6 times and count how many planted ones it reports and how many false alarms per run. False alarms per run is the number I use, not total bugs found. On the 5x number Gabe mentioned, how do you dedupe the same defect reported twice from two different flows? And is there a false alarm per run figure you can give before a trial? That's the first thing I'd ask. |
|
Two things I found doing it:
1. The agent that performs a step is a bad judge of it. It tends to see what it set out to see. What helped was a second call with a clean context that gets only the step, the agent's claim and the raw tool output, and can only object, never pass. An objection downgrades the pass to "warn" with the reason. On my planted-defect pages: 46 correct passes, 0 false objections; and when I doctored the recorded facts so they contradicted the claim, it caught 10 of 10.
2. Your "assertions drift to what's stable" point: I avoid it by not letting the agent write the assertion at all. The expected result comes from the human's test case text, and the report shows Expected next to Actual, quoted from the page.
Small sample, one model, so treat the numbers as a sanity check rather than a benchmark. Disclosure: this is my open-source project (qpilot on GitHub). It runs pre-written manual test cases rather than exploring, so it's a different thing from Mo.