Research resources

Reproducing the root comparison collection

Open ROOT_COLLECTION.html for the complete image catalog and the linked picture comparison gallery. Both use local files. Full-page links require the original acquisition files at their recorded locations.

COLLECTION.json joins the six final extraction manifests. Each crop retains its source path and hash, source coordinates, native dimensions, crop hash, review disposition and physical-drawing identity where resolved. Counts refer to extracted images; fragments and alternate captures can represent parts or views of the same drawing.

The PNG files retain the original source RGB wherever the alpha mask is opaque. Their masks remove separable surrounding material. Original overlap, source damage, faint anatomy and uncertain basal forms remain qualified in the manifests. Strict roots, review candidates, rhizomes, modern controls and printed reproductions have separate comparison groups.

Rebuilding comparison results

From the matching directory, use a new output directory for each run:

OPENBLAS_NUM_THREADS=4 python3 scripts/run_matching.py --output runs/new_final_run --mode final --input-lock FINAL_INPUT_LOCK.json
python3 scripts/verify_run.py runs/new_final_run --check-current-inputs
python3 scripts/verify_browser.py runs/new_final_run
python3 scripts/source_probe.py runs/new_final_run
python3 scripts/summarize_results.py runs/new_final_run
python3 scripts/render_review_selection.py runs/new_final_run

Final mode requires every input manifest to match FINAL_INPUT_LOCK.json, all source extraction reviews to have a disposition, and every recorded crop hash to match the current PNG. It rejects a query limit. The source probe separately compares two previously observed Mainz–Passau constructions using the unchanged feature method.

Every Voynich query is compared with each retained comparator under original orientation, left–right reflection, 180-degree rotation and reflected 180-degree rotation. The last operation is equivalent to a top–bottom reflection. The whole-root pass combines ink layout and gradient features; those components also have separate rankings. The partial pass compares fixed large regions and records the chosen source rectangles and ink quantities. These regions are geometric windows.

FULL_SCORES.npz contains complete score arrays and exact query, comparator and transform identities. SCORE_SCHEMA.json defines the axes and abstentions. RANKED_CANDIDATES.json and its TSV companion retain the displayed candidate selections. The gallery can show all scored candidates for any query, comparison group, pass and orientation. Raw order preserves alternate captures; the diverse view limits repeated manuscripts and physical-drawing groups without changing scores.

The method and parameters are recorded in METHOD.json; input snapshots and hashes are in INPUT_RECEIPT.json and inputs/. Foreground diagnostics show the image material used for scoring. Synthetic controls, functional checks, browser checks and source-image review answer separate verification questions. Similarity scores do not identify plants or establish a historical relationship.

Rebuilding the catalog

From this collection directory:

python3 scripts/package_all_roots.py --matching-run matching/runs/new_final_run
python3 verification/verify_catalog_browser.py
python3 scripts/package_comparator_images.py

The catalog packager rejects pending source records and changed crop hashes. Its browser check opens the actual local file and exercises filtering, pagination, source links, image orientation controls and mobile layout.

Extraction recipe custody

The current extraction recipes belong to each partition. Earlier annotation helpers and saved before-repair manifests document prior work; rerunning those helpers can overwrite corrected geometry. Consult each partition's current QA report and extraction script before rebuilding native crops. Preserve the sealed earlier studies and all failed review receipts. A changed extraction requires a new input lock, new match run and renewed source review.

The adjoining HANDBACK.json records the external acceptance gate for the delivered artifact set. Its scope is bounded by the independent final review and the exact artifact hashes it names.

The extraction partitions are:

Partition Current recipes and builder
Voynich verification/edits_herbal.json, edits_pharma.json, edits_coordinator.json; scripts/extract_roots.py
Trinity O.2.48 Four explicit comparators/trinity/verification/EDITS_*.json files for ranges0000–0359,0360–0639,0640–0819 and0820–1003; comparators/trinity/scripts/extract.py
Bellunensis and other prior comparator holdings comparators/other/edits.json; extract.py, then finish.py in that directory
Additional manuscripts and Passau comparators/additional/OWNED_REPAIR_EDITS.json plus the base annotations and PADUA_QA_EDITS.json plus PADUA_FINAL_REPAIR_EDITS.json; scripts/extract.py, verify.py, verify_structure.py, then package.py
Mainz1484 comparators/additional_mainz/ANNOTATIONS.json; comparators/additional_mainz/extract.py
Vienna edition reproductions Source-specific page coordinates in comparators/vienna_edition/; printed reproduction attribution stays explicit

Trinity's historical EDITS_0640_1003.json filename contains only indices640–819. The final extractor defaults to these four canonical files; an explicit --edit-files list is also supported. Historical before-repair files and overlapping repair fragments are evidence and are excluded from the default extraction inputs. The verification/EDIT_APPLICATION.json receipt names the actual four inputs.

RESULT.md, FILES.sha256 and Voynich_root_images.zip describe and pin the Voynich-only image collection. COMPARISON_RESULT.md and its JSON companion describe the combined comparator extraction and full picture-comparison run. The earlier Voynich package is retained intact under verification/VMS_MATCH_EDGE_REPAIRS/package_before. The current Voynich package incorporates the final two physical-page-edge corrections and exact folio search; its current FILES.sha256 pins those exports.

Complete public source text and line addresses
# Reproducing the root comparison collection

Open `ROOT_COLLECTION.html` for the complete image catalog and the linked picture comparison gallery. Both use local files. Full-page links require the original acquisition files at their recorded locations.

`COLLECTION.json` joins the six final extraction manifests. Each crop retains its source path and hash, source coordinates, native dimensions, crop hash, review disposition and physical-drawing identity where resolved. Counts refer to extracted images; fragments and alternate captures can represent parts or views of the same drawing.

The PNG files retain the original source RGB wherever the alpha mask is opaque. Their masks remove separable surrounding material. Original overlap, source damage, faint anatomy and uncertain basal forms remain qualified in the manifests. Strict roots, review candidates, rhizomes, modern controls and printed reproductions have separate comparison groups.

## Rebuilding comparison results

From the `matching` directory, use a new output directory for each run:

```bash
OPENBLAS_NUM_THREADS=4 python3 scripts/run_matching.py --output runs/new_final_run --mode final --input-lock FINAL_INPUT_LOCK.json
python3 scripts/verify_run.py runs/new_final_run --check-current-inputs
python3 scripts/verify_browser.py runs/new_final_run
python3 scripts/source_probe.py runs/new_final_run
python3 scripts/summarize_results.py runs/new_final_run
python3 scripts/render_review_selection.py runs/new_final_run
```

Final mode requires every input manifest to match `FINAL_INPUT_LOCK.json`, all source extraction reviews to have a disposition, and every recorded crop hash to match the current PNG. It rejects a query limit. The source probe separately compares two previously observed Mainz–Passau constructions using the unchanged feature method.

Every Voynich query is compared with each retained comparator under original orientation, left–right reflection, 180-degree rotation and reflected 180-degree rotation. The last operation is equivalent to a top–bottom reflection. The whole-root pass combines ink layout and gradient features; those components also have separate rankings. The partial pass compares fixed large regions and records the chosen source rectangles and ink quantities. These regions are geometric windows.

`FULL_SCORES.npz` contains complete score arrays and exact query, comparator and transform identities. `SCORE_SCHEMA.json` defines the axes and abstentions. `RANKED_CANDIDATES.json` and its TSV companion retain the displayed candidate selections. The gallery can show all scored candidates for any query, comparison group, pass and orientation. Raw order preserves alternate captures; the diverse view limits repeated manuscripts and physical-drawing groups without changing scores.

The method and parameters are recorded in `METHOD.json`; input snapshots and hashes are in `INPUT_RECEIPT.json` and `inputs/`. Foreground diagnostics show the image material used for scoring. Synthetic controls, functional checks, browser checks and source-image review answer separate verification questions. Similarity scores do not identify plants or establish a historical relationship.

## Rebuilding the catalog

From this collection directory:

```bash
python3 scripts/package_all_roots.py --matching-run matching/runs/new_final_run
python3 verification/verify_catalog_browser.py
python3 scripts/package_comparator_images.py
```

The catalog packager rejects pending source records and changed crop hashes. Its browser check opens the actual local file and exercises filtering, pagination, source links, image orientation controls and mobile layout.

## Extraction recipe custody

The current extraction recipes belong to each partition. Earlier annotation helpers and saved before-repair manifests document prior work; rerunning those helpers can overwrite corrected geometry. Consult each partition's current QA report and extraction script before rebuilding native crops. Preserve the sealed earlier studies and all failed review receipts. A changed extraction requires a new input lock, new match run and renewed source review.

The adjoining `HANDBACK.json` records the external acceptance gate for the delivered artifact set. Its scope is bounded by the independent final review and the exact artifact hashes it names.


The extraction partitions are:

| Partition | Current recipes and builder |
|---|---|
| Voynich | `verification/edits_herbal.json`, `edits_pharma.json`, `edits_coordinator.json`; `scripts/extract_roots.py` |
| Trinity O.2.48 | Four explicit `comparators/trinity/verification/EDITS_*.json` files for ranges0000–0359,0360–0639,0640–0819 and0820–1003; `comparators/trinity/scripts/extract.py` |
| Bellunensis and other prior comparator holdings | `comparators/other/edits.json`; `extract.py`, then `finish.py` in that directory |
| Additional manuscripts and Passau | `comparators/additional/OWNED_REPAIR_EDITS.json` plus the base annotations and `PADUA_QA_EDITS.json` plus `PADUA_FINAL_REPAIR_EDITS.json`; `scripts/extract.py`, `verify.py`, `verify_structure.py`, then `package.py` |
| Mainz1484 | `comparators/additional_mainz/ANNOTATIONS.json`; `comparators/additional_mainz/extract.py` |
| Vienna edition reproductions | Source-specific page coordinates in `comparators/vienna_edition/`; printed reproduction attribution stays explicit |

Trinity's historical `EDITS_0640_1003.json` filename contains only indices640–819. The final extractor defaults to these four canonical files; an explicit `--edit-files` list is also supported. Historical before-repair files and overlapping repair fragments are evidence and are excluded from the default extraction inputs. The `verification/EDIT_APPLICATION.json` receipt names the actual four inputs.


`RESULT.md`, `FILES.sha256` and `Voynich_root_images.zip` describe and pin the Voynich-only image collection. `COMPARISON_RESULT.md` and its JSON companion describe the combined comparator extraction and full picture-comparison run. The earlier Voynich package is retained intact under verification/VMS_MATCH_EDGE_REPAIRS/package_before. The current Voynich package incorporates the final two physical-page-edge corrections and exact folio search; its current FILES.sha256 pins those exports.