Date: 2026-04-29 Purpose: Test whether any of VMS H=1..5 (Davis 2020 / WO-022 Path 3) correlates statistically with any of the 4 authorial tracts in Pal.lat.1268 (Tussignano / Galeazzo Santasofia / Arnaldus / Marsilio Santasofia, Vienna 1434). Falsifiable. Either a VMS hand matches a Pal.lat.1268 scribe at p<0.01 (physical scribal-overlap evidence) or none match (falsifies Pal.lat.1268 as direct physical referent without falsifying broader Padua-tradition genre fit).
$H=N flags in ZL transliteration file, updated from EVMT project. WO-022 Path 3 produced operator-frequency vectors per hand with chi² 165–2985 and p << 0.001.../../provenance/source-5e339ea19dc2f31b.html — 376 images, ff.1r–184v../../provenance/source-0f83494ddb352520.html — 388 images, ff.001r–200vaudit/2026-04-26-Q3-substance-label-pass/wo022_path3_hand_operator_signatures.py — VMS-side operator-frequencyvms/publications/Research-003/build_paleo_grid.py — visual paleographic grid (qualitative)audit/.../named_physician_paleography_forensic_scope.md — forensic-scope doc (substrate-internal forensic spec for hand→named-physician matching)WO-022 works on VMS-internal operator vocabulary — script-bound. build_paleo_grid.py produces visual plates — qualitative. Nothing currently extracts script-independent paleographic feature vectors from images that can compare VMS Gothic-script-derived shapes against Latin Gothic cursive. That's what this build delivers.
Computed per page-image, aggregated per hand/tract:
Output per page: 8-feature vector. Per hand/tract: mean + covariance over N sample pages.
folio_hand map produced by WO-022 (already implemented). Ensure mix of body-text-dense folios; exclude diagram-only / blank / heavily-marginal-only folios.Stage 1: Image preprocessing
IN: JPG image (Vatican or Heidelberg scan)
OPS: grayscale → adaptive threshold → deskew → text-region detection (textbox or projection-profile)
OUT: binarized text-region crop
Stage 2: Feature extraction
IN: binarized text-region crop
OPS: distance transform / Hough / CC analysis / projection profile
OUT: 8-feature vector
Stage 3: Per-hand / per-tract aggregation
IN: list of feature vectors per hand or tract
OPS: mean, covariance
OUT: gaussian profile per scribal hand
Stage 4: Cross-comparison
IN: 5 VMS-hand profiles + 4 Pal.lat.1268-tract profiles
OPS: Mahalanobis distance, permutation test
OUT: 20-cell similarity matrix + p-value matrix
Stage 5: Report
IN: similarity + p-value matrices
OPS: format markdown report, render heatmap
OUT: paleo_forensic_report_2026-04-29.md + heatmap.png
vms/tools/paleo_features.py # feature extractor (per-image)
vms/tools/paleo_compare.py # cross-comparison + stats
vms/analysis/paleo_features_pal1268.json # per-tract feature vectors
vms/analysis/paleo_features_vms.json # per-hand feature vectors
vms/analysis/paleo_xcorr_matrix.csv # 5×4 distance matrix
vms/analysis/paleo_pvalue_matrix.csv # 5×4 p-value matrix
vms/analysis/paleo_forensic_report_2026-04-29.md
vms/publications/Research-003/figures/paleo_xcorr_heatmap.png
| Stage | Effort | Notes |
|---|---|---|
| 1. Image preprocessing | ~30 min code | cv2 / skimage standard ops |
| 2. Feature extractor | ~1 hr code | 8 features, each ~10 lines |
| 3. Per-hand aggregation | ~15 min code | numpy mean / cov |
| 4. Cross-comparison + stats | ~30 min code | scipy.spatial / scipy.stats |
| 5. Report + heatmap | ~30 min code | markdown template + matplotlib |
| Run on Pal.lat.1268 | ~1–2 hr CPU | 376 Vatican + 388 Heidelberg images, parallelizable |
| Run on VMS folios | ~30 min CPU | ~50 sampled folios |
| Total | ~4–6 hr | end-to-end build + execute |
CONFIRMS Pal.lat.1268 as direct physical referent (or scribal-school overlap): Any VMS-hand × Pal.lat.1268-tract cell with Mahalanobis distance below null-distribution p<0.01 (Bonferroni-corrected).
FALSIFIES Pal.lat.1268 as direct physical referent: All 20 cells outside p<0.05. Doesn't falsify the Padua-tradition genre frame — only this specific manuscript family.
INCONCLUSIVE: Reduced-N tracts (Arnaldus, Marsilio) may have insufficient power; flag as "needs more sample" rather than reading null as falsification for those rows.
vms/tools/ (existing canonical work area); writes outputs in vms/analysis/ + vms/publications/Research-003/figures/.Build sequence: 1 → 2 → 3 → 4 → 5 in order. Stages 1–5 are code; running on disk-images is automated. Total ~4–6 hour cycle including execute. Output is a single defensible report with a 5×4 matrix Ed can reason about.
If matrix returns null in all 20 cells: Padua-tradition genre frame holds, but Pal.lat.1268 is excluded as the specific physical referent and we look at adjacent codices (Pal.lat.1115, 1221, 1262, 1298) using the same tool against their authorial tracts. Tool is reusable.
If matrix returns one or more p<0.01 cells: that's the strongest paleographic evidence the substrate has produced for ANY VMS-physical-referent hypothesis to date. Document carefully, do not over-claim.
# Paleographic Forensic Tool — VMS-Hand × Pal.lat.1268-Tract Comparison **Date:** 2026-04-29 **Purpose:** Test whether any of VMS H=1..5 (Davis 2020 / WO-022 Path 3) correlates statistically with any of the 4 authorial tracts in Pal.lat.1268 (Tussignano / Galeazzo Santasofia / Arnaldus / Marsilio Santasofia, Vienna 1434). **Falsifiable.** Either a VMS hand matches a Pal.lat.1268 scribe at p<0.01 (physical scribal-overlap evidence) or none match (falsifies Pal.lat.1268 as **direct physical referent** without falsifying broader Padua-tradition genre fit). --- ## Substrate already in place - **VMS hand attribution** — IVTFF `$H=N` flags in `../../../../assets/tools/source-items/c7ffff9e1f3ecbec174e234c.txt`. WO-022 Path 3 produced operator-frequency vectors per hand with chi² 165–2985 and p << 0.001. - **Pal.lat.1268 tract assignments** (Schuba-cited via codex, 2026-04-29): - Tussignano: ff.1r–81v (*Receptae super nono Almansoris Rasis*) - Galeazzo: ff.81v–218v (*Ars curativa febrium*) - Arnaldus: ff.219r–225v (*Vita brevis* + mnemonic) - Marsilio: ff.226r–230v (*De digestivis et evacuativis*) - **Image inventory:** - Vatican set: `../../provenance/source-5e339ea19dc2f31b.html` — 376 images, ff.1r–184v - Heidelberg set: `../../provenance/source-0f83494ddb352520.html` — 388 images, ff.001r–200v - Combined: covers Tussignano (complete) + Galeazzo (partial, through f.200v of 218v); Arnaldus + Marsilio NOT on disk - **Existing scripts:** - `audit/2026-04-26-Q3-substance-label-pass/wo022_path3_hand_operator_signatures.py` — VMS-side operator-frequency - `vms/publications/Research-003/build_paleo_grid.py` — visual paleographic grid (qualitative) - `audit/.../named_physician_paleography_forensic_scope.md` — forensic-scope doc (substrate-internal forensic spec for hand→named-physician matching) ## The gap this build closes WO-022 works on VMS-internal operator vocabulary — script-bound. `build_paleo_grid.py` produces visual plates — qualitative. **Nothing currently extracts script-independent paleographic feature vectors from images** that can compare VMS Gothic-script-derived shapes against Latin Gothic cursive. That's what this build delivers. ## Feature set — script-independent Computed per page-image, aggregated per hand/tract: 1. **Stroke-thickness distribution** — cv2 distance-transform on binarized text. Output: median, p25, p75, std. 2. **Slant angle** — Hough transform on text strokes; mode of angle distribution from vertical. 3. **Letter-height distribution** — connected-component bounding-box height stats. 4. **x-height / ascender / descender ratio** — three-band histogram of CC heights, ratio of bands. 5. **Inter-line spacing** — horizontal-projection profile; modal gap between text rows. 6. **Character-density** — CC count per cm² of writing area (page-size from manifest). 7. **Abbreviation-mark density** — small-contour count (suspension marks, paragraphs) per text-area cm². 8. **Marginalia density** — count of contour-clusters in margin band per page. Output per page: 8-feature vector. Per hand/tract: mean + covariance over N sample pages. ## Statistical comparison - **Pairwise Mahalanobis distance** between every VMS-hand vector (5) and every Pal.lat.1268-tract vector (4) — 20-cell matrix. - **Permutation test** for each cell: shuffle folio→hand-or-tract assignments, recompute distance, n=1000 trials. Per-cell p-value. - **Multiple-comparison correction:** Bonferroni at α=0.01/20 = 0.0005, OR Benjamini-Hochberg FDR. ## Folio sampling protocol - **VMS H=1..5:** select 10 folios per hand from `folio_hand` map produced by WO-022 (already implemented). Ensure mix of body-text-dense folios; exclude diagram-only / blank / heavily-marginal-only folios. - **Pal.lat.1268 tracts:** 10 folios per tract, evenly spaced. Skip explicit/incipit decorated folios (different page-decoration patterns). Skip blank folios. - Tussignano: pick from f.5r, 10r, 15r, ..., 75r (every 7 folios) - Galeazzo: pick from f.85r, 95r, 105r, ..., 195r (every 10 folios) - Arnaldus: only 7 folios available (219-225) — use all 7, accept reduced N - Marsilio: only 5 folios (226-230) — use all 5, accept reduced N - **Reduced-N tracts (Arnaldus / Marsilio):** flag low statistical power; weighted Mahalanobis with N-correction. ## Pipeline ``` Stage 1: Image preprocessing IN: JPG image (Vatican or Heidelberg scan) OPS: grayscale → adaptive threshold → deskew → text-region detection (textbox or projection-profile) OUT: binarized text-region crop Stage 2: Feature extraction IN: binarized text-region crop OPS: distance transform / Hough / CC analysis / projection profile OUT: 8-feature vector Stage 3: Per-hand / per-tract aggregation IN: list of feature vectors per hand or tract OPS: mean, covariance OUT: gaussian profile per scribal hand Stage 4: Cross-comparison IN: 5 VMS-hand profiles + 4 Pal.lat.1268-tract profiles OPS: Mahalanobis distance, permutation test OUT: 20-cell similarity matrix + p-value matrix Stage 5: Report IN: similarity + p-value matrices OPS: format markdown report, render heatmap OUT: paleo_forensic_report_2026-04-29.md + heatmap.png ``` ## Build artifacts (target paths) ``` vms/tools/paleo_features.py # feature extractor (per-image) vms/tools/paleo_compare.py # cross-comparison + stats vms/analysis/paleo_features_pal1268.json # per-tract feature vectors vms/analysis/paleo_features_vms.json # per-hand feature vectors vms/analysis/paleo_xcorr_matrix.csv # 5×4 distance matrix vms/analysis/paleo_pvalue_matrix.csv # 5×4 p-value matrix vms/analysis/paleo_forensic_report_2026-04-29.md vms/publications/Research-003/figures/paleo_xcorr_heatmap.png ``` ## Effort estimate | Stage | Effort | Notes | |---|---|---| | 1. Image preprocessing | ~30 min code | cv2 / skimage standard ops | | 2. Feature extractor | ~1 hr code | 8 features, each ~10 lines | | 3. Per-hand aggregation | ~15 min code | numpy mean / cov | | 4. Cross-comparison + stats | ~30 min code | scipy.spatial / scipy.stats | | 5. Report + heatmap | ~30 min code | markdown template + matplotlib | | **Run on Pal.lat.1268** | ~1–2 hr CPU | 376 Vatican + 388 Heidelberg images, parallelizable | | **Run on VMS folios** | ~30 min CPU | ~50 sampled folios | | **Total** | **~4–6 hr** | end-to-end build + execute | ## Falsification criteria - **CONFIRMS Pal.lat.1268 as direct physical referent (or scribal-school overlap):** Any VMS-hand × Pal.lat.1268-tract cell with Mahalanobis distance below null-distribution p<0.01 (Bonferroni-corrected). - **FALSIFIES Pal.lat.1268 as direct physical referent:** All 20 cells outside p<0.05. Doesn't falsify the Padua-tradition genre frame — only this specific manuscript family. - **INCONCLUSIVE:** Reduced-N tracts (Arnaldus, Marsilio) may have insufficient power; flag as "needs more sample" rather than reading null as falsification for those rows. ## Risk / encoding caveats - **Binarization quality** on water-stained / damaged folios (e.g., Pal.lat.1221 mid-stains) may degrade feature extraction. Pre-screen folio quality. - **VMS scribal-hand attribution** comes from IVTFF — Currier's original work + later refinements. Davis 2020 used digital paleography on letter-shapes; Currier used distributional features. The two MAY DISAGREE on individual folios. Cross-check by running BOTH attribution sources if Davis's per-folio mapping becomes available (currently not on disk). - **Tract-internal scribal homogeneity** in Pal.lat.1268 is assumed — but Vienna 1434 may have one scribe copying multiple tracts, which would collapse the 4 tracts to fewer hands. The tool will reveal this. - **Cross-script geometric features** (slant, stroke-thickness) are the strongest claim because they don't depend on character-class identity. Layout features (line-spacing, marginalia-density) are weaker — they're scribal-school behaviors not necessarily individual. ## Dependencies - Python 3.12, opencv-python, scikit-image, numpy, scipy, matplotlib (likely already installed) - ZL_ivtff_2b.txt for VMS hand attribution (on disk) - Image folders for Pal.lat.1268 (on disk: Vatican + Heidelberg) - WO-022 Path 3 folio_hand map (derivable from ZL_ivtff_2b.txt) ## Execution gating - **Substrate-ready:** all required data on disk; no external acquisitions needed; tractable on existing hardware. - **Authorization needed for:** none. Builds in `vms/tools/` (existing canonical work area); writes outputs in `vms/analysis/` + `vms/publications/Research-003/figures/`. - **Triggers re-run if:** Davis 2020 per-folio scribe-mapping data acquired (would replace IVTFF $H= attribution as VMS-side input); additional Pal.lat.1268 images downloaded (Heidelberg has 200v ceiling currently — full 230v needs supplement). ## What this does NOT do - Does NOT prove physical scribe identity. Even at p<0.01 in one cell, the conclusion is "scribal-school or training-tradition overlap," not "same hand." - Does NOT settle the address-system hypothesis. That requires the recipe-count / section-size structural test, separate build. - Does NOT touch Burgundy attachment. F-CORRIDOR-1 stays loose. - Does NOT replace Davis 2020 — complements it. Davis identified the 5 hands; this asks whether any of those 5 maps onto a known Padua-tradition production hand. ## Recommendation Build sequence: 1 → 2 → 3 → 4 → 5 in order. Stages 1–5 are code; running on disk-images is automated. Total ~4–6 hour cycle including execute. Output is a single defensible report with a 5×4 matrix Ed can reason about. If matrix returns null in all 20 cells: Padua-tradition genre frame holds, but Pal.lat.1268 is excluded as the **specific** physical referent and we look at adjacent codices (Pal.lat.1115, 1221, 1262, 1298) using the same tool against their authorial tracts. Tool is reusable. If matrix returns one or more p<0.01 cells: that's the strongest paleographic evidence the substrate has produced for ANY VMS-physical-referent hypothesis to date. Document carefully, do not over-claim.