Simplify public training schema from 105 to 27 columns
Browse files- CHANGELOG.md +2 -0
- README.md +26 -3
- RELEASE_MANIFEST.json +113 -0
- SHA256SUMS.txt +14 -9
- data/context_multiturn_qa/eval-00000-of-00001.parquet +2 -2
- data/context_multiturn_qa/train-00000-of-00001.parquet +2 -2
- data/single_tool_calling/eval-00000-of-00001.parquet +2 -2
- data/single_tool_calling/train-00000-of-00001.parquet +2 -2
- data/single_turn_streaming/eval-00000-of-00001.parquet +2 -2
- data/single_turn_streaming/train-00000-of-00001.parquet +2 -2
- reports/PUBLIC_TRAINING_SCHEMA_ACCEPTANCE_V044.json +117 -0
- reports/PUBLIC_TRAINING_SCHEMA_SIMPLIFICATION_V044.json +163 -0
- scripts/100_refresh_release_checksums.py +41 -0
- scripts/101_validate_public_training_schema.py +124 -0
- scripts/99_simplify_public_training_schema.py +161 -0
CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
| 1 |
# Changelog
|
| 2 |
|
|
|
|
|
|
|
| 3 |
- Added pinned Taskmaster and SGD train-only expansion.
|
| 4 |
- Added schema 1.4 Teacher/Student/active-learning provenance.
|
| 5 |
- Added 9,000 exact-render OCR/screen fixtures and diverse deterministic tool fixtures.
|
|
|
|
| 1 |
# Changelog
|
| 2 |
|
| 3 |
+
- Published a compact 27-column training schema while retaining full release,
|
| 4 |
+
licensing, and quality-audit evidence outside the row-level Parquet view.
|
| 5 |
- Added pinned Taskmaster and SGD train-only expansion.
|
| 6 |
- Added schema 1.4 Teacher/Student/active-learning provenance.
|
| 7 |
- Added 9,000 exact-render OCR/screen fixtures and diverse deterministic tool fixtures.
|
README.md
CHANGED
|
@@ -34,6 +34,9 @@ Large-scale, model-aligned post-training release with **51,120 accepted rows** a
|
|
| 34 |
three configs and six group-isolated Parquet artifacts.
|
| 35 |
|
| 36 |
- Quality distribution: A 692, B 45,616, C 4,812.
|
|
|
|
|
|
|
|
|
|
| 37 |
- A is reserved for rows with external model review evidence; no row is represented
|
| 38 |
as human reviewed.
|
| 39 |
- Tool-call rows have deterministic execution replay verification.
|
|
@@ -60,12 +63,32 @@ tools = load_dataset(
|
|
| 60 |
)
|
| 61 |
```
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
## Licenses and media
|
| 64 |
|
| 65 |
This is a mixed-source dataset. Per-row normalized license and source-revision fields
|
| 66 |
-
|
| 67 |
-
`
|
| 68 |
-
|
|
|
|
|
|
|
| 69 |
|
| 70 |
See `RELEASE_MANIFEST.json`, `CHANGELOG.md`, `reports/`, and `SHA256SUMS.txt` for
|
| 71 |
release statistics, validation evidence, and integrity metadata.
|
|
|
|
| 34 |
three configs and six group-isolated Parquet artifacts.
|
| 35 |
|
| 36 |
- Quality distribution: A 692, B 45,616, C 4,812.
|
| 37 |
+
- The public training schema is reduced from 105 columns to 27 training-facing
|
| 38 |
+
columns. Release, reviewer, API, hash, and model-version metadata remains in the
|
| 39 |
+
repository reports rather than being repeated on every training row.
|
| 40 |
- A is reserved for rows with external model review evidence; no row is represented
|
| 41 |
as human reviewed.
|
| 42 |
- Tool-call rows have deterministic execution replay verification.
|
|
|
|
| 63 |
)
|
| 64 |
```
|
| 65 |
|
| 66 |
+
## Compact training schema
|
| 67 |
+
|
| 68 |
+
The public Parquet files retain:
|
| 69 |
+
|
| 70 |
+
- task routing: `task_type`, `domain`, `capabilities`, modalities, and languages;
|
| 71 |
+
- training inputs and outputs: `instruction`, `context_text`, `turns`, `timeline`,
|
| 72 |
+
`media`, `targets`, and `tool_schema_json`;
|
| 73 |
+
- sampling controls: `quality_grade`, `recommended_training_weight`,
|
| 74 |
+
`context_dependency`, and `translation_subtype`;
|
| 75 |
+
- speech/tool supervision: `speech_output_duration`, `alignment_words`,
|
| 76 |
+
`tool_error_type`, and `tool_validation_status`;
|
| 77 |
+
- leakage and legal essentials: `group_id`, `split`, `source_dataset`, and
|
| 78 |
+
`license_spdx`.
|
| 79 |
+
|
| 80 |
+
Fields such as `streaming_type`, `causal_validity`, `transformation_pipeline`,
|
| 81 |
+
schema/pipeline/model versions, reviewer request hashes, API status, and publication
|
| 82 |
+
state were removed from the row-level training view.
|
| 83 |
+
|
| 84 |
## Licenses and media
|
| 85 |
|
| 86 |
This is a mixed-source dataset. Per-row normalized license and source-revision fields
|
| 87 |
+
from the validated full release remain available in the audit artifacts; the compact
|
| 88 |
+
training view retains `source_dataset` and `license_spdx`. Source license texts and
|
| 89 |
+
audit evidence are included under `licenses/` and `registry/`. Media that cannot be
|
| 90 |
+
redistributed is represented by a source reference rather than copied into this
|
| 91 |
+
repository.
|
| 92 |
|
| 93 |
See `RELEASE_MANIFEST.json`, `CHANGELOG.md`, `reports/`, and `SHA256SUMS.txt` for
|
| 94 |
release statistics, validation evidence, and integrity metadata.
|
RELEASE_MANIFEST.json
CHANGED
|
@@ -104,6 +104,119 @@
|
|
| 104 |
"model_reviewed_count": 1280,
|
| 105 |
"new_accepted_rows": 35596,
|
| 106 |
"parent_version": "v0.4.3-model-reviewed-expansion-local-rc1",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
"publication_status": "local_only",
|
| 108 |
"publish_allowed": false,
|
| 109 |
"quality_distribution": {
|
|
|
|
| 104 |
"model_reviewed_count": 1280,
|
| 105 |
"new_accepted_rows": 35596,
|
| 106 |
"parent_version": "v0.4.3-model-reviewed-expansion-local-rc1",
|
| 107 |
+
"public_removed_column_count": 78,
|
| 108 |
+
"public_removed_columns": [
|
| 109 |
+
"schema_version",
|
| 110 |
+
"interaction_regime",
|
| 111 |
+
"streaming_type",
|
| 112 |
+
"causal_validity",
|
| 113 |
+
"source_config",
|
| 114 |
+
"source_split",
|
| 115 |
+
"source_id",
|
| 116 |
+
"source_url",
|
| 117 |
+
"source_license",
|
| 118 |
+
"data_origin",
|
| 119 |
+
"transformation_pipeline",
|
| 120 |
+
"pipeline_version",
|
| 121 |
+
"quality",
|
| 122 |
+
"publication_notes",
|
| 123 |
+
"source_revision",
|
| 124 |
+
"media_checksum",
|
| 125 |
+
"automated_quality_score",
|
| 126 |
+
"quality_reasons",
|
| 127 |
+
"review_status",
|
| 128 |
+
"alignment_method",
|
| 129 |
+
"alignment_confidence",
|
| 130 |
+
"annotation_details_json",
|
| 131 |
+
"license_raw",
|
| 132 |
+
"license_normalized",
|
| 133 |
+
"license_family",
|
| 134 |
+
"license_version",
|
| 135 |
+
"commercial_use_allowed",
|
| 136 |
+
"redistribution_allowed",
|
| 137 |
+
"derivative_use_allowed",
|
| 138 |
+
"attribution_required",
|
| 139 |
+
"share_alike_required",
|
| 140 |
+
"source_terms_url",
|
| 141 |
+
"license_resolution_status",
|
| 142 |
+
"license_resolution_notes",
|
| 143 |
+
"alignment_tier",
|
| 144 |
+
"alignment_status",
|
| 145 |
+
"alignment_types",
|
| 146 |
+
"alignment_candidate_id",
|
| 147 |
+
"requires_external_api_alignment",
|
| 148 |
+
"external_alignment_priority",
|
| 149 |
+
"tool_executor_version",
|
| 150 |
+
"tool_fixture_version",
|
| 151 |
+
"evidence_alignment_status",
|
| 152 |
+
"verification_status",
|
| 153 |
+
"review_method",
|
| 154 |
+
"human_reviewed",
|
| 155 |
+
"review_models",
|
| 156 |
+
"review_model_versions",
|
| 157 |
+
"review_prompt_versions",
|
| 158 |
+
"review_primary_decision",
|
| 159 |
+
"review_secondary_decision",
|
| 160 |
+
"review_adjudicator_decision",
|
| 161 |
+
"review_scores_json",
|
| 162 |
+
"review_confidence",
|
| 163 |
+
"review_critical_errors",
|
| 164 |
+
"review_request_hashes",
|
| 165 |
+
"review_response_hashes",
|
| 166 |
+
"review_cost",
|
| 167 |
+
"generation_model",
|
| 168 |
+
"generation_prompt_version",
|
| 169 |
+
"model_revision_status",
|
| 170 |
+
"external_review_run_id",
|
| 171 |
+
"review_details_json",
|
| 172 |
+
"teacher_model",
|
| 173 |
+
"teacher_prompt_version",
|
| 174 |
+
"student_model",
|
| 175 |
+
"student_model_revision",
|
| 176 |
+
"student_checkpoint",
|
| 177 |
+
"student_confidence",
|
| 178 |
+
"student_calibrated_confidence",
|
| 179 |
+
"active_learning_round",
|
| 180 |
+
"generation_method",
|
| 181 |
+
"alignment_model",
|
| 182 |
+
"alignment_model_revision",
|
| 183 |
+
"external_review_eligibility",
|
| 184 |
+
"api_transfer_status",
|
| 185 |
+
"review_scope",
|
| 186 |
+
"review_run_id"
|
| 187 |
+
],
|
| 188 |
+
"public_schema_simplified_at": "2026-07-25T15:27:02.020459+00:00",
|
| 189 |
+
"public_training_column_count": 27,
|
| 190 |
+
"public_training_columns": [
|
| 191 |
+
"id",
|
| 192 |
+
"task_type",
|
| 193 |
+
"domain",
|
| 194 |
+
"capabilities",
|
| 195 |
+
"input_modalities",
|
| 196 |
+
"output_modalities",
|
| 197 |
+
"source_language",
|
| 198 |
+
"target_language",
|
| 199 |
+
"instruction",
|
| 200 |
+
"context_text",
|
| 201 |
+
"turns",
|
| 202 |
+
"timeline",
|
| 203 |
+
"media",
|
| 204 |
+
"targets",
|
| 205 |
+
"tool_schema_json",
|
| 206 |
+
"quality_grade",
|
| 207 |
+
"recommended_training_weight",
|
| 208 |
+
"context_dependency",
|
| 209 |
+
"translation_subtype",
|
| 210 |
+
"speech_output_duration",
|
| 211 |
+
"alignment_words",
|
| 212 |
+
"tool_error_type",
|
| 213 |
+
"tool_validation_status",
|
| 214 |
+
"group_id",
|
| 215 |
+
"split",
|
| 216 |
+
"source_dataset",
|
| 217 |
+
"license_spdx"
|
| 218 |
+
],
|
| 219 |
+
"public_training_schema_version": "streaming_omni_training_slim_1.0",
|
| 220 |
"publication_status": "local_only",
|
| 221 |
"publish_allowed": false,
|
| 222 |
"quality_distribution": {
|
SHA256SUMS.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
7e0f13aa0cd0c36d081acca242497d538f89889db4161cfc3f2556d30746c0d8 builder/53_finalize_v042.py
|
| 5 |
fcabd39f3ada02267d30dabc14ece7cbc3ee2f1f0606b5d00b638bbf94044003 builder/53_freeze_v042_rc.py
|
| 6 |
9921e84e770bae35236c180af89389f0fcb537b113be235faaf7e619fb12a6b6 builder/54_discover_v043_sources.py
|
|
@@ -417,12 +417,12 @@ f28800c6acca71931061ef40c6d84355450a6680dfe6dfb299d04f204a06e09c builder/v044/t
|
|
| 417 |
eb3a736d17cf42d1b902088b02e2aeba53f5a13b6f4593761d9d5ee4be924cad builder/v044/text_judge_data/holdout.jsonl
|
| 418 |
04ecd384d5e802e9cd0ff7c55de2d2746d32eba0402e328841916453094a0b19 builder/v044/text_judge_data/manifest.json
|
| 419 |
4212c8a18bb64c9db185d6632e58b570b88df8a756dfff21b3b2a887259f5a7d builder/v044/text_judge_data/train.jsonl
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
|
| 423 |
-
|
| 424 |
-
|
| 425 |
-
|
| 426 |
e465b77b19fd2ca9c68e276dc6d81f1d54c7834efff8deb6403fc3e5b8e3d8f1 licenses/LICENSE_POLICY.md
|
| 427 |
71a43a169b52bb1b39510b65ec5b43b4bbb59196d449a835fe58b50af6a72742 licenses/v044_sources/SGD_CC_BY_SA_4_LICENSE.txt
|
| 428 |
05e1bc05724716ca7905f567a2ec30d99c8d2f5f58e926c2ca7d9da116002446 licenses/v044_sources/TASKMASTER_1_LICENSE_README.md
|
|
@@ -10956,6 +10956,8 @@ ae50fd72e3975e2f2329ef5142612a1263e8c2544e1c2009687263e2a0186625 reports/MODEL_
|
|
| 10956 |
f46b9c8aef6705c5db74c94093c8fd5656e50e76e1e4e73dabe01db5a2f89991 reports/MODEL_REVIEW_REVISION_REPORT.md
|
| 10957 |
b38dbaca82fb48034856d5e6146ac9fd2f11c88331a694b58f334748f10c65f4 reports/MULTITURN_EXPANSION_V043.md
|
| 10958 |
ac758fe8271ca010258a53b23e4150c1ddf851ba99bc82661e37b9569f55d16e reports/PROACTIVE_MODEL_LABELING_V043.md
|
|
|
|
|
|
|
| 10959 |
3bf057ba780a1d333353b1ca0d788ca60244ebe34d88c915a6c5f969dffff020 reports/QUALITY_DISTRIBUTION_V043.md
|
| 10960 |
963dcd43d124cc8c76bae19bf353fced6f846b96f7221c235d4b29af3596ef4e reports/RECIPE_DRY_RUN_V044.json
|
| 10961 |
20916372780f1ef3bd46c3438130787239da9a2e17f4f398359e5929a557fd2a reports/SCREEN_OCR_EXPANSION_V043.md
|
|
@@ -10994,6 +10996,9 @@ a37786a309dc8ae9f4917b980ee615df63baffb81cd0c1ef45335bfcff39d5ff schema/canonic
|
|
| 10994 |
ed59644b4e935f14ac17570d65ab529d331723946f4e934fa78fa56c0a563c1f schema/review_details.schema.json
|
| 10995 |
c27f7a4a69b35a93c341a1f954afee9401861ff8f28cf689a4fa853d15d50a58 schema/schema_version.txt
|
| 10996 |
1c78dc4f0a139e25fbb68ff1624920c0f69fb5397db7d48166ca366a30c69d1a schema/v044_review_details.schema.json
|
|
|
|
|
|
|
|
|
|
| 10997 |
7945c63df940cb830ab8f69eb9e4ea51d0bbb77bf6045dc43d71c3ecdc508a14 scripts/publish_v041_quality_after_approval.sh
|
| 10998 |
500a5a195f4bbe2cb2a5c79efb6c0e08638d1c8ef4f12cefff0db838dbbf13bc scripts/tools/executors/deterministic_executor.py
|
| 10999 |
c33fd94abd031edf0b500e55260d7c2353848693327adf6575ef3d82990cc7ab scripts/tools/fixtures/v041_rc_tool_fixtures.jsonl
|
|
|
|
| 1 |
+
2530f15a297b86a10041c41f3e2adeeb0556f870416d756f7e85ac621722a9f1 CHANGELOG.md
|
| 2 |
+
639abf99bc9666410b05c29c824804d59b880dde5801c5c615dda9166926d200 README.md
|
| 3 |
+
0f274d6d3f9daca7387d4a7b5f12ad944f7ba8f47c66122702ab2e220dc48a48 RELEASE_MANIFEST.json
|
| 4 |
7e0f13aa0cd0c36d081acca242497d538f89889db4161cfc3f2556d30746c0d8 builder/53_finalize_v042.py
|
| 5 |
fcabd39f3ada02267d30dabc14ece7cbc3ee2f1f0606b5d00b638bbf94044003 builder/53_freeze_v042_rc.py
|
| 6 |
9921e84e770bae35236c180af89389f0fcb537b113be235faaf7e619fb12a6b6 builder/54_discover_v043_sources.py
|
|
|
|
| 417 |
eb3a736d17cf42d1b902088b02e2aeba53f5a13b6f4593761d9d5ee4be924cad builder/v044/text_judge_data/holdout.jsonl
|
| 418 |
04ecd384d5e802e9cd0ff7c55de2d2746d32eba0402e328841916453094a0b19 builder/v044/text_judge_data/manifest.json
|
| 419 |
4212c8a18bb64c9db185d6632e58b570b88df8a756dfff21b3b2a887259f5a7d builder/v044/text_judge_data/train.jsonl
|
| 420 |
+
7eb183faa77f4a8521cdf5916d97d14ef046d623eaab029c4283db1d8f82c013 data/context_multiturn_qa/eval-00000-of-00001.parquet
|
| 421 |
+
89ed379ecbdfc07fa9d22ca86522d69c4ae9f7261558b502864aa142e08689a8 data/context_multiturn_qa/train-00000-of-00001.parquet
|
| 422 |
+
b85d374ade5418904b3719a523a14379b03dfa8bcc4c03d5c7ef32d62ad67101 data/single_tool_calling/eval-00000-of-00001.parquet
|
| 423 |
+
a908141faa662b1418adcd33abf3d5638ed0ef551be34a0ae7fa9a383958e34f data/single_tool_calling/train-00000-of-00001.parquet
|
| 424 |
+
bf962a8c653bdc263ae5524906824bc02fe60d3036b9a573836102a96b165e41 data/single_turn_streaming/eval-00000-of-00001.parquet
|
| 425 |
+
d3f2a9f602a934ecb825b1f892ed465f5c198716b9a9cd70792e510b110462ee data/single_turn_streaming/train-00000-of-00001.parquet
|
| 426 |
e465b77b19fd2ca9c68e276dc6d81f1d54c7834efff8deb6403fc3e5b8e3d8f1 licenses/LICENSE_POLICY.md
|
| 427 |
71a43a169b52bb1b39510b65ec5b43b4bbb59196d449a835fe58b50af6a72742 licenses/v044_sources/SGD_CC_BY_SA_4_LICENSE.txt
|
| 428 |
05e1bc05724716ca7905f567a2ec30d99c8d2f5f58e926c2ca7d9da116002446 licenses/v044_sources/TASKMASTER_1_LICENSE_README.md
|
|
|
|
| 10956 |
f46b9c8aef6705c5db74c94093c8fd5656e50e76e1e4e73dabe01db5a2f89991 reports/MODEL_REVIEW_REVISION_REPORT.md
|
| 10957 |
b38dbaca82fb48034856d5e6146ac9fd2f11c88331a694b58f334748f10c65f4 reports/MULTITURN_EXPANSION_V043.md
|
| 10958 |
ac758fe8271ca010258a53b23e4150c1ddf851ba99bc82661e37b9569f55d16e reports/PROACTIVE_MODEL_LABELING_V043.md
|
| 10959 |
+
f8cba29e1ca30a9fcfb4900739bc3d34ab56f51ad3db53324ffaf903581b97dd reports/PUBLIC_TRAINING_SCHEMA_ACCEPTANCE_V044.json
|
| 10960 |
+
8ec7db582526fd523295e402f5ffa8790447e0457d510b476b57df3cfc99a8bd reports/PUBLIC_TRAINING_SCHEMA_SIMPLIFICATION_V044.json
|
| 10961 |
3bf057ba780a1d333353b1ca0d788ca60244ebe34d88c915a6c5f969dffff020 reports/QUALITY_DISTRIBUTION_V043.md
|
| 10962 |
963dcd43d124cc8c76bae19bf353fced6f846b96f7221c235d4b29af3596ef4e reports/RECIPE_DRY_RUN_V044.json
|
| 10963 |
20916372780f1ef3bd46c3438130787239da9a2e17f4f398359e5929a557fd2a reports/SCREEN_OCR_EXPANSION_V043.md
|
|
|
|
| 10996 |
ed59644b4e935f14ac17570d65ab529d331723946f4e934fa78fa56c0a563c1f schema/review_details.schema.json
|
| 10997 |
c27f7a4a69b35a93c341a1f954afee9401861ff8f28cf689a4fa853d15d50a58 schema/schema_version.txt
|
| 10998 |
1c78dc4f0a139e25fbb68ff1624920c0f69fb5397db7d48166ca366a30c69d1a schema/v044_review_details.schema.json
|
| 10999 |
+
4f6131653c4ca7a2c87133e5b899033ccffaaf99d61999200c7206fd1bd9b5be scripts/100_refresh_release_checksums.py
|
| 11000 |
+
8c33893c2d597a47bd433352c9e2862d941bf65015f2c9bec45d79a2379cc61e scripts/101_validate_public_training_schema.py
|
| 11001 |
+
d1b26863578d441e8bd8923da2e01cca8deb8cbb37906902c485282e9609f121 scripts/99_simplify_public_training_schema.py
|
| 11002 |
7945c63df940cb830ab8f69eb9e4ea51d0bbb77bf6045dc43d71c3ecdc508a14 scripts/publish_v041_quality_after_approval.sh
|
| 11003 |
500a5a195f4bbe2cb2a5c79efb6c0e08638d1c8ef4f12cefff0db838dbbf13bc scripts/tools/executors/deterministic_executor.py
|
| 11004 |
c33fd94abd031edf0b500e55260d7c2353848693327adf6575ef3d82990cc7ab scripts/tools/fixtures/v041_rc_tool_fixtures.jsonl
|
data/context_multiturn_qa/eval-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7eb183faa77f4a8521cdf5916d97d14ef046d623eaab029c4283db1d8f82c013
|
| 3 |
+
size 989569
|
data/context_multiturn_qa/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89ed379ecbdfc07fa9d22ca86522d69c4ae9f7261558b502864aa142e08689a8
|
| 3 |
+
size 8149316
|
data/single_tool_calling/eval-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b85d374ade5418904b3719a523a14379b03dfa8bcc4c03d5c7ef32d62ad67101
|
| 3 |
+
size 113108
|
data/single_tool_calling/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a908141faa662b1418adcd33abf3d5638ed0ef551be34a0ae7fa9a383958e34f
|
| 3 |
+
size 787733
|
data/single_turn_streaming/eval-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf962a8c653bdc263ae5524906824bc02fe60d3036b9a573836102a96b165e41
|
| 3 |
+
size 1272721
|
data/single_turn_streaming/train-00000-of-00001.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3f2a9f602a934ecb825b1f892ed465f5c198716b9a9cd70792e510b110462ee
|
| 3 |
+
size 20233140
|
reports/PUBLIC_TRAINING_SCHEMA_ACCEPTANCE_V044.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns": 27,
|
| 3 |
+
"failed_gates": [],
|
| 4 |
+
"files": 6,
|
| 5 |
+
"gates": [
|
| 6 |
+
{
|
| 7 |
+
"evidence": 6,
|
| 8 |
+
"name": "six_parquet_files",
|
| 9 |
+
"status": "PASS"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"evidence": [
|
| 13 |
+
"id",
|
| 14 |
+
"task_type",
|
| 15 |
+
"domain",
|
| 16 |
+
"capabilities",
|
| 17 |
+
"input_modalities",
|
| 18 |
+
"output_modalities",
|
| 19 |
+
"source_language",
|
| 20 |
+
"target_language",
|
| 21 |
+
"instruction",
|
| 22 |
+
"context_text",
|
| 23 |
+
"turns",
|
| 24 |
+
"timeline",
|
| 25 |
+
"media",
|
| 26 |
+
"targets",
|
| 27 |
+
"tool_schema_json",
|
| 28 |
+
"quality_grade",
|
| 29 |
+
"recommended_training_weight",
|
| 30 |
+
"context_dependency",
|
| 31 |
+
"translation_subtype",
|
| 32 |
+
"speech_output_duration",
|
| 33 |
+
"alignment_words",
|
| 34 |
+
"tool_error_type",
|
| 35 |
+
"tool_validation_status",
|
| 36 |
+
"group_id",
|
| 37 |
+
"split",
|
| 38 |
+
"source_dataset",
|
| 39 |
+
"license_spdx"
|
| 40 |
+
],
|
| 41 |
+
"name": "exact_27_columns",
|
| 42 |
+
"status": "PASS"
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"evidence": 6,
|
| 46 |
+
"name": "identical_schema_across_splits",
|
| 47 |
+
"status": "PASS"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"evidence": [
|
| 51 |
+
"alignment_model_revision",
|
| 52 |
+
"causal_validity",
|
| 53 |
+
"pipeline_version",
|
| 54 |
+
"review_model_versions",
|
| 55 |
+
"schema_version",
|
| 56 |
+
"streaming_type",
|
| 57 |
+
"student_model_revision",
|
| 58 |
+
"transformation_pipeline"
|
| 59 |
+
],
|
| 60 |
+
"name": "requested_metadata_removed",
|
| 61 |
+
"status": "PASS"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"evidence": [],
|
| 65 |
+
"name": "all_declared_removed_columns_absent",
|
| 66 |
+
"status": "PASS"
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"evidence": {
|
| 70 |
+
"actual": 51120,
|
| 71 |
+
"expected": 51120
|
| 72 |
+
},
|
| 73 |
+
"name": "row_count_preserved",
|
| 74 |
+
"status": "PASS"
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"evidence": {
|
| 78 |
+
"rows": 51120,
|
| 79 |
+
"unique_ids": 51120
|
| 80 |
+
},
|
| 81 |
+
"name": "global_id_unique",
|
| 82 |
+
"status": "PASS"
|
| 83 |
+
},
|
| 84 |
+
{
|
| 85 |
+
"evidence": {
|
| 86 |
+
"leaking_groups": 0
|
| 87 |
+
},
|
| 88 |
+
"name": "group_split_isolation",
|
| 89 |
+
"status": "PASS"
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"evidence": {
|
| 93 |
+
"expected": 6,
|
| 94 |
+
"matched_files": 6
|
| 95 |
+
},
|
| 96 |
+
"name": "full_schema_training_payload_match",
|
| 97 |
+
"status": "PASS"
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"evidence": "PASS",
|
| 101 |
+
"name": "projection_report_pass",
|
| 102 |
+
"status": "PASS"
|
| 103 |
+
}
|
| 104 |
+
],
|
| 105 |
+
"projection": "streaming_omni_training_slim_1.0",
|
| 106 |
+
"rows": 51120,
|
| 107 |
+
"split_rows": {
|
| 108 |
+
"context_multiturn_qa/eval-00000-of-00001.parquet": 2554,
|
| 109 |
+
"context_multiturn_qa/train-00000-of-00001.parquet": 22005,
|
| 110 |
+
"single_tool_calling/eval-00000-of-00001.parquet": 942,
|
| 111 |
+
"single_tool_calling/train-00000-of-00001.parquet": 8825,
|
| 112 |
+
"single_turn_streaming/eval-00000-of-00001.parquet": 1832,
|
| 113 |
+
"single_turn_streaming/train-00000-of-00001.parquet": 14962
|
| 114 |
+
},
|
| 115 |
+
"status": "PASS",
|
| 116 |
+
"validated_at": "2026-07-25T15:29:50.597604+00:00"
|
| 117 |
+
}
|
reports/PUBLIC_TRAINING_SCHEMA_SIMPLIFICATION_V044.json
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"columns_after": 27,
|
| 3 |
+
"columns_before": 105,
|
| 4 |
+
"file_results": [
|
| 5 |
+
{
|
| 6 |
+
"bytes_after": 989569,
|
| 7 |
+
"bytes_before": 1415399,
|
| 8 |
+
"path": "data/context_multiturn_qa/eval-00000-of-00001.parquet",
|
| 9 |
+
"rows": 2554,
|
| 10 |
+
"training_payload_sha256": "8fc718b35f42e88e0b7e676c5b04045ad9594be8e82b3687519ebf69ea093ab8"
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"bytes_after": 8149316,
|
| 14 |
+
"bytes_before": 11599521,
|
| 15 |
+
"path": "data/context_multiturn_qa/train-00000-of-00001.parquet",
|
| 16 |
+
"rows": 22005,
|
| 17 |
+
"training_payload_sha256": "d5d4c17a191ba08eace002a563b655fa2f67376d08a0bd5fe0739a056dbc8741"
|
| 18 |
+
},
|
| 19 |
+
{
|
| 20 |
+
"bytes_after": 113108,
|
| 21 |
+
"bytes_before": 170938,
|
| 22 |
+
"path": "data/single_tool_calling/eval-00000-of-00001.parquet",
|
| 23 |
+
"rows": 942,
|
| 24 |
+
"training_payload_sha256": "9f18418402644a8be3ce47a8ed0bb30e2c7c82893a69ca83282aa7f40a013eb3"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"bytes_after": 787733,
|
| 28 |
+
"bytes_before": 1089489,
|
| 29 |
+
"path": "data/single_tool_calling/train-00000-of-00001.parquet",
|
| 30 |
+
"rows": 8825,
|
| 31 |
+
"training_payload_sha256": "9914c666876d7207c5d8721140b43ce14aee57c77cd1aa105fcdd9fe49a6f58c"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"bytes_after": 1272721,
|
| 35 |
+
"bytes_before": 1427123,
|
| 36 |
+
"path": "data/single_turn_streaming/eval-00000-of-00001.parquet",
|
| 37 |
+
"rows": 1832,
|
| 38 |
+
"training_payload_sha256": "0ac31c6e103665388c1c14b72af8975b71f723a8188cbc2b4c6bdd54797fa75b"
|
| 39 |
+
},
|
| 40 |
+
{
|
| 41 |
+
"bytes_after": 20233140,
|
| 42 |
+
"bytes_before": 21411710,
|
| 43 |
+
"path": "data/single_turn_streaming/train-00000-of-00001.parquet",
|
| 44 |
+
"rows": 14962,
|
| 45 |
+
"training_payload_sha256": "e9d6dea91a25c74a5e57cbff77dd6eb73fc086c38a312a1b096e2826ffd40cba"
|
| 46 |
+
}
|
| 47 |
+
],
|
| 48 |
+
"files": 6,
|
| 49 |
+
"generated_at": "2026-07-25T15:27:02.020459+00:00",
|
| 50 |
+
"kept_columns": [
|
| 51 |
+
"id",
|
| 52 |
+
"task_type",
|
| 53 |
+
"domain",
|
| 54 |
+
"capabilities",
|
| 55 |
+
"input_modalities",
|
| 56 |
+
"output_modalities",
|
| 57 |
+
"source_language",
|
| 58 |
+
"target_language",
|
| 59 |
+
"instruction",
|
| 60 |
+
"context_text",
|
| 61 |
+
"turns",
|
| 62 |
+
"timeline",
|
| 63 |
+
"media",
|
| 64 |
+
"targets",
|
| 65 |
+
"tool_schema_json",
|
| 66 |
+
"quality_grade",
|
| 67 |
+
"recommended_training_weight",
|
| 68 |
+
"context_dependency",
|
| 69 |
+
"translation_subtype",
|
| 70 |
+
"speech_output_duration",
|
| 71 |
+
"alignment_words",
|
| 72 |
+
"tool_error_type",
|
| 73 |
+
"tool_validation_status",
|
| 74 |
+
"group_id",
|
| 75 |
+
"split",
|
| 76 |
+
"source_dataset",
|
| 77 |
+
"license_spdx"
|
| 78 |
+
],
|
| 79 |
+
"projection": "streaming_omni_training_slim_1.0",
|
| 80 |
+
"removed_columns": [
|
| 81 |
+
"schema_version",
|
| 82 |
+
"interaction_regime",
|
| 83 |
+
"streaming_type",
|
| 84 |
+
"causal_validity",
|
| 85 |
+
"source_config",
|
| 86 |
+
"source_split",
|
| 87 |
+
"source_id",
|
| 88 |
+
"source_url",
|
| 89 |
+
"source_license",
|
| 90 |
+
"data_origin",
|
| 91 |
+
"transformation_pipeline",
|
| 92 |
+
"pipeline_version",
|
| 93 |
+
"quality",
|
| 94 |
+
"publication_notes",
|
| 95 |
+
"source_revision",
|
| 96 |
+
"media_checksum",
|
| 97 |
+
"automated_quality_score",
|
| 98 |
+
"quality_reasons",
|
| 99 |
+
"review_status",
|
| 100 |
+
"alignment_method",
|
| 101 |
+
"alignment_confidence",
|
| 102 |
+
"annotation_details_json",
|
| 103 |
+
"license_raw",
|
| 104 |
+
"license_normalized",
|
| 105 |
+
"license_family",
|
| 106 |
+
"license_version",
|
| 107 |
+
"commercial_use_allowed",
|
| 108 |
+
"redistribution_allowed",
|
| 109 |
+
"derivative_use_allowed",
|
| 110 |
+
"attribution_required",
|
| 111 |
+
"share_alike_required",
|
| 112 |
+
"source_terms_url",
|
| 113 |
+
"license_resolution_status",
|
| 114 |
+
"license_resolution_notes",
|
| 115 |
+
"alignment_tier",
|
| 116 |
+
"alignment_status",
|
| 117 |
+
"alignment_types",
|
| 118 |
+
"alignment_candidate_id",
|
| 119 |
+
"requires_external_api_alignment",
|
| 120 |
+
"external_alignment_priority",
|
| 121 |
+
"tool_executor_version",
|
| 122 |
+
"tool_fixture_version",
|
| 123 |
+
"evidence_alignment_status",
|
| 124 |
+
"verification_status",
|
| 125 |
+
"review_method",
|
| 126 |
+
"human_reviewed",
|
| 127 |
+
"review_models",
|
| 128 |
+
"review_model_versions",
|
| 129 |
+
"review_prompt_versions",
|
| 130 |
+
"review_primary_decision",
|
| 131 |
+
"review_secondary_decision",
|
| 132 |
+
"review_adjudicator_decision",
|
| 133 |
+
"review_scores_json",
|
| 134 |
+
"review_confidence",
|
| 135 |
+
"review_critical_errors",
|
| 136 |
+
"review_request_hashes",
|
| 137 |
+
"review_response_hashes",
|
| 138 |
+
"review_cost",
|
| 139 |
+
"generation_model",
|
| 140 |
+
"generation_prompt_version",
|
| 141 |
+
"model_revision_status",
|
| 142 |
+
"external_review_run_id",
|
| 143 |
+
"review_details_json",
|
| 144 |
+
"teacher_model",
|
| 145 |
+
"teacher_prompt_version",
|
| 146 |
+
"student_model",
|
| 147 |
+
"student_model_revision",
|
| 148 |
+
"student_checkpoint",
|
| 149 |
+
"student_confidence",
|
| 150 |
+
"student_calibrated_confidence",
|
| 151 |
+
"active_learning_round",
|
| 152 |
+
"generation_method",
|
| 153 |
+
"alignment_model",
|
| 154 |
+
"alignment_model_revision",
|
| 155 |
+
"external_review_eligibility",
|
| 156 |
+
"api_transfer_status",
|
| 157 |
+
"review_scope",
|
| 158 |
+
"review_run_id"
|
| 159 |
+
],
|
| 160 |
+
"rows": 51120,
|
| 161 |
+
"status": "PASS",
|
| 162 |
+
"training_payload_round_trip": "PASS"
|
| 163 |
+
}
|
scripts/100_refresh_release_checksums.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Regenerate the publication checksum manifest after a validated projection."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import hashlib
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 11 |
+
OUTPUT = ROOT / "SHA256SUMS.txt"
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def sha256(path: Path) -> str:
|
| 15 |
+
digest = hashlib.sha256()
|
| 16 |
+
with path.open("rb") as handle:
|
| 17 |
+
for block in iter(lambda: handle.read(8 << 20), b""):
|
| 18 |
+
digest.update(block)
|
| 19 |
+
return digest.hexdigest()
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def main() -> None:
|
| 23 |
+
paths = sorted(
|
| 24 |
+
path
|
| 25 |
+
for path in ROOT.rglob("*")
|
| 26 |
+
if path.is_file()
|
| 27 |
+
and path != OUTPUT
|
| 28 |
+
and ".cache" not in path.relative_to(ROOT).parts
|
| 29 |
+
and "__pycache__" not in path.relative_to(ROOT).parts
|
| 30 |
+
and path.suffix != ".pyc"
|
| 31 |
+
and not path.name.endswith(".slim.tmp")
|
| 32 |
+
)
|
| 33 |
+
lines = [f"{sha256(path)} {path.relative_to(ROOT).as_posix()}" for path in paths]
|
| 34 |
+
tmp = OUTPUT.with_suffix(".txt.tmp")
|
| 35 |
+
tmp.write_text("\n".join(lines) + "\n")
|
| 36 |
+
tmp.replace(OUTPUT)
|
| 37 |
+
print(f"checksum_entries={len(paths)}")
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
if __name__ == "__main__":
|
| 41 |
+
main()
|
scripts/101_validate_public_training_schema.py
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Validate the compact public training projection against the frozen full schema."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import hashlib
|
| 8 |
+
import json
|
| 9 |
+
from collections import defaultdict
|
| 10 |
+
from datetime import datetime, timezone
|
| 11 |
+
from pathlib import Path
|
| 12 |
+
|
| 13 |
+
import pyarrow as pa
|
| 14 |
+
import pyarrow.ipc as ipc
|
| 15 |
+
import pyarrow.parquet as pq
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 19 |
+
DATA = ROOT / "data"
|
| 20 |
+
REPORT = ROOT / "reports/PUBLIC_TRAINING_SCHEMA_ACCEPTANCE_V044.json"
|
| 21 |
+
PROJECTION = ROOT / "reports/PUBLIC_TRAINING_SCHEMA_SIMPLIFICATION_V044.json"
|
| 22 |
+
MANIFEST = ROOT / "RELEASE_MANIFEST.json"
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def table_digest(table: pa.Table) -> str:
|
| 26 |
+
sink = pa.BufferOutputStream()
|
| 27 |
+
with ipc.new_stream(sink, table.schema) as writer:
|
| 28 |
+
writer.write_table(table.combine_chunks())
|
| 29 |
+
return hashlib.sha256(sink.getvalue().to_pybytes()).hexdigest()
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def main() -> None:
|
| 33 |
+
parser = argparse.ArgumentParser()
|
| 34 |
+
parser.add_argument("--full-schema-backup", type=Path, required=True)
|
| 35 |
+
args = parser.parse_args()
|
| 36 |
+
|
| 37 |
+
projection = json.loads(PROJECTION.read_text())
|
| 38 |
+
manifest = json.loads(MANIFEST.read_text())
|
| 39 |
+
keep = projection["kept_columns"]
|
| 40 |
+
removed = set(projection["removed_columns"])
|
| 41 |
+
requested_removed = {
|
| 42 |
+
"schema_version",
|
| 43 |
+
"streaming_type",
|
| 44 |
+
"causal_validity",
|
| 45 |
+
"transformation_pipeline",
|
| 46 |
+
"pipeline_version",
|
| 47 |
+
"review_model_versions",
|
| 48 |
+
"student_model_revision",
|
| 49 |
+
"alignment_model_revision",
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
paths = sorted(DATA.glob("*/*.parquet"))
|
| 53 |
+
backup_paths = {
|
| 54 |
+
path.relative_to(args.full_schema_backup).as_posix(): path
|
| 55 |
+
for path in args.full_schema_backup.glob("*/*.parquet")
|
| 56 |
+
}
|
| 57 |
+
gates = []
|
| 58 |
+
|
| 59 |
+
def gate(name: str, passed: bool, evidence) -> None:
|
| 60 |
+
gates.append({"name": name, "status": "PASS" if passed else "FAIL", "evidence": evidence})
|
| 61 |
+
|
| 62 |
+
schemas = []
|
| 63 |
+
total_rows = 0
|
| 64 |
+
ids = []
|
| 65 |
+
group_splits: dict[str, set[str]] = defaultdict(set)
|
| 66 |
+
payload_matches = 0
|
| 67 |
+
split_rows = {}
|
| 68 |
+
|
| 69 |
+
for path in paths:
|
| 70 |
+
table = pq.read_table(path)
|
| 71 |
+
schemas.append(table.schema)
|
| 72 |
+
total_rows += table.num_rows
|
| 73 |
+
rows = table.select(["id", "group_id", "split"]).to_pylist()
|
| 74 |
+
ids.extend(row["id"] for row in rows)
|
| 75 |
+
for row in rows:
|
| 76 |
+
group_splits[row["group_id"]].add(row["split"])
|
| 77 |
+
|
| 78 |
+
rel = path.relative_to(DATA).as_posix()
|
| 79 |
+
split_rows[rel] = table.num_rows
|
| 80 |
+
backup_path = backup_paths.get(rel)
|
| 81 |
+
if backup_path is None:
|
| 82 |
+
continue
|
| 83 |
+
backup = pq.read_table(backup_path).select(keep)
|
| 84 |
+
if table_digest(backup) == table_digest(table):
|
| 85 |
+
payload_matches += 1
|
| 86 |
+
|
| 87 |
+
reference = schemas[0]
|
| 88 |
+
gate("six_parquet_files", len(paths) == 6, len(paths))
|
| 89 |
+
gate("exact_27_columns", reference.names == keep and len(reference.names) == 27, reference.names)
|
| 90 |
+
gate("identical_schema_across_splits", all(schema == reference for schema in schemas), len(schemas))
|
| 91 |
+
gate("requested_metadata_removed", not requested_removed & set(reference.names),
|
| 92 |
+
sorted(requested_removed - set(reference.names)))
|
| 93 |
+
gate("all_declared_removed_columns_absent", not removed & set(reference.names),
|
| 94 |
+
sorted(removed & set(reference.names)))
|
| 95 |
+
gate("row_count_preserved", total_rows == manifest["accepted_rows"],
|
| 96 |
+
{"actual": total_rows, "expected": manifest["accepted_rows"]})
|
| 97 |
+
gate("global_id_unique", len(ids) == len(set(ids)),
|
| 98 |
+
{"rows": len(ids), "unique_ids": len(set(ids))})
|
| 99 |
+
leaking = sum(len(splits) != 1 for splits in group_splits.values())
|
| 100 |
+
gate("group_split_isolation", leaking == 0, {"leaking_groups": leaking})
|
| 101 |
+
gate("full_schema_training_payload_match", payload_matches == 6,
|
| 102 |
+
{"matched_files": payload_matches, "expected": 6})
|
| 103 |
+
gate("projection_report_pass", projection["status"] == "PASS", projection["status"])
|
| 104 |
+
|
| 105 |
+
failures = [item["name"] for item in gates if item["status"] != "PASS"]
|
| 106 |
+
result = {
|
| 107 |
+
"status": "PASS" if not failures else "FAIL",
|
| 108 |
+
"validated_at": datetime.now(timezone.utc).isoformat(),
|
| 109 |
+
"projection": projection["projection"],
|
| 110 |
+
"rows": total_rows,
|
| 111 |
+
"columns": len(reference.names),
|
| 112 |
+
"files": len(paths),
|
| 113 |
+
"split_rows": split_rows,
|
| 114 |
+
"failed_gates": failures,
|
| 115 |
+
"gates": gates,
|
| 116 |
+
}
|
| 117 |
+
REPORT.write_text(json.dumps(result, indent=2, sort_keys=True) + "\n")
|
| 118 |
+
print(json.dumps(result, sort_keys=True))
|
| 119 |
+
if failures:
|
| 120 |
+
raise SystemExit(1)
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
if __name__ == "__main__":
|
| 124 |
+
main()
|
scripts/99_simplify_public_training_schema.py
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Project the validated v0.4.4 release onto a compact training-facing schema."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import hashlib
|
| 7 |
+
import json
|
| 8 |
+
from datetime import datetime, timezone
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
|
| 11 |
+
import pyarrow as pa
|
| 12 |
+
import pyarrow.ipc as ipc
|
| 13 |
+
import pyarrow.parquet as pq
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
ROOT = Path(__file__).resolve().parents[1]
|
| 17 |
+
DATA = ROOT / "data"
|
| 18 |
+
REPORT = ROOT / "reports/PUBLIC_TRAINING_SCHEMA_SIMPLIFICATION_V044.json"
|
| 19 |
+
MANIFEST = ROOT / "RELEASE_MANIFEST.json"
|
| 20 |
+
|
| 21 |
+
KEEP_COLUMNS = (
|
| 22 |
+
"id",
|
| 23 |
+
"task_type",
|
| 24 |
+
"domain",
|
| 25 |
+
"capabilities",
|
| 26 |
+
"input_modalities",
|
| 27 |
+
"output_modalities",
|
| 28 |
+
"source_language",
|
| 29 |
+
"target_language",
|
| 30 |
+
"instruction",
|
| 31 |
+
"context_text",
|
| 32 |
+
"turns",
|
| 33 |
+
"timeline",
|
| 34 |
+
"media",
|
| 35 |
+
"targets",
|
| 36 |
+
"tool_schema_json",
|
| 37 |
+
"quality_grade",
|
| 38 |
+
"recommended_training_weight",
|
| 39 |
+
"context_dependency",
|
| 40 |
+
"translation_subtype",
|
| 41 |
+
"speech_output_duration",
|
| 42 |
+
"alignment_words",
|
| 43 |
+
"tool_error_type",
|
| 44 |
+
"tool_validation_status",
|
| 45 |
+
"group_id",
|
| 46 |
+
"split",
|
| 47 |
+
"source_dataset",
|
| 48 |
+
"license_spdx",
|
| 49 |
+
)
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
def table_digest(table: pa.Table) -> str:
|
| 53 |
+
sink = pa.BufferOutputStream()
|
| 54 |
+
with ipc.new_stream(sink, table.schema) as writer:
|
| 55 |
+
writer.write_table(table.combine_chunks())
|
| 56 |
+
return hashlib.sha256(sink.getvalue().to_pybytes()).hexdigest()
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def main() -> None:
|
| 60 |
+
paths = sorted(DATA.glob("*/*.parquet"))
|
| 61 |
+
if len(paths) != 6:
|
| 62 |
+
raise RuntimeError(f"expected six Parquet files, found {len(paths)}")
|
| 63 |
+
|
| 64 |
+
reference_schema: pa.Schema | None = None
|
| 65 |
+
original_columns: list[str] | None = None
|
| 66 |
+
file_results = []
|
| 67 |
+
total_rows = 0
|
| 68 |
+
|
| 69 |
+
for path in paths:
|
| 70 |
+
table = pq.read_table(path)
|
| 71 |
+
if original_columns is None:
|
| 72 |
+
original_columns = table.schema.names
|
| 73 |
+
missing = [name for name in KEEP_COLUMNS if name not in original_columns]
|
| 74 |
+
if missing:
|
| 75 |
+
raise RuntimeError(f"required public fields are missing: {missing}")
|
| 76 |
+
elif table.schema.names != original_columns:
|
| 77 |
+
raise RuntimeError(f"input schema mismatch: {path}")
|
| 78 |
+
|
| 79 |
+
public = table.select(KEEP_COLUMNS)
|
| 80 |
+
if reference_schema is None:
|
| 81 |
+
reference_schema = public.schema
|
| 82 |
+
elif public.schema != reference_schema:
|
| 83 |
+
raise RuntimeError(f"public schema mismatch: {path}")
|
| 84 |
+
|
| 85 |
+
before_digest = table_digest(public)
|
| 86 |
+
before_size = path.stat().st_size
|
| 87 |
+
tmp = path.with_suffix(".parquet.slim.tmp")
|
| 88 |
+
pq.write_table(
|
| 89 |
+
public,
|
| 90 |
+
tmp,
|
| 91 |
+
compression="zstd",
|
| 92 |
+
row_group_size=2048,
|
| 93 |
+
)
|
| 94 |
+
reloaded = pq.read_table(tmp)
|
| 95 |
+
after_digest = table_digest(reloaded)
|
| 96 |
+
if reloaded.schema != public.schema:
|
| 97 |
+
raise RuntimeError(f"round-trip schema mismatch: {path}")
|
| 98 |
+
if reloaded.num_rows != public.num_rows:
|
| 99 |
+
raise RuntimeError(f"round-trip row-count mismatch: {path}")
|
| 100 |
+
if after_digest != before_digest:
|
| 101 |
+
raise RuntimeError(f"training payload changed during projection: {path}")
|
| 102 |
+
tmp.replace(path)
|
| 103 |
+
|
| 104 |
+
total_rows += public.num_rows
|
| 105 |
+
file_results.append(
|
| 106 |
+
{
|
| 107 |
+
"path": path.relative_to(ROOT).as_posix(),
|
| 108 |
+
"rows": public.num_rows,
|
| 109 |
+
"bytes_before": before_size,
|
| 110 |
+
"bytes_after": path.stat().st_size,
|
| 111 |
+
"training_payload_sha256": after_digest,
|
| 112 |
+
}
|
| 113 |
+
)
|
| 114 |
+
|
| 115 |
+
assert original_columns is not None
|
| 116 |
+
removed = [name for name in original_columns if name not in KEEP_COLUMNS]
|
| 117 |
+
generated_at = datetime.now(timezone.utc).isoformat()
|
| 118 |
+
report = {
|
| 119 |
+
"status": "PASS",
|
| 120 |
+
"generated_at": generated_at,
|
| 121 |
+
"projection": "streaming_omni_training_slim_1.0",
|
| 122 |
+
"rows": total_rows,
|
| 123 |
+
"files": len(paths),
|
| 124 |
+
"columns_before": len(original_columns),
|
| 125 |
+
"columns_after": len(KEEP_COLUMNS),
|
| 126 |
+
"kept_columns": list(KEEP_COLUMNS),
|
| 127 |
+
"removed_columns": removed,
|
| 128 |
+
"training_payload_round_trip": "PASS",
|
| 129 |
+
"file_results": file_results,
|
| 130 |
+
}
|
| 131 |
+
REPORT.write_text(json.dumps(report, indent=2, sort_keys=True) + "\n")
|
| 132 |
+
|
| 133 |
+
manifest = json.loads(MANIFEST.read_text())
|
| 134 |
+
manifest.update(
|
| 135 |
+
{
|
| 136 |
+
"public_training_schema_version": report["projection"],
|
| 137 |
+
"public_training_column_count": len(KEEP_COLUMNS),
|
| 138 |
+
"public_training_columns": list(KEEP_COLUMNS),
|
| 139 |
+
"public_removed_column_count": len(removed),
|
| 140 |
+
"public_removed_columns": removed,
|
| 141 |
+
"public_schema_simplified_at": generated_at,
|
| 142 |
+
}
|
| 143 |
+
)
|
| 144 |
+
MANIFEST.write_text(json.dumps(manifest, indent=2, sort_keys=True) + "\n")
|
| 145 |
+
print(
|
| 146 |
+
json.dumps(
|
| 147 |
+
{
|
| 148 |
+
"status": "PASS",
|
| 149 |
+
"rows": total_rows,
|
| 150 |
+
"files": len(paths),
|
| 151 |
+
"columns_before": len(original_columns),
|
| 152 |
+
"columns_after": len(KEEP_COLUMNS),
|
| 153 |
+
"removed_columns": len(removed),
|
| 154 |
+
},
|
| 155 |
+
sort_keys=True,
|
| 156 |
+
)
|
| 157 |
+
)
|
| 158 |
+
|
| 159 |
+
|
| 160 |
+
if __name__ == "__main__":
|
| 161 |
+
main()
|