Repository navigation
[WAVE 2][RTR] Fix linear bounds rendering in plots - #1065
mickaelbegon wants to merge 4 commits into
Conversation
a45e9b7 to
c7b9355
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1065 +/- ##
==========================================
+ Coverage 77.26% 77.89% +0.63%
==========================================
Files 196 198 +2
Lines 21506 21698 +192
==========================================
+ Hits 16616 16902 +286
+ Misses 4890 4796 -94
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Codex analysisThis PR is part of Wave 2 and is rebased onto current Review isolation: it changes only Validation completed by Codex:
The final commit ( @EveCharbie @pariterre, all local and online checks are green. This PR is ready for review as an independent Wave 2 change. |
Always populate shifted state guesses on the first interpolation conversion, with deterministic coverage for the first and subsequent windows. Backport the numerical references from pyomeca#1096 without changing tolerances.
Use unscaled IPOPT convergence for the collocation feasibility regression without relaxing its tolerance.
Summary
InterpolationType.LINEARbounds with regular lines instead of post-stepsRoot cause
Bounds were always sent through
Axes.step(..., where="post"). This changes linear bounds into piecewise-constant values between shooting nodes, so they do not match integrated state trajectories such as collocation plots.Validation
MPLCONFIGDIR=/private/tmp/bioptim-mpl-973 python -m pytest tests/shard1/test_plot.py -q(6 passed)git diff --checkCloses #973
This change is