AI Meets the Classroom: When Do Large Language Models Harm Learning?

Two preregistered lab trials with novice Python students (107 and 69) found that chat access while learning made no significant difference to scores on a 20-question test taken without it (0.4 and 0.96 more correct answers), though with copy and paste on, students covered 2.6 more practice questions.

Lehmann et al., arXiv 2409.09047 (v2), March 8, 2025. AI used: ChatGPT

Verdict

Verdict: High

What High means

Model vintage

ChatGPT

Model: GPT-3.5 Turbo in the lab sessions, named in the study; students in the 2023 course used their own ChatGPT, GPT-3.5 or GPT-4 (inferred)

Novice programming learners in one German university lab pool, short paid sessions, Python basics, one chat interface.

So what for leaders

  1. If your juniors use AI to learn a new skill, test them with it switched off; in these trials, access alone made no significant difference to test scores.

Use this

Copies the finding, how far it generalizes and a link to this scorecard.

Cite this studyRead the paperDownload chart as SVG
  1. Test blocking copy and paste in AI tools used for training on one group before you make it policy; the evidence that pasting hurts understanding is exploratory.
  2. Do not count more practice completed as more learned: students with paste covered more questions without a significant gain on the test.

Keep track of this study

Watch it and I'll email you if it's corrected, re-run or retracted, or a new study on the same kind of work is published. Nothing else. Save it to a pack for your next deck. Alerts aren't switched on yet. Your watches are kept, and the first email goes out when they are.

Just want the newsletter? Subscribe on Substack

The receipts

Design
Randomized trial
Publication
Preprint
Model vintage
ChatGPT

How far it generalizes

Novice programming learners in one German university lab pool, short paid sessions, Python basics, one chat interface. It may travel to other short skill training where the answer can be pasted; that is untested. It narrows for long courses, experienced staff and tutor-style tools.

Effects, by arm and outcome
  • Students with LLM access during the learning phase only, Study 2, no copy and pastePost-test questions answered correctly, sat without the LLM
    +0.396 questions answered correctly in a 20-question post-testno interval reported
  • Treatment condition, Study 3, with copy and pastePost-test questions answered correctly
    +0.959 questions answered correctly in a 20-question post-testno interval reported

Questions answered correctly in a 20-question post-test

Show as table
Effects, by arm and outcome
ArmOutcomeEstimateIntervalUnitBetter whenSource
Students with LLM access during the learning phase only, Study 2, no copy and pastePost-test questions answered correctly, sat without the LLM+0.396No interval reportedQuestions answered correctly in a 20-question post-testHigherSection 6.4, Table 5, Study 2 regression analyses, row Treatment, LLM access = 1, column 1, n from Section 6.4 prose
Treatment condition, Study 3, with copy and pastePost-test questions answered correctly+0.959No interval reportedQuestions answered correctly in a 20-question post-testHigherSection 8, Table 7, Study 3 regression analyses, row Treatment, LLM access = 1, column 1, n from Section 8 prose
Learning phase practice questions answered correctly, topic volume, by arm
  • Students with LLM access during the learning phase, Study 3, copy and paste enabled
    +2.614 practice questions answered correctly in a 45-minute learning phaseno interval reported

Practice questions answered correctly in a 45-minute learning phase

Show as table
Learning phase practice questions answered correctly, topic volume, by arm
ArmOutcomeEstimateIntervalUnitBetter whenSource
Students with LLM access during the learning phase, Study 3, copy and paste enabledLearning phase practice questions answered correctly, topic volume+2.614No interval reportedPractice questions answered correctly in a 45-minute learning phaseHigherSection 8, Table 7, Study 3 regression analyses, row Treatment, LLM access = 1, column 3, n from Section 8 prose
Drop in post-test questions solved, holding learning phase progress constant, understanding, by arm
  • Treated students with copy and paste enabled, Study 3Lower is better
    +1.4 post-test questions solvedno interval reported

Post-test questions solved

Show as table
Drop in post-test questions solved, holding learning phase progress constant, understanding, by arm
ArmOutcomeEstimateIntervalUnitBetter whenSource
Treated students with copy and paste enabled, Study 3Drop in post-test questions solved, holding learning phase progress constant, understanding+1.4No interval reportedPost-test questions solvedLowerp. 19, Section 9.1, prose before Table 9, restating Table 10, column 2
Additional learning phase questions worked through, topic volume, by arm
  • Treated students with copy and paste enabled, Study 3
    +1.7 learning phase practice questions answered correctlyno interval reported

Learning phase practice questions answered correctly

Show as table
Additional learning phase questions worked through, topic volume, by arm
ArmOutcomeEstimateIntervalUnitBetter whenSource
Treated students with copy and paste enabled, Study 3Additional learning phase questions worked through, topic volume+1.7No interval reportedLearning phase practice questions answered correctlyHigherp. 19, Section 9.1, prose before Table 9, restating Table 10, column 3
Drop in grade on all subsequent questions, by arm
  • Students submitting code identical to a ChatGPT-generated solution, Study 1, two graduate Python coursesLower is better
    +0.06 normalized question grade on a 0 to 1 scaleno interval reported

Normalized question grade on a 0 to 1 scale

Show as table
Drop in grade on all subsequent questions, by arm
ArmOutcomeEstimateIntervalUnitBetter whenSource
Students submitting code identical to a ChatGPT-generated solution, Study 1, two graduate Python coursesDrop in grade on all subsequent questions+0.06No interval reportedNormalized question grade on a 0 to 1 scaleLowerSection 5.3, Study 1 results, prose after Table 3

Design

Design
Randomized trial
Preregistered
Yes
How I found it
Gemini in Antigravity (scout batch 6, round 1), 2026-11-15

Who it applies to

Functions
Education and training
Roles
Students

Critique

What the study did well. Students were randomly assigned to chat access or none, both lab studies were registered, and learning was measured on a test taken with the tool switched off. The authors also ran a field study in two graduate Python courses, using service outages to separate the tool's effect from student choice.

Hole 1: the copy and paste contrast is not randomized. Study 3 was added after Study 2 found nothing, with copy and paste switched on. Comparing the two studies, students who could paste worked through 1.7 more questions but, holding that progress fixed, solved 1.4 fewer on the test. That compares two separate samples and is exploratory.

Hole 2: small samples. With 107 and 69 students, a null cannot rule out a moderate effect either way.

Hole 3: one short session. Learning and the test came in the same sitting, so there is no read on what students remember a week later.

Hole 4: the field result is narrower than it sounds. In Study 1, students who submitted code identical to a ChatGPT answer saw grades on later questions fall 0.06 on a 0 to 1 scale. That holds for students who copied whole answers, in two courses.

Business significance

This measures learning, not output. Chat access let students get through more practice when they could paste, but the test without the tool did not move by a significant amount. In Study 1, copying whole answers came with a 0.06 drop in later grades on a 0 to 1 scale, a small cost.

For anyone training juniors with AI, these two trials found no significant gain in what novices learned from access alone; the samples are too small to rule out a moderate effect either way. Pasting answers may cost a little. The paper measures no cost or time saved in dollars.

Does it still hold?

Not re-run. The lab tool was an older OpenAI chat model accessed through the API in mid-2024 and now several generations behind. Newer models, or a tutor set up to explain rather than solve, could change the picture. That is untested.

Cite this

The paper

Plain

Lehmann, Matthias, Cornelius, Philipp B., and Sting, Fabian J. (2025). AI Meets the Classroom: When Do Large Language Models Harm Learning? arXiv 2409.09047 (v2). https://arxiv.org/abs/2409.09047

APA

Lehmann, Matthias, Cornelius, Philipp B., & Sting, Fabian J. (2025). AI Meets the Classroom: When Do Large Language Models Harm Learning? arXiv 2409.09047 (v2). https://arxiv.org/abs/2409.09047

BibTeX

@techreport{lehmann-ai-meets-classroom-2025,
  author = {Lehmann, Matthias and Cornelius, Philipp B. and Sting, Fabian J.},
  title = {AI Meets the Classroom: When Do Large Language Models Harm Learning?},
  institution = {arXiv 2409.09047 (v2)},
  year = {2025},
  url = {https://arxiv.org/abs/2409.09047},
}

My scorecard

Plain

New Baseline (2026). Two preregistered lab trials with novice Python students (107 and 69) found that chat access while learning made no significant difference to scores on a 20-question test taken without it (0.4 and 0.96 more correct answers), though with copy and paste on, students covered 2.6 more practice questions. Verdict: High; Novice programming learners in one German university lab pool, short paid sessions, Python basics, one chat interface. It may travel to other short skill training where the answer can be pasted; that is untested. It narrows for long courses, experienced staff and tutor-style tools. https://www.newbaseline.ai/studies/lehmann-ai-meets-classroom-2025 Accessed December 5, 2026.

APA

New Baseline. (2026). Two preregistered lab trials with novice Python students (107 and 69) found that chat access while learning made no significant difference to scores on a 20-question test taken without it (0.4 and 0.96 more correct answers), though with copy and paste on, students covered 2.6 more practice questions. Retrieved December 5, 2026, from https://www.newbaseline.ai/studies/lehmann-ai-meets-classroom-2025

BibTeX

@misc{lehmann-ai-meets-classroom-2025-newbaseline,
  author = {{New Baseline}},
  title = {Two preregistered lab trials with novice Python students (107 and 69) found that chat access while learning made no significant difference to scores on a 20-question test taken without it (0.4 and 0.96 more correct answers), though with copy and paste on, students covered 2.6 more practice questions.},
  year = {2026},
  howpublished = {\url{https://www.newbaseline.ai/studies/lehmann-ai-meets-classroom-2025}},
  note = {Verdict: High; Novice programming learners in one German university lab pool, short paid sessions, Python basics, one chat interface. It may travel to other short skill training where the answer can be pasted; that is untested. It narrows for long courses, experienced staff and tutor-style tools. Accessed December 5, 2026.},
}

An effect

Cite an effect
  • Students with LLM access during the learning phase only, Study 2, no copy and paste (Post-test questions answered correctly, sat without the LLM): +0.396 questions answered correctly in a 20-question post-test, no interval reported, Section 6.4, Table 5, Study 2 regression analyses, row Treatment, LLM access = 1, column 1, n from Section 6.4 prose. In Lehmann et al. 2025.

  • Students with LLM access during the learning phase, Study 3, copy and paste enabled (Learning phase practice questions answered correctly, topic volume): +2.614 practice questions answered correctly in a 45-minute learning phase, no interval reported, Section 8, Table 7, Study 3 regression analyses, row Treatment, LLM access = 1, column 3, n from Section 8 prose. In Lehmann et al. 2025.

  • Treated students with copy and paste enabled, Study 3 (Drop in post-test questions solved, holding learning phase progress constant, understanding): +1.4 post-test questions solved, no interval reported, p. 19, Section 9.1, prose before Table 9, restating Table 10, column 2. In Lehmann et al. 2025.

  • Treated students with copy and paste enabled, Study 3 (Additional learning phase questions worked through, topic volume): +1.7 learning phase practice questions answered correctly, no interval reported, p. 19, Section 9.1, prose before Table 9, restating Table 10, column 3. In Lehmann et al. 2025.

  • Students submitting code identical to a ChatGPT-generated solution, Study 1, two graduate Python courses (Drop in grade on all subsequent questions): +0.06 normalized question grade on a 0 to 1 scale, no interval reported, Section 5.3, Study 1 results, prose after Table 3. In Lehmann et al. 2025.

  • Treatment condition, Study 3, with copy and paste (Post-test questions answered correctly): +0.959 questions answered correctly in a 20-question post-test, no interval reported, Section 8, Table 7, Study 3 regression analyses, row Treatment, LLM access = 1, column 1, n from Section 8 prose. In Lehmann et al. 2025.