The Agents on Rails Files: designing black-box evals for coding agents
Black-box, browser-driven verification lets coding-agent evals grade apps whose code organization and UI the agent chooses freely, as in Stage 3 of the Rails Foundation's Agents on Rails benchmark. For the Campfire Bots task, a hybrid in-app suite served as an oracle to calibrate the e2e harness. Mutation testing then hardened it: equivalent mutants that change only UI must pass, and faulty mutants that break behavior must fail. Only 2 of 33 runs needed recalibration. For the greenfield Quizzy app, accessibility-oriented QA hints plus partial HTML mockups kept the tests deterministic without over-specifying the task, and the post shares Capybara/Cuprite helpers for waiting on POSTs, polling, auth checks via traffic replay, and offline/WebSocket emulation.
Related posts
- Agent-driven development in Copilot Applied Science
GitHub Engineering mediumAdeptA Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents. Three principles made this work: conversational, verbose prompting in plan mode; continuous refactoring, documentation and dead-code cleanup so the repo is easy for agents to navigate; and a "blame process, not agents" approach backed by strict typing, linters, and human-only contract tests that prevent agents from rewriting regression tests. With this setup five contributors added 11 agents and four skills in under three days, using a loop of /plan, /autopilot, automated Copilot Code Review iterations, and human review, plus weekly agent-run audits for missing tests, duplication and doc gaps.
- Agents are users, so your software needs evals
Vercel mediumAdeptAgents act as users of APIs, CLIs, MCP servers and SDKs, so measuring whether they complete tasks correctly requires evals: tests run many times and scored. An agentic testing pyramid groups checks by LLM call count (deterministic tests, one-turn evals, E2E evals), and a worked example builds an end-to-end eval for a hypothetical coffee-ordering CLI using Harbor, covering goal setting, task design with seeded environments, frozen clocks and per-constraint verifiers, and guarding against reward hacking. Metric choice should follow failure cost: a 60% success rate yields 99% pass@5 but only 8% pass^5, so products where users get no retry should optimize for pass^k, while coding agents with test feedback can lead with pass@k.
- The Most Common Questions About Agent Evals, Answered
LangChain mediumAdeptAgent evals score agent runs to handle nondeterminism, multiple valid answers and variable execution paths: start by reading traces, pick one behavior, build a 10-20 example dataset from real traces, run a baseline experiment, and fold new failures back in. Offline evals compare versions against datasets before shipping, while online evals score sampled production traces without reference outputs. Use code evaluators where possible, LLM judges with narrow binary questions calibrated against human review, and pairwise comparison for choosing variants. Container-based benchmarks like Terminal-Bench (run via the open-source Harbor harness) score the end state of an environment for long multi-step tasks, and online costs can be controlled through sampling, filters, code checks and cheaper judge models.
- When AI Writes the Code, What Counts as Evidence?
Stack Overflow Blog easyNovice
Coding agents increasingly investigate and fix failures in private sessions, delivering patches while discarding the reasoning, failed attempts and environmental context that teams used to preserve as shared troubleshooting knowledge. A staged example shows an authorization acceptance test catching a case that lint, unit and integration checks missed: raising KeyError for unknown order IDs leaked existence, and the fix maps it to AccessDenied. The proposed direction is to capture failure facts and execution traces from agent sessions, search existing authorized knowledge before drafting sanitized questions, and keep human review to separate plausible guesses from verified fixes. Success should be measured by whether later agents and engineers resolve recurring failures faster, not by how many questions or answers get generated.
- Demystifying evals for AI agents
Anthropic Engineering mediumAdeptAgent evaluations should grade both the final environment outcome and the full transcript of tool calls, turns and reasoning, because multi-turn agents modify state and compound mistakes. The post lays out a practical structure—tasks, trials, graders, harnesses and suites—with code-based graders for deterministic checks, model-based graders for nuanced rubrics and human graders for calibration. It recommends capability evals that start at low pass rates and regression evals that stay near 100%, and shows coding and conversational agent examples that combine unit tests, state checks, LLM rubrics and tool-call assertions. The takeaway is to build an eval suite early: it clarifies success criteria, enables fast model upgrades and provides baselines for latency, token usage, cost and error rates.