O6: telemetry report and eval task set #14

Merged
hermes merged 1 commits from o6-report-eval into main 2026-11-13 00:19:53 +00:00
Collaborator

Closes #7

  • Telemetry: every finished run appends one JSONL line to <state>/telemetry.jsonl (task, profile, hx --version, status, reason, attempts, turns, tokens, seconds). Appends use a leading newline so a line cut short by a crash cannot swallow the next record; report skips unreadable lines and says how many.
  • orch report [FILE]: per profile and hx version: runs, done, success rate, needs-human, failed, requeued, tokens per run, tokens per done run, median seconds, retries. Requeued runs are shown but excluded from rate and cost (never attempted to completion).
  • orch eval A B: per case done/finished and tokens per run for both files, a total and a verdict. Exit 1 and REGRESSION when B's success rate is below A's; B better or equal exits 0.
  • orch bench DIR --profile NAME [--repeat N] [--case C] [--out FILE]: runs the cases of DIR (each: task.md, files/, gate.sh, optional solution/) in a fresh git repo per run through the profile's hx/allowlist/retry/budget, with the case's own gate instead of the profile gate; nothing is published.
  • eval/: 4 cases (off-by-one fix, add a function, README typo, cross-file rename). orch bench eval --check needs no agent: every gate must fail untouched and pass with solution/; it is part of tests/all.sh, so a broken case cannot silently corrupt a comparison.
  • README replaces the placeholder.

Verification: sh tests/all.sh exit 0 (fmt, clippy -D warnings, 19 unit tests, e2e, spike check, case-set check, real-hx e2e). New e2e: telemetry contents, report table, crash-truncated line, bench of the shipped cases with a fake hx that solves everything (8 runs, exit 0) and one that skips rename-symbol (exit 1), orch eval regression at -25 pp with exit 1 and the reverse direction exit 0, broken solution caught by --check. Real hx: telemetry carries the real hx --version. Flake loop 6/6 idle, 5/5 under 6 CPU hogs.

Not verified: a real model solving the eval cases (no hx login on this box); the cases are small by design and say nothing about hard tasks. Skipped: significance testing (with --repeat 1 one flip is a 25 pp swing, use --repeat for real comparisons), cost in money (token counts only).

Closes #7 - Telemetry: every finished run appends one JSONL line to `<state>/telemetry.jsonl` (task, profile, `hx --version`, status, reason, attempts, turns, tokens, seconds). Appends use a leading newline so a line cut short by a crash cannot swallow the next record; `report` skips unreadable lines and says how many. - `orch report [FILE]`: per profile and hx version: runs, done, success rate, needs-human, failed, requeued, tokens per run, tokens per done run, median seconds, retries. Requeued runs are shown but excluded from rate and cost (never attempted to completion). - `orch eval A B`: per case done/finished and tokens per run for both files, a total and a verdict. Exit 1 and `REGRESSION` when B's success rate is below A's; B better or equal exits 0. - `orch bench DIR --profile NAME [--repeat N] [--case C] [--out FILE]`: runs the cases of DIR (each: `task.md`, `files/`, `gate.sh`, optional `solution/`) in a fresh git repo per run through the profile's hx/allowlist/retry/budget, with the case's own gate instead of the profile gate; nothing is published. - `eval/`: 4 cases (off-by-one fix, add a function, README typo, cross-file rename). `orch bench eval --check` needs no agent: every gate must fail untouched and pass with `solution/`; it is part of `tests/all.sh`, so a broken case cannot silently corrupt a comparison. - README replaces the placeholder. Verification: `sh tests/all.sh` exit 0 (fmt, clippy -D warnings, 19 unit tests, e2e, spike check, case-set check, real-hx e2e). New e2e: telemetry contents, report table, crash-truncated line, bench of the shipped cases with a fake hx that solves everything (8 runs, exit 0) and one that skips `rename-symbol` (exit 1), `orch eval` regression at -25 pp with exit 1 and the reverse direction exit 0, broken solution caught by `--check`. Real hx: telemetry carries the real `hx --version`. Flake loop 6/6 idle, 5/5 under 6 CPU hogs. Not verified: a real model solving the eval cases (no hx login on this box); the cases are small by design and say nothing about hard tasks. Skipped: significance testing (with `--repeat 1` one flip is a 25 pp swing, use `--repeat` for real comparisons), cost in money (token counts only).
hermes added 1 commit 2026-11-13 00:19:46 +00:00
hermes merged commit b2d72f2dc9 into main 2026-11-13 00:19:53 +00:00
hermes deleted branch o6-report-eval 2026-11-13 00:19:53 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/orch#14