dsgibbons / shap

A game theoretic approach to explain the output of any machine learning model.
https://shap-community.readthedocs.io/en/latest/
MIT License
25 stars 5 forks source link

Reimplement test scenarios as shared fixtures #44

Closed connortann closed 1 year ago

connortann commented 1 year ago

Refactoring change to use pytest fixtures, and to enable reusing fixtures with a configurable scope.

codecov[bot] commented 1 year ago

Codecov Report

Merging #44 (8b870a4) into master (287bf7d) will decrease coverage by 1.10%. The diff coverage is n/a.

:exclamation: Current head 8b870a4 differs from pull request most recent head e6414da. Consider uploading reports for the commit e6414da to get more accurate results

@@            Coverage Diff             @@
##           master      #44      +/-   ##
==========================================
- Coverage   53.31%   52.22%   -1.10%     
==========================================
  Files          90       90              
  Lines       12817    13146     +329     
==========================================
+ Hits         6834     6866      +32     
- Misses       5983     6280     +297     

see 44 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

connortann commented 1 year ago

Closing for now, as does not seem to lead to a significant speedup.