Behind many papers sits a folder of scripts whose order only the person who wrote them knows. As soon as reviewers ask for a re-run or someone new takes over the project, it turns out that versions, random seeds and intermediate steps were never recorded. Reproducible research code does not happen by accident, but coding agents take on much of the legwork. Over eight weeks you bring a project of your own into shape step by step: a pinned environment, tests with tolerances, a workflow from raw data to figures and an archive that others can follow.
Who the reproducible research code course is for
Doctoral researchers, postdocs and research groups in maths, physics, engineering and computational science who do their research with Python scripts and want to publish their code in a traceable way.
What you'll walk away with
- Move an existing research project into a clear package structure with a coding agent
- Pin dependencies with lockfiles and rebuild the environment on a fresh machine
- Write regression tests for numerical results with sensible tolerances and fixed seeds
- Set up a workflow that produces every figure and table of a paper from raw data
- Prepare code and data for publication with a licence, documentation and citation information
Typical scenarios
- A computational fluid dynamics group makes every figure in a submitted paper reproducible with a single command before the reviews come back.
- When a simulation project changes hands, the incoming researcher sets up the environment independently from the lockfile and instructions.
- A regression test fails after a library update because an eigenvalue has shifted in the sixth decimal place, and the group traces the cause before the next run.
Does this fit your team?
Pick a few dates that suit you. The request is non-binding, and the agenda is tailored in a short call beforehand.
What the reproducible research code course covers
- Weeks 1–2: Inventory and structureThe agent maps scripts, dependencies and data paths, and a package structure with clear entry points follows from that.
- Week 3: Pinning the environmentLockfiles with uv or conda, containers as an option and a test of whether the project runs on a fresh machine.
- Weeks 4–5: Tests for research codeRegression tests for key values and fields, tolerances, fixed seeds and tests the agent derives from existing results.
- Week 6: From raw data to figureA Snakemake or Make workflow that produces intermediate results traceably and only recomputes what has changed.
- Week 7: Documentation and licenceREADME, citation file, choosing a licence, data provenance and a short guide for reviewers.
- Week 8: Archiving and handoverA release with a DOI in a research data repository, a trial run on someone else's machine and rules for the agent going forward.
Before the reproducible research code course: prerequisites
- Experience using Python in your own research
- A project of your own with code and data that you can work on for eight weeks
- Basic Git skills and a coding agent you are permitted to use
Materials you keep
- Your own project in reproducible form with lockfile, tests and workflow
- A project template for the group's future research
- A checklist for publishing code and data