evaluation: record the native smoke results and the §38 analysis

Tasks under aliases M and C. Strong agents at the ceiling; Aji/AIR cost
comes from a fixed bundle read (~33k tokens), ~3x source size and 4-8x
output tokens, and, for the weak agent, mostly IR-form errors (SSA, CFG)
rather than safety-rule errors; E0006 the only friction for strong
agents. Not evidence; no language change follows directly.
This commit is contained in:
dev committed 2026-10-05 07:46:18 +03:00
1 parent e959156c65
commit e83b71d82b
3 files changed
+85 -1

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ Non-normative. Empirical validation of the Aji hypothesis stated in [spec 14](..
| Document | Purpose |
|---|---|
| [benchmark-authoring.md](benchmark-authoring.md) | Separation of roles for E0-2 and E-G: benchmark author and reference writers in clean contexts; brief; gate checklist |
| [results/](results/) | Recorded experiment outcomes (shareable numbers only; private tasks under aliases) |
| [harness.md](harness.md) | Agent scaffold and run recorder (E0-3): task format, evaluator contract, run record, commands |
| [protocol.md](protocol.md) | Agent Language Evaluation Protocol 0.2: variables, benchmark families T01–T10, conditions `Aji/AIR` and `Aji/source`, maintenance and seeded-bug benchmarks, metrics, statistics, stages A–E, success and falsification criteria |
| [../agent/README.md](../agent/README.md) | Agent Reference Bundle: contents, measurement, growth policy, milestones |
@@ -0,0 +1,83 @@
# 2026-10-05 — Track B native smoke (E-N)
Non-normative. An infrastructure check and a first look; **not evidence** for any hypothesis (protocol §39a, §39b). Negative findings are kept (protocol §37).
The tasks are private. They are called **M** (memory-safety-heavy streaming task) and **C** (concurrency-heavy bounded task) here. Their names and contents are not published.
## Setup
- 2 tasks × 3 languages × 3 native agents × 1 run = 18 runs.
- Frozen state verified by `ajieval freeze`; cells run sequentially in a shuffled order.
- Agents:
- N1: Codex 0.160.0 + `gpt-6.1-sol` (effort high);
- N2: Claude Code 2.1.288 + `claude-opus-5-5` (effort high);
- N3: OpenCode 1.18.34 + `zai-coding-plan/glm-5.3-flash`.
- Shell commands had no network in every agent.
- References in Rust, Zig and Aji/AIR passed the frozen evaluators before the freeze, after one evaluator integration fix (version 2).
## Outcome
| Agent | Rust | Zig | Aji/AIR |
|---|---|---|---|
| N1 Codex | 2/2 | 2/2 | 2/2 |
| N2 Claude Code | 2/2 | 2/2 | 2/2 |
| N3 OpenCode/GLM | 2/2 | 2/2 | 1/2 |
17 of 18 runs were accepted. The one failure is N3 on Aji/AIR, task C: no source file was produced. The run ended with 32k output tokens after 11 tool calls, and the agent reported that its generation limit was exhausted. Classification: `BUDGET`. Separately, N3 on Aji/AIR, task M, hit the 1-hour wall-time limit, but its final repository passed the evaluator.
## Cost (the informative part)
Time per task (M / C):
| | Rust | Zig | Aji/AIR |
|---|---|---|---|
| N2, seconds | 129 / 63 | 179 / 161 | 412 / 581 |
| N1, seconds | 442 / 235 | 584 / 399 | 498 / 561 |
| N3, seconds | 637 / 1 387 | 2 358 / 1 603 | 3 600 (limit) / 840 (failed) |
Means per language, all agents:
| | Rust | Zig | Aji/AIR |
|---|---|---|---|
| uncached provider input | 29k | 72k | 101k |
| tool calls | 16.7 | 40.7 | 36.5 |
**Size of the accepted solutions.** Aji/AIR source is 1.1–3.7× the bytes of the Rust solution of the same task by the same agent; the median is about 3×. Against Zig it is 1.5–3.1×. Output tokens are 4–8× Rust for N2.
**Documentation.** Every Aji/AIR run read about 30–36k unique tokens of the 35k-token Agent Reference Bundle, which is nearly all of it. Rust runs read no documentation, and Zig runs read 3–13k tokens.
**Diagnostics.** Counts are occurrences in command outputs.
- N1 and N2 on Aji/AIR:
- only `E0006`, the `features [...]` header and its dependency closure, 2–6 occurrences per run;
- no ownership, borrow, resource or concurrency diagnostics at all.
- N3 on Aji/AIR, task M (about 78 occurrences):
| Group | Codes | Occurrences |
|---|---|---|
| IR form | `E5001` SSA 30, `E5002` CFG and block arity 13, `E0001` parse 6, `E1001` types 8 | 57 |
| Borrow rules | `E2101` 6, `E2105` 4, `E2106` 4, `E2102` 1 | 15 |
| Header | `E0006` | 1 |
| Runtime | `T0008` bounds trap | 1 |
## Reading (hypotheses for the next step, per protocol §38)
1. **At this difficulty the strong agents are at the ceiling in every language.** The run cannot show compression. It measures only what Aji costs.
2. **The cost of Aji/AIR is not in its safety rules.** The strong agents produced no safety diagnostics. Most of the weak agent's errors were IR form (SSA, block parameters, CFG), about 3:1 against borrow rules.
3. **The cost has three sources:**
- a fixed documentation read of about 33k tokens per run;
- verbosity: about 3× the source and 4–8× the output tokens, which is the likely cause of the one failure (generation limit);
- writing IR by hand.
The third source is specific to the condition `Aji/AIR`. Removing it is what the `Aji/source` condition (Phase 6) is for.
4. **The verifier caught every safety mistake the weak agent made** (borrow errors before running, one bounds trap at run time). This externalization is what the hypothesis relies on, but in this run it did not pay for its cost.
5. **`E0006`, the dependency closure in the header, is the only friction for strong agents.** It is bookkeeping, not reasoning.
## Measurement issues
- Track B "first attempt" is derived from transcripts by a heuristic. It reports `True` for a run with dozens of verifier errors, so it is unreliable until fixed (`harness`).
- Diagnostic counts are occurrences, so a diagnostic printed twice counts twice.
## Not done
No language change follows from this run directly. Candidates and the next experiment are decided by the owner. Each candidate must be justified generally (spec 14 §12) and never by these tasks.
+1 -1
View File
@@ -100,7 +100,7 @@ Evaluation runs alongside the phases; each stage starts when the language featur
| E-G | todo | Gate before E-N (and later E-S): private tasks reviewed; evaluator, task and evaluator hashes frozen; Rust, Zig and Aji/AIR references written by separate clean agents pass; Aji commit, bundle, toolchains and docs frozen with `ajieval freeze` (checklist in `docs/evaluation/benchmark-authoring.md`) | E0-2, E0-4 | all gates pass |
| E-S | todo | Engineering smoke test, Track A: 2 families (binary/stream parser, concurrent bounded pipeline) × 3 languages × 3 models (M1–M3) × 2 runs = 36 runs on one Aji commit (protocol §39a); plan shape `docs/evaluation/smoke-plan.example.json`; failures classified by cause after the matrix, before any language change | E-C, E-G | harness, bundle sufficiency, accounting and traces verified |
| E-N0 | done | Native dev-echo gate (Aji/AIR): Codex + `gpt-6.1-sol` (effort high), Claude Code + `claude-opus-5-5` (effort high), OpenCode + `zai-coding-plan/glm-5.3-flash` all accepted; networkless shell for all three verified by `dev-netprobe`; context metrics (provider / cumulative / unique reference) | E0-3 | `ajieval native`, `ajieval freeze`, `ajieval journal` |
| E-N | done | Track B native smoke (2026-10-05): 18 runs, 17 accepted; Codex and Claude Code 12/12 (ceiling), OpenCode/GLM Rust 2/2, Zig 2/2, Aji/AIR 1/2 (one BUDGET failure). No compression signal at this difficulty; Aji/AIR costs more time, tool calls and uncached input for every agent (fixed bundle reading ≈30–36k unique tokens per run; Rust runs read no docs). Infrastructure goals met. Not evidence (protocol §39a/§39b) | E-N0, E0-2, E-G | `aji-bench/owner/native-smoke/summary.md` (private); analysis per §38 pending (`ajieval profile`) |
| E-N | done | Track B native smoke (2026-10-05): 18 runs, 17 accepted; Codex and Claude Code 12/12 (ceiling), OpenCode/GLM Rust 2/2, Zig 2/2, Aji/AIR 1/2 (one BUDGET failure). No compression signal at this difficulty; Aji/AIR costs more time, tool calls and uncached input for every agent (fixed bundle reading ≈30–36k unique tokens per run; Rust runs read no docs). Infrastructure goals met. Not evidence (protocol §39a/§39b) | E-N0, E0-2, E-G | `docs/evaluation/results/2026-10-05-native-smoke.md` (tasks under aliases); analysis per §38 done |
| E-A | todo | Stage A pilot (condition `Aji/AIR`): T01–T04 families × Aji/Rust/Zig × 3 model classes × 3 runs = 108 runs (protocol §39); not headline evidence | E-S, basic Phase 3 | pilot report: effect size, broken tasks, cost, instrumentation |
| E-B | todo | Stage B: T05–T07 | Phase 3 | stage report |
| E-C | todo | Stage C: T08, litmus repair | Phase 5 | stage report |