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

Relative: Fix calculate directly not scaling inner pars when applying to rdatas #1534

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Doresic
Copy link
Contributor

@Doresic Doresic commented Dec 3, 2024

At the end of the calculate_directly method of the RelativeAmiciCalculator the inner parameters that are optimized need to be applied to the rdatas (compared to the re-simulation of call_amici_twice with non-dummy inner parameter values).

However, the inner parameters were not scaled accordingly in this step. E.g. if the scale of a scaling inner parameter (value = 10^-2) was set to LOG10 (log10 value -2), it would stay in LOG10 scale and be applied like that (multiplying its rdata by -2) instead of being scaled to LIN scale and then being applied to the rdatas.

@Doresic Doresic requested a review from dweindl as a code owner December 3, 2024 15:35
@codecov-commenter
Copy link

codecov-commenter commented Dec 3, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.34%. Comparing base (f2fb5cd) to head (940abd5).

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

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1534      +/-   ##
===========================================
- Coverage    84.36%   84.34%   -0.03%     
===========================================
  Files          163      163              
  Lines        14034    14036       +2     
===========================================
- Hits         11840    11838       -2     
- Misses        2194     2198       +4     

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

Copy link
Member

@dweindl dweindl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

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.

3 participants