Skip to content

Better Parameter Validation - #80

Open
AstroPatty wants to merge 25 commits into
LSST-strong-lensing:mainfrom
AstroPatty:param_check
Open

Better Parameter Validation#80
AstroPatty wants to merge 25 commits into
LSST-strong-lensing:mainfrom
AstroPatty:param_check

Fix to run in 3.10

cfec7a6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 10, 2025 in 0s

79.56% (+0.86%) compared to a94055a

View this Pull Request on Codecov

79.56% (+0.86%) compared to a94055a

Details

Codecov Report

❌ Patch coverage is 86.42857% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.56%. Comparing base (a94055a) to head (cfec7a6).
⚠️ Report is 3273 commits behind head on main.

Files with missing lines Patch % Lines
slsim/Util/params.py 82.17% 18 Missing ⚠️
...ramDistributions/_params/gaussian_mixture_model.py 94.73% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #80      +/-   ##
==========================================
+ Coverage   78.70%   79.56%   +0.86%     
==========================================
  Files          26       30       +4     
  Lines        1235     1385     +150     
==========================================
+ Hits          972     1102     +130     
- Misses        263      283      +20     
Files with missing lines Coverage Δ
setup.py 0.00% <ø> (ø)
slsim/Deflectors/_params/velocity_dispersion.py 100.00% <100.00%> (ø)
slsim/Deflectors/elliptical_lens_galaxies.py 88.40% <100.00%> (ø)
slsim/Deflectors/velocity_dispersion.py 100.00% <100.00%> (ø)
slsim/ParamDistributions/gaussian_mixture_model.py 100.00% <100.00%> (ø)
slsim/Util/__init__.py 100.00% <100.00%> (ø)
...ramDistributions/_params/gaussian_mixture_model.py 94.73% <94.73%> (ø)
slsim/Util/params.py 82.17% <82.17%> (ø)

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.