AstraZeneca / rexmex

A general purpose recommender metrics library for fair evaluation.
https://rexmex.readthedocs.io/
278 stars 25 forks source link

Coverage refactor, added CoverageMetricSet and CoverageScoreCard #42

Closed kajocina closed 2 years ago

kajocina commented 2 years ago

Summary

Please provide a high-level summary of the changes for the changes and notes for the reviewers

Changes

cthoyt commented 2 years ago

Would also be good to add an annotator for coverage functions, same as for classification functions. I could do this in a later PR :)

codecov-commenter commented 2 years ago

Codecov Report

Merging #42 (ee64141) into main (8fe5de1) will decrease coverage by 0.41%. The diff coverage is 93.05%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #42      +/-   ##
==========================================
- Coverage   99.77%   99.36%   -0.42%     
==========================================
  Files          16       16              
  Lines         886      942      +56     
==========================================
+ Hits          884      936      +52     
- Misses          2        6       +4     
Impacted Files Coverage Δ
rexmex/metrics/coverage.py 81.81% <81.81%> (-5.69%) :arrow_down:
rexmex/scorecard.py 97.82% <94.44%> (-2.18%) :arrow_down:
rexmex/metricset.py 98.36% <100.00%> (+0.11%) :arrow_up:
tests/integration/test_aggregation.py 100.00% <100.00%> (ø)
tests/unit/test_metrics.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8fe5de1...ee64141. Read the comment docs.