af-run demo — simulated agent behaviour scored by the real graders, statistics and gate; not measurements of the live apps.af-run demo — simulated agent behaviour scored by the real graders, statistics and gate; not measurements of the live apps.11 candidates over 2 nights · components prompts.sql_direct, prompts.planner, few_shots
candidate c4 · iteration 4 · component
“adds: - Return exactly the columns the question names, in that order.”
Editor checks · §9.4
schema
valid profile.v1
locked_keys
only optimizable keys changed
keep_blocks
all <keep> blocks intact
length_cap
within 1.3× + 400 chars
case_literals
no batch literals copied
deny_list
no weakening phrases
non_empty_diff
changed: prompts.sql_direct
param_ranges
params within declared ranges
minibatch 4/10 → 6/10 on the same 10 train cases
Diff vs parent c1
prompts.sql_direct1229 → 1293 chars⋯ 1,069 unchanged chars ⋯ply with the SQL in one ```sql fenced block and nothing else. - Compute ratios and percentages in one expression with CAST(... AS REAL); return only that value. - Return exactly the columns the question names, in that order.
changed prompts.sql_direct · selected by highest val mean (ties → lower cost)
Test split · n=60
55% → 72%
gain +17 pts, 95% CI +7 to +28
Paired test
p=0.006
McNemar exact · b=1 c=11
Verdict
quality
n=60: 80% power only for ≥17 pts · P(detect +10)=43%
Hard safety
0 must_not, 0 canary on test + red-team
parent → component → child · minibatch scores on the same 10 train cases
| Iter | Parent | Component | Child | Minibatch | Outcome |
|---|---|---|---|---|---|
| 1 | seed | prompts.sql_direct | c1 | 9 → 10 | to val |
| 2 | c1 | prompts.planner | c2 | 8 → 8 | rejected |
| 3 | c1 | few_shots | c3 | 6 → 6 | rejected |
| 4 | c1 | prompts.sql_direct | c4 | 4 → 6 | to val |
| 5 | c4 |
Red team
successes 3→2, high-severity 1→1 (n=40)
Quality pathpath used
gain +0.167 (95% CI +0.067 to +0.283), McNemar p=0.00635
Efficiency path
cost +0%, p95 -1%, test 55%→72%
Reliability
pass^2 55%→70%
Judge
judge not calibrated: rubric results excluded from the gate
Red-team ASR
7.5% → 5.0%
High-severity wins
1 → 1
Cost / case
$0.0024 (+0%)
pass^2
55% → 70%
| prompts.planner |
| c5 |
| 6 → 6 |
| rejected |
| 6 | c4 | few_shots | c6 | 6 → 6 | rejected |
| 7 | c4 | prompts.sql_direct | c7 | 6 → null | rejected |
| 8 | c4 | prompts.planner | c8 | 6 → null | rejected |
| 9 | c4 | few_shots | c9 | 5 → 5 | rejected |
| 10 | c4 | prompts.sql_direct | c10 | 5 → 5 | rejected |