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

Support absolute values for variationRange in sensitivityCalculation #731

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

rengelke
Copy link
Contributor

Enhanced sensitivityCalculation to accept variationRange as both absolute and relative values. Added support for passing variationRange as a list, allowing individual variations for each parameter in parameterPaths. Introduced the variationType parameter to specify whether the variationRange is applied as absolute or relative values.

Closes #623
Closes #621

@PavelBal
Copy link
Member

  • Add to NEWS
  • Add tests
  • Add documentation (expand the vignette?)

@rengelke
Copy link
Contributor Author

  • Add to NEWS
  • Add tests
  • Add documentation (expand the vignette?)

Sure, it is coming :)

@PavelBal
Copy link
Member

Aaaah sorry, didn't see that you did not request the review, yet :)

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 88.88889% with 5 lines in your changes missing coverage. Please review.

Project coverage is 88.35%. Comparing base (dba1084) to head (b38f2b6).
Report is 25 commits behind head on main.

Files with missing lines Patch % Lines
R/sensitivity-calculation.R 83.33% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #731      +/-   ##
==========================================
+ Coverage   86.11%   88.35%   +2.24%     
==========================================
  Files          29       29              
  Lines        2593     2757     +164     
==========================================
+ Hits         2233     2436     +203     
+ Misses        360      321      -39     

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

@rengelke
Copy link
Contributor Author

  • Add documentation (expand the vignette?)

I agree. Given the scope of recent changes, I propose raising a separate issue to update the vignettes.

Merge branch 'main' of https://github.com/esqLABS/esqlabsR into absolute-parameter-range

# Conflicts:
#	tests/testthat/test-sensitivity-calculation.R
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.

Function signature for sensitivityCalculation SA: support absolute values for parameter range
2 participants