Pin the Viewer schema and file scope

#7
by maxwellinked - opened
Files changed (1) hide show
  1. README.md +86 -16
README.md CHANGED
@@ -49,13 +49,13 @@ dataset_info:
49
  - name: duration_seconds
50
  dtype: float64
51
  - name: width_px
52
- dtype: int64
53
  - name: height_px
54
- dtype: int64
55
  - name: orientation
56
  dtype: large_string
57
  - name: encoded_frame_rate
58
- dtype: int64
59
  - name: video_codec
60
  dtype: large_string
61
  - name: pixel_format
@@ -63,7 +63,75 @@ dataset_info:
63
  - name: container
64
  dtype: large_string
65
  - name: has_audio
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  dtype: bool
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  - name: hub_xet_hash
68
  dtype: large_string
69
  - name: original_filename
@@ -79,7 +147,7 @@ dataset_info:
79
  - name: provenance_reference_duration_delta_seconds
80
  dtype: float64
81
  - name: size_bytes
82
- dtype: int64
83
  - name: notes
84
  dtype: large_string
85
  ---
@@ -125,8 +193,8 @@ train/validation/test partition has been defined.
125
 
126
  ## Viewer and Metadata Discovery
127
 
128
- The current Hub build automatically discovers and loads **both** metadata
129
- files into one `default/train` Viewer split:
130
 
131
  - root `metadata.csv` indexes the 338 direct files in
132
  `Standard_Time_Lapses/`
@@ -134,11 +202,11 @@ files into one `default/train` Viewer split:
134
  folder
135
 
136
  The Viewer therefore has 467 rows and a 29-column union schema. That schema is
137
- declared explicitly in the card's `dataset_info` block so file-discovery order
138
- cannot change field availability or infer incompatible types. Both CSV files
139
- use the same 29 columns; undocumented Pre-Standard values are empty and load as
140
- null rather than as zero, false, or inferred numeric data. Both indexes declare
141
- tier membership directly: the root canonical CSV sets
142
  `collection_tier = standard` and `is_canonical = true`; the Pre-Standard CSV
143
  sets `collection_tier = pre_standard` and `is_canonical = false`.
144
 
@@ -147,11 +215,13 @@ the matching generated Parquet export. Hugging Face's separate column
147
  Statistics job is an auxiliary, asynchronous surface; its availability is not
148
  used to claim or reject row-level completeness.
149
 
150
- There is no explicit `configs:` block in this release. A broad canonical
151
- folder glob could accidentally include the nested
152
- `Standard_Time_Lapses/Provenance/` subtree. Separate canonical and
153
- Pre-Standard configurations therefore remain a fail-closed migration task
154
- described in `VIEWER_MIGRATION.md`, rather than an untested card-only change.
 
 
155
 
156
  ## Overview
157
 
 
49
  - name: duration_seconds
50
  dtype: float64
51
  - name: width_px
52
+ dtype: float64
53
  - name: height_px
54
+ dtype: float64
55
  - name: orientation
56
  dtype: large_string
57
  - name: encoded_frame_rate
58
+ dtype: float64
59
  - name: video_codec
60
  dtype: large_string
61
  - name: pixel_format
 
63
  - name: container
64
  dtype: large_string
65
  - name: has_audio
66
+ dtype: large_string
67
+ - name: hub_xet_hash
68
+ dtype: large_string
69
+ - name: original_filename
70
+ dtype: large_string
71
+ - name: provenance_status
72
+ dtype: large_string
73
+ - name: legacy_provenance_path
74
+ dtype: large_string
75
+ - name: legacy_related_references
76
+ dtype: large_string
77
+ - name: evidence_method
78
+ dtype: large_string
79
+ - name: provenance_reference_duration_delta_seconds
80
+ dtype: float64
81
+ - name: size_bytes
82
+ dtype: float64
83
+ - name: notes
84
+ dtype: large_string
85
+ configs:
86
+ - config_name: default
87
+ data_files:
88
+ - split: train
89
+ path:
90
+ - metadata.csv
91
+ - Standard_Time_Lapses/*.mp4
92
+ - Pre_Standard_Time_Lapses/metadata.csv
93
+ - Pre_Standard_Time_Lapses/*.mp4
94
+ features:
95
+ - name: video
96
+ dtype: video
97
+ - name: record_id
98
+ dtype: large_string
99
+ - name: collection_tier
100
+ dtype: large_string
101
+ - name: is_canonical
102
  dtype: bool
103
+ - name: acquisition_protocol_version
104
+ dtype: large_string
105
+ - name: date
106
+ dtype: large_string
107
+ - name: time
108
+ dtype: large_string
109
+ - name: tool
110
+ dtype: large_string
111
+ - name: medium
112
+ dtype: large_string
113
+ - name: support
114
+ dtype: large_string
115
+ - name: dimensions
116
+ dtype: large_string
117
+ - name: duration_seconds
118
+ dtype: float64
119
+ - name: width_px
120
+ dtype: float64
121
+ - name: height_px
122
+ dtype: float64
123
+ - name: orientation
124
+ dtype: large_string
125
+ - name: encoded_frame_rate
126
+ dtype: float64
127
+ - name: video_codec
128
+ dtype: large_string
129
+ - name: pixel_format
130
+ dtype: large_string
131
+ - name: container
132
+ dtype: large_string
133
+ - name: has_audio
134
+ dtype: large_string
135
  - name: hub_xet_hash
136
  dtype: large_string
137
  - name: original_filename
 
147
  - name: provenance_reference_duration_delta_seconds
148
  dtype: float64
149
  - name: size_bytes
150
+ dtype: float64
151
  - name: notes
152
  dtype: large_string
153
  ---
 
193
 
194
  ## Viewer and Metadata Discovery
195
 
196
+ The explicit `default` configuration loads **both** metadata files into one
197
+ `default/train` Viewer split:
198
 
199
  - root `metadata.csv` indexes the 338 direct files in
200
  `Standard_Time_Lapses/`
 
202
  folder
203
 
204
  The Viewer therefore has 467 rows and a 29-column union schema. That schema is
205
+ declared in both `dataset_info` and `configs` so file-discovery order cannot
206
+ change field availability or infer incompatible types. Both CSV files use the
207
+ same 29 columns; undocumented Pre-Standard values are empty and load as null
208
+ rather than as zero, false, or inferred numeric data. Both indexes declare tier
209
+ membership directly: the root canonical CSV sets
210
  `collection_tier = standard` and `is_canonical = true`; the Pre-Standard CSV
211
  sets `collection_tier = pre_standard` and `is_canonical = false`.
212
 
 
215
  Statistics job is an auxiliary, asynchronous surface; its availability is not
216
  used to claim or reject row-level completeness.
217
 
218
+ The configuration lists the two active `metadata.csv` files and only direct
219
+ MP4 paths in `Standard_Time_Lapses/` and `Pre_Standard_Time_Lapses/`. It does
220
+ not use a recursive canonical glob, so the nested
221
+ `Standard_Time_Lapses/Provenance/` subtree is excluded. Separate canonical and
222
+ Pre-Standard configurations remain a future migration described in
223
+ `VIEWER_MIGRATION.md`; the current release intentionally keeps one combined
224
+ split.
225
 
226
  ## Overview
227