Repository navigation
Reduce the import time of optimagic from 2 to 0.6 seconds - #747
Merged
Merged
Codecov / codecov/project
succeeded
Nov 23, 2026 in 0s
94.44% (target 90.00%)
View this Pull Request on Codecov
94.44% (target 90.00%)
Details
Codecov Report
❌ Patch coverage is 99.07834% with 2 lines in your changes missing coverage. Please review.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...c/optimagic/benchmarking/get_benchmark_problems.py | 96.66% | 1 Missing |
| src/optimagic/logging/sqlalchemy.py | 88.88% | 1 Missing |
| Files with missing lines | Coverage Δ | |
|---|---|---|
| src/optimagic/algorithms.py | 88.55% <100.00%> (-0.30%) |
⬇️ |
| src/optimagic/batch_evaluators.py | 75.49% <100.00%> (+2.15%) |
⬆️ |
| src/optimagic/benchmarking/more_wild.py | 100.00% <100.00%> (ø) |
|
| src/optimagic/config.py | 100.00% <100.00%> (ø) |
|
| ...imagic/differentiation/richardson_extrapolation.py | 90.56% <100.00%> (-0.18%) |
⬇️ |
| src/optimagic/logging/logger.py | 94.34% <100.00%> (ø) |
|
| src/optimagic/mark.py | 100.00% <ø> (ø) |
|
| src/optimagic/optimization/multistart.py | 91.19% <100.00%> (ø) |
|
| src/optimagic/optimization/optimize.py | 94.83% <100.00%> (-0.04%) |
⬇️ |
| src/optimagic/optimizers/bayesian_optimizer.py | 91.59% <ø> (-0.08%) |
⬇️ |
| ... and 17 more |
... and 3 files with indirect coverage changes
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading