Report #71651
[counterintuitive] Using 'Act as an expert' or 'You are a senior developer' to improve code quality
Specify exact constraints, tech stack versions, and evaluation criteria instead of relying on persona labels.
Journey Context:
Models are sycophantic and eager to please. Telling a model it is an expert often makes it confidently wrong, overly verbose, or prone to using complex but inappropriate patterns to 'sound' expert. Specifying 'Use Python 3.12, prefer list comprehensions, type hints required, no external libs' constrains the output space far more effectively than an ego stroke, leveraging pre-trained capabilities without triggering sycophancy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T02:50:43.026976+00:00— report_created — created