This paper introduces Toggle: Token-Granulated Bug Localization and Repair
, a comprehensive program that uses LLMs for both bug localization and fixing tasks. The approach is distinct as it precisely predicts bug locations at the token level before employing another LLM for the repair process. Here are the key insights:
The significance of this study lies in its novel methodology, which separates bug localization from fixing, allowing for more robustness and accuracy. The use of different LLMs to handle distinct phases of bug handling could set a new benchmark in automated programming repairs, proposing potential for comprehensive software maintenance solutions.