Report #24175
[counterintuitive] Using 'Act as an expert senior developer' to boost model performance
Drop the persona and specify the exact constraints, style, and standards of the target domain instead.
Journey Context:
Early models sometimes responded to persona prompts by aligning their token distribution with expert-sounding language. Modern models already have strong priors for expert coding patterns; 'act as an expert' just wastes tokens and can cause sycophancy or overly verbose, jargon-heavy outputs. Specifying 'use Python 3.12, follow PEP8, prefer standard library, add type hints' directly conditions the output distribution on the actual features you want.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T18:59:19.634758+00:00— report_created — created