Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect indexing in `pypesto.profile.profile_next_guess.get_reg… #1226

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented Nov 30, 2023

…_polynomial`

There seems to be an indexing error in pypesto.profile.profile_next_guess.get_reg_polynomial, resulting in too few points being used for extrapolating parameter trajectories. In the second case, not only too few, but also not the most recent parameter values are used.

Closes #1224

…_polynomial`

There seems to be an indexing error in `pypesto.profile.profile_next_guess.get_reg_polynomial`, resulting in too few points being used for extrapolating parameter trajectories.
In the second case, not only too few, but also not the most recent parameter values are used.

Closes ICB-DCM#1224
@codecov-commenter
Copy link

codecov-commenter commented Nov 30, 2023

Codecov Report

Attention: 398 lines in your changes are missing coverage. Please review.

Comparison is base (160c2a8) 88.16% compared to head (0493221) 84.09%.
Report is 453 commits behind head on develop.

Files Patch % Lines
pypesto/ensemble/ensemble.py 69.36% 68 Missing ⚠️
...ypesto/hierarchical/spline_approximation/solver.py 83.68% 47 Missing ⚠️
pypesto/ensemble/util.py 65.13% 38 Missing ⚠️
pypesto/hierarchical/optimal_scaling/solver.py 93.53% 26 Missing ⚠️
pypesto/history/base.py 88.57% 24 Missing ⚠️
pypesto/hierarchical/petab.py 84.56% 23 Missing ⚠️
pypesto/engine/mpi_pool.py 0.00% 22 Missing ⚠️
pypesto/hierarchical/inner_calculator_collector.py 89.04% 16 Missing ⚠️
...pesto/hierarchical/spline_approximation/problem.py 89.18% 16 Missing ⚠️
pypesto/hierarchical/optimal_scaling/calculator.py 75.86% 14 Missing ⚠️
... and 19 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1226      +/-   ##
===========================================
- Coverage    88.16%   84.09%   -4.08%     
===========================================
  Files           79      148      +69     
  Lines         5257    11857    +6600     
===========================================
+ Hits          4635     9971    +5336     
- Misses         622     1886    +1264     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dweindl dweindl self-assigned this Nov 30, 2023
@dweindl dweindl linked an issue Nov 30, 2023 that may be closed by this pull request
@dweindl dweindl marked this pull request as ready for review November 30, 2023 12:35
@dweindl dweindl merged commit f3f93f5 into ICB-DCM:develop Nov 30, 2023
18 checks passed
@dweindl dweindl deleted the fix_get_reg_polynomial branch November 30, 2023 18:39
This was referenced Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pypesto.profile.profile_next_guess.get_reg_polynomial correct?
3 participants