You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a demonstrative adaptive quadrature (AdaQuad) example for a 2D spike function inside the project notebook to illustrate certified integration using interval extensions.
Normalize the pass-message emoji encoding to a Unicode escape to avoid encoding/display issues in the notebook JSON.
Description
Replaced literal checkmark pass messages ("✅ PASS: ...") with the escaped Unicode sequence "\u2705 PASS: ..." throughout notebooks/test_suite.ipynb to ensure consistent encoding.
Added a new notebook cell implementing an AdaQuad adaptive partitioning routine: it defines interval_extension_eval, refine_longest_side, adaquad, area/midpoint helpers, computes an adaptive partition, plots a 3D surface with partition midpoints, saves spike_2d_surface_adaquad.pdf, and computes a certified integration interval.
Minor whitespace/EOF normalization at the end of the notebook file.
Testing
Executed the notebook sections covering interval-evaluation examples including Random linear network, Zero network, Hand-computable linear network, Identity-style network, and ReLU cases, and all corresponding PASS assertions are present in the notebook outputs.
The aggregated ReLU notebook tests report passed as shown in the notebook output.
The newly added AdaQuad cell is present but has execution_count=null and was not executed in this change.
This new cell introduces from scipy import integrate, but SciPy is not declared in pyproject.toml (project or dev extras) or requirements.txt, so a fresh environment following the repo’s install instructions can execute earlier notebook steps and then fail here with ModuleNotFoundError. Because this notebook is the project test suite, the added undeclared import makes the suite non-reproducible unless users manually install an extra package.
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
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.
Motivation
Description
"\u2705 PASS: ..."throughoutnotebooks/test_suite.ipynbto ensure consistent encoding.interval_extension_eval,refine_longest_side,adaquad, area/midpoint helpers, computes an adaptive partition, plots a 3D surface with partition midpoints, savesspike_2d_surface_adaquad.pdf, and computes a certified integration interval.Testing
Random linear network,Zero network,Hand-computable linear network,Identity-style network, and ReLU cases, and all correspondingPASSassertions are present in the notebook outputs.execution_count=nulland was not executed in this change.Codex Task