Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
102 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

TraceDiff: Debugging Unexpected Code Behavior Using Trace Divergences (1708.03786v1)

Published 12 Aug 2017 in cs.HC, cs.CY, cs.PL, and cs.SE

Abstract: Recent advances in program synthesis offer means to automatically debug student submissions and generate personalized feedback in massive programming classrooms. When automatically generating feedback for programming assignments, a key challenge is designing pedagogically useful hints that are as effective as the manual feedback given by teachers. Through an analysis of teachers' hint-giving practices in 132 online Q&A posts, we establish three design guidelines that an effective feedback design should follow. Based on these guidelines, we develop a feedback system that leverages both program synthesis and visualization techniques. Our system compares the dynamic code execution of both incorrect and fixed code and highlights how the error leads to a difference in behavior and where the incorrect code trace diverges from the expected solution. Results from our study suggest that our system enables students to detect and fix bugs that are not caught by students using another existing visual debugging tool.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Ryo Suzuki (61 papers)
  2. Gustavo Soares (21 papers)
  3. Andrew Head (17 papers)
  4. Elena Glassman (12 papers)
  5. Ruan Reis (1 paper)
  6. Melina Mongiovi (1 paper)
  7. Loris D'Antoni (47 papers)
  8. Bjoern Hartmann (11 papers)
Citations (26)

Summary

We haven't generated a summary for this paper yet.