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

+5
View File
@@ -255,6 +255,10 @@ Lines are compared after removing line-number prefixes (`12→`, `12:`) and grep
- `docs`: unique tokens read per group, `files_opened`, `coverage_by_section`;
- `diagnostics`: `E0001-E0006`, `E5001`, `E5002`, `E1001`, `E7005`, `other_E7xxx`, then `ownership`, `borrow` (including `memory.*`), `resource`, `concurrency`, `runtime_traps` by the code's kind in `reference/error-codes.md`, and `other` for every remaining code (effects, capabilities, unsafe…), so nothing is dropped; `ir_form_total` is the sum of the first three;
- `program`: source bytes, and for `aji_source` the lowered AIR bytes and both `mechanical_air_eliminated` metrics.
- B1 fields ([`b1-heldout-plan.md`](b1-heldout-plan.md) §5):
- `statically_prevented_safety`: safety diagnostics reported during the run. For Aji these are codes of kind ownership, borrow, init, memory, island, resource, concurrency, atomic, task, sync or unsafe. For Rust: E0382, E0499, E0502, E0505, E0506, E0507, E0596, E0597, E0716, E0373, plus the `Send`/`Sync` messages. For Zig it is 0, since its safety checks are dynamic.
- `unsafe_usage`: a static count in the final workspace. For Aji: `effects [unsafe]`, `ref unchecked` and `assume`. For Rust: `unsafe`. For Zig: `@ptrCast`, `@ptrFromInt`, `@intFromPtr`, `@alignCast`, `@constCast`, `@volatileCast` and `@setRuntimeSafety(false)`.
- `failure_class`, `caught_by` and `atomic_error` come from `ajieval classify`. `--atomic-error memory_model|algorithmic` applies to failed runs of the atomic family.
A field the record did not collect is `n/a`, never reconstructed. For an older `aji_air` run with the single-file bundle, `air_docs_unique` is the recorded `unique_reference_tokens` and `coverage_by_section` is the recorded `reference_coverage`; the source groups are `n/a`. Diagnostic codes come from the stored command outputs, as for `profile`. The lowered sizes use the current `zig-out/bin/aji`, so take them while the frontend is the one the runs used.
@@ -270,6 +274,7 @@ python3 -m ajieval matrix PLAN.json # verifies the freeze, runs cells seque
python3 -m ajieval journal PLAN.json "observation" [--run RUN_ID]
python3 -m ajieval summary RUNS_DIR # shareable: PASS/FAIL matrix, per-cell metrics, aggregates
python3 -m ajieval checkpoint RUNS_DIR... [--json] # M checkpoint / P6A-9 rows (below)
python3 -m ajieval vsr RUNS_DIR... [--tasks T1,T2] [--json] # B1 §6.1: VSR per agent × language, 95 % Wilson intervals
python3 -m ajieval profile RUNS_DIR # shareable: termination, output tokens, tool calls, solution size, lowered AIR size (aji_source), docs files read, IR-form and type-mismatch diagnostic counts, diagnostic-code occurrences
```