# Source Lineage

## V-Harness Gate Snapshot

- Upstream repository: `https://github.com/ChengJade/VDiff.git`
- Branch: `image2code-v2.3`
- Commit: `e9c04d4b382beaa18dc96f1e1fded91eb942dd76`
- Local source snapshot used for the copy: `v-harness-native-claude-v2.3/source/`
- Copied scope: `gate.py`, `config.py`, and `backends/`
- Destination: `tasks/image_to_code/vendor/vharness_v2_3/`

The copied snapshot is maintained locally. VeriHarness does not import or read the previous comparison project at runtime.
This relationship is classified as `vendored`, not `executed` or a runtime
upstream dependency. See
`../20260714-vharness-upstream-manager/VERSION_PROJECT_MATRIX.md` for the
cross-project mapping.

## V3 Offline Evaluator Snapshot

- Local source snapshot: `0-Project/20260709-vdiff-image2code-v3-gate-score-evaluation/`
- Contract revision: `vharness_gate_score_v2_shared_grounding_semantic_bank_computed_dom`
- Copied scope: `scripts/v3_metrics.py` and `scripts/v3_eval_runtime.py`
- Destination: `src/veriharness/offline_v3/`
- Local adaptations: project-local support helpers, project-local v-harness backend path, and a four-condition posthoc runner.

The evaluator is executed only after generation finishes. Its grounding and semantic banks are source-only and shared across conditions; its results are never fed into the agent or online gate.

## Seed13 Data Snapshot

- Source family: VDiff image-to-code v2.3 devset
- Copied cases: `case1..case13`
- Copied input: `page_snapshot.png` renamed to `source.png`
- Excluded: PDFs, historical outputs, logs, caches, and generated artifacts
- Dataset manifest: `data/vharness_seed13/manifest.yaml`
- Checksums: `data/vharness_seed13/checksums.sha256`
