bioRxiv · 10.64898/2026.09.19.752880
Scrub Data: A Framework for Reproducible Data Curation with AI Coding Agents
Abstract
Data curation-the process of collecting, cleaning, and joining raw datasets for unified analysis-is a time-consuming yet crucial part of any data science project. With the emergence of powerful agentic coding tools, it is tempting to "vibe curate"-i.e., to prompt AI agents to perform data curation operations and blindly trust their outputs in order to finish work more quickly. However, this can exacerbate two key challenges that already plague manual data curation workflows: reproducibility-the ability to trace the exact set of modifications applied to raw datasets-and verifiability-the ability to audit changes and confirm that data is processed properly. To address these issues, we introduce Scrub Data, a framework that enables the use of AI agents in data curation workflows while transparently maintaining both reproducibility and verifiability. The framework involves an interactive data curation loop between a user and an AI agent, backed by a data provenance graph that tracks and versions all dataset updates. The data graph requires that all updates are formatted as self-contained executable steps, allowing any version of a dataset to be reconstructed from raw data by playing forward the transformations stored in the graph. This workflow takes place within a lightweight web application that is designed to be modified by users and agents in real-time to create custom visualization tools for identifying data curation needs and verifying outcomes. We demonstrate the usefulness of the framework with a real data curation use case from animal movement ecology. Starting with 89M raw GPS coordinates, we use the framework to curate a benchmark dataset of 2.5M coordinates to be used for machine learning or statistical analysis. The framework is available for use and extension at https://github.com/justinkay/scrubdata.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Kay, J., Bar, S., Beery, S.. 2026-09-23. Scrub Data: A Framework for Reproducible Data Curation with AI Coding Agents. https://doi.org/10.64898/2026.09.19.752880
Cite the original work for its findings. Save a collection to share your selection of sources.