Datasets:
Publish Ropedia Xperience-10M derived artifacts
Browse files- assets/pipeline_diagram.png +2 -2
- assets/pipeline_diagram.svg +1 -1
- docs/assets/pipeline_diagram.png +2 -2
- docs/assets/pipeline_diagram.svg +1 -1
- docs/data/artifact_index.json +10 -10
- docs/data/figure_index.json +3 -3
- docs/data/mirror_parity.json +0 -0
- docs/data/public_surface_qa.json +4 -4
- docs/data/publication_audit.json +10 -5
- docs/data/quality_gates.json +1 -1
- docs/data/website_integrity.json +6 -6
- notes/reproducibility_audit.md +1 -1
- scripts/generate_visualizations.py +1 -1
- scripts/render_overview_figures.py +1 -1
- scripts/validate_mirror_parity.py +29 -7
- scripts/validate_publication_package.py +25 -3
- scripts/validate_website_integrity.py +1 -1
- scripts/verify_live_publication.py +19 -0
assets/pipeline_diagram.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
assets/pipeline_diagram.svg
CHANGED
|
|
|
|
docs/assets/pipeline_diagram.png
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
docs/assets/pipeline_diagram.svg
CHANGED
|
|
|
|
docs/data/artifact_index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Task Suite Artifact Index",
|
| 3 |
-
"generated_at_utc": "2026-06-
|
| 4 |
"status": "pass",
|
| 5 |
"artifact_count": 55,
|
| 6 |
"missing": [],
|
|
@@ -206,7 +206,7 @@
|
|
| 206 |
"proves": "Machine-readable visual asset index for website and Hugging Face mirrors.",
|
| 207 |
"exists": true,
|
| 208 |
"bytes": 13435,
|
| 209 |
-
"sha256": "
|
| 210 |
},
|
| 211 |
{
|
| 212 |
"id": "figure_index_builder",
|
|
@@ -272,7 +272,7 @@
|
|
| 272 |
"proves": "Machine-readable release-gate summary for validators, mirrors, and public project surfaces.",
|
| 273 |
"exists": true,
|
| 274 |
"bytes": 7480,
|
| 275 |
-
"sha256": "
|
| 276 |
},
|
| 277 |
{
|
| 278 |
"id": "public_surface_qa",
|
|
@@ -351,8 +351,8 @@
|
|
| 351 |
"surface": "repo",
|
| 352 |
"proves": "Fetches the published GitHub/HF URLs and compares live hashes and public-card markers against the release assets.",
|
| 353 |
"exists": true,
|
| 354 |
-
"bytes":
|
| 355 |
-
"sha256": "
|
| 356 |
},
|
| 357 |
{
|
| 358 |
"id": "reproducibility_contract",
|
|
@@ -396,7 +396,7 @@
|
|
| 396 |
"volatile": true,
|
| 397 |
"proves": "Confirms public bundles pass raw-data, cache, archive, and token-string checks.",
|
| 398 |
"exists": true,
|
| 399 |
-
"bytes":
|
| 400 |
"hash_policy": "existence_and_size_only"
|
| 401 |
},
|
| 402 |
{
|
|
@@ -420,7 +420,7 @@
|
|
| 420 |
"volatile": true,
|
| 421 |
"proves": "Confirms prepared GitHub/HF Space/artifact/model mirrors share the same critical data, figure, website HTML, and validator files.",
|
| 422 |
"exists": true,
|
| 423 |
-
"bytes":
|
| 424 |
"hash_policy": "existence_and_size_only"
|
| 425 |
},
|
| 426 |
{
|
|
@@ -432,7 +432,7 @@
|
|
| 432 |
"volatile": true,
|
| 433 |
"proves": "Confirms local website links, anchors, JSON data files, and referenced images resolve.",
|
| 434 |
"exists": true,
|
| 435 |
-
"bytes":
|
| 436 |
"hash_policy": "existence_and_size_only"
|
| 437 |
},
|
| 438 |
{
|
|
@@ -586,8 +586,8 @@
|
|
| 586 |
"surface": "website_hf",
|
| 587 |
"proves": "Shows the raw-episode to artifact pipeline with verified labels.",
|
| 588 |
"exists": true,
|
| 589 |
-
"bytes":
|
| 590 |
-
"sha256": "
|
| 591 |
},
|
| 592 |
{
|
| 593 |
"id": "architecture_figure",
|
|
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Task Suite Artifact Index",
|
| 3 |
+
"generated_at_utc": "2026-06-02T07:06:00+00:00",
|
| 4 |
"status": "pass",
|
| 5 |
"artifact_count": 55,
|
| 6 |
"missing": [],
|
|
|
|
| 206 |
"proves": "Machine-readable visual asset index for website and Hugging Face mirrors.",
|
| 207 |
"exists": true,
|
| 208 |
"bytes": 13435,
|
| 209 |
+
"sha256": "dd3fac977ff1e300455165e0ecfec37d13dae346ee440186ec3e7180c36bc89b"
|
| 210 |
},
|
| 211 |
{
|
| 212 |
"id": "figure_index_builder",
|
|
|
|
| 272 |
"proves": "Machine-readable release-gate summary for validators, mirrors, and public project surfaces.",
|
| 273 |
"exists": true,
|
| 274 |
"bytes": 7480,
|
| 275 |
+
"sha256": "72abc92a669f0b62aa7835289aa1d99d5e8713086ec1ef588070a3dac387d4e0"
|
| 276 |
},
|
| 277 |
{
|
| 278 |
"id": "public_surface_qa",
|
|
|
|
| 351 |
"surface": "repo",
|
| 352 |
"proves": "Fetches the published GitHub/HF URLs and compares live hashes and public-card markers against the release assets.",
|
| 353 |
"exists": true,
|
| 354 |
+
"bytes": 22540,
|
| 355 |
+
"sha256": "6d0f1a0f12680b2c0c42da203e00139fa020e87d91a2e0f31141c74e1262901c"
|
| 356 |
},
|
| 357 |
{
|
| 358 |
"id": "reproducibility_contract",
|
|
|
|
| 396 |
"volatile": true,
|
| 397 |
"proves": "Confirms public bundles pass raw-data, cache, archive, and token-string checks.",
|
| 398 |
"exists": true,
|
| 399 |
+
"bytes": 6796,
|
| 400 |
"hash_policy": "existence_and_size_only"
|
| 401 |
},
|
| 402 |
{
|
|
|
|
| 420 |
"volatile": true,
|
| 421 |
"proves": "Confirms prepared GitHub/HF Space/artifact/model mirrors share the same critical data, figure, website HTML, and validator files.",
|
| 422 |
"exists": true,
|
| 423 |
+
"bytes": 69773,
|
| 424 |
"hash_policy": "existence_and_size_only"
|
| 425 |
},
|
| 426 |
{
|
|
|
|
| 432 |
"volatile": true,
|
| 433 |
"proves": "Confirms local website links, anchors, JSON data files, and referenced images resolve.",
|
| 434 |
"exists": true,
|
| 435 |
+
"bytes": 11168,
|
| 436 |
"hash_policy": "existence_and_size_only"
|
| 437 |
},
|
| 438 |
{
|
|
|
|
| 586 |
"surface": "website_hf",
|
| 587 |
"proves": "Shows the raw-episode to artifact pipeline with verified labels.",
|
| 588 |
"exists": true,
|
| 589 |
+
"bytes": 705113,
|
| 590 |
+
"sha256": "1c3e0721ddbea991b0012aa25a1ac616131426e7104c33520b070fd14c0007c7"
|
| 591 |
},
|
| 592 |
{
|
| 593 |
"id": "architecture_figure",
|
docs/data/figure_index.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Figure Index",
|
| 3 |
"status": "pass",
|
| 4 |
-
"generated_at_utc": "2026-06-
|
| 5 |
"scope": "Public figures, diagrams, charts, and derived modality thumbnails. Raw Xperience-10M videos, annotations, RRD files, and Qwen weights are excluded.",
|
| 6 |
"figure_count": 21,
|
| 7 |
"figures": [
|
|
@@ -81,8 +81,8 @@
|
|
| 81 |
"source_script": "scripts/generate_visualizations.py",
|
| 82 |
"surface": "README, website, HF artifact dataset",
|
| 83 |
"exists": true,
|
| 84 |
-
"bytes":
|
| 85 |
-
"sha256": "
|
| 86 |
"dimensions": {
|
| 87 |
"format": "PNG",
|
| 88 |
"width": 1800,
|
|
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Figure Index",
|
| 3 |
"status": "pass",
|
| 4 |
+
"generated_at_utc": "2026-06-02T07:00:29+00:00",
|
| 5 |
"scope": "Public figures, diagrams, charts, and derived modality thumbnails. Raw Xperience-10M videos, annotations, RRD files, and Qwen weights are excluded.",
|
| 6 |
"figure_count": 21,
|
| 7 |
"figures": [
|
|
|
|
| 81 |
"source_script": "scripts/generate_visualizations.py",
|
| 82 |
"surface": "README, website, HF artifact dataset",
|
| 83 |
"exists": true,
|
| 84 |
+
"bytes": 705113,
|
| 85 |
+
"sha256": "1c3e0721ddbea991b0012aa25a1ac616131426e7104c33520b070fd14c0007c7",
|
| 86 |
"dimensions": {
|
| 87 |
"format": "PNG",
|
| 88 |
"width": 1800,
|
docs/data/mirror_parity.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
docs/data/public_surface_qa.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Public Surface QA",
|
| 3 |
"status": "pass",
|
| 4 |
-
"generated_at_utc": "2026-06-
|
| 5 |
"scope": "Repo README, GitHub Pages HTML, Hugging Face Space card, artifact dataset card, and model card.",
|
| 6 |
"checks": [
|
| 7 |
{
|
|
@@ -18,7 +18,7 @@
|
|
| 18 |
"website_integrity": {
|
| 19 |
"exists": true,
|
| 20 |
"status": "pass",
|
| 21 |
-
"generated_at_utc": "2026-06-
|
| 22 |
},
|
| 23 |
"task_surface_integrity": {
|
| 24 |
"exists": true,
|
|
@@ -38,12 +38,12 @@
|
|
| 38 |
"publication_hygiene": {
|
| 39 |
"exists": true,
|
| 40 |
"status": "pass",
|
| 41 |
-
"generated_at_utc": "2026-06-
|
| 42 |
},
|
| 43 |
"mirror_parity": {
|
| 44 |
"exists": true,
|
| 45 |
"status": "pass",
|
| 46 |
-
"generated_at_utc": "2026-06-
|
| 47 |
},
|
| 48 |
"live_publication": {
|
| 49 |
"exists": true,
|
|
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Public Surface QA",
|
| 3 |
"status": "pass",
|
| 4 |
+
"generated_at_utc": "2026-06-02T07:05:59+00:00",
|
| 5 |
"scope": "Repo README, GitHub Pages HTML, Hugging Face Space card, artifact dataset card, and model card.",
|
| 6 |
"checks": [
|
| 7 |
{
|
|
|
|
| 18 |
"website_integrity": {
|
| 19 |
"exists": true,
|
| 20 |
"status": "pass",
|
| 21 |
+
"generated_at_utc": "2026-06-02T07:00:30+00:00"
|
| 22 |
},
|
| 23 |
"task_surface_integrity": {
|
| 24 |
"exists": true,
|
|
|
|
| 38 |
"publication_hygiene": {
|
| 39 |
"exists": true,
|
| 40 |
"status": "pass",
|
| 41 |
+
"generated_at_utc": "2026-06-02T07:05:19+00:00"
|
| 42 |
},
|
| 43 |
"mirror_parity": {
|
| 44 |
"exists": true,
|
| 45 |
"status": "pass",
|
| 46 |
+
"generated_at_utc": "2026-06-02T07:02:05+00:00"
|
| 47 |
},
|
| 48 |
"live_publication": {
|
| 49 |
"exists": true,
|
docs/data/publication_audit.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"status": "pass",
|
| 3 |
-
"generated_at_utc": "2026-06-
|
| 4 |
"checks": [
|
| 5 |
{
|
| 6 |
"name": "required_publication_assets_present",
|
|
@@ -27,6 +27,11 @@
|
|
| 27 |
"status": "pass",
|
| 28 |
"count": 0
|
| 29 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
{
|
| 31 |
"name": "no_stale_task_suite_presentation_copy",
|
| 32 |
"status": "pass",
|
|
@@ -165,7 +170,7 @@
|
|
| 165 |
],
|
| 166 |
"scans": {
|
| 167 |
"github_repo": {
|
| 168 |
-
"root": "
|
| 169 |
"exists": true,
|
| 170 |
"file_count": 322,
|
| 171 |
"text_file_count": 258,
|
|
@@ -176,7 +181,7 @@
|
|
| 176 |
"violations": []
|
| 177 |
},
|
| 178 |
"hf_space_bundle": {
|
| 179 |
-
"root": "
|
| 180 |
"exists": true,
|
| 181 |
"file_count": 78,
|
| 182 |
"text_file_count": 56,
|
|
@@ -187,7 +192,7 @@
|
|
| 187 |
"violations": []
|
| 188 |
},
|
| 189 |
"hf_artifact_bundle": {
|
| 190 |
-
"root": "
|
| 191 |
"exists": true,
|
| 192 |
"file_count": 363,
|
| 193 |
"text_file_count": 277,
|
|
@@ -198,7 +203,7 @@
|
|
| 198 |
"violations": []
|
| 199 |
},
|
| 200 |
"hf_model_bundle": {
|
| 201 |
-
"root": "
|
| 202 |
"exists": true,
|
| 203 |
"file_count": 231,
|
| 204 |
"text_file_count": 181,
|
|
|
|
| 1 |
{
|
| 2 |
"status": "pass",
|
| 3 |
+
"generated_at_utc": "2026-06-02T07:08:07+00:00",
|
| 4 |
"checks": [
|
| 5 |
{
|
| 6 |
"name": "required_publication_assets_present",
|
|
|
|
| 27 |
"status": "pass",
|
| 28 |
"count": 0
|
| 29 |
},
|
| 30 |
+
{
|
| 31 |
+
"name": "no_local_filesystem_paths_in_public_text",
|
| 32 |
+
"status": "pass",
|
| 33 |
+
"count": 0
|
| 34 |
+
},
|
| 35 |
{
|
| 36 |
"name": "no_stale_task_suite_presentation_copy",
|
| 37 |
"status": "pass",
|
|
|
|
| 170 |
],
|
| 171 |
"scans": {
|
| 172 |
"github_repo": {
|
| 173 |
+
"root": "repo",
|
| 174 |
"exists": true,
|
| 175 |
"file_count": 322,
|
| 176 |
"text_file_count": 258,
|
|
|
|
| 181 |
"violations": []
|
| 182 |
},
|
| 183 |
"hf_space_bundle": {
|
| 184 |
+
"root": "hf_publish/space",
|
| 185 |
"exists": true,
|
| 186 |
"file_count": 78,
|
| 187 |
"text_file_count": 56,
|
|
|
|
| 192 |
"violations": []
|
| 193 |
},
|
| 194 |
"hf_artifact_bundle": {
|
| 195 |
+
"root": "hf_publish/artifacts",
|
| 196 |
"exists": true,
|
| 197 |
"file_count": 363,
|
| 198 |
"text_file_count": 277,
|
|
|
|
| 203 |
"violations": []
|
| 204 |
},
|
| 205 |
"hf_model_bundle": {
|
| 206 |
+
"root": "hf_publish/model",
|
| 207 |
"exists": true,
|
| 208 |
"file_count": 231,
|
| 209 |
"text_file_count": 181,
|
docs/data/quality_gates.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Publication Quality Gates",
|
| 3 |
"status": "pass",
|
| 4 |
-
"generated_at_utc": "2026-06-
|
| 5 |
"rule": "Do not present a release as current unless every automated gate passes, then verify live GitHub/HF mirrors after publishing.",
|
| 6 |
"automated_gates": [
|
| 7 |
{
|
|
|
|
| 1 |
{
|
| 2 |
"title": "Ropedia Xperience-10M Publication Quality Gates",
|
| 3 |
"status": "pass",
|
| 4 |
+
"generated_at_utc": "2026-06-02T07:05:59+00:00",
|
| 5 |
"rule": "Do not present a release as current unless every automated gate passes, then verify live GitHub/HF mirrors after publishing.",
|
| 6 |
"automated_gates": [
|
| 7 |
{
|
docs/data/website_integrity.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"status": "pass",
|
| 3 |
-
"generated_at_utc": "2026-06-
|
| 4 |
-
"docs_root": "
|
| 5 |
"site_base": "/ropedia-xperience-10m-task-suite/",
|
| 6 |
"summary": {
|
| 7 |
"html_pages": 2,
|
|
@@ -198,7 +198,7 @@
|
|
| 198 |
},
|
| 199 |
{
|
| 200 |
"path": "data/mirror_parity.json",
|
| 201 |
-
"bytes":
|
| 202 |
"top_level_type": "dict"
|
| 203 |
},
|
| 204 |
{
|
|
@@ -228,7 +228,7 @@
|
|
| 228 |
},
|
| 229 |
{
|
| 230 |
"path": "data/publication_audit.json",
|
| 231 |
-
"bytes":
|
| 232 |
"top_level_type": "dict"
|
| 233 |
},
|
| 234 |
{
|
|
@@ -278,7 +278,7 @@
|
|
| 278 |
},
|
| 279 |
{
|
| 280 |
"path": "data/website_integrity.json",
|
| 281 |
-
"bytes":
|
| 282 |
"top_level_type": "dict"
|
| 283 |
},
|
| 284 |
{
|
|
@@ -411,7 +411,7 @@
|
|
| 411 |
{
|
| 412 |
"path": "assets/pipeline_diagram.png",
|
| 413 |
"exists": true,
|
| 414 |
-
"bytes":
|
| 415 |
"width": 1800,
|
| 416 |
"height": 1120,
|
| 417 |
"format": "PNG"
|
|
|
|
| 1 |
{
|
| 2 |
"status": "pass",
|
| 3 |
+
"generated_at_utc": "2026-06-02T07:00:30+00:00",
|
| 4 |
+
"docs_root": "docs",
|
| 5 |
"site_base": "/ropedia-xperience-10m-task-suite/",
|
| 6 |
"summary": {
|
| 7 |
"html_pages": 2,
|
|
|
|
| 198 |
},
|
| 199 |
{
|
| 200 |
"path": "data/mirror_parity.json",
|
| 201 |
+
"bytes": 91667,
|
| 202 |
"top_level_type": "dict"
|
| 203 |
},
|
| 204 |
{
|
|
|
|
| 228 |
},
|
| 229 |
{
|
| 230 |
"path": "data/publication_audit.json",
|
| 231 |
+
"bytes": 6997,
|
| 232 |
"top_level_type": "dict"
|
| 233 |
},
|
| 234 |
{
|
|
|
|
| 278 |
},
|
| 279 |
{
|
| 280 |
"path": "data/website_integrity.json",
|
| 281 |
+
"bytes": 11261,
|
| 282 |
"top_level_type": "dict"
|
| 283 |
},
|
| 284 |
{
|
|
|
|
| 411 |
{
|
| 412 |
"path": "assets/pipeline_diagram.png",
|
| 413 |
"exists": true,
|
| 414 |
+
"bytes": 705113,
|
| 415 |
"width": 1800,
|
| 416 |
"height": 1120,
|
| 417 |
"format": "PNG"
|
notes/reproducibility_audit.md
CHANGED
|
@@ -29,7 +29,7 @@ rebuilt from all six video files during the audit.
|
|
| 29 |
All audit outputs were written outside the repo:
|
| 30 |
|
| 31 |
```bash
|
| 32 |
-
AUDIT=/
|
| 33 |
WORKSPACE=/path/to/Ropedia
|
| 34 |
ANN=$WORKSPACE/data/sample/xperience-10m-sample/annotation.hdf5
|
| 35 |
PY=$WORKSPACE/.venv/bin/python
|
|
|
|
| 29 |
All audit outputs were written outside the repo:
|
| 30 |
|
| 31 |
```bash
|
| 32 |
+
AUDIT=/path/to/ignored-scratch-workspace
|
| 33 |
WORKSPACE=/path/to/Ropedia
|
| 34 |
ANN=$WORKSPACE/data/sample/xperience-10m-sample/annotation.hdf5
|
| 35 |
PY=$WORKSPACE/.venv/bin/python
|
scripts/generate_visualizations.py
CHANGED
|
@@ -158,7 +158,7 @@ def svg_pipeline_diagram(path: Path, summary: dict) -> None:
|
|
| 158 |
for i, line in enumerate(lines):
|
| 159 |
parts.append(f'<text x="{x + 24}" y="{y + 66 + i * 22}" font-family="Space Grotesk, Arial, sans-serif" font-size="14" fill="#dce8d7">{html.escape(line)}</text>')
|
| 160 |
checks = [
|
| 161 |
-
"Audit check: rerunning scripts to
|
| 162 |
"Modality check: sample covers video, AAC audio, depth, pose/SLAM, mocap, IMU, and language annotation.",
|
| 163 |
"Feature check: current manifest has video/depth/pose/mocap/IMU/language blocks, but no audio block.",
|
| 164 |
"Scope check: this validates one public sample episode, not cross-episode generalization.",
|
|
|
|
| 158 |
for i, line in enumerate(lines):
|
| 159 |
parts.append(f'<text x="{x + 24}" y="{y + 66 + i * 22}" font-family="Space Grotesk, Arial, sans-serif" font-size="14" fill="#dce8d7">{html.escape(line)}</text>')
|
| 160 |
checks = [
|
| 161 |
+
"Audit check: rerunning scripts to an ignored scratch workspace reproduced committed metrics exactly.",
|
| 162 |
"Modality check: sample covers video, AAC audio, depth, pose/SLAM, mocap, IMU, and language annotation.",
|
| 163 |
"Feature check: current manifest has video/depth/pose/mocap/IMU/language blocks, but no audio block.",
|
| 164 |
"Scope check: this validates one public sample episode, not cross-episode generalization.",
|
scripts/render_overview_figures.py
CHANGED
|
@@ -154,7 +154,7 @@ def build_pipeline_html(summary: dict, base_path: Path) -> str:
|
|
| 154 |
]
|
| 155 |
rows_html = "".join(f'<section class="flow-row">{"".join(row)}</section>' for row in stage_rows)
|
| 156 |
checks = [
|
| 157 |
-
"Audit check: rerunning scripts to
|
| 158 |
"Modality check: sample covers video, AAC audio, depth, pose/SLAM, mocap, IMU, and language annotation.",
|
| 159 |
"Feature check: current baseline manifest has video/depth/pose/mocap/IMU/language blocks, but no audio feature block.",
|
| 160 |
"Neural check: lightweight PyTorch MLP heads are reported beside the minimal task heads under neural_mlp/.",
|
|
|
|
| 154 |
]
|
| 155 |
rows_html = "".join(f'<section class="flow-row">{"".join(row)}</section>' for row in stage_rows)
|
| 156 |
checks = [
|
| 157 |
+
"Audit check: rerunning scripts to an ignored scratch workspace reproduced the committed metrics exactly.",
|
| 158 |
"Modality check: sample covers video, AAC audio, depth, pose/SLAM, mocap, IMU, and language annotation.",
|
| 159 |
"Feature check: current baseline manifest has video/depth/pose/mocap/IMU/language blocks, but no audio feature block.",
|
| 160 |
"Neural check: lightweight PyTorch MLP heads are reported beside the minimal task heads under neural_mlp/.",
|
scripts/validate_mirror_parity.py
CHANGED
|
@@ -108,9 +108,26 @@ def sha256(path: Path) -> str:
|
|
| 108 |
return digest.hexdigest()
|
| 109 |
|
| 110 |
|
| 111 |
-
def
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
record = {
|
| 113 |
-
"path":
|
| 114 |
"exists": path.exists(),
|
| 115 |
}
|
| 116 |
if path.exists() and path.is_file():
|
|
@@ -122,12 +139,12 @@ def file_record(path: Path) -> dict:
|
|
| 122 |
return record
|
| 123 |
|
| 124 |
|
| 125 |
-
def parity_group(name: str, local_path: Path, mirrors: dict[str, Path]) -> dict:
|
| 126 |
-
local = file_record(local_path)
|
| 127 |
-
mirror_records = {surface: file_record(path) for surface, path in mirrors.items()}
|
| 128 |
failures = []
|
| 129 |
if not local["exists"]:
|
| 130 |
-
failures.append({"surface": "repo", "kind": "missing", "path":
|
| 131 |
for surface, record in mirror_records.items():
|
| 132 |
if not record["exists"]:
|
| 133 |
failures.append({"surface": surface, "kind": "missing", "path": record["path"]})
|
|
@@ -164,6 +181,7 @@ def build_report(hf_root: Path) -> dict:
|
|
| 164 |
"hf_artifacts": hf_root / "artifacts/docs/data" / filename,
|
| 165 |
"hf_model": hf_root / "model/metrics" / filename,
|
| 166 |
},
|
|
|
|
| 167 |
)
|
| 168 |
)
|
| 169 |
|
|
@@ -178,6 +196,7 @@ def build_report(hf_root: Path) -> dict:
|
|
| 178 |
"hf_artifacts_card": hf_root / "artifacts/assets" / filename,
|
| 179 |
"hf_model": hf_root / "model/assets" / filename,
|
| 180 |
},
|
|
|
|
| 181 |
)
|
| 182 |
)
|
| 183 |
|
|
@@ -190,6 +209,7 @@ def build_report(hf_root: Path) -> dict:
|
|
| 190 |
"hf_artifacts": hf_root / "artifacts/scripts" / filename,
|
| 191 |
"hf_model": hf_root / "model/scripts" / filename,
|
| 192 |
},
|
|
|
|
| 193 |
)
|
| 194 |
)
|
| 195 |
|
|
@@ -202,6 +222,7 @@ def build_report(hf_root: Path) -> dict:
|
|
| 202 |
"hf_space": hf_root / "space" / filename,
|
| 203 |
"hf_artifacts_docs": hf_root / "artifacts/docs" / filename,
|
| 204 |
},
|
|
|
|
| 205 |
)
|
| 206 |
)
|
| 207 |
|
|
@@ -215,6 +236,7 @@ def build_report(hf_root: Path) -> dict:
|
|
| 215 |
"hf_artifacts": hf_root / "artifacts" / filename,
|
| 216 |
"hf_model": hf_root / "model" / filename,
|
| 217 |
},
|
|
|
|
| 218 |
)
|
| 219 |
)
|
| 220 |
|
|
@@ -230,7 +252,7 @@ def build_report(hf_root: Path) -> dict:
|
|
| 230 |
return {
|
| 231 |
"status": "pass" if not failures else "fail",
|
| 232 |
"generated_at_utc": datetime.now(timezone.utc).isoformat(timespec="seconds"),
|
| 233 |
-
"hf_root":
|
| 234 |
"summary": {
|
| 235 |
"group_count": len(groups),
|
| 236 |
"failure_count": len(failures),
|
|
|
|
| 108 |
return digest.hexdigest()
|
| 109 |
|
| 110 |
|
| 111 |
+
def display_path(path: Path, hf_root: Path) -> str:
|
| 112 |
+
resolved = path.resolve()
|
| 113 |
+
bases = [
|
| 114 |
+
("hf_space", hf_root / "space"),
|
| 115 |
+
("hf_artifacts", hf_root / "artifacts"),
|
| 116 |
+
("hf_model", hf_root / "model"),
|
| 117 |
+
("repo", ROOT),
|
| 118 |
+
("hf_publish", hf_root),
|
| 119 |
+
]
|
| 120 |
+
for label, base in bases:
|
| 121 |
+
try:
|
| 122 |
+
return f"{label}:{resolved.relative_to(base.resolve()).as_posix()}"
|
| 123 |
+
except ValueError:
|
| 124 |
+
continue
|
| 125 |
+
return path.name
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
def file_record(path: Path, hf_root: Path) -> dict:
|
| 129 |
record = {
|
| 130 |
+
"path": display_path(path, hf_root),
|
| 131 |
"exists": path.exists(),
|
| 132 |
}
|
| 133 |
if path.exists() and path.is_file():
|
|
|
|
| 139 |
return record
|
| 140 |
|
| 141 |
|
| 142 |
+
def parity_group(name: str, local_path: Path, mirrors: dict[str, Path], hf_root: Path) -> dict:
|
| 143 |
+
local = file_record(local_path, hf_root)
|
| 144 |
+
mirror_records = {surface: file_record(path, hf_root) for surface, path in mirrors.items()}
|
| 145 |
failures = []
|
| 146 |
if not local["exists"]:
|
| 147 |
+
failures.append({"surface": "repo", "kind": "missing", "path": local["path"]})
|
| 148 |
for surface, record in mirror_records.items():
|
| 149 |
if not record["exists"]:
|
| 150 |
failures.append({"surface": surface, "kind": "missing", "path": record["path"]})
|
|
|
|
| 181 |
"hf_artifacts": hf_root / "artifacts/docs/data" / filename,
|
| 182 |
"hf_model": hf_root / "model/metrics" / filename,
|
| 183 |
},
|
| 184 |
+
hf_root,
|
| 185 |
)
|
| 186 |
)
|
| 187 |
|
|
|
|
| 196 |
"hf_artifacts_card": hf_root / "artifacts/assets" / filename,
|
| 197 |
"hf_model": hf_root / "model/assets" / filename,
|
| 198 |
},
|
| 199 |
+
hf_root,
|
| 200 |
)
|
| 201 |
)
|
| 202 |
|
|
|
|
| 209 |
"hf_artifacts": hf_root / "artifacts/scripts" / filename,
|
| 210 |
"hf_model": hf_root / "model/scripts" / filename,
|
| 211 |
},
|
| 212 |
+
hf_root,
|
| 213 |
)
|
| 214 |
)
|
| 215 |
|
|
|
|
| 222 |
"hf_space": hf_root / "space" / filename,
|
| 223 |
"hf_artifacts_docs": hf_root / "artifacts/docs" / filename,
|
| 224 |
},
|
| 225 |
+
hf_root,
|
| 226 |
)
|
| 227 |
)
|
| 228 |
|
|
|
|
| 236 |
"hf_artifacts": hf_root / "artifacts" / filename,
|
| 237 |
"hf_model": hf_root / "model" / filename,
|
| 238 |
},
|
| 239 |
+
hf_root,
|
| 240 |
)
|
| 241 |
)
|
| 242 |
|
|
|
|
| 252 |
return {
|
| 253 |
"status": "pass" if not failures else "fail",
|
| 254 |
"generated_at_utc": datetime.now(timezone.utc).isoformat(timespec="seconds"),
|
| 255 |
+
"hf_root": "hf_publish",
|
| 256 |
"summary": {
|
| 257 |
"group_count": len(groups),
|
| 258 |
"failure_count": len(failures),
|
scripts/validate_publication_package.py
CHANGED
|
@@ -53,6 +53,10 @@ STALE_PRESENTATION_STRINGS = {
|
|
| 53 |
"Cur" + "sor": "editor/work-session wording in public copy",
|
| 54 |
"public " + "dashboard and generated figures " + "deliberately " + "follow": "meta design-process wording in public copy",
|
| 55 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 56 |
CARD_FRESHNESS_EXPECTATIONS = [
|
| 57 |
{
|
| 58 |
"surface": "github_repo",
|
|
@@ -205,7 +209,7 @@ def iter_public_files(root: Path, paths: list[Path] | None = None):
|
|
| 205 |
yield path
|
| 206 |
|
| 207 |
|
| 208 |
-
def scan(root: Path, *, paths: list[Path] | None = None) -> dict:
|
| 209 |
violations: list[dict] = []
|
| 210 |
text_files = 0
|
| 211 |
total_files = 0
|
|
@@ -239,6 +243,13 @@ def scan(root: Path, *, paths: list[Path] | None = None) -> dict:
|
|
| 239 |
continue
|
| 240 |
if TOKEN_PATTERN.search(text):
|
| 241 |
violations.append({"kind": "possible_hf_token", "path": path_rel})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 242 |
for needle, reason in STALE_PRESENTATION_STRINGS.items():
|
| 243 |
if needle in text:
|
| 244 |
violations.append({
|
|
@@ -248,7 +259,7 @@ def scan(root: Path, *, paths: list[Path] | None = None) -> dict:
|
|
| 248 |
})
|
| 249 |
|
| 250 |
return {
|
| 251 |
-
"root":
|
| 252 |
"exists": root.exists(),
|
| 253 |
"file_count": total_files,
|
| 254 |
"text_file_count": text_files,
|
|
@@ -369,10 +380,16 @@ def build_report(hf_root: Path) -> dict:
|
|
| 369 |
"hf_artifact_bundle": hf_root / "artifacts",
|
| 370 |
"hf_model_bundle": hf_root / "model",
|
| 371 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 372 |
scans = {}
|
| 373 |
for name, path in roots.items():
|
| 374 |
public_paths = git_public_paths(path) if name == "github_repo" else None
|
| 375 |
-
scans[name] = scan(path, paths=public_paths)
|
| 376 |
assets = required_assets(ROOT)
|
| 377 |
card_freshness = public_card_freshness(roots)
|
| 378 |
missing_assets = [path for path, present in assets.items() if not present]
|
|
@@ -409,6 +426,11 @@ def build_report(hf_root: Path) -> dict:
|
|
| 409 |
"status": "pass" if not any(v["kind"] == "possible_hf_token" for v in violations) else "fail",
|
| 410 |
"count": sum(1 for v in violations if v["kind"] == "possible_hf_token"),
|
| 411 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 412 |
{
|
| 413 |
"name": "no_stale_task_suite_presentation_copy",
|
| 414 |
"status": "pass" if not any(v["kind"] == "stale_presentation_copy" for v in violations) else "fail",
|
|
|
|
| 53 |
"Cur" + "sor": "editor/work-session wording in public copy",
|
| 54 |
"public " + "dashboard and generated figures " + "deliberately " + "follow": "meta design-process wording in public copy",
|
| 55 |
}
|
| 56 |
+
LOCAL_PATH_PATTERNS = {
|
| 57 |
+
"/" + "Users/": "local macOS user path in public text",
|
| 58 |
+
"/" + "private/": "local scratch path in public text",
|
| 59 |
+
}
|
| 60 |
CARD_FRESHNESS_EXPECTATIONS = [
|
| 61 |
{
|
| 62 |
"surface": "github_repo",
|
|
|
|
| 209 |
yield path
|
| 210 |
|
| 211 |
|
| 212 |
+
def scan(root: Path, *, paths: list[Path] | None = None, display_root: str | None = None) -> dict:
|
| 213 |
violations: list[dict] = []
|
| 214 |
text_files = 0
|
| 215 |
total_files = 0
|
|
|
|
| 243 |
continue
|
| 244 |
if TOKEN_PATTERN.search(text):
|
| 245 |
violations.append({"kind": "possible_hf_token", "path": path_rel})
|
| 246 |
+
for needle, reason in LOCAL_PATH_PATTERNS.items():
|
| 247 |
+
if needle in text:
|
| 248 |
+
violations.append({
|
| 249 |
+
"kind": "local_filesystem_path",
|
| 250 |
+
"path": path_rel,
|
| 251 |
+
"detail": reason,
|
| 252 |
+
})
|
| 253 |
for needle, reason in STALE_PRESENTATION_STRINGS.items():
|
| 254 |
if needle in text:
|
| 255 |
violations.append({
|
|
|
|
| 259 |
})
|
| 260 |
|
| 261 |
return {
|
| 262 |
+
"root": display_root or rel(root, ROOT.parent),
|
| 263 |
"exists": root.exists(),
|
| 264 |
"file_count": total_files,
|
| 265 |
"text_file_count": text_files,
|
|
|
|
| 380 |
"hf_artifact_bundle": hf_root / "artifacts",
|
| 381 |
"hf_model_bundle": hf_root / "model",
|
| 382 |
}
|
| 383 |
+
root_labels = {
|
| 384 |
+
"github_repo": "repo",
|
| 385 |
+
"hf_space_bundle": "hf_publish/space",
|
| 386 |
+
"hf_artifact_bundle": "hf_publish/artifacts",
|
| 387 |
+
"hf_model_bundle": "hf_publish/model",
|
| 388 |
+
}
|
| 389 |
scans = {}
|
| 390 |
for name, path in roots.items():
|
| 391 |
public_paths = git_public_paths(path) if name == "github_repo" else None
|
| 392 |
+
scans[name] = scan(path, paths=public_paths, display_root=root_labels[name])
|
| 393 |
assets = required_assets(ROOT)
|
| 394 |
card_freshness = public_card_freshness(roots)
|
| 395 |
missing_assets = [path for path, present in assets.items() if not present]
|
|
|
|
| 426 |
"status": "pass" if not any(v["kind"] == "possible_hf_token" for v in violations) else "fail",
|
| 427 |
"count": sum(1 for v in violations if v["kind"] == "possible_hf_token"),
|
| 428 |
},
|
| 429 |
+
{
|
| 430 |
+
"name": "no_local_filesystem_paths_in_public_text",
|
| 431 |
+
"status": "pass" if not any(v["kind"] == "local_filesystem_path" for v in violations) else "fail",
|
| 432 |
+
"count": sum(1 for v in violations if v["kind"] == "local_filesystem_path"),
|
| 433 |
+
},
|
| 434 |
{
|
| 435 |
"name": "no_stale_task_suite_presentation_copy",
|
| 436 |
"status": "pass" if not any(v["kind"] == "stale_presentation_copy" for v in violations) else "fail",
|
scripts/validate_website_integrity.py
CHANGED
|
@@ -452,7 +452,7 @@ def validate(docs_root: Path, site_base: str) -> dict:
|
|
| 452 |
return {
|
| 453 |
"status": "pass" if failure_count == 0 else "fail",
|
| 454 |
"generated_at_utc": datetime.now(timezone.utc).isoformat(timespec="seconds"),
|
| 455 |
-
"docs_root":
|
| 456 |
"site_base": site_base,
|
| 457 |
"summary": {
|
| 458 |
"html_pages": len(html_files),
|
|
|
|
| 452 |
return {
|
| 453 |
"status": "pass" if failure_count == 0 else "fail",
|
| 454 |
"generated_at_utc": datetime.now(timezone.utc).isoformat(timespec="seconds"),
|
| 455 |
+
"docs_root": relative(docs_root, ROOT),
|
| 456 |
"site_base": site_base,
|
| 457 |
"summary": {
|
| 458 |
"html_pages": len(html_files),
|
scripts/verify_live_publication.py
CHANGED
|
@@ -49,6 +49,17 @@ HASH_GROUPS = [
|
|
| 49 |
"hf_model": "https://huggingface.co/cy0307/ropedia-xperience-10m-task-baselines/resolve/main/metrics/quality_gates.json",
|
| 50 |
},
|
| 51 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
{
|
| 53 |
"id": "xperience10m_dataset_card_alignment_json",
|
| 54 |
"title": "Official Xperience-10M dataset-card alignment JSON",
|
|
@@ -185,6 +196,8 @@ MARKER_CHECKS = [
|
|
| 185 |
"Action Recognition",
|
| 186 |
"data/task_walkthroughs.json",
|
| 187 |
"task_surface_integrity.json",
|
|
|
|
|
|
|
| 188 |
],
|
| 189 |
"forbidden": [
|
| 190 |
"xperience10m-" + "taskfirst-v10",
|
|
@@ -214,6 +227,8 @@ MARKER_CHECKS = [
|
|
| 214 |
"Action Recognition",
|
| 215 |
"data/task_walkthroughs.json",
|
| 216 |
"task_surface_integrity.json",
|
|
|
|
|
|
|
| 217 |
],
|
| 218 |
"forbidden": [
|
| 219 |
"xperience10m-" + "taskfirst-v10",
|
|
@@ -239,6 +254,8 @@ MARKER_CHECKS = [
|
|
| 239 |
"12,103 episode folders",
|
| 240 |
"interactive scrub/play walkthrough storyboard",
|
| 241 |
"task_surface_integrity.json",
|
|
|
|
|
|
|
| 242 |
],
|
| 243 |
"forbidden": ["xperience10m-" + "taskfirst-v10"],
|
| 244 |
},
|
|
@@ -260,6 +277,8 @@ MARKER_CHECKS = [
|
|
| 260 |
"12,103 episode folders",
|
| 261 |
"interactive scrub/play storyboard",
|
| 262 |
"task_surface_integrity.json",
|
|
|
|
|
|
|
| 263 |
],
|
| 264 |
"forbidden": ["xperience10m-" + "taskfirst-v10"],
|
| 265 |
},
|
|
|
|
| 49 |
"hf_model": "https://huggingface.co/cy0307/ropedia-xperience-10m-task-baselines/resolve/main/metrics/quality_gates.json",
|
| 50 |
},
|
| 51 |
},
|
| 52 |
+
{
|
| 53 |
+
"id": "public_surface_qa_json",
|
| 54 |
+
"title": "Public-surface QA JSON",
|
| 55 |
+
"local_path": "docs/data/public_surface_qa.json",
|
| 56 |
+
"urls": {
|
| 57 |
+
"github_pages": "https://chaoyue0307.github.io/ropedia-xperience-10m-task-suite/data/public_surface_qa.json",
|
| 58 |
+
"hf_space": "https://huggingface.co/spaces/cy0307/ropedia-xperience-10m-task-suite/raw/main/data/public_surface_qa.json",
|
| 59 |
+
"hf_artifacts": "https://huggingface.co/datasets/cy0307/ropedia-xperience-10m-task-suite-artifacts/resolve/main/docs/data/public_surface_qa.json",
|
| 60 |
+
"hf_model": "https://huggingface.co/cy0307/ropedia-xperience-10m-task-baselines/resolve/main/metrics/public_surface_qa.json",
|
| 61 |
+
},
|
| 62 |
+
},
|
| 63 |
{
|
| 64 |
"id": "xperience10m_dataset_card_alignment_json",
|
| 65 |
"title": "Official Xperience-10M dataset-card alignment JSON",
|
|
|
|
| 196 |
"Action Recognition",
|
| 197 |
"data/task_walkthroughs.json",
|
| 198 |
"task_surface_integrity.json",
|
| 199 |
+
"public_surface_qa.json",
|
| 200 |
+
"Public surface QA",
|
| 201 |
],
|
| 202 |
"forbidden": [
|
| 203 |
"xperience10m-" + "taskfirst-v10",
|
|
|
|
| 227 |
"Action Recognition",
|
| 228 |
"data/task_walkthroughs.json",
|
| 229 |
"task_surface_integrity.json",
|
| 230 |
+
"public_surface_qa.json",
|
| 231 |
+
"Public surface QA",
|
| 232 |
],
|
| 233 |
"forbidden": [
|
| 234 |
"xperience10m-" + "taskfirst-v10",
|
|
|
|
| 254 |
"12,103 episode folders",
|
| 255 |
"interactive scrub/play walkthrough storyboard",
|
| 256 |
"task_surface_integrity.json",
|
| 257 |
+
"public_surface_qa.json",
|
| 258 |
+
"Public surface QA",
|
| 259 |
],
|
| 260 |
"forbidden": ["xperience10m-" + "taskfirst-v10"],
|
| 261 |
},
|
|
|
|
| 277 |
"12,103 episode folders",
|
| 278 |
"interactive scrub/play storyboard",
|
| 279 |
"task_surface_integrity.json",
|
| 280 |
+
"public_surface_qa.json",
|
| 281 |
+
"Public surface QA",
|
| 282 |
],
|
| 283 |
"forbidden": ["xperience10m-" + "taskfirst-v10"],
|
| 284 |
},
|