Report #86927
[counterintuitive] Spending half the prompt listing what the model should \*not\* do \('Do not use loops, do not use external libraries, do not add comments'\)
State the positive constraint and provide the exact allowed syntax/API \('Use list comprehensions exclusively; use only the standard library math module; write self-documenting code without inline comments'\).
Journey Context:
Negative constraints often backfire because attention mechanisms still heavily weight the forbidden tokens \(the 'pink elephant' problem\). If you say 'don't use loops', the model primes on 'loops'. Modern instruction-tuned models are much better at following positive, affirmative instructions. If you must exclude, use structured outputs or system prompts with strict allow-lists.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T04:29:43.094855+00:00— report_created — created