Skip to main navigation Skip to search Skip to main content

TraceMate: Collaborating with AI in Test-Driven Programming

  • Xi'an Jiaotong-Liverpool University

Research output: Chapter in Book or Report/Conference proceeding › Conference Proceeding › peer-review

2 Citations (Scopus)

Abstract

Large programming courses often use test-driven autograding systems (e.g., CodeRunner) for instant feedback, but these usually only show which tests failed without explaining why or how to fix the error. Novice students struggle with such minimal guidance and often resort to trial-and-error. Meanwhile, AI coding assistants (e.g., GitHub Copilot, ChatGPT) can provide hints and code suggestions, but novices may over-trust these outputs and lack the skills to verify them. To solve these issues, we present TraceMate, an IDE plugin that pairs the autograder's tests with a conversational AI chatbot. TraceMate augments test feedback with context-aware explanations and inline suggestions for code modifications, and immediately validates each AI suggestion on the test suite. This workflow gives actionable hints while ensuring any AI-proposed changes are correct. In a user study with novice programmers, participants using TraceMate solved problems more effectively and reported higher confidence than those using only the autograder. These results suggest that pairing automated tests with an interactive AI assistant can enhance learning in introductory programming courses.

Original languageEnglish
Title of host publicationProceedings - 2025 IEEE Symposium on Visual Languages and Human-Centric Computing, VL-HCC 2025
PublisherIEEE Computer Society
Pages253-259
Number of pages7
ISBN (Electronic)9798331502331
DOIs
Publication statusPublished - 2025
Event2025 IEEE Symposium on Visual Languages and Human-Centric Computing, VL-HCC 2025 - Raleigh, United States
Duration: 6 Oct 2025 → 10 Oct 2025

Publication series

NameProceedings of IEEE Symposium on Visual Languages and Human-Centric Computing, VL/HCC
ISSN (Print)1943-6092
ISSN (Electronic)1943-6106

Conference

Conference2025 IEEE Symposium on Visual Languages and Human-Centric Computing, VL-HCC 2025
Country/TerritoryUnited States
CityRaleigh
Period6/10/25 → 10/10/25

Keywords

  • AI-assisted debugging
  • human-AI collaboration
  • programming education
  • test-driven coding

Cite this