A Framework for Using LLMs for Repository Mining Studies in Empirical Software Engineering
Not on the map. Why?
Abstract (arXiv)
Context: The emergence of Large Language Models (LLMs) has significantly transformed Software Engineering (SE) by providing innovative methods for analyzing software repositories. Objectives: Our objective is to establish a practical framework for future SE researchers needing to enhance the data collection and dataset while conducting software repository mining studies using LLMs. Method: This experience report shares insights from two previous repository mining studies, focusing on the methodologies used for creating, refining, and validating prompts that enhance the output of LLMs, particularly in the context of data collection in empirical studies. Results: Our research packages a framework, coined Prompt Refinement and Insights for Mining Empirical Software repositories (PRIMES), consisting of a checklist that can improve LLM usage performance, enhance output quality, and minimize errors through iterative processes and comparisons among different LLMs. We also emphasize the significance of reproducibility by implementing mechanisms for tracking model results. Conclusion: Our findings indicate that standardizing prompt engineering and using PRIMES can enhance the reliability and reproducibility of studies utilizing LLMs. Ultimately, this work calls for further research to address challenges like hallucinations, model biases, and cost-effectiveness in integrating LLMs into workflows.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Nov 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025Aggregating empirical evidence from data strategy studies: a case on model quantizationcited by 1
- 2025Cataloguing Hugging Face Models to Software Engineering Activities: Automation and Findingscited by 1
- 2025Does Model Size Matter? A Comparison of Small and Large Language Models for Requirements Classificationcited by 1
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystemcited by 0
- 2026After the Party: Growth, Governance, and Security Scanning in the OpenClaw Agent Skill Ecosystem15 Sep 2026
- 2025Does Model Size Matter? A Comparison of Small and Large Language Models for Requirements Classification24 Oct 2025
- 2025Cataloguing Hugging Face Models to Software Engineering Activities: Automation and Findings3 Jun 2025
- 2025Aggregating empirical evidence from data strategy studies: a case on model quantization1 May 2025