Deduplicating Cascading Test Failures for Coding Agents: Raw Error Dumps vs. AST Root-Cause Error Clustering (-95.3% Input Tokens)
๐ก AI Labo Benchmark Series โ Experiment E29 (Feedback Sensors & Error Deduplication) This post is part of our empirical benchmark series testing AI coding agent harness patterns inside network-isolated Proxmox VMs against a hidden 20-case grading suite. ๐ View All 41 Benchmark Results & Master Ranking ๐ก๏ธ Read How Our Proxmox & systemd Anti-Cheating Sandbox Works Metadata & Experiment Identityโฆ
The experiment compared two methods for handling cascading test failures in AI coding agents: Raw Cascading Error Dump and AST Root-Cause Error Clustering. Mode A dumped unclustered cascading downstream failure logs, leading to partial symptom patching before convergence. Mode B deduplicated raw downstream test exceptions along the AST call graph into three upstream root-symbol clusters, suppressing redundant symptom traces.
Key results showed that Mode B reduced LLM calls by 66.7%, cut cumulative input tokens by 95.3%, lowered API cost by 83.4%, and ran 2.27 times faster. The Root-Cause Clustering Sensor output provided a deduplicated report of 222 raw downstream test exceptions, folded into three upstream root-symbol clusters, demonstrating a 99.9% reduction in cascading dump and significant improvements in efficiency and cost.
Rewritten by urgent.news; may contain errors โ check the original.
Source: dev.to