From Generic to Personalized: Exploring Persona-Aware Code Review Explanations

Shamse Tasnim Cynthia, Ratnadira Widyasari, Banani Roy, Italo Santos, David LoarXiv 2026

TL;DR

One size does not fit all when it comes to code reviews. This paper explores how tailoring code review explanations to developers' individual problem-solving styles—using Large Language Models (LLMs) guided by the GenderMag framework—can improve comprehension and collaboration. The initial user study reveals that while preferences vary by experience and persona, developers broadly prioritize explanatory depth and learning support over mere conciseness.

What Problem Does This Paper Address?

Code review is a cornerstone of modern software engineering, yet standard practices treat all developers uniformly. A brief, high-level critique might perfectly satisfy an expert developer but leave a novice completely stranded. This cognitive misalignment often leads to frustrating back-and-forth discussions, misunderstandings, or even abandoned pull requests.

Figure 1: Example of code review comments misaligned with developers’ problem-solving styles [4, 5].

As shown in the motivational examples above, underspecified or poorly targeted feedback can derail productive communication. The authors address this critical gap by investigating whether code review feedback can be dynamically personalized to match a developer's unique problem-solving style, experience level, and role.

Methods

The authors designed a mixed-methods user study ($N=16$) built around the GenderMag framework, an established analytical method that categorizes problem-solving styles across five facets (motivation, information processing, learning style, self-efficacy, and risk attitude). The study focused on two contrasting personas:

  • Abi: Process-oriented, risk-averse, and prefers structured, step-by-step guidance.
  • Tim: Action-oriented, autonomous, and prefers concise, experimentation-led feedback.

Using ChatGPT (GPT-5.2), the researchers generated persona-aligned code review comments for three distinct code snippets. "Abi-aligned" prompts requested structured, step-by-step explanations, while "Tim-aligned" prompts demanded concise, action-oriented feedback. Participants were evaluated to determine their persona type and then asked to blindly rate the original, Abi-aligned, and Tim-aligned comments using 5-point Likert scales and open-ended text fields.

Datasets

The study utilized self-contained code snippets selected from existing, peer-reviewed code review datasets. These snippets were chosen because they represent realistic development scenarios but do not require project-specific background knowledge. A pilot validation with independent developers was conducted beforehand to ensure the snippets and their functional explanations were clear and accurate.

Key Insights and Ideas

  • The Experience-Persona Compound Effect: A developer's technical experience heavily influences how they interact with their cognitive persona. Novice "Abi" developers strongly preferred structured, persona-aligned feedback because it mitigated low self-efficacy and reduced cognitive load. Conversely, Novice "Tim" developers did not favor concise "Tim" comments, likely because they lacked the baseline technical expertise required to act on minimal, autonomy-driven feedback.
  • Depth Trumps Brevity: Across the board, regardless of persona, developers expressed a strong preference for learning-oriented guidance, risk awareness, and practical suggestions over brief or superficial comments.
  • A Tool for Inclusivity: Open-ended feedback revealed that personalized reviews could drastically reduce the perceived "toxicity" of code reviews. Notably, neurodivergent participants highlighted that persona-aware feedback could better accommodate specific cognitive and communication needs.

Key Results

  • Novice-Abi Alignment: Novice developers matching the Abi persona consistently preferred Abi-aligned explanations (choosing them 60% to 80% of the time across snippets).
  • Expert-Tim Alignment: Expert developers matching the Tim persona showed a clear preference for Tim-aligned comments (60% preference in snippets 1 and 2).
  • Element Preferences: Approximately 80% to 100% of Abi participants agreed or strongly agreed that step-by-step explanations, risk awareness, and learning-oriented guidance were valuable, while showing neutral-to-negative reactions to highly concise comments.
Figure 2: Distribution of participants’ preferences for code review comment elements across personas.

Limitations and Future Work

The primary limitation of this study is its small sample size ($N=16$), meaning the current findings are exploratory. Additionally, the study relies on self-reported problem-solving styles rather than observed behavior.

Moving forward, the authors plan to scale up the study to conduct rigorous statistical analyses. They aim to build a prototype tool that automatically infers a developer's persona from their historical interaction patterns on platforms like GitHub, ultimately guiding AI coding agents to deliver adaptive, human-centered code reviews.

Summary updated

BibTeX
@misc{cynthia2026from,
  author = {Shamse Tasnim Cynthia and Ratnadira Widyasari and Banani Roy and Italo Santos and David Lo},
  title = {{From Generic to Personalized: Exploring Persona-Aware Code Review Explanations}},
  year = {2026},
  eprint = {2607.08990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.08990},
}
Figure