Repository navigation
[py] hold generated BiDi numbers to their declared ranges - #18230
Conversation
|
/agentic_describe |
|
/agentic_review |
PR Summary by QodoEnforce declared numeric ranges in Python BiDi serialization
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1. Bindings accept different numeric values
|
The generator now combines a field's own min/max/exclusiveMin/exclusiveMax with those of the alias chain it follows (so `maxNodeCount: js-uint .ge 1` is 1..2**53-1) and emits them as field metadata. The serialization runtime rejects an out-of-range value before sending and on receipt. Python part of #18195. Claude-Session: https://claude.ai/code/session_019vA1Mw8jHCvicmtUrR9Fhe
07721fd to
39e01e6
Compare
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 39e01e6 |
NaN compares false against every bound and an infinity escapes a one-sided range, so neither was caught by the range check; neither is a JSON number. Claude-Session: https://claude.ai/code/session_019vA1Mw8jHCvicmtUrR9Fhe
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 8df6456 |
8df6456 to
dd9a6e9
Compare
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit dd9a6e9 |
The generator now combines a field's own min/max/exclusiveMin/exclusiveMax
with those of the alias chain it follows (so
maxNodeCount: js-uint .ge 1is 1..2**53-1) and emits them as field metadata. The serialization runtime
rejects an out-of-range value before sending and on receipt.
Python part of #18195.