Evidence is separated by what it can prove.

The evaluation does not average real records, public simulators, gold plans, task-only datasets, and executable traces. Every source retains its substrate, denominator, execution status, and claim boundary.

Research thesis

Historical traces establish recurrence—not admissibility.

The experiments ask whether provenance can reconstruct a program, whether independent evidence can certify it, whether the resulting intervention preserves source-grounded outcomes, and whether it remains worthwhile against a well-placed manual program.

Trace question

Can every dynamic argument be derived from observable entry state or prior results?

Admission question

Does grouped calibration support the registered violation bound, or must the family retire?

Systems question

Does the admitted intervention improve requests, tokens, latency, and cost without weakening exact outcomes?

Experimental design

Three primary workflow families use real public records, live provider calls, distinct tool vocabularies, and exact source-grounded grading.

  • 132 discovery and 30 held-out records per family, balanced across three exact classes
  • Baseline, compiler, and macro order counterbalanced over all six permutations
  • Quality computed independently of tool order from pinned source fields and excerpts
  • Ten repeated test records used for structural and surface determinism analysis
  • Paid provider outputs retained; later oracle corrections never rewrite online evidence
  • Provider optimization overhead separated from held-out deployment measurements

Primary three-family result

Issue-type routing, PR-outcome audit, and backlog-attention routing cover 90 held-out public records. Compiled programs reach 90/90 exact outcomes versus 89/90 baseline; hand-written programs also reach 90/90.

FamilyExact baseline → compiledRequestsInterfacesTokensLatencyCost
Issue type30/30 → 30/30−50.0%0.0%−39.5%−51.7%−32.0%
PR outcome30/30 → 30/30−75.0%−66.7%−80.8%−73.0%−75.3%
Backlog attention29/30 → 30/30−74.8%−66.3%−81.4%−68.9%−75.1%
Weighted total89/90 → 90/90−66.6%−44.2%−63.1%−64.2%−58.7%

The single backlog baseline miss is not a statistically meaningful quality improvement. Fair manual programs tie learned programs structurally on both new families. The evidence supports workflow-family transfer on one snapshot—not cross-repository, time-forward, or runtime superiority over correct manual code.

Issue-type family detail

All 132 discovery traces choose the same three-read order, but the comment-limit argument varies and is not trace-groundable. GAC refuses the complete region and emits the longest valid prefix: record → labels. The ordinary agent performs the comments read and final rendering.

ConditionRequestsToolsTokensWallCostExact
Unchanged agent4.03.04,259.46.16 s$0.00087230/30
GAC two-read prefix2.03.02,576.52.97 s$0.00059330/30
Hand-written macro2.01.01,780.83.25 s$0.00054530/30

The compiler reduces requests 50.0%, total tokens 39.5%, observed wall latency 51.7%, and estimated cost 32.0% versus unchanged. The macro matches request reduction and is better on tools, tokens, and dollars. The paired latency interval between macro and compiler crosses zero; no runtime-superiority claim is licensed.

Natural live comparison of requests, tools, tokens, latency, cost, and exact pass rates.
Expanded real-record comparison. All three conditions preserve 30/30 exact contracts; the macro is the strongest practical runtime comparator.

Compilation depth is a safety variable

An earlier aggressive three-read artifact reduces provider requests by 75%, but records one compiler-only factual miss: 17/18 exact versus 18/18 for unchanged and macro. Clean tool replay therefore does not certify the model continuation. A provider-free continuation checker later detects and repairs that retained miss, but it is not a prospective live safety result.

Guarded composite and fair placement

GCS packages the admitted three-read program behind a continuation-pinned projection. Against a provider-visible macro on 12 fresh issues, both pass 12/12; GCS uses one rather than two provider requests, 38.9% fewer tokens, 40.0% lower observed wall latency, and 32.3% lower estimated cost.

A subsequent six-record study gives an independently authored manual program the same pre-model position. GCS and manual both pass 6/6 and tie at one request, one interface, and identical input tokens. Official GEPA 0.1.4 retains its seed after 14 task evaluations; its 59-request optimization overhead is reported separately. These are bounded, exploratory results—not general rankings.

Supplementary benchmark interoperability audit

Only NESTFUL and API-Bank retain complete observed values suitable for post-trace compilation. Eight other paths are preserved below for reproducibility, but they do not demonstrate optimizer value and are excluded from the main comparison.

Open the benchmark explorer to search and filter all thirteen rows — every substrate, execution status, effect breakdown, and claim boundary, generated from the evidence files.

BenchmarkPathResultClaim boundary
NESTFULCompiler1,415 traces; 24 / 12 / 0 held-out; all retireProvider-free structural compiler evidence
API-BankCompiler + API replay212 traces; 0 / 2 / 0; all retireSecond compiler refusal substrate
BFCL v4Official checker200/200 gold plans validNo model-quality claim
ToolSandboxOfficial simulator0.982 milestone similarityReal provider, simulated environment
τ²/τ³Official simulators0/4 reward; 288,757 tokensReal provider, simulated domains
BrowseCompLive-web subset1/3; 28 searchesHosted-search bypass, not compiler evidence
ToolBench / AgentBenchAdaptersFixtures and tasks normalizedFull data/services gated
GAIA / SWE-benchPreflight / task adapterAuthorization and host gates retainedNo score imputed
Candidate family supports relative to the exact gate requirement of 92 independent groups.
Certification is the scarce resource. Maximum NESTFUL family support is 26, well below the configured 92-group requirement.

Statistical interpretation

Efficiency comparisons are paired by issue. The artifacts report 10,000-sample paired bootstrap intervals and two-sided Wilcoxon signed-rank tests; binary quality uses exact McNemar tests. These secondary tests are descriptive and unadjusted. Zero observed failures is not equivalence: 0/30 still gives a one-sided 95% upper failure bound of approximately 9.5%.

The gate did not demonstrate a risk–coverage frontier. Its score is effectively all-or-none because development contains no unproductive examples. The current evidence demonstrates sample-size refusal and admission mechanics, not selective discrimination among future inputs.

Reproducibility

All quantitative tables and figures are regenerated from sealed JSON/CSV artifacts. Dataset revisions, source trees, checksums, task splits, native trace identifiers, model versions, and price assumptions are retained. The core verification path makes no provider calls.

.venv/bin/python paper/scripts/build_artifacts.py
.venv/bin/python paper/scripts/validate_artifacts.py
.venv/bin/python scripts/verify_release.py
.venv/bin/python -m pytest

Exact commands for the external benchmark paths are in the benchmark ledger. The experiment verification report records the independent consistency checks and residual threats.