AI-Generated Traces for Novice Programmers: Learning Effects and Learner Differences in a Multi-Institutional Study

Yuri Noviello, Naaz Sibia, Anastasiia Birillo, Thomas Overklift Vaupel Klein, Michael Liut +1 more
6/2/2026
cs.CYcs.AI

No confident code implementation found for this paper.

Abstract

Introductory programming (CS1) courses often struggle to support students' understanding of program execution. While visualizations can make execution processes explicit, their effectiveness depends on design and context, and empirical evidence for AI-generated visualizations remains limited.

Show full abstract

We propose Generated Animated Traces (GATs), AI-generated, analogy-based, narrated animations that coordinate source code, execution state, and conceptual analogies. We conduct a study at two institutions in CS1 courses (Python, N=961; Java N=151) comparing GATs to textual explanations. We measure immediate learning performance and experience, end-of-course engagement and exam performance. Results show that GATs can yield selective benefits for immediate learning, but benefits are context-dependent and short-term. We observe that GATs' influence on performance is moderated by learner engagement profiles. This finding underscores the importance of personalized approaches.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{noviello2026aigenerated,
  title  = {AI-Generated Traces for Novice Programmers: Learning Effects and Learner Differences in a Multi-Institutional Study},
  author = {Yuri Noviello and Naaz Sibia and Anastasiia Birillo and Thomas Overklift Vaupel Klein and Michael Liut and Gosia Migut},
  year   = {2026},
  eprint = {2606.03288},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.03288v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.03288.svg)](https://codeofpaper.com/paper/2606.03288)

Discussion