From Code to Correctness: Closing the Last Mile of Code Generation with Hierarchical Debugging
2 Oct · Yuling Shi, Songsong Wang, Chengcheng Wan +2 · arXiv:2410.01215
While large language models have made significant strides in code generation, the pass rate of the generated code is bottlenecked on subtle errors, often requiring human intervention to pass tests, especially for complex problems. Existing LLM-based debugging systems treat generated programs as monolithic units, failing to address bugs at multiple levels of granularity, from low-level syntax errors to high-level…