Skip to content

Fix/wire hydration and scr padding. Remove remove implied modifier row fallback from SCR decoder #12

Merged
ssweber merged 5 commits into
mainfrom
fix/wire-hydration-and-scr-padding
Apr 8, 2026
Merged

Fix/wire hydration and scr padding. Remove remove implied modifier row fallback from SCR decoder #12
ssweber merged 5 commits into
mainfrom
fix/wire-hydration-and-scr-padding

Conversation

@ssweber

@ssweber ssweber commented Apr 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

ssweber and others added 5 commits April 8, 2026 14:58
Two bugs caused CSV round-trip failures on rungs with tall AF instructions
(Copy, etc.) whose continuation rows carried only vertical pass-through
wires (|):

1. decode_program: The implied modifier row fallback filled horizontal
   wires across pure | pass-through rows, converting | to T and blanks
   to -. Now skips rows containing only vertical wires.

2. converter: _hydrate_wire_continuations only checked for bare "T"/"|"
   string tokens, missing Contact/CompareContact objects with
   wire_down=True. Now recognizes instruction objects that propagate
   wires downward.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Compares {slug}.csv against {slug}.clipboard.csv in a directory,
reporting identical/differ/missing pairs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SCR continuation row topology blocks already encode per-row horizontal
connectivity explicitly. The _implied_modifier_row_offsets heuristic was
always a no-op — verified across 883 rungs in 47 SCR files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SCR continuation row topology blocks already encode per-row horizontal
connectivity explicitly. The _implied_modifier_row_offsets heuristic was
always a no-op — verified across 883 rungs in 47 SCR files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…om/ssweber/laddercodec into fix/wire-hydration-and-scr-padding

# Conflicts:
#	CHANGELOG.md
@ssweber ssweber merged commit 371cbae into main Apr 8, 2026
@ssweber ssweber deleted the fix/wire-hydration-and-scr-padding branch April 8, 2026 19:28
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