spec(0.10.0): §13.1 — a branching_delta row exists only for a template with a branching entry in BOTH documents; a one-sided template has no row, never a zero entropy - #17
Merged
Conversation
…e with a behavior.branching entry in BOTH compared documents; a one-sided template has no row, never a zero entropy, and a consumer must not read one as zero Co-Authored-By: Claude Opus 5.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.
What
SPEC.md§13.1 showedbranching_deltain its example and the schema fixed a row's shape, but nothing said which templates get a row. This PR adds a paragraph after the §13.1 example:CHANGELOG.mdrecords it under 0.10.0 (still unreleased) › Changed, and the 0.10.0 headline lists it among the breaking items.Why
branchingfor every node and lets a producer cap it, so an absent entry means "not observed in that window", "no outgoing edge" (an empty distribution, whose entropy is undefined, not 0) or "observed but not emitted / capped out". The reference producer wrote0.0for the missing side, so a template appearing with three equally likely successors reportedprevious_entropy_bits: 0.0, delta_bits: 1.58— a shift from a value no window observed.Change class
Breaking: a producer emitting one-sided rows becomes non-conformant. Under
GOVERNANCE.md§2's 0.x rule (PR #15), the editor merges it with norfc:issue. No schema change: the rule involves both input documents, which no keyword can see.conformance/metalog_validate.py --selftest: 31/31 fixtures pass.The reference implementation (insight-metalog) adopts the rule in the same release. On its determinism digest the rule removes 45 of 48
branching_deltarows, every one comparing a template the other window never held inbranching; the 3 two-sided rows stay.🤖 Generated with Claude Code