כתבה
arXiv cs.CL ·
The Librarian Who Refused to Code: Model-Dependent Identity Enactment in LLM Code Generation
תקציר מקורי באנגליתarXiv:2607.17420v1 Announce Type: new Abstract: Biographical personas are widely used in system prompts, but their effects on code generation are rarely evaluated under controlled, pre-registered conditions. We tested four prompt conditions (no persona, two engineer personas, and a research-librarian persona), 12 code-generation tasks, two frontier models, and five runs per cell (480 completions). Persona effects differed between the two tested models. Under the pre-registered mixed-effects analysis, the condition-by-model interaction was significant for provider-reported output tokens; a post-hoc visible-character measure showed the same qualitative pattern. Six GPT-5.5 completions were length-capped and are reported separately. On Claude Opus, the minimalist engineer persona reduced visi
קרא במקור המקורי
arxiv.org
פתח כתבה מקורית