1,680 A/B trials show 50-year-old Unix formalisms crush English prompt rules, 98.3% vs 0.8%
RandalSchwartz · reddit · 2026-10-11
The author ran 1,680 paired A/B trials (41M tokens, four model tiers, each loaded with 16k tokens of compiler noise) pitting 500-token English prompt rules against 20-token classic CS formalisms, and found that custom prompt DSLs (pre-training frequency ≈ 0) force the model to simulate a fragile interpreter, while Unix/RFC formalisms (frequency > 1M) snap it into strict compliance.
Key results:
- Circuit Breaker FSM (CLOSED→OPEN at k=2) vs prose "try a couple times then stop": halted retry loops 98.3% vs 0.8%
- SysV init-d write-once latches (00governance → 99nextaction) vs a single mutable PROGRESS file after a 230k-token poisoned compaction: 60% survival (96.7% on 2.5-pro) vs 0.8%
- git bisect binary partitioning on a 16-stage pipeline: bug isolated in ≤4 probes 81.7% (100% on 3.1-pro) vs 19.2%
- Design-by-Contract + QuickCheck laws against 5 hidden sad-path mutants: 60% pass (100% on Pro) vs 1.7%
- 2PC + WAL atomic rollback across a 4-package refactor: 93.3% vs 45.8%
- RFC 5234 EBNF grammar for output formatting: 77.5% vs 32.5%
Takeaway: reuse Makefiles, init-d runlevels, and fork()/wait() subagent isolation instead of inventing English checklists the model has never seen.
More from coding & agent
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Agent build costs: Messages API $0.003/msg vs Agent SDK $0.041 in real test — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- Step 1: have Claude draft an agent card before building your embedded agent — PawelHuryn · 2026-11-29