Start here
Levels and requirements
Checks and reports
Connect
Docs: Automation
Start here
Levels and requirements
Checks and reports
Connect
- Home
- Docs
- Requirements
- Automation
Automation: one command, locked and seeded
One command, locked versions, fetched inputs and recorded seeds: an area result beside the level, not a step toward L3.
Applies to: Self-check · RepoReady Platform
Last updated
On this page
1 item open · 3 of 4 met
- One command produces the resultsMet
- The software environment is pinnedMissing
- Input retrieval is automatedMet
- Random seeds and variability are controlledMet
A pinned workflow that runs with one command supplies much of what L2 needs. The result reads complete, complete with access required, or lists the items still open. Seeds alone are not always enough: results can differ between CPU and GPU (PyTorch notes).
Some findings here are Warnings: they point to an improvement and never change the level.
C1One command produces the results
- What counts
- One
Makefile,Snakefile, Nextflow pipeline orrun.shregenerates every key result without manual steps; it may start from a deposited, documented intermediate. - What it flags
- Scripts in an order only you know, a graphical step, an undocumented intermediate as the start.
- How to fix
- One entry point from fetching data to the last figure; tracking services optional, with the run without them documented:
.PHONY: all data smoke
all: data results/table1.csv results/figure2.pdf
data:
bash scripts/get_data.sh
results/table1.csv: data
python -m analysis.table1 --out $@
results/figure2.pdf: results/table1.csv analysis/figure2.R
Rscript analysis/figure2.R
smoke:
python -m analysis.table1 --subsample 0.01 --out /tmp/table1_smoke.csvC2The software environment is pinned
- What counts
- Exact versions of every package in a lock file or container, a base image pinned by digest or tag, and the runtime version stated.
- What it flags
- Version ranges, a
latestbase image, a stale lock, or a runtime the pins exclude.
- Version ranges, a
- How to fix
- Lock from a clean environment that runs your analysis and produce the results in it. Containers start from a versioned base image:
# Python: lock every direct and indirect version in uv.lock
uv lock
# R: record the R version and every package version in renv.lock
Rscript -e 'renv::snapshot()'C3Input retrieval is automated
- What counts
- The run command fetches each open input from a persistent identifier and checks its checksum; the docs name any token a protected download needs.
- What it flags
- Links someone must click, unzip and move by hand, or a download without a checksum.
- A download that needs an account or token nobody explains.
- Data only an access procedure provides. With scripted retrieval the result reads complete, access required.
- How to fix
- Fetch from your one command, such as with pooch, and name the token variable; for restricted data, offer a small open subset:
#!/usr/bin/env bash
# scripts/get_data.sh: fetch and verify every open input
set -euo pipefail
mkdir -p data/raw
curl -fL -o data/raw/counts.csv.gz \
"https://zenodo.org/records/0000000/files/counts.csv.gz"
sha256sum -c data/checksums.sha256C4Random seeds and variability are controlled
- What counts
- Beyond what L2 asks of key results: every stochastic call in result code seeded, GPU steps deterministic, remaining variation documented.
- What it flags
- An unseeded random call, such as an unseeded split.
- GPU steps without deterministic settings, or a library that varies even when seeded.
- How to fix
- Seed from the command line, set every generator in one place, use reproducible parallel streams and report the spread over seeds (NeurIPS checklist):
import argparse, random
import numpy as np
import torch
parser = argparse.ArgumentParser()
parser.add_argument("--seed", type=int, default=0)
args = parser.parse_args()
random.seed(args.seed)
np.random.seed(args.seed)
torch.manual_seed(args.seed)
torch.use_deterministic_algorithms(True) # error on nondeterministic opsG2Beside the level · Warnings onlyTests and notebooks
- What counts
- Result notebooks saved after one clean top-to-bottom run; no code quietly changes a result. Tests and CI are asked only of reusable software (R3 Automated tests).
- What it flags
- Result notebooks not run top to bottom in a fresh kernel, such as out-of-order cells.
- Code that silently changes results: a quiet fallback, a disabled save, an unreachable branch.
- How to fix
- Restart the kernel, run each notebook top to bottom before saving, and let errors fail loudly.
Related
See where your project stands
Run the free self-check in your coding agent, or get a platform assessment through your institute, company or journal.