Format 0.2: NaN errors on present data; stricter bundle root name - #22
Merged
Merged
Conversation
A present datum may now carry both err_real/err_imag as NaN, meaning the producer delivered no uncertainty estimates (contractor processing chains commonly report responses without them). Errors are pairwise all-or-nothing; mixed finite/NaN stays invalid, as does a finite error on a missing datum. For present DC data err_imag = 0 is required only when errors are delivered. The bundle top-level directory name must now start with [A-Za-z0-9_] (no '.', '..', hidden or option-like names) and must not end with a dot (stripped by Windows); charset unchanged. Spec, rationale, schemas, examples, quickstart, and web status bumped to 0.2; validator fast path and scalar reference updated in lockstep with parity coverage. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Format changes (normative)
NaN errors on present data (§9, §3.8, §3.12). A present datum may now carry
NaNin botherr_realanderr_imag, meaning the producer delivered no uncertainty estimates — the honest representation for contractor processing chains (e.g. Quantec per-receiver deliverables) that report responses without uncertainties. Rules:NaNis invalid.NaNerrors; a finite or zero error on a missing datum stays invalid.err_imag = 0only when errors are delivered.NaNerrors as a quality flag (that isuse = 0) and must not fabricate errors; consumers needing uncertainties apply their own error model or floors.Stricter bundle root name (§2). The top-level directory name must start with
[A-Za-z0-9_]— excluding.,.., hidden directories, and option-like--prefixed names — and must not end with a dot (stripped by Windows). Charset unchanged.Rationale for both is recorded in
csemx-rationale.md.Mechanics
validate_data_row) and streamed fast path updated in lockstep; the parity test class cross-checks them, with new coverage for NaN-error present rows (including DC), reversed mixed-error rows, and the root-name rule.example.csemx.zip, template, quickstart, web status line,pyproject.toml→ 0.2.0.Verification
check_examples.sh --fullandrebuild_example_zip.py --checkpass.format.version), and fails only on the error rule under 0.1.🤖 Generated with Claude Code