vonkerz.

AI LAB / EVALUATION DESIGN / V1.0

Patch Bench.

A fix can look right and still be wrong.
Give a coding agent a task. Check what it actually repaired.

A small IT job runner has retry, cancellation, and error-handling bugs. This workbench pairs a repair prompt with executable checks and a separate human-review rubric. Run the broken starter, inspect a failure, then try a repair.

Built with ChatGPT and Codex. This is a bounded evaluation-design sample, not a long-horizon benchmark or a measured result for Gemini or any other model. No model is called by this page.

Download task kitRead the build note

Paste the contents of candidate.cjs, including module.exports. Runs in a worker inside an opaque-origin sandbox with network requests blocked and a 3-second timeout. This is not a security boundary for hostile code or a tamper-proof score.

Automated behavior score

Not graded

20 checks × 4 points. Human review: 0–20 additional points, not scored here.

Start with the broken implementation. Expand any check to compare expected and actual output.

Write an unambiguous task

The incident becomes an explicit state contract: which events are legal, when retry is allowed, and what must never change. The prompt defines the edge cases before a solution is graded.

Challenge the grader

A correct reference passing is only one check. Deliberately flawed variants test whether the grader notices an extra retry, a wrong time boundary, a late success, or leaked error text.

Keep review separate

Passing examples does not establish maintainability or general correctness. Added tests and the reasoning behind a repair still need a person to read them.

The full task prompt
Grader validation

Loading the recorded validation results…

Deliberate faultScoreChecks that caught it

These are controlled mutations of the supplied reference, not outputs collected from coding agents. Six detected faults establish limited sensitivity to these faults; they do not establish benchmark validity. Inspect the audit JSON.

Human-review rubric and evaluation limits

This task is deterministic and deliberately small. There is no real infrastructure, asynchronous concurrency, durable state, or distributed clock. All tests and the reference are public, so results can be overfit or forged. A score is evidence about these checks, not a model capability ranking.

A stronger evaluation would add an unseen task family, independent reviewers, grader agreement checks, and multiple recorded agent attempts. Model, version, prompt, tool access, time budget, and full attempt logs would need to be recorded before comparing results. None of those comparisons has been run here.

Back to the AI LabTry AI Helpdesk Brief