Skip to content

Agentic eval harness: regression benchmark beyond unit tests #73

Closed

Description

@ajianaz

Context

Mandate from arXiv:2607.03691 ("Don't Blame the LLM: How Agent Harness Evolution Shapes Coding Agent Quality"): harness changes themselves cause quality regressions that practitioners misattribute to the model. tole has 159 unit/integration tests — those verify MECHANISMS, not AGENTIC OUTCOMES. Nothing catches "resume UX regressed" or "tool-selection quality dropped after a prompt change". September papers (RobustSGPO, Co-Evolving Harnesses and Models) reinforce: harness evolution needs its own measurement.

Scope

A tiered agentic eval suite living OUTSIDE unit tests (`evals/` at repo root, not wired into CI's Test job initially):

  • Tier 1 — determinstic harness behaviors (run on every PR, mock provider, no network): replay-equivalence after refactor, resume protocol outcomes, approval-gate interaction matrix, retry classification, transcript wire-shape stability (cache friendliness = prefix stability assert).
  • Tier 2 — small-mission quality (nightly/manual, live BYOK provider, cost-capped): N canonical missions (read-and-report, multi-step tool chain, crash-resume mid-mission, long-job poll loop, workspace-scoped CRUD) scored on: task success, steps used, tokens used (usage ledger now provides this), tool-error rate.
  • Tier 3 — regression diffing: store per-release baselines; a PR that moves Tier-2 metrics beyond thresholds gets flagged as a HARNESS regression, not a model change (fixed model pin per run).

Acceptance criteria

  • evals/ scaffold with Tier 1 wired into CI (fast, deterministic)
  • ≥5 canonical Tier-2 missions + a runner script + scoring output (JSON)
  • Baseline results stored per release tag; diff script emits pass/regress
  • CONTRIBUTING.md documents when to re-run evals

Depends on: nothing (usage ledger from #66 gives the token metrics).
Priority: 2nd of the three roadmap focuses.

Activity

  1. ajianaz commented on Sep 12, 2026

    @ajianaz
    ContributorAuthor

    Shipped in #76: Tier 1 (4 deterministic behavioral contracts wired into the new Evals CI job — wire-shape stability, resume equivalence, abort-path contracts, approval matrix), Tier 2 (3 live BYOK missions scored on success/steps/tokens, all passing live), Tier 3 (per-release baseline + diff with >25% regression thresholds, self-test + synthetic-regression test verified).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions