[ BENCHMARKS / v5.0 / TASKS / 176_intermittent_500s_a ]
Intermittent 500s in a 25-file service, diagnose from logs in Python.
Diagnose intermittent HTTP 500s in a 25-file order and inventory service from a production log excerpt, and fix the root causes so the service meets its API contract.
- Unit
176_intermittent_500s_a- Category
- SWE / DevOpsProduction debugging from logs
- Language
- Python
- Difficulty
- Extra large1,500 s wall clock (25 min)
- Origin
- New in v5
- Ranked rows passed
- 4/7single seed each
The prompt
The agent receives exactly this text as its task, verbatim. The harness adds its own system prompt and, in some campaign arms, guidance of its own; the harness chapter describes those. The task’s setup also writes the files its working directory starts with (a worked sample, a repository or a service, where the prompt names them); they are not reproduced here.
/tmp/eval_shopd500 holds shopd, an order and inventory service (Python 3.9+, standard library only): the shopd/ package (about 2.4 kLOC), its test suite in tests/ (green), its contract docs/API.md, operations notes docs/OPERATIONS.md, and logs/shopd.log, an excerpt of the production log. In production the service intermittently answers HTTP 500, and the excerpt contains every one of those incidents. Diagnose them from the log and the code, find the root causes, and fix them in shopd/.
Done means: the service meets docs/API.md. It never answers 500, and every response (status, body, headers) is the one docs/API.md specifies, whatever requests the App served before, and on whichever worker thread (docs/OPERATIONS.md describes the process model). Making an error go away is not a fix: a request the contract says succeeds must succeed with the documented response, and a request the contract says fails must fail with the documented 4xx error.
Grading: only the shopd/ package is graded; anything you write elsewhere is ignored. Every file in tests/ must stay byte-for-byte unchanged and the suite must stay green (run `python3 -m unittest discover -s tests` from /tmp/eval_shopd500); you may add new test files. Hidden tests then build fresh Apps through the programmatic interface in docs/API.md section 1 (create_app with a FakeClock), replay the kinds of traffic the log shows, and check every response against docs/API.md. Keep that interface and the module layout unchanged. Standard library only; no network.What it tests and why it is in the suite
What it asks. Diagnose intermittent HTTP 500s in a 25-file order and inventory service from a production log excerpt, and fix the root causes so the service meets its API contract.
Why it is here. A new family and the suite’s only extra-large unit. v4 had no discriminating SWE / DevOps unit; with codebase Q&A and git bisect it covers the category after the broken-build repair family (169) did not clear review.
In the suite README: evals/README.md:133 · evals/README.md:151 · evals/README.md:190–193
How it is graded
The validator holds its checks where the agent cannot read them, and runs them against what the agent left on disk once it stops. Its hidden cases are generated inside the validator from a seed; any worked sample the prompt names is only a sample, and no expected output for a hidden case is in the agent’s directory. Before any model ran it, the unit was proven: its reference solution passes, plausible wrong solutions fail for the reason declared in advance, an empty solution and a leak probe fail, and, where the unit is timed, a slow solution fails by the validator’s own limit. The family also went through up to three adversarial review rounds, in which an independent verifier tried to pass every unit without solving it.
- Time. The agent has 1,500 s of wall clock (extra large tier) before an arm’s scaling; at the wall it is stopped and whatever is on disk is validated. Any time limit in the prompt applies to the program itself.
- Verdict. Pass or fail, from the validator alone. A unit the integrity scan finds contaminated is withheld and counts as not passed; a unit lost to infrastructure is rerun, and one still lost counts as not passed.
- Scoring. SCORE is 0.75 × SOLVE + 0.25 × LANG over the whole suite, with hard problems weighted above medium ones. Scoring and ranking
Upstream: the prover’s controls · one unit’s life cycle · why v5 is built this way
How each ranked run did
One run per board row, the DGX Spark pair first, then the RTX 5090, then the gold standard. Each is a single seed: a pass or a fail on one unit is one draw, and a difference between two rows on one unit says little on its own. Claude Opus 5.5 is the unranked reference, in its own scaffold.
DGX Spark pair
- DeepSeek-V4.1-Flash#1 on the boardPassedPassed the validator.
- Hy4-flash#2 on the boardPassedPassed the validator.
- GLM-5.3-Flash#3 on the boardPassedPassed the validator.
One RTX 5090
- Inkling 2 Mini#4 on the boardFailedDid not pass the validator.
- Inkling 2 Mini Derisked#5 on the boardFailedDid not pass the validator.
- Inkling 2 Mini SC117 abliterated#6 on the boardFailedDid not pass the validator.
- Qwen3.8 27B Uncensored MTP#7 on the boardPassedPassed the validator.
Gold standard · unranked
- Claude Opus 5.5Claude Code tools, no turn cap, 2× wallPassedPassed the validator.