Repository navigation
Assert the outcome in the BigFloat initial convergence test - #1301
Merged
Merged
Conversation
The test for #720 ran each method from the optimum with BigFloat input and asserted nothing, so it caught only a thrown error. For the gradient methods, assert that they stop at iteration 0, report convergence and return a BigFloat minimizer. SimulatedAnnealing has no initial convergence check, so it gets the element type check alone. Drop the unused OnceDifferentiable object copied from the issue's reproducer. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Benchmark Results (Julia v1)Time benchmarks
Memory benchmarks
A plot of the benchmark results has been uploaded as an artifact at . |
Contributor
Benchmark Results (Julia vlts)Time benchmarks
Memory benchmarks
A plot of the benchmark results has been uploaded as an artifact at . |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1301 +/- ##
==========================================
+ Coverage 87.55% 87.57% +0.01%
==========================================
Files 52 52
Lines 5032 5032
==========================================
+ Hits 4406 4407 +1
+ Misses 626 625 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
The test for #720 ran each method from the optimum with BigFloat input and asserted nothing, so it caught only a thrown error. For the gradient methods, this PR asserts three things: they stop at iteration 0, they report convergence, and they return a BigFloat minimizer. SimulatedAnnealing has no initial convergence check, so it gets only the element type check. The PR also drops an unused
OnceDifferentiableobject copied from the issue's reproducer.This changes tests only.
🤖 Generated with Claude Code