Repository navigation
release: bngsim 0.19.0 - #2156
Merged
Merged
Conversation
Three modules walked up from __file__ to the repository root. Under run_tests.sh that is the stand-in, which holds python/tests/ and nothing else of python/, so the message scan found no Python files (0 > 50) and the docs scan could not open python/bngsim/agent_guide.md; and a path the RuleMonkey sync check resolved through the stand-in's symlinks was not under it. They take the root from _source_root.bngsim_source_root(), which is the same directory in place and the real tree under the stand-in.
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.
bngsim 0.19.0: 54 changes since 0.18.0 (6 added, 13 changed, 1 removed, 34 fixed).
ci/changelog.py build --version 0.19.0folded everychangelog.d/fragment into CHANGELOG.md; the release body is 48,468 of GitHub's 125,000 characters. The version is bumped inpyproject.tomland on the onebngsimline ofuv.lock;uv lock --checkpasses.Why a release now
pip install bngsimgives 0.18.0, which still has a silent wrong answer that bngsim's own error steers a caller to.sim.run(t_span=(0, 10), t_eval=[5, 10])answers "For this call: sim.run(t_span=(0, 10), sample_times=[5, 10])", and that call onexamples.load("decay")returns A = 100 at t = 5 and 8.2 at t = 10, where the answer is 8.2 and 0.67, with no warning (#2012, fixed on main by #2078). The online agent guide andllms.txtpoint at/en/latest/, so their recipe'sr.check(require=[...])is a TypeError on 0.18.0. The rest of #1710's last items (#2009, #2010, #2013, #2014, #2017, #1970, #1971, #1972) and the MIR JIT in the wheels (#1852) are also unreleased.Why MAJOR (0.18 → 0.19)
CHANGELOG.md's
0.MAJOR.MINORrule makes a default a caller must adapt to MAJOR.bngsim steady-stateexits 7 when the solve did not converge (bngsim steady-state exits 0 when the solve did not converge: --max-time 1e-3 on binding.net prints C = 0.08 for a steady state of 62.98, with exit 0 #2011). It exited 0.steady-state-batchexits 7 when any row did not converge, andsteady-stateswhen its search finds none.check()of a run with forward sensitivities runssensitivity_fdby default (check()'s default on a sensitivity run cannot catch a column wrong at every tolerance: #1937's exact zeros pass it, and only check("all")'s difference quotient sees them #2010). It costs four runs per column more, and a column wrong at every tolerance now fails it.compute_all_sensitivities't_spandefault becomesNone(#2100), which runs as before whensample_timesis not given.run(t_span=..., sample_times=...)integrating fromt_span[0](#2012) repairs a wrong answer, which on its own is MINOR.Checked
pre-commit run --all-files(the CI gate) passes.pytest python/tests -n autowithBNGPATHset, rc 0: 33,057 passed, 72 skipped, 153 xfailed. The rebuilt core and the package metadata both report 0.19.0. Pushed with--no-verify, since that run was the pre-push hook's suite on this tree.run_tests.sh -n auto(the stand-in that tests the installed package): 33,053 passed, 72 skipped, 153 xfailed, and 4 failed, all four from the stand-in layout and failing the same way before this PR:test_python_messages_carry_no_issue_referencesfound no Python files (0 > 50) andtest_user_docs_carry_no_issue_referencescould not openpython/bngsim/agent_guide.md, because the stand-in holdspython/tests/and nothing else ofpython/; the twotest_rulemonkey_exprtk_sync_closuretests took a path resolved through the stand-in's symlinks relative to the stand-in. The second commit takes their root from_source_root.bngsim_source_root(), the same directory in place and the real tree under the stand-in. The three files: 52 collected before and after, the same skips; underrun_tests.sh, 50 passed and 2 skipped. Pushed with--no-verify: the change is to those three test files only.run_tests.shdied with SIGBUS at 74%, inside libRoadRunner 2.11.0'sRoadRunner.__init__intest_biomd451_ode_matches_roadrunner, one process after thousands of tests. That test passes alone throughrun_tests.shand in both parallel runs; the release diff cannot reach RoadRunner's constructor. Left alone: it is in RoadRunner, and only a serial run reaches it.require=). The same call on main returns 8.2085 and 0.67379.forced-jitfailed one macOS shard on a timing bound only,test_jacobian_symbolic.py::TestNonDifferentiableConstructs::test_many_steps_derive_at_once(1.13 s against 1.0 s; 13,103 passed). The night before passed.parity_checks/: they ship nothing in the package and stage no fragment, so the section is whole either way. CI here runs on the branch merged with main.