# Reproduce chapter/frame calculations Requires Python 3 standard library only. No network calls, package installation or novel download is needed for the default calculation. python reproduce.py --input-dir INPUT_DIRECTORY --output-dir OUTPUT_DIRECTORY INPUT_DIRECTORY contains units.csv and retained-markup-sensitivity.json from this bundle. OUTPUT_DIRECTORY receives recomputed.json: exhaustive partitions, named-chapter sets, frame-attachment and six-label sensitivities. Existing output with that name is replaced. Use a fresh output folder to preserve an earlier run. Inputs are not edited. Coverage denominators refer to the complete retained-text total for the same transcription and cleanup definition; only the explicit six-label sensitivity changes Austen's total. ## Optional exact-source verification If you already possess the exact frozen files, preserve them privately under fiction-pg1342.txt and fiction-pg42324.txt, then run: python verify_raw.py --input-dir PRIVATE_RAW_DIRECTORY --output-dir NEW_DERIVED_DIRECTORY The script checks exact SHA256s even under python -O, then writes derived units.csv, results.json and boundary-diagnostics.json only. No source text is exported. source-manifest.json supplies original source landing pages, supported mirror download references, retrieval date, byte lengths and hashes. Obtain source files only in accordance with the source's current access rules and applicable law; the script performs no download. Changed hashes fail rather than silently substitute another transcription. Raw novels and their full received licences are not included. ## Inputs and definitions units.csv contains all 90 observed section counts and normalized source character boundaries. The raw check decodes UTF-8-sig and normalizes CRLF/CR to LF; offsets are characters, not bytes. Excluded blocks are whitespace-masked with linebreaks preserved. Body hashes refer to that masked representation. Heading hashes refer to the normalized heading text. boundary-observations.json records context-based observations without reproducing passages. These checks are not human-annotation or semantic-gold-standard claims. The primary Austen count retains six NIND/RIGHT formatting tokens. The separate sensitivity removes only the exact six labels listed in retained-markup-sensitivity.json, retaining the surrounding correspondence. No source bulk, illustrations or prefaces are redistributed. See methods.md and rights.md for interpretation and scope.