mlsanityData to 7 Oct 2026

Automating Computational Reproducibility in Social Science: Comparing Prompt-Based and Agent-Based Approaches

arXiv 2602.08561 ↗First posted 9 Feb 2026cs.SE cs.CLcited by 4

On the map: LLM agents and tool use → Web, search, and research agents

Abstract (arXiv)

Reproducing computational research is often assumed to be as simple as rerunning the original code with provided data. In practice, missing packages, fragile file paths, version conflicts, or incomplete logic frequently cause analyses to fail, even when materials are shared. This study investigates whether large language models and AI agents can automate the diagnosis and repair of such failures, making computational results easier to reproduce and verify. We evaluate this using a controlled reproducibility testbed built from five fully reproducible R-based social science studies. Realistic failures were injected, ranging from simple issues to complex missing logic, and two automated repair workflows were tested in clean Docker environments. The first workflow is prompt-based, repeatedly querying language models with structured prompts of varying context, while the second uses agent-based systems that inspect files, modify code, and rerun analyses autonomously. Across prompt-based runs, reproduction success ranged from 31-79 percent, with performance strongly influenced by prompt context and error complexity. Complex cases benefited most from additional context. Agent-based workflows performed substantially better, with success rates of 69-96 percent across all complexity levels. These results suggest that automated workflows, especially agent-based systems, can significantly reduce manual effort and improve reproduction success across diverse error types. Unlike prior benchmarks, our testbed isolates post-publication repair under controlled failure modes, allowing direct comparison of prompt-based and agent-based approaches.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 15 of its 42 references that are in the map. First posted on arXiv 9 Feb 2026.

Builds on

15 of 42 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024CORE-Bench: Fostering the Credibility of Published Research Through a Computational Reproducibility Agent Benchmark17 Sep

Other references · 14

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
  3. 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
  4. 2025Context Length Alone Hurts LLM Performance Despite Perfect Retrievalcited by 118
  5. 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 50
  6. 2021A large-scale study on research code quality and executioncited by 22
  7. 2018Terminologies for Reproducible Researchcited by 11
  8. 2023GenCodeSearchNet: A Benchmark Test Suite for Evaluating Generalization in Programming Language Understandingcited by 6
  9. 2023Large Language Models, scientific knowledge and factuality: A framework to streamline human expert evaluationcited by 4
  10. 2023Computational Reproducibility in Computational Social Sciencecited by 4
  11. 2024Automated Test Case Repair Using Language Modelscited by 4
  12. 2017An Introduction to Rocker: Docker Containers for Rcited by 2
2 more
  1. 2025Computational Reproducibility of R Code Supplements on OSFcited by 1
  2. 2025Empirical Evaluation of Large Language Models in Automated Program Repaircited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025REPRO-Bench: Can Agentic AI Systems Assess the Reproducibility of Social Science Research?
  2. 2026AI Coding Agents Can Reproduce Social Science Findings
  3. 2026Reproducibility in the Age of Agentic AI: Context Engineering at the Timescale of a Codebase
  4. 2026Overview of the NLPCC 2026 Shared Task 11: Agent-Based Experiment Reproduction from Scientific Papers
  5. 2026Beyond the Text: Verifying That Agent-Written Papers Are Backed by Their Artifacts
  6. 2026ReProAgent: Tool-Augmented Multi-Stage Agentic Generation of Bug Reproduction Tests from Issue Reports
  7. 2026ReplicatorBench: Benchmarking LLM Agents for Replicability in Social and Behavioral Sciences
  8. 2026AutoResearch: An Execution-Grounded Multi-Agent Framework for Reliable Research Workflow Automation