Datasets:
Publish Ropedia Xperience-10M derived artifacts
Browse files- EVIDENCE_CONTRACT.md +3 -1
- PROJECT_README.md +6 -0
- README.md +7 -2
- docs/data/publication_audit.json +97 -0
- docs/index.html +11 -0
- scripts/validate_publication_package.py +225 -0
EVIDENCE_CONTRACT.md
CHANGED
|
@@ -13,6 +13,7 @@ local artifact that a reader can inspect before trusting the dashboard.
|
|
| 13 |
| Four extra direction probes are coded and evaluated. | `results/episode_task_suite/research_direction_extensions/research_direction_extension_results.json`, `docs/data/research_direction_extensions.json` | Verified single-episode probes | Not full human modeling, neural rendering, intent modeling, or world modeling solutions |
|
| 14 |
| Qwen3-Omni infrastructure has passed technical smoke checks. | `results/omni_finetune/RUN_REPORT.md`, `results/omni_finetune/dataset_manifest.json`, `results/omni_finetune/metrics_eval.json` | Smoke-only evidence | One episode, 128 train windows; not a 32-episode pilot |
|
| 15 |
| The real 32-episode LoRA pilot is blocked on gated data access, not on repo presentation. | `results/omni_finetune/DATA_BLOCKER_REPORT.md`, `results/omni_finetune/A100_HF_RELAY_STATUS.md`, `results/omni_finetune/source_discovery.json` | Blocker documented | No 32-episode metric should be claimed until the gate passes |
|
|
|
|
| 16 |
|
| 17 |
## Review Order
|
| 18 |
|
|
@@ -25,4 +26,5 @@ local artifact that a reader can inspect before trusting the dashboard.
|
|
| 25 |
neural heads under the same splits.
|
| 26 |
5. Inspect `results/omni_finetune/DATA_BLOCKER_REPORT.md` before interpreting
|
| 27 |
any Qwen3-Omni artifact.
|
| 28 |
-
|
|
|
|
|
|
| 13 |
| Four extra direction probes are coded and evaluated. | `results/episode_task_suite/research_direction_extensions/research_direction_extension_results.json`, `docs/data/research_direction_extensions.json` | Verified single-episode probes | Not full human modeling, neural rendering, intent modeling, or world modeling solutions |
|
| 14 |
| Qwen3-Omni infrastructure has passed technical smoke checks. | `results/omni_finetune/RUN_REPORT.md`, `results/omni_finetune/dataset_manifest.json`, `results/omni_finetune/metrics_eval.json` | Smoke-only evidence | One episode, 128 train windows; not a 32-episode pilot |
|
| 15 |
| The real 32-episode LoRA pilot is blocked on gated data access, not on repo presentation. | `results/omni_finetune/DATA_BLOCKER_REPORT.md`, `results/omni_finetune/A100_HF_RELAY_STATUS.md`, `results/omni_finetune/source_discovery.json` | Blocker documented | No 32-episode metric should be claimed until the gate passes |
|
| 16 |
+
| The public GitHub and Hugging Face bundles are publication-clean. | `scripts/validate_publication_package.py`, `docs/data/publication_audit.json` | Verified pass | Checks public files and HF bundles, not arbitrary ignored local scratch outputs |
|
| 17 |
|
| 18 |
## Review Order
|
| 19 |
|
|
|
|
| 26 |
neural heads under the same splits.
|
| 27 |
5. Inspect `results/omni_finetune/DATA_BLOCKER_REPORT.md` before interpreting
|
| 28 |
any Qwen3-Omni artifact.
|
| 29 |
+
6. Inspect `docs/data/publication_audit.json` before publishing or sharing the
|
| 30 |
+
project externally.
|
PROJECT_README.md
CHANGED
|
@@ -40,10 +40,13 @@ This repo is organized around an explicit proof boundary:
|
|
| 40 |
| Neural heads | `scripts/neural_task_models.py`, `results/episode_task_suite/neural_mlp/` | compact MLP heads, not a foundation model |
|
| 41 |
| Research directions | `research_direction_taxonomy.json`, extension probe results | direct/proxy/diagnostic evidence, not full solutions |
|
| 42 |
| Qwen3-Omni | `results/omni_finetune/DATA_BLOCKER_REPORT.md`, `A100_HF_RELAY_STATUS.md` | smoke-only until 32 valid episodes are available |
|
|
|
|
| 43 |
|
| 44 |
Read the full contract in [`EVIDENCE_CONTRACT.md`](EVIDENCE_CONTRACT.md), or
|
| 45 |
consume the machine-readable copy at
|
| 46 |
[`docs/data/evidence_contract.json`](docs/data/evidence_contract.json).
|
|
|
|
|
|
|
| 47 |
|
| 48 |
## Dataset Modality Coverage
|
| 49 |
|
|
@@ -75,6 +78,7 @@ Hugging Face Space app:
|
|
| 75 |
| Minimal heads | softmax, ridge projection/regression, multi-label logistic heads | Keeps every input/output contract visible and debuggable |
|
| 76 |
| Neural heads | PyTorch MLP classifiers/regressors under `neural_mlp/` | Checks whether nonlinear heads improve each task without changing features |
|
| 77 |
| Evidence | metrics, predictions, confusion matrices, diagrams, dashboard | Makes the single-episode claims reviewable without rerunning first |
|
|
|
|
| 78 |
|
| 79 |
## Links
|
| 80 |
|
|
@@ -135,6 +139,7 @@ scripts/
|
|
| 135 |
generate_visualizations.py # refreshes SVG charts + summary JSON
|
| 136 |
render_task_suite_infographic.py # renders the ChatGPT-image-backed PNG
|
| 137 |
render_overview_figures.py # renders polished pipeline/architecture PNGs
|
|
|
|
| 138 |
omni/
|
| 139 |
download_sample_modelscope.py # mainland-China friendly sample download
|
| 140 |
build_episode_manifest.py # metadata-only multi-episode scanner
|
|
@@ -157,6 +162,7 @@ docs/
|
|
| 157 |
index.html # GitHub Pages dashboard
|
| 158 |
data/summary_metrics.json # website-readable metrics bundle
|
| 159 |
data/evidence_contract.json # machine-readable proof boundary
|
|
|
|
| 160 |
data/research_directions.json # four-track website data bundle
|
| 161 |
data/research_direction_extensions.json # four extra probe data bundle
|
| 162 |
data/task_walkthroughs.json # beginner task explanation data bundle
|
|
|
|
| 40 |
| Neural heads | `scripts/neural_task_models.py`, `results/episode_task_suite/neural_mlp/` | compact MLP heads, not a foundation model |
|
| 41 |
| Research directions | `research_direction_taxonomy.json`, extension probe results | direct/proxy/diagnostic evidence, not full solutions |
|
| 42 |
| Qwen3-Omni | `results/omni_finetune/DATA_BLOCKER_REPORT.md`, `A100_HF_RELAY_STATUS.md` | smoke-only until 32 valid episodes are available |
|
| 43 |
+
| Publication hygiene | `scripts/validate_publication_package.py`, `docs/data/publication_audit.json` | public repo and HF bundles only; ignored local scratch files are excluded |
|
| 44 |
|
| 45 |
Read the full contract in [`EVIDENCE_CONTRACT.md`](EVIDENCE_CONTRACT.md), or
|
| 46 |
consume the machine-readable copy at
|
| 47 |
[`docs/data/evidence_contract.json`](docs/data/evidence_contract.json).
|
| 48 |
+
The current publication audit is at
|
| 49 |
+
[`docs/data/publication_audit.json`](docs/data/publication_audit.json).
|
| 50 |
|
| 51 |
## Dataset Modality Coverage
|
| 52 |
|
|
|
|
| 78 |
| Minimal heads | softmax, ridge projection/regression, multi-label logistic heads | Keeps every input/output contract visible and debuggable |
|
| 79 |
| Neural heads | PyTorch MLP classifiers/regressors under `neural_mlp/` | Checks whether nonlinear heads improve each task without changing features |
|
| 80 |
| Evidence | metrics, predictions, confusion matrices, diagrams, dashboard | Makes the single-episode claims reviewable without rerunning first |
|
| 81 |
+
| Publication audit | `docs/data/publication_audit.json` | Confirms public bundles contain no raw Xperience-10M data, Python caches, heavy archives, or token strings |
|
| 82 |
|
| 83 |
## Links
|
| 84 |
|
|
|
|
| 139 |
generate_visualizations.py # refreshes SVG charts + summary JSON
|
| 140 |
render_task_suite_infographic.py # renders the ChatGPT-image-backed PNG
|
| 141 |
render_overview_figures.py # renders polished pipeline/architecture PNGs
|
| 142 |
+
validate_publication_package.py # checks public repo + HF bundle hygiene
|
| 143 |
omni/
|
| 144 |
download_sample_modelscope.py # mainland-China friendly sample download
|
| 145 |
build_episode_manifest.py # metadata-only multi-episode scanner
|
|
|
|
| 162 |
index.html # GitHub Pages dashboard
|
| 163 |
data/summary_metrics.json # website-readable metrics bundle
|
| 164 |
data/evidence_contract.json # machine-readable proof boundary
|
| 165 |
+
data/publication_audit.json # machine-readable publication hygiene check
|
| 166 |
data/research_directions.json # four-track website data bundle
|
| 167 |
data/research_direction_extensions.json # four extra probe data bundle
|
| 168 |
data/task_walkthroughs.json # beginner task explanation data bundle
|
README.md
CHANGED
|
@@ -54,17 +54,18 @@ This is the reviewable half of the project. You can inspect the task outputs, co
|
|
| 54 |
| Neural heads | `results/episode_task_suite/neural_mlp/` | compact MLP heads, not a foundation model |
|
| 55 |
| Research directions | `research_direction_taxonomy.json`, extension probe results | direct/proxy/diagnostic evidence, not full solutions |
|
| 56 |
| Qwen3-Omni | `DATA_BLOCKER_REPORT.md`, `A100_HF_RELAY_STATUS.md` | smoke-only until 32 valid episodes are available |
|
|
|
|
| 57 |
|
| 58 |
## What Is Included
|
| 59 |
|
| 60 |
- `results/**/*.json`: verified metrics and metadata for minimal and neural MLP runs
|
| 61 |
- `results/**/*.csv`: predictions, confusion matrices, per-class metrics, windows, boundaries
|
| 62 |
-
- `results/**/*.npz`: compact derived neural prediction arrays for ranking/regression tasks
|
| 63 |
- `results/**/history.json`: neural MLP training traces
|
| 64 |
- `docs/assets/*.svg` and `docs/assets/*.png`: generated diagrams, charts, and ChatGPT-image-backed overview figures
|
| 65 |
- `docs/assets/task_suite_infographic.png`: ChatGPT-image-backed infographic with larger public-sample modality atlas thumbnails, including audio waveform context, and verified metric overlays
|
| 66 |
- `docs/data/summary_metrics.json`: dashboard-readable summary bundle
|
| 67 |
- `docs/data/evidence_contract.json`: machine-readable proof boundary
|
|
|
|
| 68 |
- `docs/data/research_directions.json`: generated four-track taxonomy for the website
|
| 69 |
- `docs/data/research_direction_extensions.json`: four extra data-backed probes, one per research direction
|
| 70 |
- `docs/data/task_walkthroughs.json`: beginner-oriented input/process/output guide for all 12 tasks
|
|
@@ -72,9 +73,13 @@ This is the reviewable half of the project. You can inspect the task outputs, co
|
|
| 72 |
- `results/episode_task_suite/research_direction_extensions/`: metrics, prediction CSVs, rank CSVs, and Markdown summary for the four extension probes
|
| 73 |
- `results/episode_task_suite/task_walkthroughs/`: case-study walkthroughs for every task contract
|
| 74 |
- `scripts/*.py`: reproduction scripts
|
|
|
|
| 75 |
- `notes/*.md`: interpretation and reproducibility notes
|
| 76 |
|
| 77 |
-
The companion model repo stores the lightweight model checkpoints and mirrors
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
https://huggingface.co/cy0307/ropedia-xperience-10m-task-baselines
|
| 80 |
|
|
|
|
| 54 |
| Neural heads | `results/episode_task_suite/neural_mlp/` | compact MLP heads, not a foundation model |
|
| 55 |
| Research directions | `research_direction_taxonomy.json`, extension probe results | direct/proxy/diagnostic evidence, not full solutions |
|
| 56 |
| Qwen3-Omni | `DATA_BLOCKER_REPORT.md`, `A100_HF_RELAY_STATUS.md` | smoke-only until 32 valid episodes are available |
|
| 57 |
+
| Publication hygiene | `docs/data/publication_audit.json`, `scripts/validate_publication_package.py` | public files and HF bundles only |
|
| 58 |
|
| 59 |
## What Is Included
|
| 60 |
|
| 61 |
- `results/**/*.json`: verified metrics and metadata for minimal and neural MLP runs
|
| 62 |
- `results/**/*.csv`: predictions, confusion matrices, per-class metrics, windows, boundaries
|
|
|
|
| 63 |
- `results/**/history.json`: neural MLP training traces
|
| 64 |
- `docs/assets/*.svg` and `docs/assets/*.png`: generated diagrams, charts, and ChatGPT-image-backed overview figures
|
| 65 |
- `docs/assets/task_suite_infographic.png`: ChatGPT-image-backed infographic with larger public-sample modality atlas thumbnails, including audio waveform context, and verified metric overlays
|
| 66 |
- `docs/data/summary_metrics.json`: dashboard-readable summary bundle
|
| 67 |
- `docs/data/evidence_contract.json`: machine-readable proof boundary
|
| 68 |
+
- `docs/data/publication_audit.json`: machine-readable publication hygiene check
|
| 69 |
- `docs/data/research_directions.json`: generated four-track taxonomy for the website
|
| 70 |
- `docs/data/research_direction_extensions.json`: four extra data-backed probes, one per research direction
|
| 71 |
- `docs/data/task_walkthroughs.json`: beginner-oriented input/process/output guide for all 12 tasks
|
|
|
|
| 73 |
- `results/episode_task_suite/research_direction_extensions/`: metrics, prediction CSVs, rank CSVs, and Markdown summary for the four extension probes
|
| 74 |
- `results/episode_task_suite/task_walkthroughs/`: case-study walkthroughs for every task contract
|
| 75 |
- `scripts/*.py`: reproduction scripts
|
| 76 |
+
- `scripts/validate_publication_package.py`: public bundle validator
|
| 77 |
- `notes/*.md`: interpretation and reproducibility notes
|
| 78 |
|
| 79 |
+
The companion model repo stores the lightweight model checkpoints and mirrors
|
| 80 |
+
the binary arrays (`model.npz`, `model.pt`, and compact neural prediction
|
| 81 |
+
arrays). This artifact dataset stays focused on reviewable CSV/JSON/Markdown,
|
| 82 |
+
scripts, notes, and visual assets:
|
| 83 |
|
| 84 |
https://huggingface.co/cy0307/ropedia-xperience-10m-task-baselines
|
| 85 |
|
docs/data/publication_audit.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "pass",
|
| 3 |
+
"generated_at_utc": "2026-05-31T22:03:21+00:00",
|
| 4 |
+
"checks": [
|
| 5 |
+
{
|
| 6 |
+
"name": "required_publication_assets_present",
|
| 7 |
+
"status": "pass",
|
| 8 |
+
"missing": []
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"name": "no_generated_python_caches",
|
| 12 |
+
"status": "pass",
|
| 13 |
+
"count": 0
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"name": "no_raw_xperience10m_data",
|
| 17 |
+
"status": "pass",
|
| 18 |
+
"count": 0
|
| 19 |
+
},
|
| 20 |
+
{
|
| 21 |
+
"name": "no_heavy_model_archives",
|
| 22 |
+
"status": "pass",
|
| 23 |
+
"count": 0
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"name": "no_hf_tokens_in_public_text",
|
| 27 |
+
"status": "pass",
|
| 28 |
+
"count": 0
|
| 29 |
+
}
|
| 30 |
+
],
|
| 31 |
+
"required_assets": {
|
| 32 |
+
"README.md": true,
|
| 33 |
+
"EVIDENCE_CONTRACT.md": true,
|
| 34 |
+
"DATA_NOTICE.md": true,
|
| 35 |
+
"docs/index.html": true,
|
| 36 |
+
"docs/data/evidence_contract.json": true,
|
| 37 |
+
"docs/data/summary_metrics.json": true,
|
| 38 |
+
"docs/assets/task_suite_infographic.png": true,
|
| 39 |
+
"docs/assets/pipeline_diagram.png": true,
|
| 40 |
+
"docs/assets/task_architectures.png": true,
|
| 41 |
+
"results/episode_task_suite/summary_report.json": true,
|
| 42 |
+
"results/episode_task_suite/feature_manifest.json": true,
|
| 43 |
+
"results/episode_task_suite/neural_mlp/timeline_action/metrics.json": true,
|
| 44 |
+
"results/omni_finetune/DATA_BLOCKER_REPORT.md": true,
|
| 45 |
+
"results/omni_finetune/A100_HF_RELAY_STATUS.md": true,
|
| 46 |
+
"scripts/episode_task_suite.py": true,
|
| 47 |
+
"scripts/neural_task_models.py": true,
|
| 48 |
+
"scripts/omni/train_qwen3_omni_lora.py": true
|
| 49 |
+
},
|
| 50 |
+
"scans": {
|
| 51 |
+
"github_repo": {
|
| 52 |
+
"root": "/Users/chaoyue/Documents/Codex/2026-05-29/i-am-learning-this-dataset-https/working_repo_copy",
|
| 53 |
+
"exists": true,
|
| 54 |
+
"file_count": 257,
|
| 55 |
+
"text_file_count": 197,
|
| 56 |
+
"largest_file": {
|
| 57 |
+
"path": "results/episode_task_suite/modality_reconstruction/predictions.npz",
|
| 58 |
+
"bytes": 52601010
|
| 59 |
+
},
|
| 60 |
+
"violations": []
|
| 61 |
+
},
|
| 62 |
+
"hf_space_bundle": {
|
| 63 |
+
"root": "/Users/chaoyue/Documents/Codex/2026-05-29/i-am-learning-this-dataset-https/hf_publish/space",
|
| 64 |
+
"exists": true,
|
| 65 |
+
"file_count": 25,
|
| 66 |
+
"text_file_count": 8,
|
| 67 |
+
"largest_file": {
|
| 68 |
+
"path": "assets/pipeline_diagram_base.png",
|
| 69 |
+
"bytes": 2279984
|
| 70 |
+
},
|
| 71 |
+
"violations": []
|
| 72 |
+
},
|
| 73 |
+
"hf_artifact_bundle": {
|
| 74 |
+
"root": "/Users/chaoyue/Documents/Codex/2026-05-29/i-am-learning-this-dataset-https/hf_publish/artifacts",
|
| 75 |
+
"exists": true,
|
| 76 |
+
"file_count": 220,
|
| 77 |
+
"text_file_count": 171,
|
| 78 |
+
"largest_file": {
|
| 79 |
+
"path": "results/episode_task_suite/neural_mlp/temporal_order/model.pt",
|
| 80 |
+
"bytes": 13406129
|
| 81 |
+
},
|
| 82 |
+
"violations": []
|
| 83 |
+
},
|
| 84 |
+
"hf_model_bundle": {
|
| 85 |
+
"root": "/Users/chaoyue/Documents/Codex/2026-05-29/i-am-learning-this-dataset-https/hf_publish/model",
|
| 86 |
+
"exists": true,
|
| 87 |
+
"file_count": 162,
|
| 88 |
+
"text_file_count": 116,
|
| 89 |
+
"largest_file": {
|
| 90 |
+
"path": "artifacts/episode_task_suite/cross_modal_retrieval/model.npz",
|
| 91 |
+
"bytes": 41310574
|
| 92 |
+
},
|
| 93 |
+
"violations": []
|
| 94 |
+
}
|
| 95 |
+
},
|
| 96 |
+
"violations": []
|
| 97 |
+
}
|
docs/index.html
CHANGED
|
@@ -370,6 +370,7 @@
|
|
| 370 |
.evidence-card h3 { margin: 0; font-size: 18px; line-height: 1.2; }
|
| 371 |
.evidence-card p { margin: 0; color: var(--muted); line-height: 1.6; }
|
| 372 |
.evidence-card code { color: var(--ink); font-family: var(--font-mono); font-size: 12px; }
|
|
|
|
| 373 |
.evidence-links {
|
| 374 |
display: flex;
|
| 375 |
flex-wrap: wrap;
|
|
@@ -632,6 +633,7 @@
|
|
| 632 |
@media (max-width: 640px) {
|
| 633 |
.wrap { width: min(100% - 28px, var(--max)); }
|
| 634 |
.hero-stats, .models, .task-grid, .artifact-grid, .evidence-grid, .chart-grid, .callout-row, .direction-grid, .baseline-strip, .extension-grid, .walkthrough-grid, .walk-flow { grid-template-columns: 1fr; }
|
|
|
|
| 635 |
.hero-inner, section { padding: 46px 0; }
|
| 636 |
.signal { grid-template-columns: 1fr; }
|
| 637 |
.signal strong { text-align: left; }
|
|
@@ -759,6 +761,15 @@
|
|
| 759 |
<a href="data/evidence_contract.json">machine JSON</a>
|
| 760 |
</div>
|
| 761 |
</article>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 762 |
</div>
|
| 763 |
</div>
|
| 764 |
</section>
|
|
|
|
| 370 |
.evidence-card h3 { margin: 0; font-size: 18px; line-height: 1.2; }
|
| 371 |
.evidence-card p { margin: 0; color: var(--muted); line-height: 1.6; }
|
| 372 |
.evidence-card code { color: var(--ink); font-family: var(--font-mono); font-size: 12px; }
|
| 373 |
+
.evidence-card:last-child { grid-column: 1 / -1; }
|
| 374 |
.evidence-links {
|
| 375 |
display: flex;
|
| 376 |
flex-wrap: wrap;
|
|
|
|
| 633 |
@media (max-width: 640px) {
|
| 634 |
.wrap { width: min(100% - 28px, var(--max)); }
|
| 635 |
.hero-stats, .models, .task-grid, .artifact-grid, .evidence-grid, .chart-grid, .callout-row, .direction-grid, .baseline-strip, .extension-grid, .walkthrough-grid, .walk-flow { grid-template-columns: 1fr; }
|
| 636 |
+
.evidence-card:last-child { grid-column: auto; }
|
| 637 |
.hero-inner, section { padding: 46px 0; }
|
| 638 |
.signal { grid-template-columns: 1fr; }
|
| 639 |
.signal strong { text-align: left; }
|
|
|
|
| 761 |
<a href="data/evidence_contract.json">machine JSON</a>
|
| 762 |
</div>
|
| 763 |
</article>
|
| 764 |
+
<article class="evidence-card">
|
| 765 |
+
<span class="status-pill">verified</span>
|
| 766 |
+
<h3>Publication bundles pass hygiene checks</h3>
|
| 767 |
+
<p>The validator checks required assets, raw-data exclusion, Python cache exclusion, heavy archive exclusion, and accidental HF token strings across GitHub and the HF bundles.</p>
|
| 768 |
+
<div class="evidence-links">
|
| 769 |
+
<a href="data/publication_audit.json">publication audit</a>
|
| 770 |
+
<a href="https://github.com/ChaoYue0307/ropedia-xperience-10m-task-suite/blob/main/scripts/validate_publication_package.py">validator script</a>
|
| 771 |
+
</div>
|
| 772 |
+
</article>
|
| 773 |
</div>
|
| 774 |
</div>
|
| 775 |
</section>
|
scripts/validate_publication_package.py
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Validate public publication hygiene for the repo and HF bundles.
|
| 3 |
+
|
| 4 |
+
This check is intentionally conservative: it scans the GitHub repo plus the
|
| 5 |
+
prepared Hugging Face Space/artifact/model folders for generated Python caches,
|
| 6 |
+
raw Xperience-10M data, heavyweight checkpoint formats that should not be
|
| 7 |
+
published here, and accidental Hugging Face token strings.
|
| 8 |
+
"""
|
| 9 |
+
|
| 10 |
+
from __future__ import annotations
|
| 11 |
+
|
| 12 |
+
import argparse
|
| 13 |
+
import json
|
| 14 |
+
import re
|
| 15 |
+
import subprocess
|
| 16 |
+
import sys
|
| 17 |
+
from datetime import datetime, timezone
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 22 |
+
DEFAULT_HF_ROOT = ROOT.parent / "hf_publish"
|
| 23 |
+
|
| 24 |
+
BANNED_DIR_NAMES = {"__pycache__"}
|
| 25 |
+
BANNED_FILE_NAMES = {".DS_Store"}
|
| 26 |
+
BANNED_SUFFIXES = {".pyc", ".pyo"}
|
| 27 |
+
RAW_DATA_SUFFIXES = {".mp4", ".hdf5", ".h5", ".rrd"}
|
| 28 |
+
HEAVY_MODEL_SUFFIXES = {".safetensors", ".bin", ".tar"}
|
| 29 |
+
TEXT_SUFFIXES = {
|
| 30 |
+
".csv",
|
| 31 |
+
".html",
|
| 32 |
+
".json",
|
| 33 |
+
".md",
|
| 34 |
+
".py",
|
| 35 |
+
".sh",
|
| 36 |
+
".txt",
|
| 37 |
+
".yaml",
|
| 38 |
+
".yml",
|
| 39 |
+
}
|
| 40 |
+
TOKEN_PATTERN = re.compile(r"hf_[A-Za-z0-9]{20,}")
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def rel(path: Path, base: Path) -> str:
|
| 44 |
+
try:
|
| 45 |
+
return path.relative_to(base).as_posix()
|
| 46 |
+
except ValueError:
|
| 47 |
+
return path.as_posix()
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
def git_public_paths(root: Path) -> list[Path] | None:
|
| 51 |
+
try:
|
| 52 |
+
result = subprocess.run(
|
| 53 |
+
["git", "-C", str(root), "ls-files", "--cached", "--others", "--exclude-standard"],
|
| 54 |
+
check=True,
|
| 55 |
+
stdout=subprocess.PIPE,
|
| 56 |
+
stderr=subprocess.DEVNULL,
|
| 57 |
+
text=True,
|
| 58 |
+
)
|
| 59 |
+
except (OSError, subprocess.CalledProcessError):
|
| 60 |
+
return None
|
| 61 |
+
return [root / line for line in result.stdout.splitlines() if line.strip()]
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
def iter_public_files(root: Path, paths: list[Path] | None = None):
|
| 65 |
+
if paths is not None:
|
| 66 |
+
for path in paths:
|
| 67 |
+
if path.exists():
|
| 68 |
+
yield path
|
| 69 |
+
return
|
| 70 |
+
if not root.exists():
|
| 71 |
+
return
|
| 72 |
+
for path in root.rglob("*"):
|
| 73 |
+
parts = set(path.parts)
|
| 74 |
+
if ".git" in parts or ".venv" in parts or "venv" in parts:
|
| 75 |
+
continue
|
| 76 |
+
yield path
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
def scan(root: Path, *, paths: list[Path] | None = None) -> dict:
|
| 80 |
+
violations: list[dict] = []
|
| 81 |
+
text_files = 0
|
| 82 |
+
total_files = 0
|
| 83 |
+
largest_file = {"path": None, "bytes": 0}
|
| 84 |
+
|
| 85 |
+
for path in iter_public_files(root, paths):
|
| 86 |
+
path_rel = rel(path, root)
|
| 87 |
+
if path.is_dir():
|
| 88 |
+
if path.name in BANNED_DIR_NAMES:
|
| 89 |
+
violations.append({"kind": "generated_cache_dir", "path": path_rel})
|
| 90 |
+
continue
|
| 91 |
+
|
| 92 |
+
total_files += 1
|
| 93 |
+
size = path.stat().st_size
|
| 94 |
+
if size > largest_file["bytes"]:
|
| 95 |
+
largest_file = {"path": path_rel, "bytes": size}
|
| 96 |
+
|
| 97 |
+
suffix = path.suffix.lower()
|
| 98 |
+
if path.name in BANNED_FILE_NAMES or suffix in BANNED_SUFFIXES:
|
| 99 |
+
violations.append({"kind": "generated_cache_file", "path": path_rel})
|
| 100 |
+
if suffix in RAW_DATA_SUFFIXES:
|
| 101 |
+
violations.append({"kind": "raw_xperience10m_data", "path": path_rel})
|
| 102 |
+
if suffix in HEAVY_MODEL_SUFFIXES:
|
| 103 |
+
violations.append({"kind": "heavy_model_or_archive", "path": path_rel})
|
| 104 |
+
|
| 105 |
+
if suffix in TEXT_SUFFIXES:
|
| 106 |
+
text_files += 1
|
| 107 |
+
try:
|
| 108 |
+
text = path.read_text(encoding="utf-8", errors="ignore")
|
| 109 |
+
except OSError:
|
| 110 |
+
continue
|
| 111 |
+
if TOKEN_PATTERN.search(text):
|
| 112 |
+
violations.append({"kind": "possible_hf_token", "path": path_rel})
|
| 113 |
+
|
| 114 |
+
return {
|
| 115 |
+
"root": str(root),
|
| 116 |
+
"exists": root.exists(),
|
| 117 |
+
"file_count": total_files,
|
| 118 |
+
"text_file_count": text_files,
|
| 119 |
+
"largest_file": largest_file,
|
| 120 |
+
"violations": violations,
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
def required_assets(root: Path) -> dict[str, bool]:
|
| 125 |
+
required = [
|
| 126 |
+
"README.md",
|
| 127 |
+
"EVIDENCE_CONTRACT.md",
|
| 128 |
+
"DATA_NOTICE.md",
|
| 129 |
+
"docs/index.html",
|
| 130 |
+
"docs/data/evidence_contract.json",
|
| 131 |
+
"docs/data/summary_metrics.json",
|
| 132 |
+
"docs/assets/task_suite_infographic.png",
|
| 133 |
+
"docs/assets/pipeline_diagram.png",
|
| 134 |
+
"docs/assets/task_architectures.png",
|
| 135 |
+
"results/episode_task_suite/summary_report.json",
|
| 136 |
+
"results/episode_task_suite/feature_manifest.json",
|
| 137 |
+
"results/episode_task_suite/neural_mlp/timeline_action/metrics.json",
|
| 138 |
+
"results/omni_finetune/DATA_BLOCKER_REPORT.md",
|
| 139 |
+
"results/omni_finetune/A100_HF_RELAY_STATUS.md",
|
| 140 |
+
"scripts/episode_task_suite.py",
|
| 141 |
+
"scripts/neural_task_models.py",
|
| 142 |
+
"scripts/omni/train_qwen3_omni_lora.py",
|
| 143 |
+
]
|
| 144 |
+
return {item: (root / item).exists() for item in required}
|
| 145 |
+
|
| 146 |
+
|
| 147 |
+
def build_report(hf_root: Path) -> dict:
|
| 148 |
+
roots = {
|
| 149 |
+
"github_repo": ROOT,
|
| 150 |
+
"hf_space_bundle": hf_root / "space",
|
| 151 |
+
"hf_artifact_bundle": hf_root / "artifacts",
|
| 152 |
+
"hf_model_bundle": hf_root / "model",
|
| 153 |
+
}
|
| 154 |
+
scans = {}
|
| 155 |
+
for name, path in roots.items():
|
| 156 |
+
public_paths = git_public_paths(path) if name == "github_repo" else None
|
| 157 |
+
scans[name] = scan(path, paths=public_paths)
|
| 158 |
+
assets = required_assets(ROOT)
|
| 159 |
+
missing_assets = [path for path, present in assets.items() if not present]
|
| 160 |
+
violations = [
|
| 161 |
+
{"root": name, **violation}
|
| 162 |
+
for name, result in scans.items()
|
| 163 |
+
for violation in result["violations"]
|
| 164 |
+
]
|
| 165 |
+
checks = [
|
| 166 |
+
{
|
| 167 |
+
"name": "required_publication_assets_present",
|
| 168 |
+
"status": "pass" if not missing_assets else "fail",
|
| 169 |
+
"missing": missing_assets,
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"name": "no_generated_python_caches",
|
| 173 |
+
"status": "pass"
|
| 174 |
+
if not any(v["kind"].startswith("generated_cache") for v in violations)
|
| 175 |
+
else "fail",
|
| 176 |
+
"count": sum(1 for v in violations if v["kind"].startswith("generated_cache")),
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"name": "no_raw_xperience10m_data",
|
| 180 |
+
"status": "pass" if not any(v["kind"] == "raw_xperience10m_data" for v in violations) else "fail",
|
| 181 |
+
"count": sum(1 for v in violations if v["kind"] == "raw_xperience10m_data"),
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"name": "no_heavy_model_archives",
|
| 185 |
+
"status": "pass" if not any(v["kind"] == "heavy_model_or_archive" for v in violations) else "fail",
|
| 186 |
+
"count": sum(1 for v in violations if v["kind"] == "heavy_model_or_archive"),
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"name": "no_hf_tokens_in_public_text",
|
| 190 |
+
"status": "pass" if not any(v["kind"] == "possible_hf_token" for v in violations) else "fail",
|
| 191 |
+
"count": sum(1 for v in violations if v["kind"] == "possible_hf_token"),
|
| 192 |
+
},
|
| 193 |
+
]
|
| 194 |
+
status = "pass" if all(check["status"] == "pass" for check in checks) else "fail"
|
| 195 |
+
return {
|
| 196 |
+
"status": status,
|
| 197 |
+
"generated_at_utc": datetime.now(timezone.utc).isoformat(timespec="seconds"),
|
| 198 |
+
"checks": checks,
|
| 199 |
+
"required_assets": assets,
|
| 200 |
+
"scans": scans,
|
| 201 |
+
"violations": violations,
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
def main() -> int:
|
| 206 |
+
parser = argparse.ArgumentParser()
|
| 207 |
+
parser.add_argument("--hf-root", type=Path, default=DEFAULT_HF_ROOT)
|
| 208 |
+
parser.add_argument("--output", type=Path, default=ROOT / "docs/data/publication_audit.json")
|
| 209 |
+
args = parser.parse_args()
|
| 210 |
+
|
| 211 |
+
report = build_report(args.hf_root.resolve())
|
| 212 |
+
args.output.parent.mkdir(parents=True, exist_ok=True)
|
| 213 |
+
args.output.write_text(json.dumps(report, indent=2) + "\n", encoding="utf-8")
|
| 214 |
+
print(f"{report['status'].upper()}: wrote {args.output}")
|
| 215 |
+
if report["status"] != "pass":
|
| 216 |
+
for violation in report["violations"][:40]:
|
| 217 |
+
print(f"- {violation['root']}: {violation['kind']} {violation['path']}")
|
| 218 |
+
if len(report["violations"]) > 40:
|
| 219 |
+
print(f"- ... {len(report['violations']) - 40} more violations")
|
| 220 |
+
return 1
|
| 221 |
+
return 0
|
| 222 |
+
|
| 223 |
+
|
| 224 |
+
if __name__ == "__main__":
|
| 225 |
+
raise SystemExit(main())
|