{"slug": "i-built-42-evals-looking-for-tasks-ai-coding-agents-couldn-t-solve", "title": "I Built 42 Evals Looking for Tasks AI Coding Agents Couldn't Solve", "summary": "A developer built and open-sourced 42 self-contained coding-agent evaluation cases, each derived from a documented failure in a private upstream project and paired with a private grader that checks the externally observable invariants the original failure violated. The cases, written in TypeScript or Python, test whether an agent can preserve system-wide invariants while implementing a feature or fixing a defect; the developer submitted five to the micro1 Eval Hackathon. Notably, Claude Code and Codex passed all six trials on a review-and-repair task the developer expected to be difficult.", "body_md": "I entered the [micro1 Eval Hackathon](https://www.hackerrank.com/event/micro1-eval-hackathon) with what seemed like a reasonable idea: turn failures from my everyday development work into tasks that frontier AI models would struggle to solve.\n\nI had been building [taisan](https://github.com/ttbc-dev/taisan), an orchestrator for software factories, and [yuurei](https://github.com/shimpeiws/yuurei), a tool for running and recording coding-agent experiments. I thought I would have plenty of failures to work with.\n\nFinding them turned out to be harder than I expected. Agents kept solving tasks I thought would be difficult. And sometimes, when I finally got a failing result, the problem was in the grader I had written.\n\nI ended up building 42 evaluation cases and submitting five to the hackathon. The case collection is now open source:\n\nSelf-contained coding-agent evaluation cases derived from documented failures in a private upstream project.\n\nEach case converts one historical agent failure into a small, self-contained project (TypeScript or Python, per the case contract) that an evaluated agent must complete, plus a private grader that checks the externally observable invariants the original failure violated. The cases test whether an agent can preserve system-wide invariants while implementing a feature or correcting a defect.\n\nThe repository is designed to be publishable: no secrets, no host paths, no private execution artifacts, and no links into the private source repository.\n\nSee [release scope](https://github.com/shimpeiws/coding-agent-eval/docs/release-scope.md), the\n[distribution inventory](https://github.com/shimpeiws/coding-agent-eval/docs/distribution-inventory.md), and the\n[expected case inventory](https://github.com/shimpeiws/coding-agent-eval/docs/case-inventory.json) for the publication\nboundary this release applies.\n\nAll **42** cases are **ready**: they implement their workspace, private grader\npositive and negative controls, and an independent alternative\nimplementation; several additionally declare single-defect controls that\n`npm run controls` grades when declared. The…\n\n*Adapted from [my Japanese article on Zenn](https://zenn.dev/shimpeiws/articles/3280c9a9448b7f).*\n\nWhen I actually sat down to design the evals, I wasn't sure what to turn into a task.\n\nI went through old issues, pull requests, review findings, and the patches that had addressed them. I was looking for failures whose triggering conditions I could reproduce and whose consequences I could check by running the resulting implementation.\n\nRather than asking an agent to work on the original codebase, I extracted the failure mechanism into a small, self-contained project. Each case has three main components:\n\nFor example, I had seen agents fix a review finding only to break an acceptance criterion from the original issue.\n\nI turned that into a task: implement a review-and-repair loop that accepts a proposed change only if the accumulated changes still satisfy every original acceptance criterion. The review findings and file changes were synthetic inputs designed to reproduce the failure mechanism.\n\nI thought it would be a difficult task. Claude Code and Codex passed all six trials.\n\nA closer look at the original-contract-remediation case\n\nThe reference implementation checks the candidate file set against the original contract before adopting the change:\n\n``` js\nconst candidate = applyManifest(cumulative, outcome.manifest, contract.base);\nconst failed = failedCriteria(candidate);\nif (failed.length === 0) {\n  cumulative = candidate;\n  // Decision recording omitted.\n}\n```\n\nThe grader supplies a repair proposal that claims to satisfy an acceptance criterion but actually violates it. The implementation must reject the proposal.\n\n[Reference implementation](https://github.com/shimpeiws/coding-agent-eval/blob/main/cases/original-contract-remediation/controls/reference/src/remediate.ts#L81-L118) · [Grader](https://github.com/shimpeiws/coding-agent-eval/blob/main/cases/original-contract-remediation/grader/src/index.ts#L464-L505) · [Trial results](https://github.com/shimpeiws/coding-agent-eval/blob/main/docs/reports/discovery-12-report.md)\n\nIn [an earlier experiment](https://dev.to/shimpeiws/turning-a-past-coding-agent-run-into-an-evaluation-case-d34), I reconstructed the original requirements and starting source so an agent could solve the same development task again. This time, I was extracting the mechanism behind a failure and making a new task around it.\n\nThe case I featured in my hackathon submission video was `durable-review-state`.\n\nIn my development workflow, agents review generated code, fix the findings, and verify the fixes before opening a pull request. That workflow also needs to resume safely after an interruption.\n\nSuppose the process stops just after saving the findings from round two. If recovery determines the next round simply by counting the saved review records, it can jump straight to round three without fixing anything from round two.\n\nI asked the agents to implement a workflow that persists progress through review, repair, and verification, so it can resume from the appropriate stage.\n\nAn implementation generated by Claude Opus 5.5 had a slightly different problem. The repair operation returned the IDs of the resolved findings. The workflow used those IDs to determine that no unresolved findings remained, verified the repair, and marked the round as complete.\n\nBut it never updated the resolution flags in the findings it saved.\n\n| Runtime decision | Persisted state | \n|---|---|\n| Round cleared | Round cleared | \n| No unresolved findings | `resolved: false` | \n\nIt was a small omission in an otherwise largely working implementation. The workflow reported completion, but a process reading its saved state would still see unresolved findings in a completed round.\n\n**The grader reads the persisted state after execution.** That is how it caught the inconsistency.\n\nClaude Code passed one of three trials. Codex passed all three. Both failing Claude Code implementations exhibited the same omission while passing the other checks.\n\nBecause I had saved the generated code, I could reproduce those grading failures without asking the model to solve the task again.\n\nHere is the walkthrough I submitted to the hackathon:\n\nInspect the implementation and the failing checks\n\nThe [first Claude Code implementation](https://github.com/shimpeiws/coding-agent-eval/blob/main/submission/tasks/durable-review-state/evidence/submissions/claude-opus-5-5-durable-review-state-r1/src/review-workflow.ts#L164-L183) calculates the remaining unresolved findings and uses the result to advance the workflow, without persisting the updated flags.\n\nBoth the [normal execution check (INV-8)](https://github.com/shimpeiws/coding-agent-eval/blob/main/cases/durable-review-state/grader/src/index.ts#L335-L358) and the [execution after a dry run check (INV-5)](https://github.com/shimpeiws/coding-agent-eval/blob/main/cases/durable-review-state/grader/src/index.ts#L634-L649) detect the omission.\n\nThe [six trial results and saved implementations](https://github.com/shimpeiws/coding-agent-eval/tree/main/submission/tasks/durable-review-state/evidence) are available in the repository.\n\nAnother case, `publication-evidence-recovery`, asked agents to implement a publication workflow that preserves evidence of failed attempts and supports recovery.\n\nInitially, four of six trials passed. I thought I had found another useful failure case.\n\nThere turned out to be two problems with my grader:\n\nI corrected both restrictions and graded the same six saved implementations again.\n\n|  | Passed | \n|---|---|\n| Original grader | 4/6 | \n| Corrected grader | 6/6 | \n\n**Not a single line of agent-generated code had changed.**\n\nChecking that my own reference implementation passed would not have caught either problem. I also needed to check that valid alternatives passed, while implementations that lost evidence or reported completion prematurely failed.\n\nThe grader itself needed testing.\n\nThe [grader audit](https://github.com/shimpeiws/coding-agent-eval/blob/main/docs/reports/publication-evidence-recovery-audit.md) documents the two corrections, the controls, and the regrading process.\n\nAs the deadline approached, I kept finding tasks that agents could solve. When a task did produce a failure, I had to inspect the implementation and check whether the grader was asking for something the task had actually required.\n\nI was looking for failures I could explain, not just low scores.\n\nThe public repository contains 42 ready-to-use cases. The hackathon selection matrix covers 17 measured cases, and I submitted five of them, with six judged trials per case (three per agent configuration).\n\nOf the five submitted cases, I considered two clear implementation failures. The other three needed qualifications.\n\n| Task | Claude Code | Codex | Observed failure and qualification | \n|---|---|---|---|\n| [Resumable review state](https://github.com/shimpeiws/coding-agent-eval/tree/main/cases/durable-review-state) | 1/3 | 3/3 | **Clear:** a completed round retained unresolved findings. | \n| [Bounded verification and repair](https://github.com/shimpeiws/coding-agent-eval/tree/main/cases/workflow-path-authority-conflict) | 3/3 | 1/3 | **Clear:** transient verification errors exhausted the budget before any repair was attempted. | \n| [Verification profile binding](https://github.com/shimpeiws/coding-agent-eval/tree/main/cases/bound-verification-profile) | 0/3 | 0/3 | Five trials rejected valid verification records, but the accepted record format was not specified in the task. | \n| [Publication dry runs](https://github.com/shimpeiws/coding-agent-eval/tree/main/cases/review-drain-planning-isolation) | 2/3 | 0/3 | All trials respected the main dry-run requirement. Failures concerned when to enter a terminal state after the final refused publication attempt. | \n| [MCP tool allowlist](https://github.com/shimpeiws/coding-agent-eval/tree/main/cases/planner-mcp-allowlist-enforcement) | 1/3 | 3/3 | All authorization decisions were correct. The failures were audit-log field-name mismatches. | \n\nThe numbers are pass counts over three trials, not estimated success rates. Claude Code's model was confirmed as Opus 5.5. I requested `gpt-6-sol` for Codex, but the runtime did not expose the resolved model identity.\n\nThese are observations about two complete agent configurations, including their runtimes and settings, not a ranking of the underlying models.\n\nThe [submission results](https://github.com/shimpeiws/coding-agent-eval/blob/main/submission/README.md#results) and [admission matrix](https://github.com/shimpeiws/coding-agent-eval/blob/main/docs/reports/admission-matrix.md) include the evidence and qualifications. You can also [regrade the frozen submissions](https://github.com/shimpeiws/coding-agent-eval/blob/main/submission/README.md#reviewer-quickstart) locally without model calls or API keys.\n\nI could correct the grader and run it against exactly the same code because the experiment runner had saved the artifacts from each trial.\n\nThat is where [yuurei](https://github.com/shimpeiws/yuurei), a tool I had already been developing, came in useful.\n\nThe runner in `coding-agent-eval` prepared the task and starter code, then invoked Claude Code or Codex through yuurei with the experiment configuration. Yuurei recorded the execution outcome and changed files. The runner used that information to preserve the generated code from each trial.\n\nThe two tools have separate responsibilities. Yuurei runs and records agent executions; `coding-agent-eval` prepares the cases, preserves the submissions, and grades them.\n\nThat separation was especially useful when investigating the durable-state failure and correcting the grader. I could go back to the actual code and test it again without another model session. Regrading reproduces the verdict on a saved implementation, not the original agent session.\n\nI wrote about why I built yuurei in [Before I Could Evaluate My Coding-Agent Harness, I Had to Isolate It](https://dev.to/shimpeiws/before-i-could-evaluate-my-coding-agent-harness-i-had-to-isolate-it-3ohm).\n\nIsolated, reproducible runtime environments for coding agents\n\n`yuurei` isolates coding-agent runtime environments (Claude Code, Codex\nOpenCode) from your normal global configuration, so different harness profiles\n(skills, instructions, settings, hooks) can be swapped and run\nreproducibly without touching or breaking your everyday setup.\n\nComparing harness or profile variants safely usually means backing up,\nswapping, restarting, and restoring your global config by hand — a\nprocess that gets fragile fast as the number of variants grows. `yuurei`\nbuilds a temporary, isolated execution cell per run instead, and emits a\nruntime-agnostic trace record (`trace.json`) that other tools — such as a\nfuture ROI tracker — can consume. `yuurei` itself stays agnostic of any\nsuch consumer; the dependency only ever points one way, from that tool\ntoward `yuurei`.\n\n`yuurei` separates **configuration and environment variables**: it points a\nruntime at an isolated config root and…\n\nBuilding these evals was both fun and frustrating.\n\nEvery time an agent solved a task I thought would be difficult, I went back to old issues and reviews looking for another candidate. It felt a bit like a treasure hunt. At one point, I was genuinely worried that I wouldn't find five cases before the deadline.\n\nI didn't win a prize, but I'm happy that I now have a collection of executable cases derived from failures I had encountered in my own work.\n\nIf I were doing the hackathon again, I would try promising candidates with agents earlier, before investing so much effort in building them out. There might have been better problems among the incidents I didn't turn into tasks.\n\nWhat I'd like to build next is a way to turn failures into small evals as they happen, rather than digging through months of development history for them.\n\nWhen I change a model or a harness, I want to be able to revisit the things that used to cause problems in my own development work and see which of them the new setup can handle.", "url": "https://wpnews.pro/news/i-built-42-evals-looking-for-tasks-ai-coding-agents-couldn-t-solve", "canonical_source": "https://dev.to/shimpeiws/i-built-42-evals-looking-for-tasks-ai-coding-agents-couldnt-solve-488l", "published_at": "2026-12-01 21:03:38+00:00", "updated_at": "2026-12-01 21:13:41.905362+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-research"], "entities": ["micro1", "Claude Code", "Codex", "taisan", "yuurei", "HackerRank"], "also_reported_by": [], "takeaway": "Frontier coding agents like Claude Code and Codex passed all six trials on a review-and-repair eval that required rejecting a repair proposal violating an original acceptance criterion, suggesting such invariant-preservation tasks are not reliably hard for current models.", "recommendation": {"advice": "Derive eval cases from documented real failures and grade externally observable invariants with positive and negative controls, since agents may solve tasks you assumed were hard.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/i-built-42-evals-looking-for-tasks-ai-coding-agents-couldn-t-solve", "markdown": "https://wpnews.pro/news/i-built-42-evals-looking-for-tasks-ai-coding-agents-couldn-t-solve.md", "text": "https://wpnews.pro/news/i-built-42-evals-looking-for-tasks-ai-coding-agents-couldn-t-solve.txt", "jsonld": "https://wpnews.pro/news/i-built-42-evals-looking-for-tasks-ai-coding-agents-couldn-t-solve.jsonld"}}