paper-with-me

홈 › Papers

Bug In the Code Stack: Can LLMs Find Bugs in Large Python Code Stacks

2024-06-21 · Hokyung Lee, Sumanyu Sharma, Bing Hu

Recent research in Needle-in-a-Haystack (NIAH) benchmarks has explored the capabilities of Large Language Models (LLMs) in retrieving contextual information from large text documents. However, as LLMs become increasingly integrated into software development processes, it is crucial to evaluate their performance in code-based environments. As LLMs are further developed for program synthesis, we need to ensure that LLMs can understand syntax and write syntactically correct code. As a step in ensuring LLMs understand syntax, LLMs can be evaluated in their ability to find and detect syntax bugs. Our benchmark, Bug In The Code Stack (BICS), is designed to assess the ability of LLMs to identify simple syntax bugs within large source code. Our findings reveal three key insights: (1) code-based environments pose significantly more challenge compared to text-based environments for retrieval tasks, (2) there is a substantial performance disparity among different models, and (3) there is a notable correlation between longer context lengths and performance degradation, though the extent of this degradation varies between models.

📄 PDF Abstract BibTeX arXiv:2406.15325

Code (1)

hamminghq/bug-in-the-code-stack 공식 구현

Tasks

Program Synthesis

Similar Papers 제목 키워드 기반

Cracks in The Stack: Hidden Vulnerabilities and Licensing Risks in LLM Pre-Training Datasets

2025-01-05 · Mahmoud Jahanshahi, Audris Mockus

A critical part of creating code suggestion systems is the pre-training of Large Language Models on vast amounts of source code and natural language text, often of questionable origin or quality. This may contribute to t…

Code Generation

Large Language Models of Code Fail at Completing Code with Potential Bugs

2023-06-06 · NeurIPS 2023 11 · Tuan Dinh, Jinman Zhao, Samson Tan, Renato Negrinho 외

Large language models of code (Code-LLMs) have recently brought tremendous advances to code completion, a fundamental feature of programming assistance and code intelligence. However, most existing works ignore the possi…

Code CompletionHumanEval

A Hybrid LTR-based System via Social Context Embedding for Recommending Solutions of Software Bugs in Developer Communities

2026-03-07 · Fouzi Harrag, Mokdad Khemliche arxiv

Questions and Answering forums such as Stack Overflow play an important role in supporting software developers in finding answers to queries related to issues such as software errors and bugs. However, searching through …

Bugs in Large Language Models Generated Code: An Empirical Study

2024-03-13 · Florian Tambon, Arghavan Moradi Dakhel, Amin Nikanjam, Foutse khomh 외

Large Language Models (LLMs) for code have gained significant attention recently. They can generate code in different programming languages based on provided prompts, fulfilling a long-lasting dream in Software Engineeri…

AttributeCode Generation

Design choices made by LLM-based test generators prevent them from finding bugs

2024-12-18 · Noble Saji Mathews, Meiyappan Nagappan

There is an increasing amount of research and commercial tools for automated test case generation using Large Language Models (LLMs). This paper critically examines whether recent LLM-based test generation tools, such as…

software testing