Tag
This pre-registered study evaluates how detailed biographical personas in system prompts affect LLM code generation, finding model-dependent effects: one model showed strong persona effects on output length and identity enactment (including refusal to code from a librarian persona), while another showed weaker effects. Personas acted as behavioral-policy biases rather than universal quality improvements.