What Makes In-Context Examples Effective for Code Generation?
Open accessPublished version of a preprint
Abstract
In-Context Learning (ICL) has emerged as a promising solution to enhance the code generation capabilities of Large Language Models (LLMs) by incorporating code examples inside the prompt to let LLMs learn from demonstrations. However, despite their effectiveness gains, it remains unclear which specific properties of ICL-provided code examples (e.g., solution insight, essential contextual information, identifier naming styles, code formatting) drive these gains. This paper systematically investigates the impact of different sources and internal features of code examples on ICL for code generation through controlled experiments on contest-style programming questions and repository-level tasks. Our results show that while LLMs struggle to extract generalizable problem-solving insights from provided solutions to similar questions or repository snippets, their retrieval-augmented ICL performance can significantly benefit from explicit contextual information, such as input/output demonstrations, required helper functions, and namespace information. Through targeted mutation operators, we further find that identifier naming is substantially more critical than code formatting or low-level implementation details, with the elimination of descriptive variable names causing performance drops of up to 30 percentage points. Finally, we demonstrate that LLMs significantly prefer semantically meaningful identifier names and that adherence to surface-level naming conventions is far less important than semantic clarity. These findings provide practical guidelines for constructing effective ICL code examples and highlight challenges in reflection-based learning for code generation.
AI snapshot
Written from the paper’s full text.
TL;DR
This paper systematically studies which properties of in-context code examples drive LLM code-generation gains, using controlled retrieval and mutation experiments on LeetCode and DevEval. It finds explicit contextual information and semantically meaningful identifier naming are the most beneficial, while LLMs largely fail to exploit problem-solving insights from similar question-solution examples.
Key findings
- Explicit contextual information helps: augmenting BM25-retrieved examples with unittests and required function/variable information raised Pass@1 for GPT-4o-mini from 19.62 to 27.65, Qwen-7B from 16.04 to 20.48, Qwen-32B from 22.18 to 28.67, and DS-Coder from 16.89 to 23.04; adding namespace information also improved all models (e.g., Qwen-32B on BM25 from 26.70 to 30.34, and on gist-large from 36.79 to 39.66). Similar question-solution retrieval on LeetCode did not significantly improve over Zero Shot or Random.
- Identifier naming is more critical than formatting or implementation details: VOE and FVE caused the largest drops, with FVE reducing Qwen-7B on LeetCode-Python by 30 percentage points (86.46 to 55.52); on DevEval, FVE dropped GPT-4o-mini from 37.91 to 25.58, Qwen-7B from 24.67 to 17.66, and Qwen-32B from 36.79 to 26.91.
- Naming style matters mainly through semantic informativeness: CN and VN generally outperformed VHR and VMR, which caused the largest degradation and were often worse than VOE; on LeetCode-Python CN generally beat VN, while on DevEval VN was consistently higher than CN.
- LLMs struggle to extract generalizable problem-solving insights: CodeBLEU similarity between outputs and retrieved examples showed no significant difference with versus without ICL (p ≥ 0.99), and augmenting LeetCode BM25 content with required functions/variables did not improve performance (p > 0.1; p_HB > 0.6).
Methods
- Controlled experiments on LeetCode questions (362 of 381 LiveCodeBench-v5 questions) and DevEval tasks (1427 of 1825 tasks), using Python and Java for LeetCode; four LLMs: GPT-4o-mini, Qwen2.5-7B-Instruct, Qwen2.5-32B-Instruct, and DeepSeek-Coder-V2-Lite-Instruct, with temperature=0, max_tokens=8000, and k=5 retrieved documents.
- RQ1 built RAG-ICL systems with BM25, embedding models (gist-large, jina-v2-code, codesage-small), algorithm-tag retrieval, random retrieval, plus Ground Truth and Zero Shot baselines; RQ2 applied eight mutation operators across naming (FOE, VOE, FVE), format (INR, LSR, TOK), and implementation details (NL, LT); RQ3 synthesized naming styles (CN, VN, VHR, VMR) plus VOE.
- Main metric was Pass@1; analyses used Wilcoxon signed-rank tests, paired t-tests, Linear Mixed Models, Holm-Bonferroni correction, Bootstrap confidence intervals, and CodeBLEU similarity for reflection analysis.
Limitations
- Stated in the paper: mutation operators may not cover all code features; LeetCode and DevEval may not represent all real-world development scenarios; potential data contamination was addressed by partitioning questions around model knowledge cutoffs and finding high Spearman rank correlations across subsets.
- Stated in the paper: statistical assumptions for paired t-tests and LMMs were frequently violated, so conclusions are grounded on Wilcoxon signed-rank tests with Bootstrap CIs, with t-tests and LMMs reported only as concordance checks.
- Evident from the text: the study covers four LLMs, two benchmarks, Python/Java, k=5, and a limited set of retrievers and mutation operators, so generalization to other models, languages, retrieval settings, or code properties is not established.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
17 of 51 cited sources checked · 6 supported · 1 flagged · accuracy not yet measured
- Study design and conductown data§ 3.3 Selection of LLMs
The default maximum context length for all LLMs is sufficient to accommodate all prompts synthesized in the study since the maximum token number is approximately 11K for LeetCode and 27K for DevEval under k=5.
“We adopt the default maximum context length for all LLMs (128K for GPT-4o-mini [52] and Qwen models [56]; 32K for DS-Coder [17]), which is sufficient to accommodate all the prompts synthesized in our study since the maximum token number is approximately 11K for LeetCode and 27K for DevEval under 𝑘 = 5 configuration.”
Quote in the paperNot a substantial claim2 of 3 sources checked- cites [52] [52] OpenAI. 2024. GPT-4o mini: advancing cost-efficient intelligence. https://openai.com/index/gpt-4o-mini-advancingcost-efficient-intelligence/ -
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [56] [56] Qwen:, An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tianyi Tang, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu. 2025. Qwen2.5 Technical Report. doi:10.48550/arXiv.2412.15115 - source
- cites [17] [17] DeepSeek-AI, Qihao Zhu, Daya Guo, Zhihong Shao, Dejian Yang, Peiyi Wang, Runxin Xu, Y. Wu, Yukun Li, Huazuo Gao, Shirong Ma, Wangding Zeng, Xiao Bi, Zihui Gu, Hanwei Xu, Damai Dai, Kai Dong, Liyue Zhang, Yishi Piao, Zhibin Gou, Zhenda Xie, Zhewen Hao, Bingxuan Wang, Junxiao Song, Deli Chen, Xin Xie, Kang Guan, Yuxiang You, Aixin Liu, Qiushi Du, Wenjun Gao, Xuan Lu, Qinyu Chen, Yaohui Wang, Chengqi Deng, Jiashi Li, Chenggang Zhao, Chong Ruan, Fuli Luo, and Wenfeng Liang. 2024. DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligence. doi:10.48550/arXiv.2406.1193 source
The citation is attached to the claimed 32K maximum context length for DS-Coder. Section 3.4, “Long Context Extension” (page unavailable), instead gives DeepSeek-Coder-V2 a 128K context length; 32K was a sequence length used during one training stage. The paper does not provide the citing study’s LeetCode or DevEval prompt counts. (LLM, conf=0.88)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured
- Premisecitation§ 2.2 Motivation
Existing studies primarily evaluate different knowledge sources for retrieval-augmented ICL, but do not systematically analyze which types of properties and information within retrieved content are most beneficial.
“First, existing studies [77, 84] primarily evaluate different knowledge sources for retrieval-augmented ICL, but do not systematically analyze which types of properties and information within retrieved content (e.g., input/output demonstrations, required function/variable information, repository structure) are most beneficial.”
Quote in the paperSubstantial claim1 of 2 sources checked- cites [77] [77] Zora Zhiruo Wang, Akari Asai, Xinyan Velocity Yu, Frank F. Xu, Yiqing Xie, Graham Neubig, and Daniel Fried. 2025. CodeRAG-Bench: Can Retrieval Augment Code Generation?. In Findings of the Association for Computational Linguistics: NAACL 2025 . Association for Computational Linguistics, Albuquerque, New Mexico, 3199-3214. doi:10.18653/v1/2025. findings-naacl.176 - source
- cites [84] [84] Zezhou Yang, Sirong Chen, Cuiyun Gao, Zhenhao Li, Xing Hu, Kui Liu, and Xin Xia. 2025. An Empirical Study of Retrieval-Augmented Code Generation: Challenges and Opportunities. ACM Trans. Softw. Eng. Methodol. 34, 7, Article 188 (Aug 2025), 28 pages. doi:10.1145/3717061 - source
- Premisecitation§ 5.2 Threats to Validity
LeetCode and DevEval are among the most widely adopted benchmarks for evaluating LLM code generation capabilities.
“we argue that LeetCode and DevEval are among the most widely adopted benchmarks for evaluating LLM code generation capabilities [30, 43, 66]”
Quote in the paperNot a substantial claim1 of 3 sources checked- cites [30] [30] Binyuan Hui, Jian Yang, Zeyu Cui, Jiaxi Yang, Dayiheng Liu, Lei Zhang, Tianyu Liu, Jiajun Zhang, Bowen Yu, Keming Lu, Kai Dang, Yang Fan, Yichang Zhang, An Yang, Rui Men, Fei Huang, Bo Zheng, Yibo Miao, Shanghaoran Quan, Yunlong Feng, Xingzhang Ren, Xuancheng Ren, Jingren Zhou, and Junyang Lin. 2024. Qwen2.5-Coder Technical Report. doi:10.48550/arXiv.2409.12186 - source
Section 7.2 (page unavailable) mentions LeetCode as a source of problems for LiveCodeBench, not as a benchmark whose adoption is assessed. Searches for DevEval and for the claimed adoption of either benchmark found no passage addressing the claim. (LLM, conf=0.78)
Experimental — accuracy not yet measured - cites [43] [43] Jia Li, Xianjie Shi, Kechi Zhang, Ge Li, Zhi Jin, Lei Li, Huangzhao Zhang, Jia Li, Fang Liu, Yuwei Zhang, Zhengwei Tao, Yihong Dong, Yuqi Zhu, and Chongyang Tao. 2025. GraphCodeAgent: Dual Graph-Guided LLM Agent for Retrieval-Augmented Repo-Level Code Generation. doi:10.48550/arXiv.2504.10046 - source
- cites [66] [66] ByteDance Seed, Yuyu Zhang, Jing Su, Yifan Sun, Chenguang Xi, Xia Xiao, Shen Zheng, Anxiang Zhang, Kaibo Liu, Daoguang Zan, Tao Sun, Jinhua Zhu, Shulin Xin, Dong Huang, Yetao Bai, Lixin Dong, Chao Li, Jianchong Chen, Hanzhi Zhou, Yifan Huang, Guanghan Ning, Xierui Song, Jiaze Chen, Siyao Liu, Kai Shen, Liang Xiang, and Yonghui Wu. 2025. Seed-Coder: Let the Code Model Curate Data for Itself. doi:10.48550/arXiv.2506.03524 - source
- Interpretationown data§ 4.2 RQ2: Effect of Different Code Features
There is a correlation between LLMs' coding ability and context code leveraging with information elimination.
“The pattern indicates a correlation between the LLMs' coding ability (demonstrated by the performance on code generation benchmarks [12, 90]) and context code leveraging with information elimination.”
Quote in the paperSubstantial claim1 of 2 sources checked- cites [12] [12] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Such source
- cites [90] [90] Terry Yue Zhuo, Vu Minh Chien, Jenny Chim, Han Hu, Wenhao Yu, Ratnadira Widyasari, Imam Nur Bani Yusuf, Haolan Zhan, Junda He, Indraneil Paul, Simon Brunner, Chen GONG, James Hoang, Armel Randy Zebaze, Xiaoheng Hong, Wen-Ding Li, Jean Kaddour, Ming Xu, Zhihan Zhang, Prateek Yadav, Naman Jain, Alex Gu, Zhoujun Cheng, Jiawei Liu, Qian Liu, Zijian Wang, David Lo, Binyuan Hui, Niklas Muennighoff, Daniel Fried, Xiaoning Du, Harm de Vries, and Leandro Von Werra. 2025. BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions. In The Thirteenth International source
- Findingown data§ What Makes In-Context Examples Effective for Code Generation?
LLMs significantly prefer semantically meaningful identifier names.
“Finally, we demonstrate that LLMs significantly prefer semantically meaningful identifier names”
- Also stated in: another passage · plain
“Moreover, our experiments reveal that LLMs prefer semantically meaningful identifier names”
Quote in the paperSubstantial claim - Also stated in: another passage · plain
- Findingown data§ 1 Introduction
Noisy and misleading identifier names may cause significant performance degradation, especially in Python.
“noisy and misleading names may cause significant performance degradation, especially in Python”
Quote in the paperSubstantial claim - Findingown data§ What Makes In-Context Examples Effective for Code Generation?
Eliminating descriptive variable names causes performance drops of up to 30 percentage points.
“with the elimination of descriptive variable names causing performance drops of up to 30 percentage points”
- Also stated in: another passage · plain
“eliminating descriptive variable names can cause a performance decrease of up to 30 percentage points”
Quote in the paperSubstantial claim - Also stated in: another passage · plain
- Findingown data§ What Makes In-Context Examples Effective for Code Generation?
Identifier naming in code, particularly the names of local variables, is substantially more critical than code formatting or low-level implementation details for ICL-assisted code generation.
“identifier naming is substantially more critical than code formatting or low-level implementation details”
- Also stated in: another passage · plain
“In addition, we observe that identifier naming in code, particularly the names of local variables, has a much larger effect on ICL-assisted performance than code formatting or low-level implementation details”
Quote in the paperSubstantial claim - Also stated in: another passage · plain
- Findingown data§ What Makes In-Context Examples Effective for Code Generation?
Retrieval-augmented ICL performance can significantly benefit from explicit contextual information, such as input/output demonstrations, required helper functions, and namespace information.
“their retrieval-augmented ICL performance can significantly benefit from explicit contextual information, such as input/output demonstrations, required helper functions, and namespace information.”
- Also stated in: another passage · plain
“First, we find that ICL contents explicitly supplying essential contextual information, such as input/output demonstrations, required function and variable information, or repository structural details, bring measurable gains for LLM code generation.”
Quote in the paperSubstantial claim - Also stated in: another passage · plain
- Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Embedding-based retrievers consistently outperform BM25 across target LLMs.
“These gaps align with overall performance: embeddingbased retrievers consistently outperform BM25 across target LLMs.”
Quote in the paperSubstantial claim - Findingown data§ 4.2 RQ2: Effect of Different Code Features
Qwen-7B has a performance decrease of 30 percentage points under FVE on LeetCode.
“with Qwen-7B subject to a performance decrease of 30 percentage points under FVE.”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
No significant difference in CodeBLEU similarity between with ICL and without ICL (p ≥ 0.99).
“The results reveal no significant difference ( 𝑝 ≥ 0 . 99 across all configurations)”
Quote in the paperSubstantial claim - Findingown data§ 4.2 RQ2: Effect of Different Code Features
Identifier-related code obfuscations (VOE and FVE) consistently induce the most severe performance degradation for both benchmarks.
“Across all mutation operators spanning the three categories, identifier-related code obfuscations (VOE and FVE) consistently induce the most severe performance degradation for both benchmarks.”
Quote in the paperSubstantial claim - Findingnone given§ 4.1 RQ1: Effective ICL-Incorporated Information
LLMs call valid functions or attributes but omit their necessary namespaces.
“The LLM calls valid functions or attributes but omits their necessary namespaces.”
Quote in the paperNot a substantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
For DevEval, improvements under ICL configurations are statistically significant compared with Zero Shot.
“The statistical significance tests also confirm that the improvements under ICL configurations are statistically significant compared with Zero Shot ( 𝑝 < 10 -10 ; 𝑝 𝐻𝐵 < 10 -10 and all Bootstrap CI above zero for all models and configurations except Random ).”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Weaker LLMs (e.g., Qwen-7B) are more easily affected by partially relevant examples.
“Comparative results across models further show that weaker LLMs (e.g., Qwen-7B) are more easily affected by partially relevant examples.”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
A Qwen-32B failure case under Zero Shot was fixed with ICL-incorporated input/output demonstration.
“Fig. 4. A Qwen-32B Failure Case under Zero Shot Fixed with ICL-Incorporated Input/Output Demonstration.”
Quote in the paperNot a substantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Required functions and variables do not enhance LLMs' performance on LeetCode questions.
“As shown in Table 4, the results illustrate that the required functions and variables do not enhance LLMs' performance on LeetCode questions ( 𝑝 > 0 . 1; 𝑝 𝐻𝐵 > 0 . 6; no Bootstrap CI above zero for all models with both Python and Java)”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
For DevEval tasks, ICL code examples extracted from the project repository effectively enhance all studied LLMs' Pass@1 performance.
“Meanwhile, for DevEval tasks, ICL code examples extracted from the project repository effectively enhance all studied LLMs' Pass@1 performance.”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Including namespace information consistently improves code generation performance across models.
“Table 3 shows that including namespace information consistently improves code generation performance across models.”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Even powerful models fail to fully leverage truly useful patterns from retrieved code under studied configurations.
“However, even these relatively powerful models fail to fully leverage truly useful patterns from retrieved code under our studied configurations”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Stronger models (e.g., Qwen-32B) exhibit more stable and robust performance across different ICL contexts.
“By contrast, stronger models (e.g., Qwen-32B) exhibit more stable and robust performance across different ICL contexts”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
LLMs achieve superior performance gains under Ground Truth configuration on both benchmarks.
“As shown in Table 1, LLMs achieve superior performance gains under Ground Truth configuration on both benchmarks”
Quote in the paperSubstantial claim - Findingnone given§ 4.1 RQ1: Effective ICL-Incorporated Information
RAG content includes functions with identical names as the target, causing the LLM to mistakenly copy them as ground truth.
“The RAG content includes functions with identical names as the target, causing the LLM to mistakenly copy them as ground truth.”
Quote in the paperNot a substantial claim - Findingnone given§ 3.1 Overall Pipelines
In Ground Truth configuration for LeetCode questions and Embedding Models configuration for DevEval, LLMs show remarkable performance improvement via ICL.
“We select Ground Truth configuration for LeetCode questions and Embedding Models configuration for DevEval, where LLMs show remarkable performance improvement via ICL”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
The differences in Pass@1 between Zero Shot and retrieval configurations on LeetCode are not statistically significant.
“The results show that the differences are not statistically significant ( 𝑝 > 0 . 05; 𝑝 𝐻𝐵 = 1 . 0 and no Bootstrap CI above zero for all models and configurations).”
Quote in the paperSubstantial claim - Findingown data§ 4.1 RQ1: Effective ICL-Incorporated Information
For LeetCode questions, ICL with text-similarity-based and algorithm-based retrieval methods does not improve LLM code generation compared with Zero Shot and Random baselines.
“For LeetCode questions, the studied text-similarity-based (BM25, Embedding Models) and algorithm-based retrieval methods, which represent commonly-used yet relatively simple retrieval baselines, do not yield consistent improvements to LLM code generation.”
- Also stated in: another passage · plain
“Specifically, ICL under these configurations does not result in performance improvements compared with Zero Shot and Random baselines.”
- Also stated in: another passage · plain
“As shown in Table 1, providing similar questions and their corresponding solutions as in-context examples does not facilitate LLMs' code generation on LeetCode problems.”
Quote in the paperSubstantial claim - Also stated in: another passage · plain
- Findingown data§ 4.2 RQ2: Effect of Different Code Features
Variable name elimination can cause incorrect semantic interpretation for GPT-4o-mini.
“Even for stronger models like GPT-4o-mini, variable name elimination can also cause incorrect semantic interpretation, resulting in a slight but failure-inducing difference”
Quote in the paperSubstantial claim - Findingown data§ 4.3 RQ3: Effect of Different Code Naming Styles
For DevEval, VN is slightly closer to Origin identifiers than CN (0.46 vs 0.52).
“For DevEval code examples retrieved by RAG, VN is slightly closer to the Origin identifiers than CN (CN: 0.46 vs. VN: 0.52 for both gist-large and codesage-small ).”
Quote in the paperSubstantial claim - Findingown data§ 4.2 RQ2: Effect of Different Code Features
LLMs exhibit greater sensitivity to format elimination in generating Java programs with ICL.
“Moreover, we observe that LLMs exhibit greater sensitivity to format elimination in generating Java programs with ICL.”
Quote in the paperSubstantial claim - Findingown data§ 5.2 Threats to Validity
The Spearman rank correlations of per-scenario pass@1 among the before-cutoff, after-cutoff, and overall full question sets are consistently high across all four studied LLMs, with p < 10^-18 for all paired comparisons.
“The correlations are consistently high across all four studied LLMs ( 𝑝 < 10 -18 for all paired comparisons), indicating that the relative effectiveness of different ICL configurations is preserved regardless of whether the questions could have appeared in the training data.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [85] [85] Jerrold H. Zar. 2005. Spearman Rank Correlation. In Encyclopedia of Biostatistics (2nd ed.), Peter Armitage and Theodore Colton (Eds.). Vol. 7. John Wiley & Sons, Ltd, Chichester, UK. doi:10.1002/9781118445112.stat05964 - source
- Findingown data§ 7 Conclusion
The essential contextual information in ICL-assisted code generation consists of required functions, variables, and meaningful identifier names.
“Through systematic empirical studies and controlled ablations, we identify the essential contextual information (required functions, variables, meaningful identifier names) in ICL-assisted code generation.”
Quote in the paperSubstantial claim - Findingown data§ 4.3 RQ3: Effect of Different Code Naming Styles
On DevEval, CN is consistently lower than VN across all four LLMs.
“On DevEval, we observe the opposite trend: CN is consistently lower than VN across all four LLMs.”
Quote in the paperSubstantial claim - Findingown data§ 4.3 RQ3: Effect of Different Code Naming Styles
Performance degradation in VHR and VMR compared with VOE on both LeetCode and DevEval.
“However, we observe performance degradation in VHR and VMR configurations compared with VOE on both LeetCode questions and DevEval tasks.”
Quote in the paperSubstantial claim - Findingown data§ 4.3 RQ3: Effect of Different Code Naming Styles
For LeetCode Python, CN achieves higher average similarity than VN (0.70 vs 0.45).
“For LeetCode Python, CN achieves a higher average similarity than VN (CN: 0.70 vs. VN: 0.45).”
Quote in the paperSubstantial claim - Findingreasoning§ 5.1 Statistical Assumptions Validation
Parametric normality assumptions of paired t-test and LMM are violated almost universally.
“Since the outcomes are binary, the parametric normality assumptions of the paired 𝑡 -test and the Linear Mixed Model (LMM) are violated almost universally”
Quote in the paperSubstantial claim - Findingnone given§ 5.2 Threats to Validity
Knowledge cutoff dates of all four studied models precede 2024.
“For the data contamination concern, we confirm that the knowledge cutoff dates of all four studied models precede 2024.”
Quote in the paperSubstantial claim - Findingown data§ 4.2 RQ2: Effect of Different Code Features
Weaker LLMs such as Qwen-7B show more pronounced performance degradation as information is progressively removed from the ICL context.
“Conversely, weaker LLMs such as Qwen-7B show more pronounced performance degradation as information is progressively removed from the ICL context.”
Quote in the paperSubstantial claim - Findingown data§ 4.2 RQ2: Effect of Different Code Features
Implementation mutations such as NL reduce performance by up to 28 percentage points for Qwen-7B, LeetCode-Java.
“Similarly, implementation mutations such as NL reduce performance by up to 28 percentage points for (Qwen-7B, LeetCode-Java).”
Quote in the paperSubstantial claim - Findingown data§ 4.2 RQ2: Effect of Different Code Features
Performance drops under FOE, VOE and FVE compared with Origin are statistically significant.
“Additionally, the statistical tests confirm the significance of the performance drops under FOE, VOE and FVE compared with Origin ( 𝑝 < 0 . 04; 𝑝 𝐻𝐵 < 0 . 04 and all Bootstrap CI below zero for all models).”
Quote in the paperSubstantial claim - Findingown data§ 6.2 Study on LLMs' Preference on Code Snippets
LLMs rely more on textual semantic features than on format information and problem-solving logic in ICL code examples.
“It reveals that LLMs rely more on textual semantic features than on format information and problem-solving logic, providing insights for future pre-training objectives and optimization techniques for LLM-based code intelligence tasks.”
Quote in the paperSubstantial claim - Findingnone given§ 4.2 RQ2: Effect of Different Code Features
Under Zero Shot baseline, Java and Python demonstrate comparable performance.
“In general, under the Zero Shot baseline, Java and Python demonstrate comparable performance.”
Quote in the paperNot a substantial claim - Findingown data§ 4.2 RQ2: Effect of Different Code Features
TOK mutation results in up to a 12-point drop in Java performance with GPT-4o-mini.
“For example, the TOK mutation results in up to a 12-point drop in Java performance with GPT-4o-mini.”
Quote in the paperSubstantial claim - Findingown data§ 4.3 RQ3: Effect of Different Code Naming Styles
For both LeetCode and DevEval, CN and VN yield substantially stronger performance than VHR and VMR across four studied LLMs.
“For both LeetCode questions and DevEval tasks, CN and VN yield substantially stronger performance than VHR and VMR across four studied LLMs.”
Quote in the paperSubstantial claim - Interpretationown data§ What Makes In-Context Examples Effective for Code Generation?
LLMs struggle to extract generalizable problem-solving insights from provided solutions to similar questions or repository snippets.
“LLMs struggle to extract generalizable problem-solving insights from provided solutions to similar questions or repository snippets”
- Also stated in: another passage · hedged
“Nevertheless, LLMs struggle to generalize problem-solving insights from solutions to similar questions, indicating limited capability in reflection-driven ICL.”
Quote in the paperSubstantial claim - Also stated in: another passage · hedged
- Interpretationown data§ What Makes In-Context Examples Effective for Code Generation?
Adherence to surface-level naming conventions is far less important than semantic clarity for LLM understanding and generalization.
“adherence to surface-level naming conventions is far less important than semantic clarity”
- Also stated in: another passage · hedged
“This suggests that semantic clarity, rather than length or adherence to surface-level conventions, is what most effectively supports model understanding and generalization.”
Quote in the paperSubstantial claim - Also stated in: another passage · hedged
- Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
LLMs can recognize and utilize direct answers.
“suggesting that LLMs can recognize and utilize direct answers”
Quote in the paperSubstantial claim - Interpretationreasoning§ 4.1 RQ1: Effective ICL-Incorporated Information
The limited improvements observed with the studied retrievers in LeetCode may be attributed to their failure to surface useful information.
“the limited improvements observed with the studied retrievers in LeetCode may be attributed to their failure to surface such useful information”
Quote in the paperSubstantial claim - Interpretationreasoning§ 4.1 RQ1: Effective ICL-Incorporated Information
The lack of benefit from required functions/variables on LeetCode is largely due to structural differences between the two benchmarks.
“We consider that this is largely due to structural differences between the two benchmarks.”
Quote in the paperSubstantial claim - Interpretationreasoning§ 4.1 RQ1: Effective ICL-Incorporated Information
DevEval tasks often require calling functions and using class attributes from the same project, so explicitly providing such information via RAG is beneficial.
“DevEval tasks often require calling functions and using class attributes from the same project, so explicitly providing such information via RAG is beneficial.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Structural cues such as namespaces and file hierarchies are essential for effective repository-level code generation.
“confirming that beyond example content, structural cues such as namespaces and file hierarchies are also essential for effective repository-level code generation.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
LLMs largely fail to extract and apply semantically relevant problem-solving logic from retrieved examples during code generation.
“suggesting that although retrieved examples may contain semantically relevant problem-solving logic, LLMs largely fail to extract and apply such patterns during code generation.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
ICL has the potential to benefit code generation when high-quality examples are available.
“as the notable performance gains under GT demonstrate that ICL has the potential to benefit code generation when high-quality examples are available.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
The absence of such critical contextual information largely accounts for BM25's performance gap compared with embedding models.
“This finding indicates that the absence of such critical contextual information largely accounts for BM25's performance gap compared with embedding models.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Simple and straightforward textual-similarity-based retrieval techniques do not reliably surface the problem-solving logic that LLMs need.
“This indicates that the simple and straightforward textual-similarity-based retrieval techniques do not reliably surface the problem-solving logic that LLMs need.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
Fine-grained contextual and architectural signals are crucial for effective RAG-based ICL in code generation.
“suggesting that fine-grained contextual and architectural signals are crucial for effective RAGbased ICL in code generation.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated Information
The useful information provided by ICL varies across different coding tasks.
“These observations collectively suggest that the useful information provided by ICL varies across different coding tasks”
Quote in the paperSubstantial claim - Study design and conductown data§ 3.2 Experimental Design
The mutation operators preserve original code runtime behavior while renaming local variables, function parameters, and function names.
“These mutation operators preserve original code runtime behavior while renaming local variables, function parameters, and function names that describe their functionality.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.2 RQ2: Effect of Different Code Features
LLMs may not access the semantics of the ICL code example by carefully parsing the code based on its format.
“The results suggest that LLMs may not access the semantics of the ICL code example by carefully parsing the code based on its format.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
Unfamiliar formatting conventions related to text style are unlikely to hinder LLMs from recognizing helpful code.
“The finding suggests that the unfamiliar formatting conventions related to text style are unlikely to hinder LLMs from recognizing helpful code.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
Identifier names that better match intended semantics more reliably support ICL.
“Instead, identifier names that better match the intended semantics (and thus are closer to the Origin identifiers) more reliably support ICL.”
Quote in the paperSubstantial claim - Interpretationreasoning§ 4.3 RQ3: Effect of Different Code Naming Styles
The discrepancy likely stems from differing naming conventions across task types.
“This discrepancy likely stems from differing naming conventions across task types: contest-style code typically favors concise, standardized single-word identifiers (e.g., dp , count ), whereas repository code tends to use multi-word names that fully describe variable intent and distinguish them from other symbols in the codebase.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
Standardizing naming conventions or making identifiers longer/shorter has secondary effects compared to semantic informativeness.
“Meanwhile, standardizing naming conventions or making identifiers longer/shorter has secondary effects compared to semantic informativeness.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
The description of variables is more crucial to unlock LLMs' capabilities in recognizing useful ICL code examples.
“Instead, as discussed previously, the description of variables is more crucial to unlock LLMs' capabilities in recognizing useful ICL code examples.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
Length alone is not the key contributor to ICL performance.
“These similarity scores align with the observed performance differences, suggesting that length alone is not the key contributor to ICL performance.”
Quote in the paperSubstantial claim - Interpretationown data§ 5.2 Threats to Validity
The relative effectiveness of different ICL configurations is preserved regardless of whether the evaluation questions could have appeared in the LLMs' training data.
“The correlations are consistently high across all four studied LLMs ( 𝑝 < 10 -18 for all paired comparisons), indicating that the relative effectiveness of different ICL configurations is preserved regardless of whether the questions could have appeared in the training data.”
Quote in the paperSubstantial claim- Rests on an assumption: The knowledge cutoff dates of the four studied LLMs accurately determine which LeetCode questions could have appeared in their pre-training data, so that questions released after the cutoff are guaranteed unseen.
- Interpretationown data§ 4.2 RQ2: Effect of Different Code Features
Identifier naming information is a key feature for ICL under different relevance of ICL content.
“These consistent declines suggest that identifier naming information is a key feature for ICL under different relevance of ICL content”
Quote in the paperSubstantial claim - Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
LLMs still heavily depend on the semantic descriptions in identifiers when learning from ICL demonstrations, regardless of task type.
“The results indicate that LLMs still heavily depend on the semantic descriptions in identifiers when learning from ICL demonstrations, regardless of whether the coding task is dependent on external context (DevEval) or not (LeetCode).”
Quote in the paperSubstantial claim - Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
Identifier naming style plays a critical role in the effectiveness of ICL.
“Experiments in this RQ reveal that identifier naming style plays a critical role in the effectiveness of ICL.”
Quote in the paperSubstantial claim - Interpretationown data§ 4.2 RQ2: Effect of Different Code Features
There is a clear programming language preference on code comprehension and generation.
“indicating a clear programming language preference on code comprehension and generation.”
Quote in the paperSubstantial claim - Interpretationown data§ 5.2 Threats to Validity
The paper's conclusions about the contributions of code features to ICL effectiveness are robust to potential data contamination.
“This confirms that our conclusions about the contributions of code features to ICL effectiveness are robust to potential data contamination.”
Quote in the paperSubstantial claim- Rests on an assumption: The knowledge cutoff dates of the four studied LLMs accurately determine which LeetCode questions could have appeared in their pre-training data, so that questions released after the cutoff are guaranteed unseen.
- Interpretationown data§ 4.3 RQ3: Effect of Different Code Naming Styles
LLMs benefit from ICL demonstrations primarily when identifier names convey meaningful and reliable semantic descriptions.
“Answer to RQ3 : LLMs benefit from ICL demonstrations primarily when identifier names convey meaningful and reliable semantic descriptions.”
Quote in the paperSubstantial claim - Interpretationreasoning§ 5.1 Statistical Assumptions Validation
Rejection of the symmetry assumption does not by itself invalidate the Wilcoxon test.
“However, a rejection of the symmetry assumption does not by itself invalidate the Wilcoxon test, as it only needs to hold under 𝐻 0 .”
Quote in the paperSubstantial claim - Interpretationreasoning§ 4.2 RQ2: Effect of Different Code Features
The reason for FOE's differential effect is that LeetCode solutions mainly depend on common library APIs and user-defined functions whose bodies are present in the same code example, while DevEval snippets contain more helper functions defined externally.
“The reason may be that LeetCode solutions mainly depend on common library APIs and user-defined functions whose bodies are present in the same code example. In contrast, code snippets extracted from DevEval repositories contain more helper functions defined externally and not visible in ICL examples, making LLMs hard to reason the intention of these functions.”
Quote in the paperSubstantial claim
- Classified as probably not a substantial claim. 21
- May combine two claims. 24
- The quote only partly states this claim. 1
Classified as probably not a substantial claim.
Premisecitation§ 2.2 MotivationDirectly incorporating the correct solution code as ICL content substantially enhances LLM performance.
“More recently, Wang et al. [77] demonstrate that directly incorporating the correct solution code as ICL content substantially enhances LLM performance”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Wang et al. [77] source
Section 2.3 identifies the canonical documents for HumanEval and MBPP as programming-solution documents. Section 3.3 reports that providing canonical context substantially improves generation on basic programming problems, but not across all models or tasks; it notes that GPT models show no gains in some open-domain settings. The paper describes supplying documents as context, not testing correct solution code specifically as few-shot ICL content. (LLM, conf=0.85)
Experimental — accuracy not yet measured
Classified as probably not a substantial claim.
Premisecitation§ 2.2 MotivationRetrieved examples from different knowledge sources (e.g., programming solutions, GitHub repositories) yield limited degrees of benefit.
“retrieved examples from different knowledge sources (e.g., programming solutions, GitHub repositories) yield limited degrees of benefit”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Wang et al. [77] source
Section 4, “RACG with Open Retrieval” (page unavailable), reports modest gains from some sources and no improvement from others on HumanEval; on RepoEval, open sources add little beyond local code. But it also reports that programming solutions yield the largest gains on ODEX and that mixed sources perform as well as gold documents on HumanEval. Calling the benefit uniformly limited overstates these task-dependent results. (LLM, conf=0.84)
Experimental — accuracy not yet measured
Probably not a substantial claim: may not pass S3 (load-bearing).
Premisecitation§ 3.2 Experimental DesignRecent studies have demonstrated remarkable successes of ICL in code generation tasks.
“Recent studies have demonstrated remarkable successes of ICL in code generation tasks [24, 44, 71, 89].”
Quote in the paperNot a substantial claim1 of 4 sources checked- cites [24] [24] Shuzheng Gao, Xin-Cheng Wen, Cuiyun Gao, Wenxuan Wang, Hongyu Zhang, and Michael R. Lyu. 2023. What Makes Good In-Context Demonstrations for Code Intelligence Tasks with LLMs? . In 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) . IEEE Computer Society, Los Alamitos, CA, USA, 761-773. doi:10.1109/ASE56229.2023.00109 - source
- cites [44] [44] Jia Li, Chongyang Tao, Jia Li, Ge Li, Zhi Jin, Huangzhao Zhang, Zheng Fang, and Fang Liu. 2025. Large Language Model-Aware In-Context Learning for Code Generation. ACM Trans. Softw. Eng. Methodol. 34, 7, Article 190 (Aug. 2025), 33 pages. doi:10.1145/3715908 - source
- cites [71] [71] Hongjin Su, Shuyang Jiang, Yuhang Lai, Haoyuan Wu, Boao Shi, Che Liu, Qian Liu, and Tao Yu. 2024. EvoR: Evolving Retrieval for Code Generation. In Findings of the Association for Computational Linguistics: EMNLP 2024 , Yaser AlOnaizan, Mohit Bansal, and Yun-Nung Chen (Eds.). Association for Computational Linguistics, Miami, Florida, USA, 2538-2554. doi:10.18653/v1/2024.findings-emnlp.143 - source
- cites [89] [89] Shuyan Zhou, Uri Alon, Frank F. Xu, Zhengbao Jiang, and Graham Neubig. 2023. DocPrompting: Generating Code by Retrieving the Docs. In The Eleventh International Conference on Learning Representations . https://openreview.net/ forum?id=ZTCxT2t2Ru - source
Classified as probably not a substantial claim.
Premisecitation§ 3.2 Experimental DesignPrior works categorize code features into three dimensions: code naming, code format, and implementation details.
“Prior works categorize code features into three dimensions: code naming [64], code format [55], and implementation details [13].”
Quote in the paperSubstantial claim1 of 3 sources checked- cites [64] [64] Simone Scalabrino, Mario Linares-Vásquez, Denys Poshyvanyk, and Rocco Oliveto. 2016. Improving code readability models with textual features. In 2016 IEEE 24th International Conference on Program Comprehension (ICPC) . 1-10. doi:10.1109/ICPC.2016.7503707 - source
- cites [55] [55] Daryl Posnett, Abram Hindle, and Premkumar Devanbu. 2011. A simpler model of software readability. In Proceedings of the 8th Working Conference on Mining Software Repositories (Waikiki, Honolulu, HI, USA) (MSR '11) . Association for Computing Machinery, New York, NY, USA, 73-82. doi:10.1145/1985441.1985454 - source
- cites [13] [13] Songqiang Chen, Congying Xu, Jingyi Chen, Jialun Cao, Jiarong Wu, and Shing-Chi Cheung. 2026. Can Emulating Semantic Translation Help LLMs with Code Translation? A Study Based on Pseudocode. ACM Trans. Softw. Eng. Methodol. (Jan. 2026). doi:10.1145/3790101 Just Accepted. - source
The citation to this paper is attached to “implementation details,” not to the other two dimensions. The experimental-strategies passage (p. 8) explicitly discusses implementation details of the original program, but it does not categorize code features into the three stated dimensions. (LLM, conf=0.82)
Experimental — accuracy not yet measured
Classified as probably not a substantial claim.
Study design and conductcitation§ 3.4 Performance MetricsThe study used Pass@1 as the evaluation metric for all RQs rather than code similarity scores, as it is more appropriate for problem-solving and code generation tasks.
“Following existing works evaluating LLM code generation [12, 23] and common evaluation practices over LiveCodeBench and DevEval, we use Pass@1 as the evaluation metric for all RQs rather than code similarity scores, as it is more appropriate for problem-solving and code generation tasks.”
Quote in the paperSubstantial claim2 of 2 sources checked- cites [12] [12] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, Alex Ray, Raul Puri, Gretchen Krueger, Michael Petrov, Heidy Khlaaf, Girish Sastry, Pamela Mishkin, Brooke Chan, Scott Gray, Nick Ryder, Mikhail Pavlov, Alethea Power, Lukasz Kaiser, Mohammad Bavarian, Clemens Winter, Philippe Tillet, Felipe Petroski Such, Dave Cummings, Matthias Plappert, Fotios Chantzis, Elizabeth Barnes, Ariel Herbert-Voss, William Hebgen Guss, Alex Nichol, Alex Paino, Nikolas Tezak, Jie Tang, Igor Babuschkin, Such source
- cites [23] [23] Daniel Fried, Armen Aghajanyan, Jessy Lin, Sida Wang, Eric Wallace, Freda Shi, Ruiqi Zhong, Scott Yih, Luke Zettlemoyer, and Mike Lewis. 2023. InCoder: A Generative Model for Code Infilling and Synthesis. In The Eleventh International Conference on Learning Representations, ICLR 2023, Kigali, Rwanda, May 1-5, 2023 . OpenReview.net. https://openreview.net/forum?id=hQwb-lbM6EL - source
Section C.6 (p. 20) confirms that InCoder used pass@1 to evaluate code synthesis on HumanEval and MBPP, supporting the citation as a precedent for that metric. It does not say pass@1 is more appropriate than code-similarity scores: it also reports pass@10 and pass@100 for HumanEval, while Table 1 (p. 5) reports exact match alongside pass rate. The citing authors’ choice to use pass@1 for all their research questions is their own methodology, not a finding attributed to InCoder. (LLM, conf=0.87)
Experimental — accuracy not yet measured
Classified as probably not a substantial claim. May combine two claims.
Premisecitation§ 3.2 Experimental DesignICL is not a universally beneficial solution; its effectiveness remains context-dependent.
“However, ICL is not a universally beneficial solution, as reported by [50, 77, 80], indicating that ICL's effectiveness remains context-dependent.”
Quote in the paperSubstantial claim1 of 3 sources checked- cites [50] [50] Seiji Maekawa, Hayate Iso, Sairam Gurajada, and Nikita Bhutani. 2024. Retrieval Helps or Hurts? A Deeper Dive into the Efficacy of Retrieval Augmentation to Language Models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) , Kevin Duh, Helena Gomez, and Steven Bethard (Eds.). Association for Computational Linguistics, Mexico City, Mexico, 5506-5521. doi:10.18653/v1/2024.naacl-long.308 - source
- cites [77] [77] Zora Zhiruo Wang, Akari Asai, Xinyan Velocity Yu, Frank F. Xu, Yiqing Xie, Graham Neubig, and Daniel Fried. 2025. CodeRAG-Bench: Can Retrieval Augment Code Generation?. In Findings of the Association for Computational Linguistics: NAACL 2025 . Association for Computational Linguistics, Albuquerque, New Mexico, 3199-3214. doi:10.18653/v1/2025. findings-naacl.176 - source
Section 3.3 reports that adding retrieved documents helps some code-generation models and tasks but gives GPT models no gain in the setups discussed. The passages searched for “ICL” and “in-context learning” address retrieval-augmented code generation, not whether in-context learning itself is universally beneficial; page numbers were unavailable in our copy. (LLM, conf=0.72)
Experimental — accuracy not yet measured - cites [80] [80] Di Wu, Wasi Uddin Ahmad, Dejiao Zhang, Murali Krishna Ramanathan, and Xiaofei Ma. 2024. REPOFORMER: selective retrieval for repository-level code completion. In Proceedings of the 41st International Conference on Machine Learning (Vienna, Austria) (ICML'24) . JMLR.org, Article 2183, 21 pages. - source
Probably not a substantial claim: may not pass S3 (load-bearing).
Premisecitation§ 3.2 Experimental DesignRanking retrieved ICL examples by similarity score with the most similar closest to the target question is generally more effective than random or reversed ordering.
“The retrieved ICL examples are then included in the prompt in the order of their similarity scores calculated by the retriever with the most similar example placed closest to the target question, as this ranking strategy is reported to be generally more effective compared to random or reversed ordering [24].”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites [24] [24] Shuzheng Gao, Xin-Cheng Wen, Cuiyun Gao, Wenxuan Wang, Hongyu Zhang, and Michael R. Lyu. 2023. What Makes Good In-Context Demonstrations for Code Intelligence Tasks with LLMs? . In 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) . IEEE Computer Society, Los Alamitos, CA, USA, 761-773. doi:10.1109/ASE56229.2023.00109 - source
May combine two claims.
Premisecitation§ 6.2 Study on LLMs' Preference on Code SnippetsExisting techniques for optimizing LLM behavior on code snippets are mainly driven by machine learning approaches and lack explanations of LLM preference or predictable results before actual generation.
“These optimization techniques are mainly driven by machine learning approaches, lacking explanations on preference of LLM or predictable results before the actual generation.”
Quote in the paperSubstantial claim1 of 3 sources checked- cites Jain et al. [34] [34] Paras Jain, Ajay Jain, Tianjun Zhang, Pieter Abbeel, Joseph Gonzalez, and Ion Stoica. 2021. Contrastive Code Representation Learning. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing . Association for Computational Linguistics, Online and Punta Cana, Dominican Republic, 5954-5971. doi:10.18653/v1/ 2021.emnlp-main.482 - source
- cites Wang et al. [76] [76] Yue Wang, Weishi Wang, Shafiq Joty, and Steven C.H. Hoi. 2021. CodeT5: Identifier-aware Unified Pre-trained EncoderDecoder Models for Code Understanding and Generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing . Association for Computational Linguistics, Online and Punta Cana, Dominican Republic, 8696-8708. doi:10.18653/v1/2021.emnlp-main.685 - source
The Introduction describes existing code-related techniques as adaptations of machine-learning pre-training methods. It criticizes them for overlooking code structure, but does not say they lack explanations of LLM preferences or predictable results before generation. (LLM, conf=0.86)
Experimental — accuracy not yet measured - cites Henkel et al. [27] [27] Jordan Henkel, Goutham Ramakrishnan, Zi Wang, Aws Albarghouthi, Somesh Jha, and Thomas Reps. 2022. Semantic Robustness of Models of Source Code. In 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) . 526-537. doi:10.1109/SANER53432.2022.00070 - source
May combine two claims.
Premisenone given§ 6.1 Advancements in In-Context LearningExisting works on ICL for coding tasks treat code examples as monotonic units and do not explore the contributing features within a code snippet.
“Although existing works advance in optimizing ICL for various tasks including coding, they consider code examples as monotonic units and do not explore the contributing features in a code snippet.”
Quote in the paperSubstantial claim3 of 3 sources checked- cites Liu et al. [47] [47] Jiachang Liu, Dinghan Shen, Yizhe Zhang, Bill Dolan, Lawrence Carin, and Weizhu Chen. 2022. What Makes Good In-Context Examples for GPT-3?. In Proceedings of Deep Learning Inside Out (DeeLIO 2022): The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures . Association for Computational Linguistics, Dublin, Ireland and Online, 100-114. doi:10.18653/v1/2022.deelio-1.10 - source
The Trial section describes selecting whole in-context examples by similarity to a test sample, which supports the general point that this work selects examples as units. But Section 3, Experimental Setup, lists sentiment analysis, table-to-text generation, and question answering—not coding. The paper does not establish that existing coding-task work treats code snippets as indivisible units or neglects their contributing features. (LLM, conf=0.78)
Experimental — accuracy not yet measured - cites Min et al. [51] [51] Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe, Mike Lewis, Hannaneh Hajishirzi, and Luke Zettlemoyer. 2022. Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing . Association for Computational Linguistics, Abu Dhabi, United Arab Emirates, 11048-11064. doi:10.18653/v1/2022.emnlp-main.759 - source
The Introduction describes experiments isolating features of in-context demonstrations, including label space, input distribution, and format. The Related Work and Experimental Details passages do not assess coding-task examples or whether prior coding work examines features within code snippets; a search for coding tasks and code snippets found no such passage. (LLM, conf=0.76)
Experimental — accuracy not yet measured - cites Gao et al. [24] [24] Shuzheng Gao, Xin-Cheng Wen, Cuiyun Gao, Wenxuan Wang, Hongyu Zhang, and Michael R. Lyu. 2023. What Makes Good In-Context Demonstrations for Code Intelligence Tasks with LLMs? . In 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) . IEEE Computer Society, Los Alamitos, CA, USA, 761-773. doi:10.1109/ASE56229.2023.00109 - source
The Introduction says earlier studies mainly selected and arranged demonstration examples, and the paper examines examples by selection, order, and number. The Conclusion and Future Work leaves other aspects of source code, including quality and naturalness, for future study. This supports the narrower point that this paper does not investigate features within snippets, but it does not establish that all existing ICL work treats code examples as indivisible units or neglects those features. (LLM, conf=0.79)
Experimental — accuracy not yet measured
May combine two claims.
Findingown data§ 4.1 RQ1: Effective ICL-Incorporated InformationLLMs infer general logic correctly but produce incorrect input/output formats.
“The LLM infers the general logic correctly but produces incorrect input/output formats”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown data§ 4.1 RQ1: Effective ICL-Incorporated InformationBM25-based RAG covers 48.7% of variables and 38.9% of functions/classes used in the ground truth, while embedding models reach 61%-66%.
“Similarly, BM25-based RAG covers 48.7% of variables and 38.9% of functions/classes used in the ground truth, while embedding models reach 61%-66%.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4.1 RQ1: Effective ICL-Incorporated InformationAugmenting BM25 retrievals with unittests and required function/variable information yields substantial performance gains, achieving results comparable to embedding-based retrievers.
“As shown in Table 2, augmenting BM25 retrievals with unittests and required function/variable information (Row 3) yields substantial performance gains ( 𝑝 < 10 -10 ; 𝑝 𝐻𝐵 < 10 -10 and all Bootstrap CI above zero for all models), achieving results comparable to embedding-based retrievers.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4.1 RQ1: Effective ICL-Incorporated InformationFor documents retrieved by BM25, unittest recall is 2.38%, whereas embedding-based retrievers achieve recall ranging from 51.93% to 66.92%.
“We observed that for documents retrieved by BM25, unittest recall is only 2.38%, whereas the embedding-based retrievers achieve much higher recall, ranging from 51.93% to 66.92%.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4.3 RQ3: Effect of Different Code Naming StylesOn LeetCode, CN generally outperforms VN for Python across all models, while preference is weaker for Java.
“On LeetCode, CN generally outperforms VN for Python across all models, while the preference is weaker for Java (e.g., Qwen2.532B-Ins slightly favors VN).”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4.3 RQ3: Effect of Different Code Naming StylesVHR and VMR exhibit the largest degradation and are generally even worse than VOE.
“In contrast, VHR and VMR, which replace identifiers with high-frequency names and their combinations, exhibit the largest degradation ( 𝑝 < 10 -3 ; 𝑝 𝐻𝐵 < 10 -3 and all Bootstrap CI below zero under all combinations of models and mutations) and are generally even worse than VOE.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4.2 RQ2: Effect of Different Code FeaturesDS-Coder presents a unique behavioral profile on LeetCode: performance lags under Origin, becomes competitive under format and implementation detail mutation configurations.
“In addition, we observe that DS-Coder presents a unique behavioral profile on LeetCode: its performance significantly lags behind other models under Origin configuration, while it becomes competitive under format and implementation detail mutation configurations.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingreasoning§ 4.2 RQ2: Effect of Different Code FeaturesFOE configuration causes minimal performance degradation on LeetCode, compared with a relatively significant decrease on DevEval.
“Among all mutation operators on identifier names, FOE configuration causes minimal performance degradation on LeetCode, compared with a relatively significant decrease on DevEval.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone given§ 7 ConclusionDespite the overall success of ICL across diverse scenarios, current LLMs remain limited in their ability to generalize problem-solving insights based on reflection and inference.
“Despite the overall success of ICL across diverse scenarios, current LLMs remain limited in their ability to generalize problem-solving insights based on reflection and inference.”
Quote in the paperNot a substantial claimThe quote only partly states this claim.
Findingown data§ 4.2 RQ2: Effect of Different Code FeaturesFor DevEval, identifier obfuscation remains the dominant failure factor.
“For DevEval tasks depending on external context, although the absolute performance is lower due to task difficulty, identifier obfuscation remains the dominant failure factor.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4.2 RQ2: Effect of Different Code FeaturesUnder FVE, DevEval performance drops from 37.91% to 25.58% for GPT-4o-mini, 24.67% to 17.66% for Qwen-7B, and 36.79% to 26.91% for Qwen-32B.
“For instance, under FVE, DevEval performance drops from 37.91% to 25.58% for GPT-4o-mini, 24.67% to 17.66% for Qwen-7B, and 36.79% to 26.91% for Qwen32B.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown data§ 4.2 RQ2: Effect of Different Code FeaturesQwen-32B demonstrates remarkable robustness across all mutation operators, maintaining performance above 87% for LeetCode and above 30% in nearly all DevEval configurations except FVE.
“Qwen-32B demonstrates remarkable robustness across all mutation operators, maintaining performance above 87% for all configurations in LeetCode, and above 30% in nearly all DevEval configurations except FVE.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationown data§ 1 IntroductionExplicit contextual information (e.g., input/output demonstrations, required function/variable information, repository structure) and meaningful identifier naming are the most beneficial properties among the studied ICL components.
“We identify explicit contextual information (e.g., input/output demonstrations, required function/variable information, repository structure) and meaningful identifier naming as the most beneficial properties among the studied ICL components”
Quote in the paperSubstantial claimClassified as probably not a substantial claim. May combine two claims.
Study design and conductreasoning§ 3.2 Experimental DesignThe study excluded ground-truth documents from the retrieval corpus to prevent data leakage and ensure retrieved examples represent only external knowledge available to the model.
“To simulate a common ICL scenario, we exclude ground-truth documents from the retrieval corpus.”
- Also stated in: another passage · plain
“This prevents inadvertent data leakage and ensures retrieved examples represent only external knowledge available to the model.”
Quote in the paperSubstantial claim- Also stated in: another passage · plain
May combine two claims.
Interpretationown data§ 4.1 RQ1: Effective ICL-Incorporated InformationRetrieved examples neither meaningfully influence the generation process nor introduce systematic bias.
“indicating that retrieved examples neither meaningfully influence the generation process nor introduce systematic bias”
Quote in the paperSubstantial claimMay combine two claims.
Premisecitation§ 3.1 Overall PipelinesJava is prevalent in real-world development and academic instruction.
“To investigate the effectiveness of ICL code examples across programming languages, we included Java for LeetCode questions due to its prevalence in real-world development and academic instruction, as supported by the statistics from IEEE Spectrum [32] and the developer survey from Stack Overflow [70].”
Quote in the paperSubstantial claim0 of 2 sources checked- cites [32] [32] IEEE Spectrum. 2025. The Top Programming Languages 2025. https://spectrum.ieee.org/top-programming-languages2025 Accessed: 2026-04-27. -
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [70] [70] Stack Overflow. 2025. Technology | 2025 Stack Overflow Developer Survey. https://survey.stackoverflow.co/2025/ technology#most-popular-technologies-language-language Accessed: 2026-04-27. -
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Classified as probably not a substantial claim.
Study design and conductnone given§ 3.2 Experimental DesignThe study conducted a sanity check to ensure runtime behavior preservation by directly executing the mutated solution on the original tests.
“We conducted a sanity check to ensure runtime behavior preservation by directly executing the mutated solution on the original tests.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim. May combine two claims.
Study design and conductnone given§ 3.2 Experimental DesignThe study conducted an AST structure comparison between the original code and the mutated code to verify that structural integrity is maintained and that the two versions only differ in identifier names.
“We conducted an AST structure comparison between the original code and the mutated code to verify that the structural integrity is maintained and that the two versions only differ in identifier names.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Premisecitation§ 3.2 Experimental DesignExisting studies have indicated different identifier naming styles as a factor that may affect code comprehension for both human developers and LLMs.
“Existing studies have indicated different identifier naming styles as a factor that may affect code comprehension for both human developers [3, 65] and LLMs [29, 75].”
Quote in the paperSubstantial claim0 of 4 sources checked- cites [3] [3] Dave Binkley, Marcia Davis, Dawn Lawrie, and Christopher Morrell. 2009. To camelcase or under\_score. In 2009 IEEE 17th International Conference on Program Comprehension . 158-167. doi:10.1109/ICPC.2009.5090039 - source
- cites [65] [65] Andrea Schankin, Annika Berger, Daniel V. Holt, Johannes C. Hofmeister, Till Riedel, and Michael Beigl. 2018. Descriptive compound identifier names improve source code comprehension. In Proceedings of the 26th Conference on Program Comprehension (Gothenburg, Sweden) (ICPC '18) . Association for Computing Machinery, New York, NY, USA, 31-40. doi:10.1145/3196321.3196332 - source
- cites [29] [29] Chao Hu, Yitian Chai, Hao Zhou, Fandong Meng, Jie Zhou, and Xiaodong Gu. 2024. How Effectively Do Code Language Models Understand Poor-Readability Code?. In Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering (Sacramento, CA, USA) (ASE '24) . Association for Computing Machinery, New York, NY, USA, 795-806. doi:10.1145/3691620.3695072 - source
- cites [75] [75] Shiqi Wang, Zheng Li, Haifeng Qian, Chenghao Yang, Zijian Wang, Mingyue Shang, Varun Kumar, Samson Tan, Baishakhi Ray, Parminder Bhatia, Ramesh Nallapati, Murali Krishna Ramanathan, Dan Roth, and Bing Xiang. 2023. ReCode: Robustness Evaluation of Code Generation Models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) . Association for Computational Linguistics, Toronto, Canada, 13818-13843. doi:10.18653/v1/2023.acl-long.773 - source
Classified as probably not a substantial claim.
Study design and conductreasoning§ 3.1 Overall PipelinesThe study excluded tasks whose ground truth answers failed on the provided test cases from both benchmarks.
“For a clean evaluation, we exclude tasks whose ground truth answers failed on the provided test cases from both benchmarks.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductreasoning§ 3.3 Selection of LLMsThe study adopted temperature=0 to minimize the randomness of LLMs.
“For all LLMs, we adopt temperature=0 to minimize the randomness of LLMs”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Premisecitation§ 3.1 Overall PipelinesThese two scenarios (competition and repository-level) are summarized as representative dimensions of code generation benchmarks by Jiang et al. [35].
“These two scenarios (competition and repository-level) are summarized as representative dimensions of code generation benchmarks by Jiang et al. [35].”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Jiang et al. [35] [35] Juyong Jiang, Fan Wang, Jiasi Shen, Sungju Kim, and Sunghun Kim. 2026. A Survey on Large Language Models for Code Generation. ACM Trans. Softw. Eng. Methodol. 35, 2, Article 58 (Jan. 2026), 72 pages. doi:10.1145/3747588 - source
Classified as probably not a substantial claim.
Study design and conductnone given§ 3.2 Experimental DesignThe runtime behavior of mutated code is verified to be preserved through executing the tests.
“Similar to RQ2, the runtime behavior of mutated code is verified to be preserved through executing the tests.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationreasoning§ 4.1 RQ1: Effective ICL-Incorporated InformationFor self-contained LeetCode questions, functions extracted from ground-truth solutions are usually self-defined helpers or standard-library/third-party APIs that LLMs already know, and most extracted variables are local variables whose names can be arbitrarily assigned.
“In contrast, for the self-contained LeetCode questions, the functions extracted from ground-truth solutions are usually self-defined helpers or standardlibrary/third-party APIs that LLMs already know, and most extracted variables are local variables whose names can be arbitrarily assigned.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Premisecitation§ 4.3 RQ3: Effect of Different Code Naming StylesIdentifier names may largely affect code comprehension for both humans and LLMs.
“Prior works indicated that identifier names may largely affect code comprehension for both humans and LLMs [8, 64].”
Quote in the paperSubstantial claim0 of 2 sources checked- cites [8] [8] Simon Butler, Michel Wermelinger, Yijun Yu, and Helen Sharp. 2010. Exploring the Influence of Identifier Names on Code Quality: An Empirical Study. In 2010 14th European Conference on Software Maintenance and Reengineering . 156-165. doi:10.1109/CSMR.2010.27 - source
- cites [64] [64] Simone Scalabrino, Mario Linares-Vásquez, Denys Poshyvanyk, and Rocco Oliveto. 2016. Improving code readability models with textual features. In 2016 IEEE 24th International Conference on Program Comprehension (ICPC) . 1-10. doi:10.1109/ICPC.2016.7503707 - source
Probably not a substantial claim: may not pass S3 (load-bearing).
Interpretationown data§ 4.2 RQ2: Effect of Different Code FeaturesDifferent LLMs may prefer unique representation formats when processing source code in context.
“This observation may suggest that different LLMs may prefer unique representation formats when processing source code in context.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
Study design and conductcitation§ 5.2 Threats to ValidityThey systematically categorized code features into three fundamental dimensions based on established literature and designed mutation operators covering each dimension.
“we refer to prior works focusing on code readability, which propose clear definitions regarding factors contained in code snippets [7, 55, 64], systematically categorize code features into three fundamental dimensions (semantics, format, and implementation details) based on established literature [9, 10, 16, 29, 82], and design mutation operators that comprehensively cover each dimension.”
Quote in the paperSubstantial claim0 of 8 sources checked- cites [7] [7] Raymond P.L. Buse and Westley R. Weimer. 2010. Learning a Metric for Code Readability. IEEE Transactions on Software Engineering 36, 4 (2010), 546-558. doi:10.1109/TSE.2009.70 - source
- cites [55] [55] Daryl Posnett, Abram Hindle, and Premkumar Devanbu. 2011. A simpler model of software readability. In Proceedings of the 8th Working Conference on Mining Software Repositories (Waikiki, Honolulu, HI, USA) (MSR '11) . Association for Computing Machinery, New York, NY, USA, 73-82. doi:10.1145/1985441.1985454 - source
- cites [64] [64] Simone Scalabrino, Mario Linares-Vásquez, Denys Poshyvanyk, and Rocco Oliveto. 2016. Improving code readability models with textual features. In 2016 IEEE 24th International Conference on Program Comprehension (ICPC) . 1-10. doi:10.1109/ICPC.2016.7503707 - source
- cites [9] [9] Jialun Cao, Songqiang Chen, Wuqi Zhang, Hau Ching Lo, Yeting Li, and Shing-Chi Cheung. 2025. CodeCleaner: Mitigating Data Contamination for LLM Benchmarking. In Proceedings of the 16th International Conference on Internetware (Internetware '25) . Association for Computing Machinery, New York, NY, USA, 71-83. doi:10.1145/3755881.3755901 - source
- cites [10] [10] Saikat Chakraborty, Toufique Ahmed, Yangruibo Ding, Premkumar T. Devanbu, and Baishakhi Ray. 2022. NatGen: generative pre-training by 'naturalizing' source code. In Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (Singapore, Singapore) (ESEC/FSE 2022) . Association for Computing Machinery, New York, NY, USA, 18-30. doi:10.1145/3540250.3549162 - source
- cites [16] [16] Yaniv David, Uri Alon, and Eran Yahav. 2020. Neural reverse engineering of stripped binaries using augmented control flow graphs. Proc. ACM Program. Lang. 4, OOPSLA, Article 225 (Nov. 2020), 28 pages. doi:10.1145/3428293 - source
- cites [29] [29] Chao Hu, Yitian Chai, Hao Zhou, Fandong Meng, Jie Zhou, and Xiaodong Gu. 2024. How Effectively Do Code Language Models Understand Poor-Readability Code?. In Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering (Sacramento, CA, USA) (ASE '24) . Association for Computing Machinery, New York, NY, USA, 795-806. doi:10.1145/3691620.3695072 - source
- cites [82] [82] Fan Yan and Ming Li. 2021. Towards Generating Summaries for Lexically Confusing Code through Code Erosion. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21 . International Joint Conferences on Artificial Intelligence Organization, 3721-3727. doi:10.24963/ijcai.2021/512 Main Track. - source
May combine two claims.
Interpretationown data§ 4.2 RQ2: Effect of Different Code FeaturesThis stability suggests superior generalization capabilities and reduced dependence on specific code features.
“This stability suggests superior generalization capabilities and reduced dependence on specific code features of the powerful LLM for both contest-level and repository-level code generation tasks.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationreasoning§ 5.2 Threats to ValidityOnly a limited subset of LiveCodeBench-v5 and no DevEval tasks may have been included in the training data.
“Therefore, only a limited subset of LiveCodeBench-v5 (May 2023 to January 2025) and no DevEval tasks (May 2024) may have been included in the training data.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
Study design and conductreasoning§ 5.1 Statistical Assumptions ValidationThey ground conclusions on Wilcoxon signed-rank test and Bootstrap CI, reporting t-test and LMM only as concordance checks.
“We therefore ground the conclusions on the Wilcoxon signed-rank test together with the Bootstrap CI on the mean paired difference and report the paired 𝑡 -test and LMM only as concordance checks.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationcitation§ 4.2 RQ2: Effect of Different Code FeaturesLLMs can defend against semantic noise caused by incorrect format for Python, while struggling with correct code with irregular format in Java.
“LLMs can defend against the semantic noise caused by incorrect format for the familiar Python language, while struggling with the correct code with irregular format in Java, which is relatively less familiar to LLMs as reported by previous works [72, 74].”
Quote in the paperSubstantial claim0 of 2 sources checked- cites [72] [72] Weixi Tong and Tianyi Zhang. 2024. CodeJudge: Evaluating Code Generation with Large Language Models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing , Yaser Al-Onaizan, Mohit Bansal, and Yun-Nung Chen (Eds.). Association for Computational Linguistics, Miami, Florida, USA, 20032-20051. doi:10.18653/v1/2024.emnlp-main.1118 - source
- cites [74] [74] Lukas Twist, Mark Harman, Don Syme, Joost Noppen, Helen Yannakoudakis, Detlef Nauck, and Jie M. Zhang. 2026. A Study of LLMs' Preferences for Libraries and Programming Languages. In Findings of the Association for Computational Linguistics: ACL 2026 , Maria Liakata, Viviane P. Moreira, Jiajun Zhang, and David Jurgens (Eds.). Association for Computational Linguistics, San Diego, California, United States, 331-351. doi:10.18653/v1/2026.findings-acl.15 - source
Probably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductnone given§ 5.2 Threats to ValidityThey extend Python code generation tasks in LiveCodeBench to Java to strengthen generalizability.
“Furthermore, we extend Python code generation tasks in LiveCodeBench to Java to strengthen the generalizability of our findings.”
Quote in the paperNot a substantial claim
The paper relies on this without support.
Most prior work treats code examples as monolithic units, without disentangling the contributions of individual code features such as identifier naming, formatting, and implementation details.
“Second, most prior work treats code examples as monolithic units, without disentangling the contributions of individual code features such as identifier naming, formatting, and implementation details.”
The paper relies on this without support.
Python is the officially supported programming language for code generation tasks in LiveCodeBench and DevEval.
“Python is the officially supported programming language for code generation tasks in LiveCodeBench and DevEval.”
The authors state this as an assumption.
Ground Truth configuration provides an upper bound of ICL effectiveness on contest-level tasks.
“This configuration provides a clean setup to mitigate the effect of retrieved document quality, thus serving as a ground to investigate the upper bound of ICL effectiveness on contest-level tasks [77].”
The paper relies on this without support.
The knowledge cutoff dates of the four studied LLMs accurately determine which LeetCode questions could have appeared in their pre-training data, so that questions released after the cutoff are guaranteed unseen.
“we partitioned the LeetCode questions into two subsets for each model according to the knowledge cutoff date of each LLM: questions released before the cutoff (potentially seen during pre-training) and after the cutoff (guaranteed unseen)”
Cites
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 48,293 · see citing works
An analysis of variance test for normality (complete samples)
SHAPIRO, S. S., & WILK, M. B. (1965) · Biometrika · doi:10.1093/biomet/52.3-4.591 · Cited by 23,480 · see citing works
Language Models are Few-Shot Learners
Brown, T. B., Mann, B., Ryder, N., Subbiah, M., Kaplan, J., Dhariwal, P., Neelakantan, A., Shyam, P., Sastry, G., Askell, A., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.14165 · Cited by 23,372 · see citing works
A Simple Sequentially Rejective Multiple Test Procedure
(1979) · Scandinavian Journal of Statistics · doi:10.2307/4615733 · Cited by 21,526 · see citing works
Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformer
Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., & Liu, P. J. (2019) · arXiv · doi:10.48550/arxiv.1910.10683 · Cited by 10,929 · see citing works
Chain-Of-Thought Prompting Elicits Reasoning in Large Language Models
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Ichter, B., Xia, F., Chi, E., Le, Q. V., & Zhou, D. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1800 · Cited by 4,505 · see citing works
The probabilistic relevance framework: BM25 and beyond
Robertson, S., & Zaragoza, H. (2009) · Foundations and Trends® in Information Retrieval · doi:10.1561/1500000019 · Cited by 3,374 · see citing works
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-T., Rocktäschel, T., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.11401 · Cited by 3,101 · see citing works
CodeBERT: A Pre-Trained Model for Programming and Natural Languages
Feng, Z., Guo, D., Tang, D., Duan, N., Feng, X., Gong, M., Shou, L., Qin, B., Liu, T., Jiang, D., et al. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.139 · Cited by 2,824 · see citing works
Bootstrap confidence intervals
DiCiccio, T. J., & Efron, B. (1996) · Statistical Science · doi:10.1214/ss/1032280214 · Cited by 2,286 · see citing works
Efficient Memory Management for Large Language Model Serving with PagedAttention
Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., & Stoica, I. (2023) · Proceedings of the 29th Symposium on Operating Systems Principles · doi:10.1145/3600006.3613165 · Cited by 1,817 · see citing works
Efficient Memory Management for Large Language Model Serving with PagedAttention
Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., & Stoica, I. (2023) · arXiv · doi:10.48550/arxiv.2309.06180 · Cited by 1,802 · see citing works
Wang, Y., Wang, W., Joty, S., & Hoi, S. C. H. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.685 · Cited by 1,495 · see citing works
Evaluating Large Language Models Trained on Code
Chen, M., Tworek, J., Jun, H., Yuan, Q., Pinto, H. P. D. O., Kaplan, J., Edwards, H., Burda, Y., Joseph, N., Brockman, G., et al. (2021) · arXiv · doi:10.48550/arxiv.2107.03374 · Cited by 1,436 · see citing works
Reflexion: Language Agents with Verbal Reinforcement Learning
Shinn, N., Cassano, F., Berman, E., Gopinath, A., Narasimhan, K., & Yao, S. (2023) · arXiv · doi:10.48550/arxiv.2303.11366 · Cited by 1,087 · see citing works
Competition-level code generation with AlphaCode
Li, Y., Choi, D., Chung, J., Kushman, N., Schrittwieser, J., Leblond, R., Eccles, T., Keeling, J., Gimeno, F., Dal Lago, A., et al. (2022) · Science · doi:10.1126/science.abq1158 · Cited by 1,043 · see citing works
A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models
Fan, W., Ding, Y., Ning, L., Wang, S., Li, H., Yin, D., Chua, T.-S., & Li, Q. (2024) · Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining · doi:10.1145/3637528.3671470 · Cited by 827 · see citing works
Veracini, L. (2011) · Settler Colonial Studies · doi:10.1080/2201473x.2011.10648799 · Cited by 821 · see citing works
Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
Min, S., Lyu, X., Holtzman, A., Artetxe, M., Lewis, M., Hajishirzi, H., & Zettlemoyer, L. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.759 · Cited by 755 · see citing works
Zar, J. H. (2005) · Encyclopedia of Biostatistics · doi:10.1002/0470011815.b2a15150 · Cited by 676 · see citing works
Transformation to normality of the null distribution of g1
D'Agostino, R. (1970) · Biometrika · doi:10.1093/biomet/57.3.679 · Cited by 661 · see citing works
A Survey on In-context Learning
Dong, Q., Li, L., Dai, D., Zheng, C., Ma, J., Li, R., Xia, H., Xu, J., Wu, Z., Chang, B., et al. (2024) · Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2024.emnlp-main.64 · Cited by 649 · see citing works
Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
Lu, Y., Bartolo, M., Moore, A., Riedel, S., & Stenetorp, P. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2022.acl-long.556 · Cited by 610 · see citing works
What Makes Good In-Context Examples for GPT-3?
Liu, J., Shen, D., Zhang, Y., Dolan, B., Carin, L., & Chen, W. (2022) · Proceedings of Deep Learning Inside Out (DeeLIO 2022): The 3rd Workshop on Knowledge Extraction and Integration for Deep Learning Architectures · doi:10.18653/v1/2022.deelio-1.10 · Cited by 563 · see citing works
The Wilcoxon signed rank test for paired comparisons of clustered data
Rosner, B., Glynn, R. J., & Lee, M. T. (2006) · Biometrics · doi:10.1111/j.1541-0420.2005.00389.x · Cited by 557 · see citing works
West, B. T., Welch, K. B., & Gałecki, A. T. (2014) · Chapman & Hall/CRC eBooks · doi:10.1201/b17198 · Cited by 485 · see citing works
CodeSearchNet Challenge: Evaluating the State of Semantic Code Search
Husain, H., Wu, H.-H., Gazit, T., Allamanis, M., & Brockschmidt, M. (2019) · arXiv · doi:10.48550/arxiv.1909.09436 · Cited by 483 · see citing works
(n.d.) · doi:10.1109/mspec.2009.4795433 · Cited by 469
Learning a Metric for Code Readability
Buse, R. P. L., & Weimer, W. R. (2010) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2009.70 · Cited by 396 · see citing works
Least-to-Most Prompting Enables Complex Reasoning in Large Language Models
Zhou, D., Schärli, N., Hou, L., Wei, J., Scales, N., Wang, X., Schuurmans, D., Cui, C., Bousquet, O., Le, Q., et al. (2022) · arXiv · doi:10.48550/arxiv.2205.10625 · Cited by 380 · see citing works
Active Example Selection for In-Context Learning
Zhang, Y., Feng, S., & Tan, C. (2022) · Conference on Empirical Methods in Natural Language Processing · doi:10.48550/arxiv.2211.04486 · Cited by 300
Linear Mixed Models: A Practical Guide Using Statistical Software
Gilbert, G. (2008) · Journal of the American Statistical Association · doi:10.1198/jasa.2008.s216 · Cited by 279 · see citing works
A Survey on Large Language Models for Code Generation
Jiang, J., Wang, F., Shen, J., Kim, S., & Kim, S. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3747588 · Cited by 251 · see citing works
Wu, Z., Wang, Y., Ye, J., & Kong, L. (2022) · Annual Meeting of the Association for Computational Linguistics · doi:10.48550/arxiv.2212.10375 · Cited by 236 · see citing works
CodeBLEU: a Method for Automatic Evaluation of Code Synthesis
Ren, S., Guo, D., Lu, S., Zhou, L., Liu, S., Tang, D., Sundaresan, N., Zhou, M., Blanco, A., & Ma, S. (2020) · arXiv · doi:10.48550/arxiv.2009.10297 · Cited by 214 · see citing works
Ross, A., & Willson, V. L. (2017) · SensePublishers eBooks · doi:10.1007/978-94-6351-086-8_4 · Cited by 210 · see citing works
InCoder: A Generative Model for Code Infilling and Synthesis
Fried, D., Aghajanyan, A., Lin, J., Wang, S., Wallace, E., Shi, F., Zhong, R., Yih, W.-T., Zettlemoyer, L., & Lewis, M. (2022) · arXiv · doi:10.48550/arxiv.2204.05999 · Cited by 187 · see citing works
A simpler model of software readability
Posnett, D., Hindle, A., & Devanbu, P. (2011) · Proceedings of the 8th Working Conference on Mining Software Repositories · doi:10.1145/1985441.1985454 · Cited by 182 · see citing works
Jina Embeddings 2: 8192-Token General-Purpose Text Embeddings for Long Documents
Günther, M., Ong, J., Mohr, I., et al. (2023) · arXiv.org · doi:10.48550/arxiv.2310.19923 · Cited by 159
Contrastive Code Representation Learning
Jain, P., Jain, A., Zhang, T., Abbeel, P., Gonzalez, J., & Stoica, I. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.482 · Cited by 129 · see citing works
Exploring the Influence of Identifier Names on Code Quality: An Empirical Study
Butler, S., Wermelinger, M., Yu, Y., & Sharp, H. (2010) · 2010 14th European Conference on Software Maintenance and Reengineering · doi:10.1109/csmr.2010.27 · Cited by 129 · see citing works
Qwen, :, Yang, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Li, C., Liu, D., et al. (2024) · arXiv · doi:10.48550/arxiv.2412.15115 · Cited by 128 · see citing works
Active Example Selection for In-Context Learning
Zhang, Y., Shi, F., & Tan, C. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.622 · Cited by 117 · see citing works
Binkley, D., Davis, M., Lawrie, D., & Morrell, C. (2009) · 2009 IEEE 17th International Conference on Program Comprehension · doi:10.1109/icpc.2009.5090039 · Cited by 115 · see citing works
Improving code readability models with textual features
Scalabrino, S., Linares-Vasquez, M., Poshyvanyk, D., & Oliveto, R. (2016) · 2016 IEEE 24th International Conference on Program Comprehension (ICPC) · doi:10.1109/icpc.2016.7503707 · Cited by 114 · see citing works
Spearman Rank Correlation: Overview
Zar, J. H. (2014) · Wiley StatsRef: Statistics Reference Online · doi:10.1002/9781118445112.stat05964 · Cited by 114 · see citing works
What Makes Good In-Context Demonstrations for Code Intelligence Tasks with LLMs?
Gao, S., Wen, X.-C., Gao, C., Wang, W., Zhang, H., & Lyu, M. R. (2023) · 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase56229.2023.00109 · Cited by 106 · see citing works
NatGen: generative pre-training by “naturalizing” source code
Chakraborty, S., Ahmed, T., Ding, Y., Devanbu, P. T., & Ray, B. (2022) · Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3540250.3549162 · Cited by 105 · see citing works
Bui, N. D. Q., Yu, Y., & Jiang, L. (2021) · Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3404835.3462840 · Cited by 103 · see citing works
Asai, A., Wu, Z., Wang, Y., Sil, A., & Hajishirzi, H. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.11511 · Cited by 101 · see citing works
Automatically assessing code understandability: How far are we?
Scalabrino, S., Bavota, G., Vendome, C., Linares‐Vásquez, M., Poshyvanyk, D., & Oliveto, R. (2017) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase.2017.8115654 · Cited by 101 · see citing works
Wu, Z., Wang, Y., Ye, J., & Kong, L. (2023) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2023.acl-long.79 · Cited by 99 · see citing works
Automatic Code Documentation Generation Using GPT-3
Khan, J. Y., & Uddin, G. (2022) · Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3551349.3559548 · Cited by 96 · see citing works
Semantic Robustness of Models of Source Code
Henkel, J., Ramakrishnan, G., Wang, Z., Albarghouthi, A., Jha, S., & Reps, T. (2022) · 2022 IEEE International Conference on Software Analysis, Evolution and Reengineering (SANER) · doi:10.1109/saner53432.2022.00070 · Cited by 92 · see citing works
Neural reverse engineering of stripped binaries using augmented control flow graphs
David, Y., Alon, U., & Yahav, E. (2020) · Proceedings of the ACM on Programming Languages · doi:10.1145/3428293 · Cited by 84 · see citing works
Descriptive Compound Identifier Names Improve Source Code Comprehension
Schankin, A., Berger, A., Holt, D. V., Hofmeister, J. C., Riedel, T., & Beigl, M. (2018) · Proceedings of the 26th Conference on Program Comprehension · doi:10.1145/3196321.3196332 · Cited by 73 · see citing works
AceCoder : An Effective Prompting Technique Specialized in Code Generation
Li, J., Zhao, Y., Li, Y., Li, G., & Jin, Z. G. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3675395 · Cited by 70 · see citing works
Qwen2.5-Coder Technical Report
Hui, B., Yang, J., Cui, Z., Yang, J., Liu, D., Zhang, L., Liu, T., Zhang, J., Yu, B., Lu, K., et al. (2024) · arXiv · doi:10.48550/arxiv.2409.12186 · Cited by 65 · see citing works
SkCoder: A Sketch-based Approach for Automatic Code Generation
Li, J., Li, Y., Li, G., Jin, Z., Hao, Y., & Hu, X. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00179 · Cited by 64 · see citing works
DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligence
DeepSeek-AI, Zhu, Q., Guo, D., Shao, Z., Yang, D., Wang, P., Xu, R., Wu, Y., Li, Y., Gao, H., et al. (2024) · arXiv · doi:10.48550/arxiv.2406.11931 · Cited by 51 · see citing works
Dealing with identifiers and comments in source code comprehension and maintenance
Salviulo, F., & Scanniello, G. (2014) · International Conference on Evaluation and Assessment in Software Engineering (EASE) · doi:10.1145/2601248.2601251 · Cited by 44 · see citing works
DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositories
Li, J., Li, G., Zhao, Y., Li, Y., Liu, H., Zhu, H., Wang, L., Liu, K., Fang, Z., Wang, L., et al. (2024) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2024.findings-acl.214 · Cited by 44 · see citing works
CodeJudge: Evaluating Code Generation with Large Language Models
Tong, W., & Zhang, T. (2024) · Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2024.emnlp-main.1118 · Cited by 44 · see citing works
LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
Jain, N., Han, K., Gu, A., Li, W.-D., Yan, F., Zhang, T., Wang, S., Solar-Lezama, A., Sen, K., & Stoica, I. (2024) · arXiv · doi:10.48550/arxiv.2403.07974 · Cited by 42 · see citing works
ReCode: Robustness Evaluation of Code Generation Models
Wang, S., Li, Z., Qian, H., Yang, C., Wang, Z., Shang, M., Kumar, V., Tan, S., Ray, B., Bhatia, P., et al. (2023) · Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2023.acl-long.773 · Cited by 42 · see citing works
An Empirical Study of Retrieval-Augmented Code Generation: Challenges and Opportunities
Yang, Z., Chen, S., Gao, C., Li, Z., Hu, X., Liu, K., & Xia, X. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3717061 · Cited by 37 · see citing works
Self-citationCui, M.-L., Du, J.-C., Zhu, S.-L., et al. (2024) · Annual Meeting of the Association for Computational Linguistics · doi:10.48550/arxiv.2406.07081 · Cited by 36
CodeRAG-Bench: Can Retrieval Augment Code Generation?
Wang, Z. Z., Asai, A., Yu, X. V., Xu, F. F., Xie, Y., Neubig, G., & Fried, D. (2024) · arXiv · doi:10.48550/arxiv.2406.14497 · Cited by 34 · see citing works
CodeRAG-Bench: Can Retrieval Augment Code Generation?
Wang, Z. Z., Asai, A., Yu, X. V., Xu, F. F., Xie, Y., Neubig, G., & Fried, D. (2025) · Findings of the Association for Computational Linguistics: NAACL · doi:10.18653/v1/2025.findings-naacl.176 · Cited by 34 · see citing works
DocPrompting: Generating Code by Retrieving the Docs
Zhou, S., Alon, U., Xu, F. F., Wang, Z., Jiang, Z., & Neubig, G. (2022) · arXiv · doi:10.48550/arxiv.2207.05987 · Cited by 33 · see citing works
Large Language Model-Aware In-Context Learning for Code Generation
Li, J., Tao, C., Li, J., Li, G., Jin, Z., Zhang, H., Fang, Z., & Liu, F. (2025) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3715908 · Cited by 32 · see citing works
Large Language Model-Aware In-Context Learning for Code Generation
Li, J., Li, G., Tao, C., Li, J., Zhang, H., Liu, F., & Jin, Z. (2023) · arXiv · doi:10.48550/arxiv.2310.09748 · Cited by 32 · see citing works
Maekawa, S., Iso, H., Gurajada, S., et al. (2024) · North American Chapter of the Association for Computational Linguistics · doi:10.48550/arxiv.2402.13492 · Cited by 31
BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions
Zhuo, T. Y., Vu, M. C., Chim, J., Hu, H., Yu, W., Widyasari, R., Yusuf, I. N. B., Zhan, H., He, J., Paul, I., et al. (2024) · arXiv · doi:10.48550/arxiv.2406.15877 · Cited by 29 · see citing works
Evaluating In-Context Learning of Libraries for Code Generation
Patel, A., Reddy, S., Bahdanau, D., et al. (2024) · North American Chapter of the Association for Computational Linguistics · doi:10.18653/v1/2024.naacl-long.161 · Cited by 21 · see citing works
Jina Embeddings 2: 8192-Token General-Purpose Text Embeddings for Long DocumentsPreprint
Günther, M., Ong, J., Mohr, I., et al. (2023) · arXiv (Cornell University) · doi:10.4230/lipics.esem.2026.88 · Cited by 13 · see citing works
EvoR: Evolving Retrieval for Code Generation
Su, H., Jiang, S., Lai, Y., Wu, H., Shi, B., Liu, C., Liu, Q., & Yu, T. (2024) · Findings of the Association for Computational Linguistics: EMNLP 2024 · doi:10.18653/v1/2024.findings-emnlp.143 · Cited by 12 · see citing works
Maekawa, S., Iso, H., Gurajada, S., & Bhutani, N. (2024) · Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) · doi:10.18653/v1/2024.naacl-long.308 · Cited by 11 · see citing works
Clarifying Semantics of In-Context Examples for Unit Test Generation
Yang, C., Yang, L., Wang, Z., Wang, D., Zhou, J., & Chen, J. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00250 · Cited by 9 · see citing works
Cui, M., Du, J., Zhu, S., et al. (2024) · doi:10.18653/v1/2024.findings-acl.646 · Cited by 9 · see citing works
ReCode: Robustness Evaluation of Code Generation ModelsPreprint
Wang, S., Li, Z., Qian, H., Yang, C., Wang, Z., Shang, M., Kumar, V., Tan, S., Ray, B., Bhatia, P., et al. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2212.10264 · Cited by 7 · see citing works
Repoformer: Selective Retrieval for Repository-Level Code Completion
Wu, D., Ahmad, W. U., Zhang, D., Ramanathan, M. K., & Ma, X. (2024) · arXiv · doi:10.48550/arxiv.2403.10059 · Cited by 7 · see citing works
Tramontana, P., Risi, M., & Scanniello, G. (2014) · International Symposium on Empirical Software Engineering and Measurement · doi:10.1145/2652524.2652593 · Cited by 7 · see citing works
GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuningPreprint
Solatorio, A. V. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2402.16829 · Cited by 7 · see citing works
How Effectively Do Code Language Models Understand Poor-Readability Code?
Hu, C., Chai, Y., Zhou, H., Meng, F., Zhou, J., & Gu, X. (2024) · Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering · doi:10.1145/3691620.3695072 · Cited by 6 · see citing works
Towards Generating Summaries for Lexically Confusing Code through Code Erosion
Yan, F., & Li, M. (2021) · Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2021/512 · Cited by 6 · see citing works
A Study of LLMs’ Preferences for Libraries and Programming Languages
Twist, L., Zhang, J. M., Harman, M., Syme, D., Noppen, J., Yannakoudakis, H., & Nauck, D. (2026) · Findings of the Association for Computational Linguistics: ACL 2026 · doi:10.18653/v1/2026.findings-acl.15 · Cited by 5 · see citing works
He, P.-F., Wang, S., & Chen, T.-H. (2025) · Annual Meeting of the Association for Computational Linguistics · doi:10.48550/arxiv.2502.14925 · Cited by 4
Seed-Coder: Let the Code Model Curate Data for Itself
Seed, B., Zhang, Y., Su, J., Sun, Y., Xi, C., Xiao, X., Zheng, S., Zhang, A., Liu, K., Zan, D., et al. (2025) · arXiv · doi:10.48550/arxiv.2506.03524 · Cited by 3 · see citing works
GraphCodeAgent: Dual Graph-Guided LLM Agent for Retrieval-Augmented Repo-Level Code Generation
Li, J., Shi, X., Zhang, K., Li, G., Jin, Z., Li, L., Zhang, H., Li, J., Liu, F., Zhang, Y., et al. (2025) · arXiv · doi:10.48550/arxiv.2504.10046 · Cited by 3 · see citing works
When Retrieval Augmentation Meets API Documentation: Can LLMs Code with Less-Common Libraries?
Chen, J., Chen, S., Cao, J., Shen, J., & Cheung, S.-C. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3821424 · Cited by 3 · see citing works
Self-citationInstructive Code Retriever: Learn from Large Language Model's Feedback for Code Intelligence Tasks
Lu, J., Wang, H., Liu, Z., Liang, K., Bao, L., & Yang, X. (2024) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3691620.3694997 · Cited by 2 · see citing works
CodeCleaner: Mitigating Data Contamination for LLM Benchmarking
Cao, J., Chen, S., Zhang, W., Lo, H. C., Li, Y., & Cheung, S.-C. (2025) · Proceedings of the 16th International Conference on Internetware · doi:10.1145/3755881.3755901 · Cited by 2 · see citing works
Self-citationCode Representation Learning At Scale
Zhang, D., Ahmad, W. U., Tan, M., et al. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2402.01935 · Cited by 2
Can Emulating Semantic Translation Help LLMs with Code Translation? A Study Based on Pseudocode
Chen, S., Xu, C., Chen, J., Cao, J., Wu, J., & Cheung, S.-C. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3790101 · Cited by 1 · see citing works
Self-citationWhat Makes In-Context Examples Effective for Code Generation? (Artifact)
LI, D. (2026) · Figshare · doi:10.6084/m9.figshare.32835674 · Cited by 1 · see citing works
Self-citationHe, P., Wang, S., & Chen, T.-H. (2026) · doi:10.18653/v1/2026.findings-acl.1384
What Makes In-Context Examples Effective for Code Generation? (Artifact)
LI, D. (2026) · figshare · doi:10.6084/m9.figshare.32835674.v2
Self-citation
Flagged first, then by citations
Research works printed but not linked: 28
- Akari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil, and Hannaneh Hajishirzi. 2024. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection. In The Twelfth International Conference on Learning Representations. https://openreview.net/forum?id=hSyW5go0v8
- 10.5555/3495724.3495883 · DOI
- Max Brunsfeld. 2018. Tree-sitter: An Incremental Parsing System for Programming Tools. https://tree- sitter.github.io/ tree- sitter Open-source project. Presented at Strange Loop 2018..
- 10.18653/v1/2024.findings- · DOI
- 10.18653/v1/N19- · DOI
- 10.18653/v1/2024.emnlp- · DOI
- 10.18653/v1/2020.findings- · DOI
- 10.18653/v1/2026.findings- · DOI
- 10.18653/v1/2021.emnlp- · DOI
- Howard Levene. 1960. Robust Tests for Equality of Variances. In Contributions to Probability and Statistics: Essays in Honor of Harold Hotelling, Ingram Olkin, Sudhish G. Ghurye, Wassily Hoeffding, William G. Madow, and Henry B. Mann (Eds.). Stanford University Press, Stanford, CA, 278–292.
- 10.5555/3495724.3496517 · DOI
- 10.18653/v1/2024.findings- · DOI
- 10.18653/v1/2022.deelio- · DOI
- 10.18653/V1/2022.ACL- · DOI
- 10.18653/v1/2024.naacl- · DOI
- 10.18653/v1/2022.emnlp- · DOI
- 10.18653/v1/2024.naacl- · DOI
- 10.1111/j.1541- · DOI
- 10.1007/978-94- · DOI
- 10.1093/biomet/52.3- · DOI
- 10.18653/v1/2024.findings- · DOI
- 10.18653/v1/2024.emnlp- · DOI
- 10.18653/v1/2026.findings- · DOI
- 10.18653/v1/2023.acl- · DOI
- 10.18653/v1/2021.emnlp- · DOI
- 10.18653/v1/2025.findings- · DOI
- 10.18653/v1/2023.acl- · DOI
- 10.18653/v1/2022.emnlp- · DOI
- Authors
- Li, D., Chen, S., Cao, J., & Cheung, S.-C.
- Affiliations
- The Hong Kong University of Science and Technology, Hong Kong, China
- Hong Kong University of Science and Technology (HK)
- Venue
- Proceedings of the ACM on Software Engineering
- Published
- 2026-10-01
- Volume
- 3
- Issue
- ISSTA
- Pages
- 4214-4239
- ISSN
- 2994-970X (ISSN-L)
- OpenAlex
- W4415195398
- Semantic Scholar
- bcbca208bdf17f1b58348558bba3fa84e6ec8c4d
- Cited by
- 0
- References
- 47
- FWCI
- 0.00
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Locations
- Proceedings of the ACM on software engineering. (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University) (cc-by)
- Funders
- National Natural Science Foundation of China (92582201)
- Hong Kong SAR Research Grant Council\/General Research Fund (16206524)
- Hong Kong SAR Research Grant Council\/Theme-based Research Scheme (T41-517/25-N)
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Keywords
- in-context learning, code generation, large language models, code examples, identifier naming, code formatting, retrieval-augmented learning, reflective learning, variable names
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-10.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-10.
Cited sources are checked by gpt-6-sol.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review