B1: pre-registration of the first held-out benchmark after Phase 5 (Proposed); harness metrics

docs/evaluation/b1-heldout-plan.md: Rust, Zig, Aji/source x 3 native agents
x 6 tasks (families A/B/C, capability descriptions only) x 3 runs = 162;
metrics, analysis plan, decision rules; owner decisions D1-D5 requested.
Phases 7 and 8 on hold. ajieval: statically prevented safety diagnostics,
unsafe usage, atomic error kind in classify, vsr table with Wilson intervals.
This commit is contained in:
dev committed 2026-10-06 08:39:55 +03:00
1 parent 7bbbe34b94
commit 035ea19834
7 files changed
+319 -2

No files matched your search

+10
View File
@@ -126,6 +126,8 @@ def cmd_classify(a):
path = os.path.join(a.run, "run.json")
rec = util.read_json(path)
rec["classification"] = {"category": a.category, "caught_by": a.caught_by, "cause": a.cause, "note": a.note}
if a.atomic_error:
rec["classification"]["atomic_error"] = a.atomic_error
util.write_json(path, rec)
print(json.dumps(rec["classification"]))
@@ -214,8 +216,16 @@ def main(argv=None):
c.add_argument("--caught-by", choices=["verifier", "runtime", "test"])
c.add_argument("--cause", choices=CAUSES)
c.add_argument("--note")
# B1 §5: for failed runs of the atomic family.
c.add_argument("--atomic-error", choices=["memory_model", "algorithmic"])
c.set_defaults(fn=cmd_classify)
v = sub.add_parser("vsr", help="B1 §6.1: verified success rate per agent × language with 95 %% Wilson intervals")
v.add_argument("paths", nargs="+")
v.add_argument("--tasks", help="comma-separated task ids to include (e.g. the medium ones)")
v.add_argument("--json", action="store_true")
v.set_defaults(fn=lambda a: print(report.vsr_table(a.paths, set(a.tasks.split(",")) if a.tasks else None, a.json)))
a = p.parse_args(argv)
a.fn(a)