跳到正文
DEV Community· BenchSmoke·· 2 小時前AI 評分56

BenchSmoke:把 AI 編碼智能體的「完成」視為一項主張

Treat an AI coding agent's "done" as a claim

AI 導讀

BenchSmoke 分享測試 AI 編碼工具的方法,主張不要把智能體的最終回覆當作程式可用的證明,而要自行執行檢查。一次測試中,智能體寫出待辦事項 CLI 後沒有自行執行,檢查則發現空輸入會被接受為任務,非數字的完成指令會顯示不正確的錯誤訊息。這套方法還包括對不同工具使用相同提示詞及驗證步驟,記錄版本、耗時、重試次數和故障,並以六項 1 至 5 分的問題評分,最後選擇使用、觀望或略過。

正文

When we test AI coding tools at BenchSmoke, we do not treat the agent's final message as proof. We run our own checks. That habit has saved us from shipping a false "it works" more than once.

What the agent said vs what we checked

In one recent run, an agent wrote a small to-do CLI, told us the start command, and stopped. It never ran its own code. The app mostly worked when we checked it ourselves: add, complete, delete, and a restart that kept state. Our separate script still found two edge bugs. Empty input was accepted as a task. A non-numeric complete command printed the wrong error. Both would have been invisible if we had stopped at the agent's "done" line.

Write the verify steps first

For our standard coding task we always check the same things: add two tasks, mark one complete, delete one, restart the process, and confirm state survived. Same starting prompt for every tool in the category. Same verify steps every time. That is how comparisons stay fair.

Log the boring facts while you work

We write down date, version, plan and price we checked, exact prompts, time to a working result, retry count, what broke, and limits we hit. If it is not in the notes, it does not go in a review. We score six questions from 1 to 5 (does it work, time saved, output quality, ease of use, value, reliability), then pick Use it, Watch it, or Skip it. When two verdicts feel close, we take the lower one and explain why.

Say what you did not test

A feature we could not finish on our machine gets marked "not tested," not guessed from the docs. Guessing is how reviews turn into marketing copy.

None of this needs a fancy lab. A short shell script and a consistent task beat vibes. If you only click around until the happy path works, you will miss the edges the agent never tried.

Our full method is public: How we test.

來源:DEV Community · dev.to