Skip to content

Discard out-of-range left_right_balance values - #44

Merged
tabishm52 merged 1 commit into
mainfrom
discard-out-of-range-balance
Sep 6, 2026
Merged

tabishm52 merged 1 commit into
mainfrom
discard-out-of-range-balance

Conversation

@tabishm52

@tabishm52 tabishm52 commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • split_left_right_balance could decode a percentage outside [0, 100], which isn't a valid balance.
  • Discard out-of-range values rather than emit them.

Test plan

  • New test: an out-of-range percentage decodes to NaN.
  • Full gate green

split_left_right_balance could decode a percentage outside [0, 100],
which isn't a valid balance and would silently poison a downstream
mean. Discard anything out of range rather than emit it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@tabishm52
tabishm52 merged commit d526ac1 into main Sep 6, 2026
4 checks passed
@tabishm52
tabishm52 deleted the discard-out-of-range-balance branch September 6, 2026 05:19
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