The Commonplace
Home Papers Evidence Explore Trends Syntheses Digests References Docs 🎲 Workforce Futures
← Papers
Direction, evidence grade, and study type are AI-generated labels (gpt-5-mini), not human-verified. Syntheses are LLM-written. "Tensions" are machine-detected candidates, not confirmed contradictions. A research-acceleration tool, not peer review. How this is built →

AI coding agents speed up initial development but hollow out understanding: a randomized experiment of 54 CS students shows agent-editing boosts early task completion and time-to-submit yet measurably lowers code comprehension and fails to aid later extension without AI.

(Im)Paired Programming: Coding Agents Improve Productivity but Harm Understanding
Nishant Balepur, Connor Baumler, Valerie Chen, Eunsol Choi, Rachel Rudinger, Jordan Lee Boyd-Graber · July 29, 2026
arxiv rct medium evidence 8/10 relevance Full text usable extracted full text Source PDF

Structured author observations

Linked only from stored provider relations; the raw author line above is never matched by name.

Arxiv

Latest observation:

  1. Nishant Balepur unresolved corpus identity
  2. Connor Baumler unresolved corpus identity
  3. Valerie Chen unresolved corpus identity
  4. Eunsol Choi unresolved corpus identity
  5. Rachel Rudinger unresolved corpus identity
  6. Jordan Lee Boyd-Graber unresolved corpus identity

Semantic Scholar

Latest observation:

  1. Nishant Balepur provider ID
  2. Connor Baumler provider ID
  3. Valerie Chen provider ID
  4. Eunsol Choi provider ID
  5. Rachel Rudinger provider ID
  6. J. Boyd-Graber provider ID
In a randomized study of 54 CS students, coding agents that edit users' code improved initial task completion and speed but substantially reduced code comprehension and did not produce better outcomes when users later had to extend code without AI.

Citation observations

Cumulative provider counts captured on specific dates; providers are never combined.

Coding agents (e.g., Cursor) improve developer productivity by optimizing task completion, but shifting users from writing code to prompting and reviewing may harm their understanding, impeding oversight, learning, and communication. To probe this, we have 54 students create a website with one of two AI systems: an agent that edits user code; or a chatbot where users write code alone or adapt generic code snippets. We test understanding via comprehension questions and a task where users extend their code without agents, showing: (1) While agents aid initial task completion, they harm users' code comprehension and thus do not prepare users to extend their code; (2) Low-effort agent interaction types, like copy+paste prompts and auto-accepted edits, are linked with lower comprehension; and (3) Despite self-reported weaker understanding, users still prefer coding agents because they are quick and easy to use. While users stay in the loop for coding workflows, understanding should not be forgotten. Towards this goal, we distill our analyses into future research directions for coding agent developers: dissuading low-effort prompting, creating readable code, and promoting active engagement.

Summary

Main Finding

Coding agents that directly edit users’ code (vs. chatbots that force users to write/adapt code themselves) raise short-term task completion and speed but substantially reduce programmers’ understanding of the code they produce. Reduced understanding is linked to worse ability to reason about code and offers no reliable advantage when users later must extend code without agent help. Users nonetheless prefer agents for ease and speed. The paper concludes that task-completion metrics alone mischaracterize the value of coding agents because they hide losses in human capital and oversight capacity.

Key Points

  • Experimental setup: between-subjects user study (n = 54 CS students) producing a small web app (“zic-zac-zoe”) with one of two AI interfaces:
    • Agent: an editor-style agent (AIDER-like) that proposes diffs and edits to the user’s code.
    • Chatbot: a chatbot that provides high-level syntax/generic code snippets; users must write/adapt code themselves.
  • Main quantitative outcomes:
    • Initial task accuracy and time-to-submission: agent users were faster and substantially more accurate initially (p ≪ 0.01; Cohen’s d ≈ 1.2–1.4).
    • Comprehension: agent users scored much lower on tailored comprehension tests (recall + reasoning about their own code) (p ≪ 0.01; d ≈ 0.9).
    • Extension task (users must extend their submitted code without agent help): no significant advantage for agent users (p ≈ 0.45); when controlling for initial accuracy, gains disappear.
  • Comprehension measures:
    • Tailored, LLM-generated multiple-choice questions (12 total: recall and reasoning across HTML/CSS/JS).
    • A post-hoc extension task with a separate rubric (adding a win condition, styling symbols, adding a reset).
  • Background skill effects:
    • Background ability (measured by a 12-item HTML/CSS/JS quiz) predicts comprehension across both groups.
    • For the initial task, background skill predicts performance in the chatbot group but is largely masked by the agent (agents equalize initial task performance across skill levels).
  • Interaction patterns explain part of the comprehension gap:
    • Low-effort behaviors (copy+paste prompts, auto-accepting edits) correlate with lower comprehension.
    • Simpler, more readable edits by agents correlate with higher user comprehension.
  • Preferences: despite weaker comprehension, users prefer the agent interfaces because they save time and effort.
  • Deliverables: authors release a dataset (54 user websites, prompts, AI traces, background ability, understanding scores).

Data & Methods

  • Participants: 59 recruited CS students; after attention checks, 54 included (17 B.S., 31 M.S., 11 Ph.D.). Reported mean 5.4 years coding experience and 16.2 months coding with AI tools.
  • Task design:
    • Initial website task (50 minutes): implement a 5×5-board web game with specified structural, logic, and styling requirements (15-rule rubric).
    • Extension task (20 minutes): extend submitted code to add features (12-rule rubric); performed with the chatbot (so all had active coding required).
  • AI implementations:
    • Agent group: AIDER-style agent that edits users’ files and produces execution summaries.
    • Chatbot group: LLM restricted to giving short, generic snippets and syntax guidance; no direct access to user files.
    • Underlying models: prompts and tooling used GPT-4.1 for the interactive agents; GPT-5.2 used to generate tailored comprehension questions; Gemini-3.1 Pro used to auto-score rubrics (validated by human scoring).
  • Metrics and scoring:
    • Initial and extension task accuracy: proportion of rubric rules met (automated rubric adjudication, validated with human raters; Cohen’s κ ≈ 0.96).
    • Comprehension: 12 tailored multiple-choice items split into recall and reasoning questions; users answered without viewing their full code.
    • Behavioral logging: prompt counts (mean prompts—initial: 5.8 agent vs. 11.6 chatbot), edit acceptance behavior, time-to-submission.
  • Analysis:
    • Between-group comparisons (t-tests, effect sizes reported).
    • Linear regressions predicting outcomes from background ability, group, and their interaction. Adjusted R² reported (e.g., initial accuracy model adj R² ≈ 0.37; comprehension model adj R² ≈ 0.17; extension model adj R² ≈ 0.05).
    • Qualitative coding of interaction types to connect behaviors (copy-paste, auto-accept) with comprehension.

Implications for AI Economics

This study has several implications for economic analysis of AI deployment, labor markets, and firm productivity:

  1. Productivity measurements that rely on short-term task completion overstate value

    • Standard productivity metrics (tasks completed / time) show clear gains with agents, but they do not capture losses in human capital (understanding). Economic evaluations that use only these metrics will overestimate the long-term productivity benefit and understate hidden costs.
  2. Human capital depreciation and retraining costs

    • If agents become widely used, routine displacement of active coding by prompt/review workflows can erode programmers’ tacit knowledge and ability to extend or maintain code without AI. Firms may face higher future maintenance costs, more frequent debugging incidents, and greater retraining needs—economic frictions not visible in immediate productivity gains.
  3. Labor market signaling and hiring/credentialing

    • Because agents “equalize” initial task performance across skill levels, standard skill assessments or short coding tests may no longer distinguish worker ability reliably. This can disrupt hiring markets (adverse selection, noisy signals) and shift demand toward new tests that measure understanding or higher-order skills. Employers may increase investment in longer evaluations or supervised probationary periods.
  4. Task reallocation, complementarities, and substitution

    • Agents shift the division of labor: they substitute for code-writing but complement higher-level tasks (design, architecture, specification, oversight). However, if human oversight capacity declines with agent use, complementarities weaken. Economic models of automation should incorporate effects on both production and human capital that alter future comparative advantage.
  5. Maintenance, externalities, and systemic risk

    • Reduced human understanding increases the probability of undetected errors, security vulnerabilities, and poor maintainability. These negative externalities (e.g., outages, data loss, cascading bugs) generate social and firm-level costs that standard productivity accounting misses.
  6. Diffusion and adoption incentives

    • Firms and individual developers will adopt agents for immediate gains, even when anticipating longer-term understanding losses—this is a present-bias/short-horizon adoption problem. Policy or procurement choices (e.g., certification of AI tools that preserve learning, procurement incentives) can alter adoption paths to internalize future costs.
  7. Pricing, compensation, and returns to skill

    • If agents compress observable task performance across skill levels, wage differentials tied to routine coding tasks may decline while premiums rise for skills that are complementary to agents (system design, oversight, verification). This suggests a reallocation of returns toward higher-level cognitive tasks.
  8. Metrics and evaluation for organizations and policymakers

    • Organizations and regulators should broaden evaluation metrics for coding agents to include measures of human understanding, maintainability, and long-run costs. Procurement and ROI calculations should discount short-run productivity gains by expected future maintenance and retraining costs.

Suggestions for empirical follow-ups and policy-relevant research - Longitudinal field experiments: measure how continued agent use affects skill retention, maintenance costs, and on-the-job learning over months/years. - Firm-level cost–benefit analyses: incorporate expected maintenance, incident, and retraining costs into adoption ROI. - Market signaling studies: test how agent-assisted production affects hiring accuracy and wage dynamics; design assessment protocols robust to agent assistance. - Regulation and certification: explore certification regimes or labelling for agents that quantify “understanding-preservation” features. - Mechanism design: evaluate interfaces and incentive schemes (e.g., mandatory review steps, assessment tasks, pedagogical modes) that maintain human capital while preserving productivity gains.

Practical recommendations for stakeholders - For AI developers and purchasers: incorporate UI features that discourage low-effort prompting and mass auto-accept; optimize agents to produce readable, modular code; provide learning modes (explain-and-quiz) that promote active engagement. - For firms and managers: measure downstream maintenance and extension performance, not just initial delivery speed; require rotation of tasks between humans and agents to maintain skills. - For economists and policymakers: adopt broader welfare accounting when assessing AI tools—include dynamic human capital effects, signaling distortions, and systemic externalities.

Limitations to consider - Sample: university CS students — may not generalize to experienced industry programmers. - Task domain: single web development task; other domains (backend, data pipelines) might show different dynamics. - Short-term experiment: longer-term learning and adaptation effects are not observed. - Simulated agent/chatbot setups and particular model choices may affect external validity.

Overall, the paper highlights an important economic externality of productivity-improving AI: immediate output gains can coexist with erosion of worker understanding and downstream costs. Economic evaluation and policy should widen the objective from raw task completion to include human capital and system-level risks.

Assessment

Paper Typerct Evidence Strengthmedium — Randomized assignment gives good internal validity for the causal claim that agent-style editing reduces immediate code comprehension relative to a write-yourself condition, and outcomes are measured with pre-specified rubrics and validated LLM/judge checks; however, the sample is small (n≈54), composed of CS students at two U.S. colleges, the task is a single short web-development exercise, and several measures rely on LLM-generated items and automated rubrics, limiting external validity and raising measurement concerns. Methods Rigormedium — Study uses a clear experimental design with randomization, attention checks, control for background ability, validated rubrics, and inter-rater validation of the LLM judge, which supports credible inference; weaknesses include modest sample size, student-only participants, a single task domain (front-end web dev), reliance on LLMs for question/item generation and scoring (potentially introducing bias), and limited information about pre-registration or multiple-hypothesis corrections. SampleFinal sample n=54 (after dropping 5 for failed attention checks) CS students from two U.S. colleges (mix of B.S., M.S., Ph.D. students), average ~5.4 years coding experience and ~16 months using AI tools; randomized into agent group (n=27) and chatbot group (n=27); participants completed a timed (50 min) web development task and a 20-minute extension task. Themeshuman_ai_collab productivity skills_training IdentificationBetween-subjects randomized assignment to two AI conditions (agent that directly edits users' code vs. chatbot that provides snippets and forces users to write/adapt code); analyses control for background ability and use linear regressions and robustness checks to link assignment to downstream comprehension and extension outcomes. GeneralizabilityStudent sample (not professional developers) limits external validity to industry settings., Single domain: front-end web development (one custom tic-tac-toe variant) may not generalize to other languages, backend work, or large codebases., Short-term lab task — does not measure long-term learning, retention, or real-world maintenance costs., Specific agent/chatbot implementations and prompts (GPT-4.1, AIDER, prompt restrictions) may not generalize to other tools/UX., Use of LLM-generated comprehension questions and LLM-based rubric scoring could introduce measurement artifacts., Small sample size limits precision and heterogeneity analyses (e.g., by experience level).

Claims (9)

ClaimDirectionOutcomeConfidence & EvidenceDetails
Coding agents improve users' initial website-task accuracy relative to a chatbot that requires users to write or manually adapt code. Output Quality positive Accuracy on the initial website-development task
Reading fidelity high
Study strength medium
n=54
d=1.4
0.6
Users working with coding agents complete the initial task more quickly than users working with the chatbot. Task Completion Time positive Time until submission for the initial website task
Reading fidelity high
Study strength medium
n=54
d=1.2
0.6
Coding agents substantially reduce users' comprehension of the code they created compared with the chatbot condition. Skill Acquisition negative Accuracy on comprehension questions about users' own HTML, CSS, and JavaScript code
Reading fidelity high
Study strength medium
n=54
Cohen's d > 0.80
0.6
The comprehension disadvantage for agent users appears in code-recall questions and is also present, though weaker and statistically less conclusive, in code-reasoning questions. Skill Acquisition negative Accuracy on code-recall and code-reasoning comprehension questions
Reading fidelity high
Study strength medium
n=54
Code Recall p=0.00, d=1.3; Code Reasoning p=0.08, d=0.5
0.6
Agent use does not produce a statistically significant improvement in users' ability to extend their code without an agent when considering all users. Output Quality null_result Accuracy on the follow-up code-extension task
Reading fidelity high
Study strength medium
n=54
p=0.45, d=0.2
0.6
The apparent advantage of agent users on the extension task reverses or weakens after controlling for initial task accuracy, suggesting that the raw extension result is driven by initial task success rather than better understanding. Output Quality mixed Follow-up code-extension accuracy conditional on initial task accuracy
Reading fidelity high
Study strength medium
n=54
p=0.18, d=0.5
0.6
Users with stronger background coding ability have higher comprehension scores in both AI conditions. Skill Acquisition positive Comprehension-question accuracy
Reading fidelity high
Study strength low
n=54
0.3
Low-effort interaction strategies, including copy-and-paste prompting and automatically accepting agent edits, are associated with lower code comprehension. Skill Acquisition negative Code-comprehension accuracy
Reading fidelity high
Study strength low
n=27
0.3
Despite reporting weaker understanding, users prefer coding agents because they perceive them as quick and easy to use. Worker Satisfaction positive Self-reported preference and perceived ease/ speed of use
Reading fidelity high
Study strength low
n=54
0.3

Notes