mlsanityData to 7 Oct 2026

SnipGen: A Mining Repository Framework for Evaluating LLMs for Code

arXiv 2502.07046 ↗First posted 10 Feb 2025cs.SE cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Language Models (LLMs), such as transformer-based neural networks trained on billions of parameters, have become increasingly prevalent in software engineering (SE). These models, trained on extensive datasets that include code repositories, exhibit remarkable capabilities for SE tasks. However, evaluating their effectiveness poses significant challenges, primarily due to the potential overlap between the datasets used for training and those employed for evaluation. To address this issue, we introduce SnipGen, a comprehensive repository mining framework designed to leverage prompt engineering across various downstream tasks for code generation. SnipGen aims to mitigate data contamination by generating robust testbeds and crafting tailored data points to assist researchers and practitioners in evaluating LLMs for code-related tasks. In our exploratory study, SnipGen mined approximately 227K data points from 338K recent code changes in GitHub commits, focusing on method-level granularity. SnipGen features a collection of prompt templates that can be combined to create a Chain-of-Thought-like sequence of prompts, enabling a nuanced assessment of LLMs' code generation quality. By providing the mining tool, the methodology, and the dataset, SnipGen empowers researchers and practitioners to rigorously evaluate and interpret LLMs' performance in software engineering contexts.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 30 of its 46 references that are in the map. First posted on arXiv 10 Feb 2025.

Builds on

30 of 46 references.

References · 30

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2021Program Synthesis with Large Language Modelscited by 3,509
  3. 2022Emergent Abilities of Large Language Modelscited by 2,483
  4. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  6. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  7. 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
  8. 2021Measuring Coding Challenge Competence With APPScited by 879
  9. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  10. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
  11. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 266
  12. 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
18 more
  1. 2018SequenceR: Sequence-to-Sequence Learning for End-to-End Program Repaircited by 144
  2. 2018The Adverse Effects of Code Duplication in Machine Learning Models of Codecited by 123
  3. 2019Neural Machine Translation with Byte-Level Subwordscited by 115
  4. 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
  5. 2023ChatGPT Prompt Patterns for Improving Code Quality, Refactoring, Requirements Elicitation, and Software Designcited by 66
  6. 2022Using Pre-Trained Models to Boost Code Review Automationcited by 63
  7. 2021Towards Automating Code Review Activitiescited by 54
  8. 2019On Learning Meaningful Code Changes via Neural Machine Translationcited by 50
  9. 2023Improving ChatGPT Prompt for Code Generationcited by 28
  10. 2017Sorting and Transforming Program Repair Ingredients via Deep Learning Code Similaritiescited by 26
  11. 2021An Empirical Study on the Usage of Transformer Models for Code Completioncited by 22
  12. 2023Benchmarking Causal Study to Interpret Large Language Models for Source Codecited by 14
  13. 2021Ensemble Models for Neural Source Code Summarization of Subroutinescited by 12
  14. 2024Are Large Language Models Memorizing Bug Benchmarks?cited by 11
  15. 2023Evaluating and Explaining Large Language Models for Code Using Syntactic Structurescited by 9
  16. 2024PythonSaga: Redefining the Benchmark to Evaluate Code Generating LLMscited by 9
  17. 2024Which Syntactic Capabilities Are Statistically Learned by Masked Language Models for Code?cited by 6
  18. 2023An Empirical Investigation into the Use of Image Captioning for Automated Software Documentationcited by 4

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Holistic Evaluation of State-of-the-Art LLMs for Code Generation
  2. 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinement
  3. 2024DevEval: A Manually-Annotated Code Generation Benchmark Aligned with Real-World Code Repositories
  4. 2024Improving the Ability of Pre-trained Language Model by Imparting Large Language Model's Experience ↗
  5. 2026Are you Synthesizing or Recalling? Evaluating LLMs on Algorithmic Code Retrieval
  6. 2026AdaptEval: A Benchmark for Evaluating Large Language Models on Code Snippet Adaptation
  7. 2025LeetCodeDataset: A Temporal Dataset for Robust Evaluation and Efficient Training of Code LLMs
  8. 2025LLM-as-a-Judge for Software Engineering: Literature Review, Vision, and the Road Ahead ↗