“…The first one is cloze-style repair, i.e., reframing program repair as a cloze-style task, and then invoking LLMs to predict partially correct code with the help of repair patterns, such as AlphaRepair [165], GAMMA [189], FitRepair [163] and Repilot [156]. The second one is conversational-based repair, i.e., constructing complex prompts with various valuable information (e.g., buggy code, failure diagnostics, even execution feedback), and then chatting with LLMs to generate correct patches, such as Pearce et al [116], TypeFix [117], RustAssistant [22], Zhang et al [190], Prenner et al [119], Sobania et al [133], and Napoli et al [108]. Such repair routes usually require LLMs capable of processing long-text prompts and human-like conversations, thus predominantly employing powerful LLMs with billion-level parameters, like ChatGPT and GPT-4.…”