Report #39780
[counterintuitive] Injecting phrases like 'Take a deep breath' into system prompts for coding tasks to improve accuracy
Use explicit planning phases or reflection tags \(e.g., ...\) before generating code.
Journey Context:
The 'deep breath' trick \(from the Google DeepMind OPRO paper\) worked on older math benchmarks by essentially acting as a chain-of-thought trigger. For modern coding agents, it's a blunt instrument that wastes tokens. Explicit structural tags force the model to lay out the algorithm and architecture before writing syntax, preventing architectural mistakes that a 'deep breath' cannot prevent.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:14:38.149442+00:00— report_created — created