← all papers · overview

Leveraging Print Debugging To Improve Code Generation In Large Language Models

Abstract

Large language models (LLMs) have made significant progress in code generation tasks, but their performance in tackling programming problems with complex data structures and algorithms remains suboptimal. To address this issue, we propose an in-context learning approach that guides LLMs to debug by using a "print debugging" method, which involves inserting print statements to trace and analysing l

Related papers

Ranked by semantic similarity — how closely each paper's abstract matches this one (100% = near-identical topic).