1. A reusable example with a narrow claim
The Hugging Face guide explains how to build, validate, and maintain an evaluation for agents that act through tools. Its worked example adapts Terminal-Bench’s Raman-fitting task using Harbor, an evaluation runner, and Terminus-2, the harness connecting a model to terminal commands.
The example asks an agent to read a synthetic spectrum, fit three peaks, calculate a ratio, and save accurate results. The task dataset card describes eight tasks with varying noise and defect levels. Each includes instructions, an environment, a reference solution, and grading checks with tolerances.
That makes this a useful evaluation construction example for developers. Its scientific workload does not establish performance on repository maintenance, application debugging, or broader lab work. The authors explicitly call the eight tasks a development set, limiting what their results can support.
2. A plausible answer can expose a weak grader
The authors report testing a shortcut that read peak heights directly from the data and guessed widths instead of performing the required fitting. It produced the expected ratio on all eight tasks. A grader checking only that ratio would therefore have awarded full marks for incomplete work. The authors added checks on the fitted peaks, and report that the final verifier rejects the shortcut.
This matters when a coding evaluation checks an easily imitated result. A generated file can exist while containing incorrect values; a command can exit successfully while skipping required processing. The acceptance check needs to establish the capability your task claims to measure.
Our proposal is to challenge each grader with a known correct solution, an empty submission, and a plausible shortcut. Also try a different valid solution so the checks do not enforce one implementation unnecessarily. Our guide to regression tests for AI-generated code provides a related starting point for defining observable behavior.
3. Occasional success and consistent completion differ
In the guide’s initial adapted-task experiment, the authors report that gpt-oss-120b passed 11 of 24 attempts: three attempts on each of eight tasks. Seven tasks succeeded at least once, giving a pass@3 result of 7/8. Only one task succeeded on every attempt, giving a pass^3 result of 1/8. These are source-reported results, not measurements we reproduced.
The two metrics answer different adoption questions. Success at least once can matter when a developer can inspect several attempts and select an acceptable result. Success across every attempt better reflects the consistency needed for unattended work, although three attempts cannot establish long-term reliability.
For a small team, record both outcomes before choosing a retry policy. Keep task-level results alongside the overall score so one difficult task does not disappear into an average. The authors themselves caution against generalizing from eight development tasks; adding repeated attempts does not substitute for broader task coverage.
4. Read what happened before the agent stopped
The guide reports that, in that initial 24-attempt experiment, the model called its completion tool in its first response 19 times. Eleven of those attempts produced no results file. Several missing-file failures began with missing NumPy or SciPy packages, which the task expected the agent to install. Only two of the 13 failed attempts failed the fit check.
Those observations change the diagnosis. A failed task might reflect missing dependencies, premature stopping, or incorrect computation. A single pass rate cannot tell a developer which part of the workflow needs attention.
The published runs dataset card describes a separate comparison across six models, with trajectories, trial results, verifier output, and configuration records. We verified that description, but did not audit individual traces. For your own evaluation, inspect successful attempts too: a passing score can conceal a shortcut. Use our AI code review workflow to connect the agent’s report with the actual artifact and checks.
5. Translate the method into one repository task
Our suggested pilot is a bounded repository change, such as correcting a parser’s handling of a documented input format. Write the expected behavior and acceptance criteria before running an agent. Include ordinary inputs, a representative edge case, and an explicit requirement to preserve existing behavior.
Prepare a known correct patch and deliberately incomplete patches, then confirm that your checks distinguish them. Run the candidate agent several times from the same starting state. Record the model, harness version, dependencies, task revision, and completion criteria so later comparisons remain interpretable.
Classify failures before changing the setup. If dependencies are missing, decide whether installing them is part of the capability being evaluated. Preinstalling packages changes that condition. Keep other variables fixed when comparing setups, and avoid attributing an improved score solely to the model when the environment also changed.
6. Adopt the method before drawing rankings
This guide is most useful for teams that already have a recurring agent task and need evidence for expanding it. Reuse its structure: explicit claims, runnable reference solutions, adversarial checks of graders, repeated attempts, and traces tied to scores.
A founder still choosing an assistant should first define representative work using our coding-assistant evaluation guide. The Raman example supplies a method for investigating reliability, but its results cannot select the best agent for your repository. Expand adoption only when your own tasks produce acceptable artifacts consistently and the remaining failures are understandable.
Sources & further reading
Primary references used for product and technical information. Features and terms can change; check the provider before committing.
- Hugging Face: How to build and maintain an agentic evaluationAccessed 2026-11-24
- Hugging Face: raman-lab task dataset cardAccessed 2026-11-24
- Hugging Face: raman-lab runs dataset cardAccessed 2026-11-24