Repository navigation
Modify the benchmark and tests - #1
Merged
Merged
Conversation
ChrisRackauckas
approved these changes
Sep 21, 2020
YingboMa
force-pushed
the
myb/benchmark
branch
from
September 21, 2020 16:36
75bf864 to
63418b8
Compare
kanav99
approved these changes
Sep 22, 2020
4 tasks done
ChrisRackauckas
added a commit
that referenced
this pull request
Jul 23, 2026
Problem #1 (Generalized Rosenbrock) solved with Broyden(; init_jacobian = Val(:true_jacobian), update_rule = Val(:bad_broyden)) sits on a knife-edge. After #1039 changed the Jacobian inverse initialization from inv!(lu(A)) to linsolve_identity!!, the ulp-level difference (~1e-13) flips this problem between converging and not, so it randomly passes and fails. Marking it `broken` is not enough: when it happens to converge it errors as an unexpected pass. Use the harness's existing skip_tests mechanism instead so the case is skipped in both directions. Co-authored-by: ChrisRackauckas-Claude <[email protected]>
This was referenced Jul 28, 2026
ChrisRackauckas
added a commit
that referenced
this pull request
Jul 28, 2026
…1125) Problem #8 (Brown almost linear) solved with Broyden(; init_jacobian = Val(:true_jacobian), update_rule = Val(:bad_broyden)) is the same knife-edge case as problem #1, which #1108 already moved into skip_tests. #1051 removed 8 from that algorithm's broken list ([5, 6, 8, 11] -> [1, 5, 6, 11]) after validating on a machine where it converges; it does not converge on the SciML self-hosted pool or on current GitHub-hosted runners, where it returns the initial best residual 5.5. As documented in #1096, the outcome is deterministic per machine but flips with the BLAS kernel, and it has failed in both directions: the 2026-07-15 Downgrade run errored with "Unexpected Pass" while it was still marked broken. Neither pass nor @test_broken is a stable expectation, which is exactly what the harness's skip_tests mechanism is for. Local verification on Julia 1.12.6, test/Core/23_test_problems_tests__item7.jl: this machine is one where #8 converges, so the run goes from 95 pass / 20 broken on master to 94 pass / 21 broken with this change - one test moved from pass to skip, nothing else changed. Co-authored-by: ChrisRackauckas-Claude <[email protected]>
2 tasks done
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.
We need to take problem and solver instantiation time into account. Using
avoids dynamic lookup of the methods table.