Back to Scientific Academy

Reproducible Research Laboratory

Pipelines, environments, tests and traceability

Scientific Academy · Advanced v1.1

Separate sources and transformations

Keep authorized raw data read-only, with provenance, size and hash when possible. Organize acquisition, cleaning, analysis and output scripts. Never publish protected data to demonstrate code.

Document environment

Record Python/R and dependency versions, system, execution command and seeds when relevant. Seeds do not guarantee identical results in all environments. Use Git for code and documentation, not identifiers or secrets.

Test rules

Validate schema, types, domains, duplicates, counts and missing values. Test formulas with small known examples, zero denominators and invalid inputs. Record exclusions and transformations.

Package and reproduce

Include README, dictionary, manifest, code, fictional data or authorized access instructions, expected outputs and limitations. An independent execution should verify results. Computational reproducibility is not scientific validity.

Teaching example

Fictional package: raw/ → clean/ → analysis/ → outputs/, with README, tests and environment.

The Academy diagnostic case uses fictional data and standard Python only.

Applied activity

Download the statistics case, execute it and compare results with source counts. Record environment and discrepancies.

Can another person identify inputs, run commands and check results?

CC BY-NC-ND 4.0

Português · English