Idea · Oct 18, 2026
Green but Hollow: A Mutation-Scored Benchmark of AI-Generated Unit Tests for Toolchain-First C++ Data Structures Assignments
Builds an automated benchmark that measures whether AI coding tools' unit tests for multi-file C++ CS2 assignments would actually catch the bugs students make, using mutation scores and misconception-seeded faulty implementations instead of coverage.
What it would do
Roy et al. (SIGCSE TS 2026) benchmarked AI tools across software engineering phases with five human evaluators and found that the tools struggled most with test coverage quality and cross-file coherence, but their metrics were human-judged proxies on a small task set. This project replaces the human evaluators with a fully automated, reproducible pipeline grounded in the toolchain-first course setting (Google Test, Clang-Tidy, Valgrind, GitHub CI). For a set of CS2-style multi-file C++ assignments (linked lists, BSTs, hash tables, rule-of-three classes), we ask several AI tools and agents to write test suites from the spec and starter code, then score each suite by line and branch coverage, Mull mutation score, and a 'student-bug kill rate' against a corpus of faulty implementations seeded from published CS2 misconception and bug catalogs (off-by-one traversals, shallow copies, missing destructor cleanup, unbalanced deletion cases). We quantify the gap between green coverage and real fault detection, characterize which bug classes AI tests miss, and test whether a mutation-score CI gate plus mutation feedback in the prompt closes the gap. The outcome informs what testing skills a toolchain-first course must still teach directly when students can generate tests on demand.