paper-with-me

Papers

Learning Code-Edit Embedding to Model Student Debugging Behavior

2025-02-26 · Hasnain Heickal, Andrew Lan

Providing effective feedback for programming assignments in computer science education can be challenging: students solve problems by iteratively submitting code, executing it, and using limited feedback from the compiler or the auto-grader to debug. Analyzing student debugging behavior in this process may reveal important insights into their knowledge and inform better personalized support tools. In this work, we propose an encoder-decoder-based model that learns meaningful code-edit embeddings between consecutive student code submissions, to capture their debugging behavior. Our model leverages information on whether a student code submission passes each test case to fine-tune large language models (LLMs) to learn code editing representations. It enables personalized next-step code suggestions that maintain the student's coding style while improving test case correctness. Our model also enables us to analyze student code-editing patterns to uncover common student errors and debugging behaviors, using clustering techniques. Experimental results on a real-world student code submission dataset demonstrate that our model excels at code reconstruction and personalized code suggestion while revealing interesting patterns in student debugging behavior.

📄 PDF Abstract BibTeX arXiv:2502.19407

Code (1)

umass-ml4ed/code-edit-representation pytorch

Tasks

Decoder

Similar Papers 제목 키워드 기반

Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulation

2026-04-12 · Charles Koutcheme, Juho Leinonen, Arto Hellas arxiv

Artificial students -- models that simulate how learners act and respond within educational systems -- are a promising tool for evaluating tutoring strategies and feedback mechanisms at scale. However, most existing appr…

Reasoning Trajectories for Socratic Debugging of Student Code: From Misconceptions to Contradictions and Updated Beliefs

2025-11-01 · Erfan Al-Hossami, Razvan Bunescu arxiv

In Socratic debugging, instructors guide students towards identifying and fixing a bug on their own, instead of providing the bug fix directly. Most novice programmer bugs are caused by programming misconceptions, namely…

Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?

2026-04-19 · Wang Bill Zhu, Miaosen Chai, Shangshang Wang, Yejia Liu 외 arxiv

Unlike code completion, debugging requires localizing faults and applying targeted edits. We observe that frontier LLMs often regenerate correct but over-edited solutions during debugging. To evaluate how far LLMs are fr…

Code Completion

BugSpotter: Automated Generation of Code Debugging Exercises

2024-11-21 · Victor-Alexandru Pădurean, Paul Denny, Adish Singla

Debugging is an essential skill when learning to program, yet its instruction and emphasis often vary widely across introductory courses. In the era of code-generating large language models (LLMs), the ability for studen…

Modeling Student Learning with 3.8 Million Program Traces

2025-10-06 · Alexis Ross, Megha Srivastava, Jeremiah Blanchard, Jacob Andreas arxiv

As programmers write code, they often edit and retry multiple times, creating rich "interaction traces" that reveal how they approach coding tasks and provide clues about their level of skill development. For novice prog…

Code Generation