Engagement in Code Review: Emotional, Behavioral, and Cognitive Dimensions in Peer vs. LLM Interactions
Adam Alami, Nathan Cassee, Thiago Rocha Silva, Elda Paja, Neil A. Ernst

TL;DR
This study explores how software engineers emotionally and cognitively engage in code reviews, comparing traditional peer reviews with LLM-assisted reviews, revealing differences in emotional costs and engagement strategies.
Contribution
It introduces an integrative model linking emotional self-regulation to behavioral engagement in code reviews, highlighting how LLM assistance shifts focus to cognitive load management.
Findings
LLM-assisted reviews reduce emotional costs and self-regulation needs.
Engagement in peer reviews varies by social context and internal sense-making.
AI supports engineers by lowering emotional and cognitive burdens while maintaining social accountability.
Abstract
Code review is a socio-technical practice, yet how software engineers engage in Large Language Model (LLM)-assisted code reviews compared to human peer-led reviews is less understood. We report a two-phase qualitative study with 20 software engineers to understand this. In Phase I, participants exchanged peer reviews and were interviewed about their affective responses and engagement decisions. In Phase II, we introduced a new prompt matching engineers' preferences and probed how characteristics shaped their reactions. We develop an integrative account linking emotional self-regulation to behavioral engagement and resolution. We identify self-regulation strategies that engineers use to regulate their emotions in response to negative feedback: reframing, dialogic regulation, avoidance, and defensiveness. Engagement proceeds through social calibration; engineers align their responses and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Scientific Computing and Data Management
