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

additional features for NPSE #1370

Merged
merged 9 commits into from
Feb 20, 2025

renaming and formatting

205d59e
Select commit
Loading
Failed to load commit list.
Merged

additional features for NPSE #1370

renaming and formatting
205d59e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 18, 2025 in 0s

78.18% (target 70.00%)

View this Pull Request on Codecov

78.18% (target 70.00%)

Details

Codecov Report

Attention: Patch coverage is 57.73196% with 41 lines in your changes missing coverage. Please review.

Project coverage is 78.18%. Comparing base (18f92b1) to head (205d59e).

Files with missing lines Patch % Lines
sbi/inference/posteriors/score_posterior.py 43.18% 25 Missing ⚠️
sbi/inference/potentials/score_based_potential.py 57.89% 16 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1370       +/-   ##
===========================================
- Coverage   89.31%   78.18%   -11.13%     
===========================================
  Files         119      119               
  Lines        8779     8844       +65     
===========================================
- Hits         7841     6915      -926     
- Misses        938     1929      +991     
Files with missing lines Coverage Δ
sbi/inference/posteriors/direct_posterior.py 97.67% <ø> (ø)
sbi/inference/trainers/npse/npse.py 96.50% <100.00%> (ø)
sbi/samplers/rejection/rejection.py 87.75% <100.00%> (-0.25%) ⬇️
sbi/samplers/score/diffuser.py 85.18% <100.00%> (+0.27%) ⬆️
sbi/utils/restriction_estimator.py 76.31% <ø> (-8.65%) ⬇️
sbi/inference/potentials/score_based_potential.py 80.80% <57.89%> (-16.17%) ⬇️
sbi/inference/posteriors/score_posterior.py 74.00% <43.18%> (-23.02%) ⬇️

... and 31 files with indirect coverage changes