Skip to content

Record the CCITT a0 fix in the ADR - #22

Merged
MPCoreDeveloper merged 1 commit into
mainfrom
docs/ccitt-a0
Nov 14, 2026
Merged

MPCoreDeveloper merged 1 commit into
mainfrom
docs/ccitt-a0

Conversation

@MPCoreDeveloper

Copy link
Copy Markdown
Owner

Docs only. ADR-005 now records the exact fix for the Group 4 fixture's twelfth line:

  • b1 must be measured from the last changing element (a0) and searched strictly greater than a0, not >= position. After a vertical or horizontal mode the last transition is the new position, so >= position selects the transition the decoder just consumed.
  • Concretely: reference line 11 (FFEF) has transitions [0, 11, 12, 16], the decoder reaches position 12 with white, and b1 = 12 makes the stream's 0000010 (V-3) resolve to 9, left of the position. With a0 tracked, line 12's b1 is 16, V-3 resolves to 13, and the line completes.

No production code changed; the CCITT decoder is still the next slice, and this makes the fixture + the rule enough to finish it.

@MPCoreDeveloper
MPCoreDeveloper merged commit f8efe30 into main Nov 14, 2026
8 checks passed
@MPCoreDeveloper
MPCoreDeveloper deleted the docs/ccitt-a0 branch November 14, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant