agent-eval: initial public release

This commit is contained in:
MagentaDolphin
2026-10-29 01:46:05 +07:00
commit 8f8424a844
5 changed files with 586 additions and 0 deletions
+62
View File
@@ -0,0 +1,62 @@
# agent-evals
**Run metrics for an AI coding agent pipeline, measured on real tasks — not a benchmark toy.**
Most public agent evaluations are synthetic: a curated task suite, a scripted grader,
and results that say more about the suite than about the system. This corpus is the opposite.
It is a record of **281 agent runs performed on real internal work tickets** — actual tasks
from an agent pipeline that ships code, runs in a fail-closed sandbox per task, and classifies
each attempt as done or blocked.
## What is measured
One observation = one agent run (not one task). Each record carries the model, the effort
level, wall-clock time, output and cache-read tokens, the number of files the run produced,
and the outcome.
| Metric | Why it matters |
|---|---|
| Success rate (`done` / all) | does the run actually finish the work |
| Latency median / p95 / max | throughput of the pipeline, tail behaviour included |
| Output tokens (median) | cost proxy per run |
| Files produced share | did the run leave an artifact or only prose |
| Time-cap hit share | how often the pipeline ceiling, not the model, ends the run |
Everything is computed from the records. No scores are invented, no run is dropped:
runs that hit the pipeline's time cap are reported as a separate share, because that is
a property of the harness, not a model failure.
## Data policy
Only **aggregates** are published, ever. Task text, prompts and agent reports stay on the
machine that produced them — they belong to real projects. The harness reads the corpus
locally and emits `aggregate.json` and `report.md`; the fields carrying content are not read
into the output at all (see `harness.py`, `PUBLIC_FIELDS`).
## Usage
```bash
python3 harness.py --corpus /path/to/tickets.jsonl --out .
```
One JSON object per line, fields:
```
id, lane, worker, model, effort, status, elapsed_s, out_tokens,
thinking_tokens, cache_read, n_files, ask_chars, report_chars
```
## What this does *not* claim
- It does not grade answer quality. Quality needs a grader with its own ground truth,
and that is a separate, harder piece of work.
- It does not compare models fairly: effort level is unrecorded on early runs, so
comparisons across effort levels are underpowered and are labelled as such.
- Report length is not used as a quality proxy anywhere in the output.
Publishing honest limits next to the numbers is the point — an eval that only shows wins
is marketing, not measurement.
## License
Code: Apache-2.0. Prose and report: CC BY 4.0. See `LICENSE`.