Repository navigation
apr code eval: task suite, sandbox, metrics and nightly receipts (APR-CODE-EVAL-001) #5342
Description
Scope: The implementation stages of the apr code evaluation (spec work in #5282): task-suite schema and loader, a hermetic sandbox runner, the verdict and metric engine (pass@k, Wilson CI), the agentic driver, contamination control, and receipts from a nightly CPU/GPU run.
Why it matters: apr code needs a measured pass rate before any claim about coding quality; the spec defines it, these rows build it.
Done when: A nightly run on CPU and GPU writes a receipt with pass@1 and its confidence interval over the dated task suite, run in the sandbox with no network.
Epic: #4000. Folded under triage rule 7b (2026-10-14): each row below was its own issue, closed as not planned and kept here as a sub-ticket. Reopen an issue when its work starts or its PR opens.
Sub-tickets
- apr code eval E2: task-suite schema + loader (repo tasks, function tasks, edit tasks, terminal tasks) #5283 apr code eval E2: task-suite schema + loader (repo tasks, function tasks, edit tasks, terminal tasks) (milestone none); branch
la-71/5283-code-eval-build- accept: Acceptance: FALSIFY-ACE-TASK-* tests green.
- apr code eval E3: hermetic sandbox runner (no network, pinned digest, limits, fixed seed) #5284 apr code eval E3: hermetic sandbox runner (no network, pinned digest, limits, fixed seed) (milestone none)
- accept: Acceptance: FALSIFY-ACE-SANDBOX-* tests green, including a planted network call that must fail.
- apr code eval E4: verdict + metric engine (pass@1, unbiased pass@k, Wilson CI, refusals) #5285 apr code eval E4: verdict + metric engine (pass@1, unbiased pass@k, Wilson CI, refusals) (milestone none)
- accept: Acceptance: FALSIFY-ACE-VERDICT-* and FALSIFY-ACE-METRIC-* tests green.
- apr code eval E5: apr code driver — agentic loop + edit-format adapters #5286 apr code eval E5: apr code driver — agentic loop + edit-format adapters (milestone none)
- accept: Acceptance: a fixed-seed run of the smoke suite produces a receipt byte-identical across two runs.
- apr code eval E6: contamination control (dated tasks, canary, train-set overlap) #5287 apr code eval E6: contamination control (dated tasks, canary, train-set overlap) (milestone none)
- accept: Acceptance: the receipt carries the post-cutoff score, and a planted leaked task gets flagged.
- apr code eval E7: receipts + nightly CPU/GPU run via the fast-verb matrix (#5254) #5288 apr code eval E7: receipts + nightly CPU/GPU run via the fast-verb matrix (ci(lab): nightly fast-verbs CRUX smoke + tok/s on the ARM64 CUDA edge runner, ranked gap list #5254) (milestone none)
- accept: Acceptance: two consecutive nights produce receipts, and the comment ranks tasks by failure.
Merged in (TRIAGE-100, 2026-10-14)
- apr code eval E1: ontology contracts + spec (task, sandbox, verdict, metric) #5282 — apr code eval E1: ontology contracts + spec (task, sandbox, verdict, metric)
- done when: pv validate is green on all four contracts; a C314 quorum receipt is bound to the PR head.
Activity
noahgift commentedon Oct 15, 2026
E2 (#5283) remainder, 2026-10-15. The la-0.71 build has the schema and loader (FALSIFY-ACE-TASK-*), but no suite manifest. Spec §3 lists six suites.
smokeis built onla-73/5288-code-eval-nightly@a87d828e0e. It has 8 hand-written MIT tasks, 2 per kind (crates/aprender-code-eval/suites/smoke/). All 8 are pinned to one rust:1.93-slim digest. Contractapr-code-eval-smoke-v1:--ignored, docker): green in 162 s. Every null edit fails, every gold edit resolves three times in a row, and two seeded runs in the real sandbox are the same run.Sandbox fix in the same branch. The wrapper copied the task with
cp -a, which cannot preserve ownership under--cap-drop ALL. Every real container run therefore exited 125 before any test started. It now usescp -R.Still open under E2, with no owner yet. These are the importers at a pinned upstream commit and sha256, one per third-party suite:
function: EvalPlus HumanEval+ / MBPP+edit: Aider polyglotrepo-lite: SWE-bench Verified, at most 50, with per-instance images pinned by digestterminal: Terminal-Bench, at most 30The
freshsuite, written after the cutoff, is open too.noahgift commentedon Oct 22, 2026
tracked in #4000