time-lapse-artifacts / VALIDATION.md
maxwellinked's picture
Prepare v0.4.0 release candidate
2eb3936 verified
|
Raw History Blame
17.5 kB
# Validation Report
## Current v0.4.0 release candidate
Branch `codex/prepare-v0.4.0-release` starts at exact Hub `main` revision
`442b4786afbdd31bd16cd0a1488f09c07f956316`, the merged result of Hugging Face
PR #46. Release preparation changes only release documentation and adds a
current release-candidate manifest. It does not change an active index,
relationship sidecar, validator, checksum entry, or media path or payload. No
MP4 was materialized in the working checkout.
The underlying 29-field snapshot assigns protocol versions from documented
relationship membership rather than a date cutoff or filename inference:
| Check | Result |
| --- | ---: |
| Canonical Standard rows | 549 |
| Earlier workflow, `standard-2025-07-13` | 363 |
| Prospective workflow, `standard-2026-08-27` | 186 |
| Dated fragment sidecars | 6 |
| Prospective groupings with one shared finish timestamp | 25 / 25 |
| Historical `RecNN` rows outside the sidecars, retained on the earlier protocol | 19 / 19 |
| Metadata columns before / after | 29 / 29 |
| Non-protocol metadata field changes | 0 |
| MP4 path or payload changes | 0 |
| Relationship-sidecar changes | 0 |
| `SHA256SUMS` byte changes | 0 |
| Regression tests | 35 / 35 passed |
The release-candidate `metadata.csv` remains 370,833 bytes and has ordinary
SHA-256 `d516da7a4341dddf0b2b5ad50f6200f283ea0cdefc6de465882fbc021abfba8a`.
Relative to the pre-boundary revision, exactly 186
`acquisition_protocol_version` values changed; every other field in every row
is byte-for-byte equivalent after CSV parsing. In particular, all `record_id`,
`file_name`, `hub_xet_hash`, `size_bytes`, encoded-video fields, and provenance
fields are unchanged. `SHA256SUMS` remains byte-identical at SHA-256
`21e9c6dd4cb976754a73201cf5a5dcab8b4402a03781b9afe9ae8ea5f2c4b351`.
The metadata validator passed against the base revision's 732-file Hub
inventory with zero path, Xet-identity, or size mismatches. All six fragment
sidecars passed both current structural/metadata joins and their original
pinned-revision inventory checks using the metadata bytes from each declared
`source_hub_revision`. Checksum coverage passed for all 683 payloads (682 MP4
and one ZIP), totaling 2,100,077,836,521 bytes. The 309-row physical-reference
relationship validation also passed against its pinned source metadata.
## Scope and publication boundary
Hugging Face PR #45 begins at exact Hub `main` revision
`81d5675113fcd5e26eac0289c228f7ccfe552e42`. It adds 29 unchanged canonical
Framelapse source fragments grouped into two creator-confirmed complete
`RecNN` sequences. It does not change the 29-field active schema,
`standard-2025-07-13`, any existing media payload, or any existing
`record_id`.
The media-only PR revision is
`9bfce508b6c6bdca12f475deb9b540f05754d8fd`. The metadata-bearing revision is
`7fca6fcc36d873b92a6c64fff5980e8d5afde5a6`; it contains the exact 549-row root index
validated below. The expanded 61-row relationship sidecar is committed afterward
and pins that metadata-bearing revision, avoiding a circular self-reference.
This report validates the pull-request state; merge status and Viewer
settlement are separate deployment checks.
## PR #45 immutable active-index receipt
**PINNED REMOTE-INVENTORY PASS — zero validation errors**
The repository inventory was captured from the Hub API and immutable resolve
headers at the metadata-bearing revision. The validators checked both active
indexes, every indexed media identity and byte size, the repository-wide
payload checksum manifest, and the new relationship sidecar against that
inventory.
| Check | Result |
| --- | ---: |
| Hub source revision | `7fca6fcc36d873b92a6c64fff5980e8d5afde5a6` |
| Root `metadata.csv` | 370,833 bytes; SHA-256 `9456adc5922c3dd6a3b511ecdc4ef97fa803900e9e2a1f028ad76ffe45d2d5b2` |
| Pre-Standard `metadata.csv` | 38,169 bytes; SHA-256 `7ef4b21645760b2aa2047ad1b548cb341c97c288378498f135cbbecd82c4f4b9` |
| Active indexed rows | 677 |
| Canonical Standard / Pre-Standard | 549 / 128 |
| Metadata columns per index | 29 |
| Unique `record_id` / nonblank Xet identities | 677 / 677 |
| Direct Standard / Pre-Standard MP4 files | 549 / 128 |
| Nested noncanonical provenance MP4 files | 5 |
| Missing indexed targets | 0 |
| Unindexed direct active-tier MP4 files | 0 |
| Metadata-to-Hub size mismatches | 0 |
| Metadata-to-Hub Xet mismatches | 0 |
| `SHA256SUMS` | 98,313 bytes; SHA-256 `21e9c6dd4cb976754a73201cf5a5dcab8b4402a03781b9afe9ae8ea5f2c4b351` |
| Manifest payload coverage | 683 / 683; 2,100,077,836,521 bytes |
| Manifest-to-Hub identity errors | 0 |
| Regression tests | 30 / 30 passed |
Indexed video totals are 2,083,318,611,246 bytes (2.083 TB decimal) and
57.006 encoded playback hours. Encoded playback time is not real drawing time.
## PR #43 semantic-correction receipt
The content-bearing PR revision
`4d6c6098c7428d77e7c04771a2aabcb46918345f` is based directly on Hub `main`
revision `9ba68359e4886d12ad865bd0a5cd00515a78ede6`. Remote validation at that
immutable revision produced zero errors.
| Check | Result |
| --- | ---: |
| Root `metadata.csv` | 311,869 bytes; SHA-256 `00bc268f0267b09f2cd18e8b1ac8751f45e7d2b2232d240b438857f82558a161` |
| Pre-Standard `metadata.csv` | 38,169 bytes; SHA-256 `7ef4b21645760b2aa2047ad1b548cb341c97c288378498f135cbbecd82c4f4b9` |
| Active indexed rows | 616 |
| Canonical Standard / Pre-Standard | 488 / 128 |
| Unique `record_id` / nonblank Xet identities | 616 / 616 |
| Missing indexed targets | 0 |
| Unindexed direct active-tier MP4 files | 0 |
| Metadata-to-Hub size / Xet mismatches | 0 / 0 |
| `SHA256SUMS` | 90,319 bytes; SHA-256 `5e86108f0323c4a5c0c6e01636529ecc185252d5cc1eb23e5b46ab7a0ccd8e3f` |
| Manifest payload coverage | 622 / 622; 2,079,242,936,421 bytes |
| Manifest-to-Hub identity errors | 0 |
| Regression tests | 30 / 30 passed |
All fifteen renamed June 30 × 40 in paths have the same Hub LFS SHA-256 and
byte-size receipts as their `Paper`-named source paths at the base revision.
The PR head contains all fifteen `IllustrationBoard` paths and none of the old
`Paper` paths. This verifies a path-and-metadata correction without a media
payload rewrite. Viewer settlement remains a post-merge check and has not been
claimed here.
## Historical pinned active-index receipt
This receipt records the exact PR #42 validation event described above; it is
not a digest of current `main`.
**PINNED REMOTE-INVENTORY PASS — zero validation errors**
The repository inventory was captured from the Hub API and immutable resolve
headers at the metadata-bearing revision. `tools/validate_metadata.py` then
checked both active indexes and every indexed media identity and byte size
against that inventory.
| Check | Result |
| --- | ---: |
| Hub source revision | `fe66d1dbb117486c2046376423316fd2cc25d488` |
| Root `metadata.csv` | 309,400 bytes; SHA-256 `1a20df86d44dde90ed89bda230666772f24b04ca0dbd2db8fba5749fe1da1308` |
| Pre-Standard `metadata.csv` | 37,361 bytes; SHA-256 `15de8b2c97a8c463dd279054ab0ce3894caa6602f3b72f8025d32511746c3630` |
| Active indexed rows | 616 |
| Canonical Standard / Pre-Standard | 488 / 128 |
| Metadata columns per index | 29 |
| Unique `record_id` / nonblank Xet identities | 616 / 616 |
| Direct Standard / Pre-Standard MP4 files | 488 / 128 |
| Nested noncanonical provenance MP4 files | 5 |
| Missing indexed targets | 0 |
| Unindexed direct active-tier MP4 files | 0 |
| Metadata-to-Hub size mismatches | 0 |
| Metadata-to-Hub Xet mismatches | 0 |
Indexed video totals are 2,062,483,711,146 bytes (2.062 TB decimal) and
55.878 encoded playback hours. Encoded playback time is not real drawing time.
Viewer settlement is checked after merge but is not used as a substitute for
the revision-pinned row, media, size, and identity checks above.
## Historical repository-wide payload checksum receipt
This receipt likewise records the exact PR #42 validation event rather than
the current `SHA256SUMS` file.
`SHA256SUMS` was generated from the LFS-compatible content identities at exact
Hub revision `e2094ae582c057df9d40e9bfe4dc00afed0bad2a`. Every identity was also
matched to the immutable resolve response's `X-Linked-ETag` and byte size. The
Xet file ID was retained separately and was not treated as a SHA-256.
| Check | Result |
| --- | ---: |
| Manifest entries | 622 |
| Published MP4 payloads | 621 / 621 |
| Published ZIP payloads | 1 / 1 |
| Payload bytes covered | 2,079,242,936,421 |
| Missing / extra manifest paths | 0 / 0 |
| Invalid / duplicate SHA-256 values | 0 / 0 |
| LFS SHA-256 / resolve-header mismatches | 0 / 0 |
| Manifest byte size | 89,532 |
| Manifest SHA-256 | `968e885399584ff6532af7fcb0c23602e6eb27d1f9ff7525b3083ca6f584ac93` |
These are ordinary byte-level SHA-256 values for the payload contents. The
cross-check did not transfer and rehash all 2.079 TB of payload bytes; a full
download can independently reproduce every digest with
`tools/validate_sha256sums.py --verify-root`.
## New-source media verification
Before upload, all 29 sources were SHA-256 hashed, probed, fully demuxed, and
sample-decoded as raw pixels at start, middle, and near-end checkpoints. An
independent uploader preflight rehash confirmed that all 29 sources remained
byte-identical. Results were 29/29 hashes, 29/29 complete packet demuxes, 87/87
decoded frame samples, 60,900 container frames matching 60,900 counted video
packets, and zero errors. The local source directory was not modified.
## Relationship validation
### Fragment sequences
All six dated sidecars pass current structural and metadata-join validation:
| Sidecar | Canonical fragments | Derivatives | Sets | Result |
| --- | ---: | ---: | ---: | --- |
| `2026-08-27` | 22 | 5 | 5 | zero errors |
| `2026-08-29` | 19 | 0 | 4 | zero errors |
| `2026-08-30` | 39 | 0 | 5 | zero errors |
| `2026-08-31` | 32 | 0 | 4 | zero errors |
| `2026-09-01` | 13 | 0 | 2 | zero errors |
| `2026-09-02` | 61 | 0 | 5 | zero errors |
The validator compares canonical byte sizes with joined metadata and emits an
explicit verification level. The new sidecar was checked against the exact
metadata-bearing remote inventory and reports
`pinned_repository_inventory` and `inventory_binding_checked: true`.
Historical sidecars pass current structural and metadata joins; their own
pinned-inventory receipts remain in the dated READMEs.
`owner_confirmed_complete` describes the retained canonical source sequence's
membership and order. It does not independently establish gapless real-world
capture, real drawing time, or permanent physical-work completion.
### Physical references
The physical-reference sidecar passes its dedicated validator against the
exact 363-row source metadata at revision
`ba7e7903901767f2d5a4367d7ae22c2546366d6d`:
| Check | Result |
| --- | ---: |
| Source metadata receipt | 190,250 bytes; SHA-256 `2062d1ed0ae83a54cac501e1dfcc23bc6cff087d43fd1242fdd19f3028f3d30d` |
| Sidecar receipt | 346,794 bytes; SHA-256 `5f3e1ed6c484853cd6df8722e3916b111fc280a1e02a4f9272c0566172821c3a` |
| Relationship rows / columns | 309 / 32 |
| Unique `reference_id` / `record_id` | 309 / 309 |
| Endpoint photographs | 52 |
| Owner-confirmed record references | 232 |
| Two-sided work references | 24 |
| Longitudinal continuations | 1 |
| Structural, join, hash-state, and manifest errors | 0 |
Nine rows previously said `front_and_paired_hashes_verified` while their paired
filename and paired hash were blank. They now use the mechanically accurate
front-only ledger state. No photograph pairing, endpoint, date, material, or
owner evidence was reinterpreted.
The photographs remain local evidence and are not bundled. This validation
checks internal consistency and exact historical metadata joins; it is not
visual authentication of absent media.
## Regression tests
The dependency-free suites currently run 35 tests covering repository receipt
binding, fragment-size joins and verification levels, semantic documentation
and metadata invariants, the exact protocol-version boundary and prospective
timestamp scope, and physical-reference identity, hash-state, pairing, manifest,
and metadata-join failures.
```bash
python -m unittest discover -s tools -p "test_*.py"
```
Result: **35/35 passed**.
## Outstanding curator questions and limitations
These remain explicit; validation must not guess their answers:
1. One Pre-Standard record has no support token or independent support evidence;
its `support` remains blank and its `notes` state the limitation.
2. The earlier Standard and Pre-Standard workflows do not normalize whether a
documented finish label applies to a recording, session, reviewed fragment
sequence, or physical work. Under `standard-2026-08-27`, the scope is the
complete prospective grouping/physical work.
3. Nineteen active Standard `RecNN` rows are outside the six dated fragment
sidecars and retain `standard-2025-07-13`. Their existing notes and changelog
evidence remain authoritative; sidecar absence does not establish no
relationship or sequence completeness.
4. Twenty-seven physical-reference rows retain explicit conflict evidence.
Conflict language is an adjudication queue, not proof that 27 canonical
timestamps are wrong.
5. Three Standard records are explicitly documented shortened derivatives,
not full-duration masters.
6. Most active indexed videos at this revision contain an audio stream (485 of
677). Stream presence does not establish meaningful signal; rights and
privacy review remain necessary.
7. Encoded frame rate and playback duration cannot recover real drawing time.
8. The 2012–2016 archive has no public video payload in this release.
9. No official train/validation/test partition or global `work_id` exists.
## Reproduction
Validate both active indexes locally:
```bash
python tools/validate_metadata.py metadata.csv \
--pre-standard-metadata Pre_Standard_Time_Lapses/metadata.csv \
--fragment-relationships-root Standard_Time_Lapses/Provenance
```
Validate the payload checksum manifest against a blob-enabled repository
inventory captured from one immutable revision:
```bash
python tools/validate_sha256sums.py SHA256SUMS \
--repo-json repo_api_blobs.json \
--revision "<40-hex-commit>"
```
For the strongest active-index check, capture an inventory at one immutable
revision, including exact receipts for both metadata files:
```bash
python tools/capture_hub_inventory.py \
--repo-json repo_api_blobs.json \
--repo-id maxwellinked/time-lapse-artifacts \
--revision "<40-hex-commit>" \
--output repo_inventory_xet.json \
--validation-file metadata.csv \
--validation-file Pre_Standard_Time_Lapses/metadata.csv
python tools/validate_metadata.py metadata.csv \
--pre-standard-metadata Pre_Standard_Time_Lapses/metadata.csv \
--fragment-relationships-root Standard_Time_Lapses/Provenance \
--repo-inventory-json repo_inventory_xet.json
```
Validate the dated fragment sidecars against current metadata for structural
joins. For a pinned-inventory check, use the exact historical `metadata.csv`
downloaded from that sidecar's `source_hub_revision`; substituting the current
metadata bytes would invalidate the receipt:
```bash
python tools/validate_fragment_relationships.py \
--relationships Standard_Time_Lapses/Provenance/2026-08-27/fragment_sequence_relationships.csv \
--metadata metadata.csv
python tools/validate_fragment_relationships.py \
--relationships Standard_Time_Lapses/Provenance/2026-08-29/fragment_sequence_relationships.csv \
--metadata metadata.csv
python tools/validate_fragment_relationships.py \
--relationships Standard_Time_Lapses/Provenance/2026-08-30/fragment_sequence_relationships.csv \
--metadata pinned/7293edccff883b4c604d710addbf26c85910cfcc/metadata.csv \
--repo-inventory-json repo_inventory_7293edcc.json
python tools/validate_fragment_relationships.py \
--relationships Standard_Time_Lapses/Provenance/2026-08-31/fragment_sequence_relationships.csv \
--metadata pinned/480bc7e24261e6d3bbcacd261a00782b7e40211a/metadata.csv \
--repo-inventory-json repo_inventory_480bc7e2.json
python tools/validate_fragment_relationships.py \
--relationships Standard_Time_Lapses/Provenance/2026-09-01/fragment_sequence_relationships.csv \
--metadata pinned/fe66d1dbb117486c2046376423316fd2cc25d488/metadata.csv \
--repo-inventory-json repo_inventory_fe66d1db.json
python tools/validate_fragment_relationships.py \
--relationships Standard_Time_Lapses/Provenance/2026-09-02/fragment_sequence_relationships.csv \
--metadata pinned/7fca6fcc36d873b92a6c64fff5980e8d5afde5a6/metadata.csv \
--repo-inventory-json repo_inventory_7fca6fcc.json
```
Retrieve the exact historical metadata bound by the physical-reference
manifest, then validate the sidecar:
```bash
hf download maxwellinked/time-lapse-artifacts metadata.csv \
--type dataset \
--revision ba7e7903901767f2d5a4367d7ae22c2546366d6d \
--local-dir physical-reference-source
python tools/validate_physical_references.py \
--references Physical_References/endpoint_references.csv \
--metadata physical-reference-source/metadata.csv \
--manifest Physical_References/MANIFEST.json
```
Always record the exact repository revision. A moving branch is not a
reproducible identity receipt.