v0.2 Dataset Protocol
dataset-protocol-v0.2.0 versions the label-free radar dataset-building protocol independently
of the Python package. See the protocol release notes.
It is a reproducibility milestone, not a forecast-release milestone. The
repository publishes contracts, manifests, synthetic fixtures, validation code, and aggregate
results. Raw CWA/WRA captures, generated tensors, private review catalogs, checkpoints, credentials,
and deployment paths remain outside Git.
Label-free scope, corrected 2026-10-20
No human annotations are available for this deliverable. The protocol uses later observed radar
frames as automatically derived prediction targets; it does not require manually labeled weather
regimes, rainfall disasters or floods. The fixed split is traceable to source/frame inventories,
timestamps, checksums and selection rules. It must not be described as human reviewed.
data/samples/label_free_protocol_policy.json and its checksum pin this scope, the unchanged split
manifest and the official-context audit. Weather regimes are explicitly null for all five events.
Official monthly descriptions and warnings remain contextual evidence. They are not converted into local causal labels. Legacy event names containing "heavy-rain" describe radar selection, not confirmed precipitation or inundation. Missing historical QPE and the old build's acquisition limitations remain documented limitations of the preserved corpus; they do not prevent publishing the protocol, source inventory and synthetic reconstruction method. Such a publication does not certify the legacy observations or independent rainfall accuracy.
This scope replaces earlier protocol-release requirements for named human event decisions and complete QPE/gauge coverage. It does not change existing candidate-promotion code, model acceptance, source contracts or public-alert gates. A future curated, weather-labeled corpus can retain stricter review requirements without blocking the label-free protocol.
The archived dataset_milestone_complete=false retains the uncertified-corpus status, and
forecast_publication_ready=false retains the operational status. Neither field claims that
manual annotation work is scheduled or required for this source-protocol release.
Tracked release inputs
The public protocol is composed of these versioned files:
| Concern | Tracked contract | Boundary |
|---|---|---|
| Formal event IDs, timestamps, source, and split membership | data/samples/event_split_manifest.json |
Strict Pydantic schema 2.0; event-based 2/1/2 minimum split |
| Candidate discovery and weather-context status | data/samples/radar_event_windows.json, data/samples/event_weather_context.json |
Radar-only candidates stay official_context_pending until official evidence is reviewed |
| Official source and redistribution notes | data/samples/weather_context_source_review.json, docs/data_source_register.md |
URLs and aggregate status only; no raw evidence |
| QPE/gauge availability | data/samples/qpe_gauge_validation_status.json |
A blocked QPE history probe is not a validation result |
| Tensor shape, cadence, units, CRS, masks, and normalization | docs/radar_tensor_conversion.md, docs/data_assets.md |
Generated tensor archives and train-only statistics stay external |
| Artifact checksums, frame availability, metrics, and build provenance | External dataset_catalog.json and dataset_verification.json |
Paths are relative to the configured data root and are never committed |
| Public formal-frame inventory and radar-grid bounds | data/samples/formal_event_inventory.json and its .sha256 companion |
Metadata-only snapshot; five events, 221 verified frames; human weather review remains pending |
| Official context, historical station aggregates, and bounded history probes | data/samples/formal_event_source_audit.json and its .sha256 companion |
Five events, seven preserved source records, 36 complete single-station hours; QPE validation and human decisions remain pending |
| Preserved historical build and training provenance | data/samples/formal_build_provenance.json and its .sha256 companion |
Retains verify_tls=false; missing historical command/revision remain explicit |
The event split manifest has a companion SHA-256 file,
data/samples/event_split_manifest.json.sha256. The public-contract validator checks the bytes
before validating the strict schema, so an unreviewed edit or schema drift fails closed in CI.
The public inventory separately pins the split-manifest and external catalog hashes. CI tests
check its checksum, event membership, cadence and frame counts without downloading raw data.
Its frame checksums describe the locally preserved bytes, not a promise that short-retention
source URLs remain downloadable. Raw XML captures may have .json local filenames; the public
inventory uses their official XML source URLs. Grid bounds are TWD67 grid-point centers and must
not be interpreted as WGS84 inundation polygons. This inventory does not supply the missing
reviewed weather context, QPE/gauge reports or dataset rights approval.
Reproduce the credential-free contract checks
From a Git checkout, build the protocol source asset from a committed revision:
python scripts/protocol_archive.py build --ref HEAD --output /tmp/mhc-protocol.tar.gz
python scripts/protocol_archive.py verify --archive /tmp/mhc-protocol.tar.gz --extract-to /tmp/mhc-protocol-source
cd /tmp/mhc-protocol-source
Use new output and extraction paths: existing files/directories are never overwritten. The builder accepts archive inputs and destinations within the checkout or system/runner temporary directories, resolves path boundaries, and accepts commit hashes or branch/tag names rather than arbitrary Git expressions. It reads committed, allowlisted files rather than the working tree. It records commit/tree provenance and per-file checksums; private runtime files and external research assets are excluded. The verifier checks the archive and pinned manifest before extracting regular files into a new directory. Checksums establish integrity, not trusted authorship. CI rebuilds synthetic tensors from this extracted source, and the release workflow publishes the verified source asset separately from the Python distributions. No official observations are downloaded by these checks. Byte-for-byte reconstruction is tested in a fixed Python 3.13/zlib environment; gzip bytes may differ across Python or compression-library versions. The source-file checksums remain the comparison point across environments. The file allowlist does not replace repository secret scanning or source-rights review.
From a clean checkout:
python scripts/validate_public_contracts.py
python -m pytest -q \
tests/test_event_splits.py \
tests/test_dataset_build.py \
tests/test_qpe_gauge_validation.py
These checks validate the fixed split and rebuild the tensor/archive logic with synthetic fixtures; they do not download official data. The complete external build is intentionally separate:
mhc dataset build \
--manifest data/samples/event_split_manifest.json \
--root "$MINXIONGHYDROCAST_DATA_ROOT" \
--skip-download
Use --skip-download only when the external root already contains a complete collection. A clean
build normally downloads the CWA history index and event frames, validates cadence/grid metadata,
creates sliding windows, evaluates Persistence and Optical Flow, optionally trains Tiny U-Net, and
writes a checksummed external catalog. The build must fail before training when the manifest, source
artifacts, candidate review, or checksums do not satisfy their contracts.
Separate curated-corpus review gates
The current five-event benchmark remains the formal development split. It is deliberately retained as a fixed comparison point while the private discovery catalog accumulates reviewed events. A candidate can enter the existing curated promotion workflow only after all of the following are available. These are not prerequisites for publishing this label-free protocol:
- complete cadence-aligned radar frames and immutable checksums;
- an explicit human review decision and weather regime;
- synchronized QPE, gauge, and warning evidence where the source contract requires it;
- official weather context with a redistribution-safe provenance record; and
- a separately reviewed manifest change followed by a new catalog and unchanged model gates.
Discovery never edits the formal manifest. Radar threshold crossings are not weather-type labels,
and QPE is an estimate that must be checked against gauges. The QPE/gauge validator accepts both
raw CWA-style station payloads and the repository's normalized rain_gauges records so collected
candidate evidence can be audited without treating it as ground truth.
Matching requires equal timezone-aware accumulation end times and the same declared geographic
datum. Official station coordinate pairs are selected as pairs, with preference for the QPE
datum; undeclared coordinates and mismatched timestamps are excluded. A normalized WGS84
record alone cannot validate a TWD67 grid. Older reports must be rerun under these checks.
Current status and publication boundary
The 2026-10-15 acceptance record records clean-environment verification and the remaining formal-event evidence, rights, manifest, and archival release gaps. The deployment update contains newer aggregate candidate and shadow evidence. The September numbers below are retained as dated history.
The 2026-10-20 source audit adds official dated context and CODiS single-station observations for all five formal events, without approving weather labels. It also exposes the historical build's TLS and command/revision limitations. The closure checklist distinguishes the remaining dataset acceptance work from flood-label counts, model promotion and operational shadow gates. Its original human-review and complete-QPE release requirements are superseded by the label-free scope above. Historical pending statuses are preserved rather than changed to approval.
The same day's preserved-candidate audit completed 59 distinct synchronized source-consistency
comparisons and verified a five-candidate review proposal containing 454 artifacts and 219 radar
frames. The checksum-pinned data/samples/candidate_qpe_validation_summary.json records aggregate
results and source/code digests. Detailed candidate artifacts remain external, all five proposed
decisions remain pending, and the formal split is unchanged. See the closure checklist for the
coordinate-pair method, exclusions and limits of gauge-corrected QPE comparisons.
As of 2026-09-12, the formal five-event manifest is valid and checksum-pinned, but official weather
context and event-time QPE/gauge reports are incomplete for the formal split. The weighted Tiny
U-Net comparison therefore remains a research result with forecast_publication_ready=false.
The private review queue has 128 candidates: 1 approved convective, 2 rejected/unclassified, and
125 pending; no typhoon, frontal, or mei_yu candidate has been approved, and none of these
candidate decisions changes formal split membership. These are aggregate counts only; candidate
artifacts and reviewer records remain outside the public repository.
This protocol is suitable for archival and citation of the data-building method; it does not imply
operational forecast readiness or authorize external alerts.