docs: point v2 configs at Parquet; record the single-builder rule
Browse filesREADME configs/dataset_info regenerated from the actual Parquet (all
nine configs loaded and split-counts cross-checked, 9/9 OK; features
round-tripped through Features._from_yaml_list). Adds the 2026-08-16
changelog entry, the serving-format note in the v2 section, and two new
hard rules in CLAUDE.md: one data format across ALL configs (the hub
infers a single builder from the first config's files), and dataset_info
dtypes must be YAML-format strings. dataset_card.json updated in sync;
.agents/.claude tooling caches ignored.
Claude-Session: https://claude.ai/code/session_0188gRcGZdDN828oyp4TGkt7
Co-Authored-By: Claude Fable 5 (max) <noreply@anthropic.com>
- .gitignore +4 -0
- CLAUDE.md +16 -1
- README.md +43 -14
- dataset_card.json +1 -0
.gitignore
CHANGED
|
@@ -1 +1,5 @@
|
|
| 1 |
.mimocode/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
.mimocode/
|
| 2 |
+
|
| 3 |
+
# Local agent-tooling caches (hf CLI skill files) -- never dataset content.
|
| 4 |
+
.agents/
|
| 5 |
+
.claude/
|
CLAUDE.md
CHANGED
|
@@ -100,7 +100,7 @@ Standing implications for any work here:
|
|
| 100 |
|
| 101 |
## Editing the dataset card
|
| 102 |
|
| 103 |
-
`README.md` frontmatter drives the Hugging Face Dataset Viewer.
|
| 104 |
learned from breakage:
|
| 105 |
|
| 106 |
1. **One config per file.** Never list several files under one `config_name` unless
|
|
@@ -110,6 +110,21 @@ learned from breakage:
|
|
| 110 |
old `samples/*_SAMPLE_*.jsonl` were byte-exact prefixes of their parents; listing
|
| 111 |
both counted those rows twice. Samples are now random draws and stay out of the
|
| 112 |
configs entirely.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
After editing, validate before pushing — a malformed block breaks the viewer silently:
|
| 115 |
|
|
|
|
| 100 |
|
| 101 |
## Editing the dataset card
|
| 102 |
|
| 103 |
+
`README.md` frontmatter drives the Hugging Face Dataset Viewer. Four rules, all
|
| 104 |
learned from breakage:
|
| 105 |
|
| 106 |
1. **One config per file.** Never list several files under one `config_name` unless
|
|
|
|
| 110 |
old `samples/*_SAMPLE_*.jsonl` were byte-exact prefixes of their parents; listing
|
| 111 |
both counted those rows twice. Samples are now random draws and stay out of the
|
| 112 |
configs entirely.
|
| 113 |
+
3. **One data format across ALL configs.** A script-less hub dataset resolves a
|
| 114 |
+
single packaged builder from the *first* config's data files and applies it to
|
| 115 |
+
every config (`datasets/load.py`, `HubDatasetModuleFactoryWithoutScript`).
|
| 116 |
+
Listing JSONL and Parquet configs together made the viewer parse Parquet bytes
|
| 117 |
+
with the JSON loader (2026-08-16). Everything listed is Parquet now; the v2
|
| 118 |
+
JSONL in `full_data/` stays canonical but unlisted (served via `v2_parquet/`).
|
| 119 |
+
A 0-row Parquet file also cannot be listed — `datasets` ≤ 5.0.x fails with
|
| 120 |
+
`ArrowInvalid: BatchSize must be greater than 0` — so empty schema artifacts
|
| 121 |
+
(`v3/action_proposals`, `v3/safety_filter_log`) stay out of `configs:` until
|
| 122 |
+
populated.
|
| 123 |
+
4. **`dataset_info` feature dtypes must be YAML-format strings** (`float64`,
|
| 124 |
+
`timestamp[ms]`), generated with `Features._to_yaml_list()` — repr-style
|
| 125 |
+
strings (`Value('float64')`) break the viewer's config-names step for the
|
| 126 |
+
whole dataset. Round-trip any generated block through
|
| 127 |
+
`Features._from_yaml_list()` before committing.
|
| 128 |
|
| 129 |
After editing, validate before pushing — a malformed block breaks the viewer silently:
|
| 130 |
|
README.md
CHANGED
|
@@ -14,22 +14,22 @@ configs:
|
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
path:
|
| 17 |
-
-
|
| 18 |
- config_name: mining
|
| 19 |
data_files:
|
| 20 |
- split: train
|
| 21 |
path:
|
| 22 |
-
-
|
| 23 |
- config_name: hft
|
| 24 |
data_files:
|
| 25 |
- split: train
|
| 26 |
path:
|
| 27 |
-
-
|
| 28 |
- config_name: qubic_ticks
|
| 29 |
data_files:
|
| 30 |
- split: train
|
| 31 |
path:
|
| 32 |
-
-
|
| 33 |
- config_name: gpu_telemetry_v3
|
| 34 |
data_files:
|
| 35 |
- split: full
|
|
@@ -100,7 +100,7 @@ dataset_info:
|
|
| 100 |
- name: train
|
| 101 |
num_bytes: 84653192
|
| 102 |
num_examples: 813973
|
| 103 |
-
download_size:
|
| 104 |
dataset_size: 84653192
|
| 105 |
- config_name: mining
|
| 106 |
features:
|
|
@@ -128,10 +128,10 @@ dataset_info:
|
|
| 128 |
dtype: int64
|
| 129 |
splits:
|
| 130 |
- name: train
|
| 131 |
-
num_bytes:
|
| 132 |
num_examples: 120322
|
| 133 |
-
download_size:
|
| 134 |
-
dataset_size:
|
| 135 |
- config_name: hft
|
| 136 |
features:
|
| 137 |
- name: timestamp
|
|
@@ -188,12 +188,12 @@ dataset_info:
|
|
| 188 |
- name: train
|
| 189 |
num_bytes: 7591295
|
| 190 |
num_examples: 31573
|
| 191 |
-
download_size:
|
| 192 |
dataset_size: 7591295
|
| 193 |
- config_name: qubic_ticks
|
| 194 |
features:
|
| 195 |
- name: timestamp
|
| 196 |
-
dtype: timestamp[
|
| 197 |
- name: tick
|
| 198 |
dtype: int64
|
| 199 |
- name: tick_rate
|
|
@@ -212,7 +212,7 @@ dataset_info:
|
|
| 212 |
- name: train
|
| 213 |
num_bytes: 1755520
|
| 214 |
num_examples: 27430
|
| 215 |
-
download_size:
|
| 216 |
dataset_size: 1755520
|
| 217 |
- config_name: gpu_telemetry_v3
|
| 218 |
features:
|
|
@@ -564,7 +564,7 @@ Each gains a config entry with its first populated release; the schemas are
|
|
| 564 |
already frozen in the Parquet files and in
|
| 565 |
[`v3_build.py`](https://github.com/rmems/spikenaut-telemetry-etl/blob/main/src/spikenaut_etl/v3_build.py).
|
| 566 |
|
| 567 |
-
### v2 configs (
|
| 568 |
|
| 569 |
| Config | Records | Window | Description |
|
| 570 |
|--------|--------:|--------|-------------|
|
|
@@ -575,6 +575,15 @@ already frozen in the Parquet files and in
|
|
| 575 |
|
| 576 |
These are **disjoint capture windows**, not one continuous run.
|
| 577 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 578 |
```python
|
| 579 |
from datasets import load_dataset
|
| 580 |
|
|
@@ -818,8 +827,8 @@ no reproducible basis.
|
|
| 818 |
```
|
| 819 |
rmems/Theseus-Quarry Rust collectors → raw JSONL
|
| 820 |
↓
|
| 821 |
-
rmems/spikenaut-telemetry-etl ingest → validate → clean → publish
|
| 822 |
-
↓ └─ spikenaut-etl build-v3 ──────────→ (v3/
|
| 823 |
rmems/Spikenaut-SNN-Telemetry this dataset
|
| 824 |
↓
|
| 825 |
rmems/Spikenaut-SNN model training
|
|
@@ -847,6 +856,26 @@ or `qubic_ticks` today, nothing changes for you.
|
|
| 847 |
|
| 848 |
## 📝 Changelog
|
| 849 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 850 |
### 2026-08-15 — v3.0.0: action-proposal trajectory restructure
|
| 851 |
|
| 852 |
Built by [`spikenaut-etl build-v3`](https://github.com/rmems/spikenaut-telemetry-etl)
|
|
|
|
| 14 |
data_files:
|
| 15 |
- split: train
|
| 16 |
path:
|
| 17 |
+
- v2_parquet/gpu_telemetry/train-*.parquet
|
| 18 |
- config_name: mining
|
| 19 |
data_files:
|
| 20 |
- split: train
|
| 21 |
path:
|
| 22 |
+
- v2_parquet/mining/train-*.parquet
|
| 23 |
- config_name: hft
|
| 24 |
data_files:
|
| 25 |
- split: train
|
| 26 |
path:
|
| 27 |
+
- v2_parquet/hft/train-*.parquet
|
| 28 |
- config_name: qubic_ticks
|
| 29 |
data_files:
|
| 30 |
- split: train
|
| 31 |
path:
|
| 32 |
+
- v2_parquet/qubic_ticks/train-*.parquet
|
| 33 |
- config_name: gpu_telemetry_v3
|
| 34 |
data_files:
|
| 35 |
- split: full
|
|
|
|
| 100 |
- name: train
|
| 101 |
num_bytes: 84653192
|
| 102 |
num_examples: 813973
|
| 103 |
+
download_size: 6864325
|
| 104 |
dataset_size: 84653192
|
| 105 |
- config_name: mining
|
| 106 |
features:
|
|
|
|
| 128 |
dtype: int64
|
| 129 |
splits:
|
| 130 |
- name: train
|
| 131 |
+
num_bytes: 12670089
|
| 132 |
num_examples: 120322
|
| 133 |
+
download_size: 5763683
|
| 134 |
+
dataset_size: 12670089
|
| 135 |
- config_name: hft
|
| 136 |
features:
|
| 137 |
- name: timestamp
|
|
|
|
| 188 |
- name: train
|
| 189 |
num_bytes: 7591295
|
| 190 |
num_examples: 31573
|
| 191 |
+
download_size: 2604075
|
| 192 |
dataset_size: 7591295
|
| 193 |
- config_name: qubic_ticks
|
| 194 |
features:
|
| 195 |
- name: timestamp
|
| 196 |
+
dtype: timestamp[ms]
|
| 197 |
- name: tick
|
| 198 |
dtype: int64
|
| 199 |
- name: tick_rate
|
|
|
|
| 212 |
- name: train
|
| 213 |
num_bytes: 1755520
|
| 214 |
num_examples: 27430
|
| 215 |
+
download_size: 637843
|
| 216 |
dataset_size: 1755520
|
| 217 |
- config_name: gpu_telemetry_v3
|
| 218 |
features:
|
|
|
|
| 564 |
already frozen in the Parquet files and in
|
| 565 |
[`v3_build.py`](https://github.com/rmems/spikenaut-telemetry-etl/blob/main/src/spikenaut_etl/v3_build.py).
|
| 566 |
|
| 567 |
+
### v2 configs (same records, still authoritative for the raw captures)
|
| 568 |
|
| 569 |
| Config | Records | Window | Description |
|
| 570 |
|--------|--------:|--------|-------------|
|
|
|
|
| 575 |
|
| 576 |
These are **disjoint capture windows**, not one continuous run.
|
| 577 |
|
| 578 |
+
**Serving format:** the v2 configs load from verified Parquet conversions
|
| 579 |
+
under `v2_parquet/` — a script-less Hub dataset gets exactly one builder,
|
| 580 |
+
inferred from the first config's files, so JSONL and Parquet configs cannot
|
| 581 |
+
share a card (see the 2026-08-16 changelog). The original JSONL files remain
|
| 582 |
+
in `full_data/`, byte-untouched and canonical; the conversions are produced
|
| 583 |
+
and fidelity-checked by the ETL (identical rows, columns, and nulls; the one
|
| 584 |
+
representation change is `qubic_ticks.timestamp`: `timestamp[s]` →
|
| 585 |
+
`timestamp[ms]`, same values at finer unit).
|
| 586 |
+
|
| 587 |
```python
|
| 588 |
from datasets import load_dataset
|
| 589 |
|
|
|
|
| 827 |
```
|
| 828 |
rmems/Theseus-Quarry Rust collectors → raw JSONL
|
| 829 |
↓
|
| 830 |
+
rmems/spikenaut-telemetry-etl ingest → validate → clean → publish (full_data/ JSONL)
|
| 831 |
+
↓ └─ spikenaut-etl build-v3 ─────────────→ (v3/ + v2_parquet/)
|
| 832 |
rmems/Spikenaut-SNN-Telemetry this dataset
|
| 833 |
↓
|
| 834 |
rmems/Spikenaut-SNN model training
|
|
|
|
| 856 |
|
| 857 |
## 📝 Changelog
|
| 858 |
|
| 859 |
+
### 2026-08-16 — all configs Parquet-served; viewer restored
|
| 860 |
+
|
| 861 |
+
The 2026-08-15 release broke the Dataset Viewer for every v3 config
|
| 862 |
+
(`JSON parse error: Invalid value. in row 0`): a script-less Hub dataset
|
| 863 |
+
resolves **one** packaged builder from the **first config's** data files
|
| 864 |
+
(`datasets/load.py`, `HubDatasetModuleFactoryWithoutScript`) and applies it to
|
| 865 |
+
every config — so the JSON builder was fed Parquet bytes. Mixed JSONL/Parquet
|
| 866 |
+
configs cannot work on the Hub.
|
| 867 |
+
|
| 868 |
+
Since the v3 contract mandates Parquet, the four v2 configs now load from
|
| 869 |
+
Parquet conversions under `v2_parquet/`, generated and fidelity-verified by
|
| 870 |
+
`spikenaut-etl build-v3` (ETL PR #9): identical row counts, rows, columns,
|
| 871 |
+
and nulls, with one representation change — `qubic_ticks.timestamp` is
|
| 872 |
+
`timestamp[ms]` instead of `timestamp[s]` (Parquet has no seconds resolution;
|
| 873 |
+
values unchanged). `full_data/*.jsonl` are byte-untouched and remain the
|
| 874 |
+
canonical cleaned exports. Same-day earlier fix: `dataset_info` dtypes were
|
| 875 |
+
serialized as repr strings (`Value('float64')`), which the viewer's
|
| 876 |
+
config-names step cannot parse; now generated with `Features._to_yaml_list()`
|
| 877 |
+
and round-trip-validated before every card commit.
|
| 878 |
+
|
| 879 |
### 2026-08-15 — v3.0.0: action-proposal trajectory restructure
|
| 880 |
|
| 881 |
Built by [`spikenaut-etl build-v3`](https://github.com/rmems/spikenaut-telemetry-etl)
|
dataset_card.json
CHANGED
|
@@ -25,6 +25,7 @@
|
|
| 25 |
"full_data/ghost_market_log.jsonl": 31573,
|
| 26 |
"full_data/qubic_ticks_snn.jsonl": 27430
|
| 27 |
},
|
|
|
|
| 28 |
"v3": {
|
| 29 |
"schema_version": "3.0.0",
|
| 30 |
"teacher_policy_version": "1.0.0",
|
|
|
|
| 25 |
"full_data/ghost_market_log.jsonl": 31573,
|
| 26 |
"full_data/qubic_ticks_snn.jsonl": 27430
|
| 27 |
},
|
| 28 |
+
"serving_note": "All nine configs load from Parquet. The four v2 configs are served from fidelity-verified conversions under v2_parquet/ because a script-less Hub dataset applies ONE builder (inferred from the first config's files) to every config, so JSONL and Parquet configs cannot share a card. full_data/*.jsonl remain the canonical cleaned exports, byte-untouched. Only representation change: qubic_ticks.timestamp is timestamp[ms] (was timestamp[s]); values identical.",
|
| 29 |
"v3": {
|
| 30 |
"schema_version": "3.0.0",
|
| 31 |
"teacher_policy_version": "1.0.0",
|