Skip to content
Docs: Workflow

Workflow: what a rerun needs

L2 Rerunnable adds what a rerun needs: pinned versions and identifiers, documented preparation, a result map, instructions that match the repository, controlled randomness.

Applies to: Self-check · RepoReady Platform

Last updated

On this page
L2 waits until the gap is fixed; a free re-check verifies it.
Level relationshipWhat L2 needs

Some findings here are Warnings: they point to an improvement and never change the level.

B1Dependencies and versions are listed

What counts
What it flags
How to fix

B2The exact code version is identified

What counts
What it flags
How to fix
bash
git tag -a v1.0-paper -m "Code as submitted with the manuscript"
git push origin v1.0-paper

B3Data sources have stable identifiers

What counts
What it flags
How to fix

B4Data preparation steps are documented

What counts
What it flags
How to fix
Snakefile
rule filter_cells:
    input:  "data/raw/counts.h5ad"
    output: "data/processed/filtered.h5ad"
    params: min_genes=200
    shell:  "python -m pipeline.filter {input} {output} --min-genes {params.min_genes}"

rule train_model:
    input:  "data/processed/filtered.h5ad"
    output: "models/classifier.pt"
    shell:  "python -m pipeline.train {input} {output} --seed 0"

B5Code is linked to the paper’s results

What counts
What it flags
How to fix
README.md
## Results

| Paper item | Command                            | Output                    |
|------------|------------------------------------|---------------------------|
| Figure 2   | Rscript analysis/figure2.R         | results/figure2.csv       |
| Figure 3B  | python -m analysis.fig3 --panel b  | results/fig3_panel_b.csv  |
| Table 2    | python -m analysis.evaluate_cohort | results/table2_auroc.json |

B6Instructions explain how to run the analysis

What counts
What it flags
How to fix

B7Documented commands agree with the code

What counts
What it flags
How to fix

B8Machine assumptions documented

What counts
What it flags
How to fix
python
from pathlib import Path
import os

ROOT = Path(__file__).resolve().parents[1]   # repository root, from src/pipeline.py
DATA = Path(os.environ.get("DATA_DIR", ROOT / "data"))
counts = DATA / "raw" / "counts.h5ad"

B10Randomness of key results is controlled

What counts
What it flags
How to fix

G1Beside the level · Warnings onlyA tidy repository

What counts
What it flags
How to fix

G4Beside the level · Warnings onlyHardware, tools and versions

What counts
What it flags
How to fix

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.

Back to top