You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Benchmarks: run the AI agent benchmark on saifctl after the first round #894
The first round of the AI agent benchmark (Citry against Django + HTMX + Alpine, building on docs/design/ai_development_benchmarks.md) runs on benchmarks/agent_usage/run.py, extended with a Claude Code option. After that round, move the benchmark runner to saifctl, which was built for running sandboxed agents and testing them from the outside.
What saifctl needs first:
Finish and push the maintainer's local saifctl changes (file protection), then publish a release so the benchmark can install a fixed version instead of a checkout.
A single-attempt mode: run the agent once, export its patch, and grade it without feeding test results back. The existing loop runs until the tests pass, which hides the bugs the benchmark counts.
Grading of the exported patch on a clean copy of the starting app, in a container with no network.
A token cap, enforced by reading the agent's usage while it runs, and the full transcript saved for each attempt.
Network rules that can allow a list of docs sites and block the rest, and record every URL the agent fetched.
Records of image IDs, the agent CLI version and the model for each attempt.
A current Claude Code version in the agent image, with subscription login, and copying refreshed login tokens back so parallel attempts don't break each other's login.
Then port the benchmark's two stacks, its tasks and its grading to saifctl, and rerun a small sample from the first round to check that both runners give the same results.
Activity