LSSTDESC / qp

Quantile Parametrization for probability distribution functions module
MIT License
10 stars 3 forks source link

Adding metric wrapper classes #203

Closed drewoldag closed 10 months ago

drewoldag commented 11 months ago

Problem & Solution Description (including issue #)

The variety of different metric APIs that are present in qp currently make it challenging to write consistent evaluator stages in RAIL. By introducing wrapper classes we can abstract and unify the API (as much as possible) while making it easier to interface with RAIL evaluator stages.

TODO

Need to add simple unit test coverage for the classes Include PIT Metric wrapper class.

Code Quality

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a578c66) 99.95% compared to head (838ba13) 99.95%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #203 +/- ## ======================================== Coverage 99.95% 99.95% ======================================== Files 33 35 +2 Lines 2294 2463 +169 ======================================== + Hits 2293 2462 +169 Misses 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.