Skip to content

Rewrite the BHHH algorithm - #728

Open
janosg wants to merge 4 commits into
likelihood-benchmarksfrom
bhhh-rewrite
Open

janosg wants to merge 4 commits into
likelihood-benchmarksfrom
bhhh-rewrite

Fix the Windows test and docs build failures that came with the merge…

2e790b6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 25, 2026 in 0s

95.17% (target 90.00%)

View this Pull Request on Codecov

95.17% (target 90.00%)

Details

Codecov Report

❌ Patch coverage is 98.43424% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/optimagic/algorithms.py 75.00% 12 Missing ⚠️
src/optimagic/optimizers/_bhhh/bhhh_loop.py 97.67% 3 Missing ⚠️
Files with missing lines Coverage Δ
src/optimagic/optimizers/_bhhh/linalg.py 100.00% <100.00%> (ø)
src/optimagic/optimizers/_bhhh/line_search.py 100.00% <100.00%> (ø)
src/optimagic/optimizers/_bhhh/subproblem.py 100.00% <100.00%> (ø)
src/optimagic/optimizers/bhhh.py 100.00% <100.00%> (+3.63%) ⬆️
...gic/optimization/test_error_handling_end_to_end.py 100.00% <ø> (ø)
...sts/optimagic/optimization/test_many_algorithms.py 97.77% <ø> (ø)
tests/optimagic/optimizers/_bhhh/test_linalg.py 100.00% <100.00%> (ø)
...sts/optimagic/optimizers/_bhhh/test_line_search.py 100.00% <100.00%> (ø)
...ests/optimagic/optimizers/_bhhh/test_subproblem.py 100.00% <100.00%> (ø)
tests/optimagic/optimizers/test_bhhh.py 100.00% <100.00%> (ø)
... and 3 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.