Kristian Krattiger

Backstop + Diagnosis

Ledger filtered by project = backstop: 4 of 54 entries. All entries.

Backstop + DiagnosisDone 1Failed 3Unfinished 0

Done1

MEASURED LINKED #backstop-diagnosis-hint-only as of 2026-11-24

In an exploratory follow-up, dropping the blind N2 fallback (D_only: refuse a stop only when diagnose() produces a hint) preserved 100% of task-success gains across all three models while eliminating regressions at N=843/250 and cutting post-fork wrong actions by 73–79%, though gains remained uneven across families.

Does not showProspective out-of-sample confirmation (D_only was designed from post-hoc G2 findings and evaluated on the same test sets, not unseen seeds). Under the strict registered G2 bootstrap 95th-percentile rule, D_only still misses 1.744 (p95 2.111 on qwen; inf on gemma4) because matching N0 on >80% of tasks shrinks the post-fork denominator. Ministral remains null.

4 measured numbers, evidence
Measured
Measurements for backstop-diagnosis-hint-only
MetricValuen / denominatorDatasetSyntheticSystemDate
qwen2.5:7b D_only task pass vs N0 (exploratory)0.389 vs 0.331 (49 rescued, 0 lost, Holm p = 0.0000)328/843 vs 279/843 tasks (N=1,000: 395/1000, 56 rescued / 1 lost)pools/test.jsonl (same N=843 / N=1,000 tasks; exploratory)yesqwen2.5:7b, D_only arm, seed 12026-11-23
qwen2.5:7b D_only post-fork wrong actions & per-call rate vs N01.484x point ratio (p95 2.111 vs 1.744); 0.0580 vs 0.0838 wrong/call135 vs 91 post-fork wrong actions; high-stakes 10 vs 11; whole-task 1.036x N0same (N=843)yessame2026-11-23
gemma4:e4b D_only task pass & post-fork wrong vs N00.552 vs 0.496 (14 rescued, 0 lost); 4 vs 1 post-fork wrong138/250 vs 124/250 tasks (G1 = 0/139; whole-task wrong 1.049x N0)extension/pool_ext.jsonl (first 250 tasks; exploratory)yesgemma4:e4b, D_only arm, seed 12026-11-23
ministral-3:8b D_only task pass & post-fork wrong vs N00.244 vs 0.232 (3 rescued, 0 lost, Holm p = 0.2500); 15 vs 4 post-fork wrong61/250 vs 58/250 tasks (G1 = 0/139; down from 72 wrong under D)same (N=250)yesministral-3:8b, D_only arm, seed 12026-11-23
Evidence
  • backstop-diagnosis @ main dbf2465 : extension/analysis/hint_only_qwen_843.txt tier 1 — D_only vs D on qwen2.5:7b N=843
  • backstop-diagnosis @ main dbf2465 : extension/analysis/hint_only_gemma4_250.txt tier 1 — D_only vs D on gemma4:e4b N=250
  • backstop-diagnosis @ main dbf2465 : extension/analysis/hint_only_ministral_250.txt tier 1 — D_only vs D on ministral-3:8b N=250
  • backstop-diagnosis @ main dbf2465 : extension/hint_only.py tier 1 — exploratory hint-gated stop gate implementation

Failed3

NEGATIVE-RESULT LINKED #backstop-diagnosis-confirmatory as of 2026-11-24

A preregistered artifact-only diagnosis (built from error text and tool schemas, zero ground truth) lifted qwen2.5:7b error recovery from 16.0% to 42.1% and whole-task success by +5.7 percentage points with clean G1, but failed the post-fork wrong-action guardrail G2 (registered verdict: Gain not clean).

Does not showGeneralization across model families (failed H1 on ministral-3:8b and gemma4:e4b), transfer outside BFCL's eight simulated apps, or silent-failure coverage. Confirmatory N was reduced from 1,000 to 843 after a harness integer-serialization bug at task 844; the labelled secondary N=1,000 set matches every conclusion.

4 reported numbers, evidence
Reported numbers
Numbers for backstop-diagnosis-confirmatory
MetricValuen / denominatorDatasetSyntheticSystemDate
H1 recovery D vs N2 (class-B refused turns)0.421 vs 0.160 (lb 0.375 vs 0.24 floor, Holm p = 0.0001)126/299 vs 44/275 turns (76.5% of oracle H gain)pools/test.jsonl (BFCL simulated apps generator, first 843 tasks)yesqwen2.5:7b, seed 1, branched SharedChat2026-11-22
H2 whole-task success D vs N00.388 vs 0.331 (+5.7 pp, Holm p = 0.0000)327/843 vs 279/843 tasks (58 rescued, 10 lost)sameyessame2026-11-22
G1 pushed stop-correct turns (D)0.040 (Wilson upper 0.0576 vs 0.1390 ceiling, holds)18/454 stop-correct turnssameyessame2026-11-22
G2 post-fork wrong actions D/N02.579 (95th pct 3.524 vs 1.744 ceiling, fails)503 vs 195 post-fork wrong actions across 843 tasks (2.24x call volume)sameyessame2026-11-22
Evidence
  • backstop-diagnosis @ main dbf2465 : study/analysis/report.txt tier 1 — registered confirmatory analysis, N=843 (registered code snapshot 6156dd6)
  • backstop-diagnosis @ main dbf2465 : study/PREREG.md tier 1 — frozen registration, byte-identical to 57c1c4a
  • backstop-diagnosis @ main dbf2465 : docs/FINDINGS.md tier 2 — official close-out findings synthesis
  • backstop-diagnosis @ main dbf2465 : evidence/outputs/posthoc_g2.txt tier 1 — post-hoc G2 breakdown (call volume + blind N2 fallback)

NEGATIVE-RESULT LINKED #backstop-diagnosis-cross-family as of 2026-11-24

Exploratory cross-family testing showed artifact-only diagnosis is uneven across 7–9B model families and did not generalize over plain refusal on either gemma4:e4b (which already self-recovers on plain refusal) or ministral-3:8b (which failed to convert D's hints); an external tau2-bench smoke gate failed below a zero-tool floor and was dropped.

Does not showConfirmatory cross-family bounds (exploratory, N=250, single seed) or behavior on external benchmarks where small models clear a zero-tool floor. Five older 7–9B models also failed the tool-calling smoke gate before selection.

4 reported numbers, evidence
Reported numbers
Numbers for backstop-diagnosis-cross-family
MetricValuen / denominatorDatasetSyntheticSystemDate
gemma4:e4b H1 recovery D vs N2 (exploratory)0.467 vs 0.447 (Holm p = 0.3635, fails; oracle H = 0.489)21/45 vs 21/47 turns (task pass +6.0 pp over N0, 15/0, but N2 already +5.6 pp)extension/pool_ext.jsonl (first 250 fresh tasks)yesgemma4:e4b, seed 12026-11-23
ministral-3:8b H1 recovery D vs N2 (exploratory)0.185 vs 0.218 (Holm p = 0.7880, fails; oracle H = 0.373)10/54 vs 12/55 turns (task pass 0.244 vs N0 0.232, 4/1, Holm p = 0.3750)sameyesministral-3:8b, seed 12026-11-23
D wrong/call on hint-fired vs blind N2-fallback turns (3 families)0.061 / 0.108 / 0.020 vs 0.170 / 0.178 / 0.174qwen2.5:7b (843), ministral-3:8b (250), gemma4:e4b (250)pools/test.jsonl + extension/pool_ext.jsonlyesall three 7–9B families2026-11-23
tau2-bench retail smoke gate (N0 vs zero-tool floor)0.050 vs 0.100 (dropped)1/20 vs 2/20 retail tasks (0 DB-modifying tasks passed)sierra-research/tau2-bench retail (first 20 tasks)noqwen2.5:7b agent + user simulator2026-11-23
Evidence
  • backstop-diagnosis @ main dbf2465 : extension/analysis/report.txt tier 1 — Part 2A cross-family summary (N=250 each)
  • backstop-diagnosis @ main dbf2465 : extension/analysis/gemma4-e4b_report.txt tier 1 — gemma4:e4b full report
  • backstop-diagnosis @ main dbf2465 : extension/analysis/ministral-3-8b_report.txt tier 1 — ministral-3:8b full report
  • backstop-diagnosis @ main dbf2465 : external/runs/tau2_retail_qwen2.5-7b_report.txt tier 1 — Part 2B tau2-bench retail smoke gate (failed; dropped)

NEGATIVE-RESULT LINKED #backstop-stage1-stop-gate as of 2026-11-21

A preregistered error-triggered stop gate on BFCL multi-turn (llama3.1:8b and qwen2.5:7b) lifted per-turn recovery after an unresolved tool error, but failed to raise task success significantly and tripped both harm guardrails (registered verdict: guardrail failed — gain not clean).

Does not showThat every small model fails for the same reason (follow-up probes split llama as execution-limited and qwen as diagnosis-limited), or behavior on silent errors that return no tool error.

4 reported numbers, evidence
Reported numbers
Numbers for backstop-stage1-stop-gate
MetricValuen / denominatorDatasetSyntheticSystemDate
H3 recovery, clean history (N2 vs N0)0.143 vs 0.039 (Holm p = 0.0016)26/182 vs 7/181 clean-history trigger turnsBFCL multi-turn (150 base / 150 miss_func / 150 miss_param per model)nollama3.1:8b + qwen2.5:7b pooled, Ollama2026-11-21
H1 task success (N2 vs N0)0.160 vs 0.127 (Holm p = 0.0787, fails)48/300 vs 38/300 base tasks (16 vs 6)samenosame2026-11-21
G1 wrongly refused stop-correct turns (N2)0.116 (upper 0.139 vs 0.05 limit, fails)71/612 stop-correct turnssamenosame2026-11-21
G2 wrong actions ratio N2/N01.436 (95th pct 1.744 vs 1.10 limit, fails)300 base taskssamenosame2026-11-21
Evidence
  • backstop @ stage1-build b7de6a6 : study/analysis/report.txt tier 1 — registered confirmatory analysis
  • backstop @ stage1-build b7de6a6 : study/RESULTS.md tier 1 — verdict: guardrail failed — gain not clean
  • backstop @ stage1-build b7de6a6 : docs/WHY.md tier 2 — post-hoc and probe analysis splitting llama (execution-limited) vs qwen (diagnosis-limited)