Pin the Viewer schema and file scope
#7
by maxwellinked - opened
48 unmodified lines495051525354555657585960611 unmodified line636465666768699 unmodified lines7980818283848539 unmodified lines1251261271281291301311321 unmodified line1341351361371381391401411421431442 unmodified lines14714814915015115215315415515615748 unmodified lines- name: duration_secondsdtype: float64- name: width_pxdtype: int64- name: height_pxdtype: int64- name: orientationdtype: large_string- name: encoded_frame_ratedtype: int64- name: video_codecdtype: large_string- name: pixel_format1 unmodified line- name: containerdtype: large_string- name: has_audiodtype: bool- name: hub_xet_hashdtype: large_string- name: original_filename9 unmodified lines- name: provenance_reference_duration_delta_secondsdtype: float64- name: size_bytesdtype: int64- name: notesdtype: large_string---39 unmodified lines## Viewer and Metadata DiscoveryThe current Hub build automatically discovers and loads **both** metadatafiles into one `default/train` Viewer split:- root `metadata.csv` indexes the 338 direct files in`Standard_Time_Lapses/`1 unmodified linefolderThe Viewer therefore has 467 rows and a 29-column union schema. That schema isdeclared explicitly in the card's `dataset_info` block so file-discovery ordercannot change field availability or infer incompatible types. Both CSV filesuse the same 29 columns; undocumented Pre-Standard values are empty and load asnull rather than as zero, false, or inferred numeric data. Both indexes declaretier membership directly: the root canonical CSV sets`collection_tier = standard` and `is_canonical = true`; the Pre-Standard CSVsets `collection_tier = pre_standard` and `is_canonical = false`.2 unmodified linesStatistics job is an auxiliary, asynchronous surface; its availability is notused to claim or reject row-level completeness.There is no explicit `configs:` block in this release. A broad canonicalfolder glob could accidentally include the nested`Standard_Time_Lapses/Provenance/` subtree. Separate canonical andPre-Standard configurations therefore remain a fail-closed migration taskdescribed in `VIEWER_MIGRATION.md`, rather than an untested card-only change.## Overview48 unmodified lines495051525354555657585960611 unmodified line636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361379 unmodified lines14714814915015115215339 unmodified lines1931941951961971981992001 unmodified line2022032042052062072082092102112122 unmodified lines21521621721821922022122222322422522622748 unmodified lines- name: duration_secondsdtype: float64- name: width_pxdtype: float64- name: height_pxdtype: float64- name: orientationdtype: large_string- name: encoded_frame_ratedtype: float64- name: video_codecdtype: large_string- name: pixel_format1 unmodified line- name: containerdtype: large_string- name: has_audiodtype: large_string- name: hub_xet_hashdtype: large_string- name: original_filenamedtype: large_string- name: provenance_statusdtype: large_string- name: legacy_provenance_pathdtype: large_string- name: legacy_related_referencesdtype: large_string- name: evidence_methoddtype: large_string- name: provenance_reference_duration_delta_secondsdtype: float64- name: size_bytesdtype: float64- name: notesdtype: large_stringconfigs:- config_name: defaultdata_files:- split: trainpath:- metadata.csv- Standard_Time_Lapses/*.mp4- Pre_Standard_Time_Lapses/metadata.csv- Pre_Standard_Time_Lapses/*.mp4features:- name: videodtype: video- name: record_iddtype: large_string- name: collection_tierdtype: large_string- name: is_canonicaldtype: bool- name: acquisition_protocol_versiondtype: large_string- name: datedtype: large_string- name: timedtype: large_string- name: tooldtype: large_string- name: mediumdtype: large_string- name: supportdtype: large_string- name: dimensionsdtype: large_string- name: duration_secondsdtype: float64- name: width_pxdtype: float64- name: height_pxdtype: float64- name: orientationdtype: large_string- name: encoded_frame_ratedtype: float64- name: video_codecdtype: large_string- name: pixel_formatdtype: large_string- name: containerdtype: large_string- name: has_audiodtype: large_string- name: hub_xet_hashdtype: large_string- name: original_filename9 unmodified lines- name: provenance_reference_duration_delta_secondsdtype: float64- name: size_bytesdtype: float64- name: notesdtype: large_string---39 unmodified lines## Viewer and Metadata DiscoveryThe explicit `default` configuration loads **both** metadata files into one`default/train` Viewer split:- root `metadata.csv` indexes the 338 direct files in`Standard_Time_Lapses/`1 unmodified linefolderThe Viewer therefore has 467 rows and a 29-column union schema. That schema isdeclared in both `dataset_info` and `configs` so file-discovery order cannotchange field availability or infer incompatible types. Both CSV files use thesame 29 columns; undocumented Pre-Standard values are empty and load as nullrather than as zero, false, or inferred numeric data. Both indexes declare tiermembership directly: the root canonical CSV sets`collection_tier = standard` and `is_canonical = true`; the Pre-Standard CSVsets `collection_tier = pre_standard` and `is_canonical = false`.2 unmodified linesStatistics job is an auxiliary, asynchronous surface; its availability is notused to claim or reject row-level completeness.The configuration lists the two active `metadata.csv` files and only directMP4 paths in `Standard_Time_Lapses/` and `Pre_Standard_Time_Lapses/`. It doesnot use a recursive canonical glob, so the nested`Standard_Time_Lapses/Provenance/` subtree is excluded. Separate canonical andPre-Standard configurations remain a future migration described in`VIEWER_MIGRATION.md`; the current release intentionally keeps one combinedsplit.## Overview
README.md+86-16