AIRepr: An Analyst-Inspector Framework for Evaluating Reproducibility of LLMs in Data Science
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used to automate data analysis through executable code generation. Yet, data science tasks often admit multiple statistically valid solutions, e.g. different modeling strategies, making it critical to understand the reasoning behind analyses, not just their outcomes. While manual review of LLM-generated code can help ensure statistical soundness, it is labor-intensive and requires expertise. A more scalable approach is to evaluate the underlying workflows-the logical plans guiding code generation. However, it remains unclear how to assess whether an LLM-generated workflow supports reproducible implementations. To address this, we present AIRepr, an Analyst-Inspector framework for automatically evaluating and improving the reproducibility of LLM-generated data analysis workflows. Our framework is grounded in statistical principles and supports scalable, automated assessment. We introduce two novel reproducibility-enhancing prompting strategies and benchmark them against standard prompting across 15 analyst-inspector LLM pairs and 1,032 tasks from three public benchmarks. Our findings show that workflows with higher reproducibility also yield more accurate analyses, and that reproducibility-enhancing prompts substantially improve both metrics. This work provides a foundation for transparent, reliable, and efficient human-AI collaboration in data science. Our code is publicly available.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 21 of its 54 references that are in the map. First posted on arXiv 23 Feb 2025.
Builds on
21 of 54 references.
References · 21
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 226
- 2024Data Interpreter: An LLM Agent For Data Sciencecited by 225
- 2023Universal Self-Consistency for Large Language Model Generationcited by 203
- 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 177
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
- 2023Large Language Models for Automated Data Science: Introducing CAAFE for Context-Aware Automated Feature Engineeringcited by 127
- 2024MatPlotAgent: Method and Evaluation for LLM-Based Agentic Scientific Data Visualizationcited by 102
9 more
- 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 90
- 2024Are LLMs Capable of Data-based Statistical and Causal Reasoning? Benchmarking Advanced Quantitative Reasoning with Datacited by 63
- 2023Large Language Models as Data Preprocessorscited by 34
- 2023How Do Analysts Understand and Verify AI-Assisted Data Analyses?cited by 26
- 2024Data Formulator 2: Iterative Creation of Data Visualizations, with AI Transforming Data Along the Waycited by 21
- 2023Demonstration of InsightPilot: An LLM-Empowered Automated Data Exploration Systemcited by 20
- 2025Improving Consistency in Large Language Models through Chain of Guidancecited by 13
- 2019Decision-Making Under Uncertainty in Research Synthesis: Designing for the Garden of Forking Pathscited by 5
- 2019On the cross-validation bias due to unsupervised pre-processingcited by 5
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applicationscited by 10
- 2026Large Language Models for Agentic NetOps and AIOps: Architectures, Evaluation, and Safetycited by 2
- 2025Tractable Asymmetric Verification for Large Language Models via Deterministic Replicabilitycited by 0
- 2026FlowMind: Execute-Summarize for Structured Workflow Generation from LLM Reasoningcited by 0
- 2026Large Language Models for Agentic NetOps and AIOps: Architectures, Evaluation, and Safety12 May 2026
- 2026FlowMind: Execute-Summarize for Structured Workflow Generation from LLM Reasoning12 Feb 2026
- 2025Failure Modes in LLM Systems: A System-Level Taxonomy for Reliable AI Applications25 Nov 2025
- 2025Tractable Asymmetric Verification for Large Language Models via Deterministic Replicability14 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2025Toward Automated and Trustworthy Scientific Analysis and Visualization with LLM-Generated Code
- 2025Why Do Open-Source LLMs Struggle with Data Analysis? A Systematic Empirical Study
- 2025IDA-Bench: Evaluating LLMs on Interactive Guided Data Analysis
- 2024DataDreamer: A Tool for Synthetic Data Generation and Reproducible LLM Workflows
- 2025DataSciBench: An LLM Agent Benchmark for Data Science
- 2025Flowco: Rethinking Data Analysis in the Age of LLMs
- 2026From Stochastic Answers to Verifiable Reasoning: Interpretable Decision-Making with LLM-Generated Code
- 2025ViseGPT: Towards Better Alignment of LLM-generated Data Wrangling Scripts and User Prompts