paper-with-me

Papers

LongCodeBench: Evaluating Coding LLMs at 1M Context Windows

2025-05-12 · Stefano Rando, Luca Romani, Alessio Sampieri, Yuta Kyuragi, Luca Franco, Fabio Galasso, Tatsunori Hashimoto, John Yang

Context lengths for models have grown rapidly, from thousands to millions of tokens in just a few years. The extreme context sizes of modern long-context models have made it difficult to construct realistic long-context benchmarks -- not only due to the cost of collecting million-context tasks but also in identifying realistic scenarios that require significant contexts. We identify code comprehension and repair as a natural testbed and challenge task for long-context models and introduce LongCodeBench (LCB), a benchmark to test LLM coding abilities in long-context scenarios. Our benchmark tests both the comprehension and repair capabilities of LCLMs in realistic and important settings by drawing from real-world GitHub issues and constructing QA (LongCodeQA) and bug fixing (LongSWE-Bench) tasks. We carefully stratify the complexity of our benchmark, enabling us to evaluate models across different scales -- ranging from Qwen2.5 14B Instruct to Google's flagship Gemini model. We find that long-context remains a weakness for all models, with performance drops such as from 29% to 3% for Claude 3.5 Sonnet, or from 70.2% to 40% for Qwen2.5.

📄 PDF Abstract BibTeX arXiv:2505.07897

Code (0)

등록된 구현이 없습니다.

Tasks

Bug fixing

Similar Papers 제목 키워드 기반

Robustness and Reasoning Fidelity of Large Language Models in Long-Context Code Question Answering

2026-02-19 · Kishan Maharaj, Nandakishore Menon, Ashita Saxena, Srikanth Tamilselvam arxiv

Large language models (LLMs) increasingly assist software engineering tasks that require reasoning over long code contexts, yet their robustness under varying input conditions remains unclear. We conduct a systematic stu…

Question Answering

Evaluating Memory Condensation Strategies for Coding Agents in Data-Driven Scientific Discovery

2026-05-13 · Renuka Chintalapati, Sid Raskar, Anurag Acharya, Jared Willard 외 arxiv

Coding agents accumulate extensive context during long-running tasks, yet fixed context windows force practitioners to choose between truncation and task failure. While numerous memory condensation strategies have been p…

RepoQA: Evaluating Long Context Code Understanding

2024-06-10 · Jiawei Liu, Jia Le Tian, Vijay Daita, Yuxiang Wei 외

Recent advances have been improving the context windows of Large Language Models (LLMs). To quantify the real long-context capabilities of LLMs, evaluators such as the popular Needle in a Haystack have been developed to …

Code Search

When Refusals Fail: Unstable Safety Mechanisms in Long-Context LLM Agents

2025-12-02 · Tsimur Hadeliya, Mohammad Ali Jauhar, Nidhi Sakpal, Diogo Cruz arxiv

Solving complex or long-horizon problems often requires large language models (LLMs) to use external tools and operate over a significantly longer context window. New LLMs enable longer context windows and support tool c…

CLongEval: A Chinese Benchmark for Evaluating Long-Context Large Language Models

2024-03-06 · Zexuan Qiu, Jingjing Li, Shijue Huang, Xiaoqi Jiao 외

Developing Large Language Models (LLMs) with robust long-context capabilities has been the recent research focus, resulting in the emergence of long-context LLMs proficient in Chinese. However, the evaluation of these mo…