# Reproduce sessions 359–376

Run in the notebook checkout’s `dist/files` directory. Python 3, NumPy, SciPy, Pillow, GnuPG, OutGuess 0.4 and Tesseract with English data are used. The JPEG and original signed extraction are included locally and have pinned hashes. The corpus comparison uses the verified archive cache generated by [session 339](signed_339.py); only populating that cache the first time requires network access. The digest, image comparisons and rune tests run offline.

```sh
mkdir -p replay376/archive
python -B signed_339.py . replay376/archive replay376/signed_339_results.json.gz
python -B digest_359.py . replay376
python -B edit_cost_362.py . replay376/edit_cost_362_results.json
python -B notice_363.py . replay376 replay376/archive
OPENBLAS_NUM_THREADS=1 python -B tree_register_368.py . notice_2016_363.jpg replay376
OPENBLAS_NUM_THREADS=1 python -B tree_search_371.py . notice_2016_363.jpg replay376/tree_search_371_results.json.gz
OPENBLAS_NUM_THREADS=1 python -B tree_reverse_372.py . notice_2016_363.jpg replay376/tree_reverse_372_results.json
python -B crib_373.py . replay376/crib_373_results.json
python -B crib_distance_374.py . replay376/crib_distance_374_results.json
python -B witness_375.py . replay376
python -B layout_null_376.py . replay376/layout_null_376_results.json
```

Compare outputs with their published namesakes. The scripts for 362 and 374 read the published precursor results from the evidence directory, so compare those precursor outputs as well. The notice script accepts an optional `--outguess /path/to/outguess`. Image scores are rounded for the reports. The search includes original page coordinates and explicit exclusion rules. The editable-cell witnesses are artificial examples and should not be applied to the manuscript.
