Repository navigation
feat: integrate callable contracts and numeric correctness for 0.11 - #362
Merged
Merged
Conversation
…p-conformance-20260919
Owner
Author
|
@coderabbitai review |
❌ Action failedReview failed.
|
Owner
Author
|
@coderabbitai approve |
✅ Action performedComments resolved and changes approved. |
This was referenced Sep 20, 2026
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.
Python integers outside JavaScript's safe range now reject before JSON encoding, and NumPy/Torch float16 values decode to numbers. A pure callable compiler shares resolved argument, overload, conversion, capability, and validation decisions with generated wrappers. Node and Pyodide await coroutine results.
Clean package-consumer tests, real Pyodide/browser execution, scientific oracles, and overload tests verify the selected behavior. Bigint, Point/dataclass, and explicit runtime binding remain bounded design prototypes.
The runtime also preserves the working bridge when configured Python sources change during reload preparation. Subprocess replacement detaches retired callbacks, handles late stream errors, and clears old write backpressure. Python ASCII framing avoids per-character scanning without changing the wire format or performance limits.
Validation
Implementation head:
6eec0d47caa1fabe3620a4898272497a76a41afa. Component changes and the final corrections received independent review. The positional-only regression covers actual Python extraction, generated typing, keyword rejection, and selected-result validation.The versioned companion at
5039e3104d60b9f353bc4c908b082b2923dea75dpassed localCI=1 npm run check:all: 1,396 tests passed and 237 skipped. Dedicated CI jobs install scientific and browser prerequisites. Implementation CI and complete candidate CI passed.This PR retains current package versions. PR #354 prepares npm 0.11.0 and Python 0.3.1 after this implementation. This PR merged as
43f111b43fbb0ce31dcb59f8fb489e8dadf3f191with CodeRabbit approval and green required checks. Final checks, publication, and fresh registry installs remain required before closing release issues.Tracks #331–#345. Companion release PR: #354.