Chapter 13

Evidence, provenance, isolation, and scientific claims

This chapter explains how to make a result checkable by someone else: how to record exactly which inputs, programs and environment produced it, and how to keep that record from changing afterward. It begins with provenance, the documented origin of an artifact, and with identifying files by their content rather than by their names: cryptographic digests, manifests §13.4 that list them, the chain of custody §13.5 that records who held them, and builds that are hermetic, depending only on declared inputs, or reproducible, giving identical bytes when repeated. Because a name can mislead, the chapter also explains how file paths are resolved, the difference between hard and symbolic links §13.10, and the difference between a file’s metadata and its contents.

The middle of the chapter covers the rules that keep an analysis honest: immutable evidence §13.12 and canonical records §13.13, eligibility and exclusion rules fixed before any result is seen, the separation of raw from derived data §13.16, an analysis plan §13.17 written in advance, and the lineage that connects every reported number to its sources, with Git commits §13.19 as an example of recorded history. The last part is about running experiments on a shared Linux computer: control groups and systemd units, which limit and account for the resources a set of processes uses; caps versus reservations; process closure §13.23 and exit status §13.24; timeouts §9.34 and cancellation §9.29; leases that give one process exclusive ownership for a limited time; limits on journal records; checkpoints; clock domains §13.29; and the ways in which measuring a system disturbs it. The chapter closes by separating a scientific claim from an operational guard, a check that protects a run without being part of its result.

In this chapter

  1. 13.1 Artifact provenance
  2. 13.2 Content-addressed identity
  3. 13.3 Cryptographic digest versus path identity
  4. 13.4 Manifest
  5. 13.5 Chain of custody
  6. 13.6 Source closure
  7. 13.7 Hermetic build
  8. 13.8 Reproducible build
  9. 13.9 Namespace and symlink resolution
  10. 13.10 Hard link versus symbolic link
  11. 13.11 File metadata versus content
  12. 13.12 Immutable evidence
  13. 13.13 Canonical record
  14. 13.14 Evidence eligibility
  15. 13.15 Prospective exclusion rule
  16. 13.16 Raw data versus derived data
  17. 13.17 Analysis plan
  18. 13.18 Data lineage
  19. 13.19 Git commit and working tree
  20. 13.20 cgroup
  21. 13.21 systemd service versus scope
  22. 13.22 Resource cap versus resource reservation
  23. 13.23 Process closure
  24. 13.24 Exit status
  25. 13.25 Timeout versus cancellation
  26. 13.26 Lease and exclusive ownership
  27. 13.27 Journal record budget
  28. 13.28 Checkpoint
  29. 13.29 Clock domain
  30. 13.30 Measurement perturbation
  31. 13.31 Scientific claim versus operational guard