synthesized-io / insight

🧿 Metrics & Monitoring of Datasets
BSD 3-Clause "New" or "Revised" License
12 stars 0 forks source link

Evaluate multiple #182

Closed hamishteagle closed 4 months ago

hamishteagle commented 4 months ago

Context: We occasionally need to run many sub-runs of evaluate in order to calculate sample variances in the metrics. In order to store this additional data and calculate the variances the database requires a new sub_run column.

Add sub-run column to database specification.

Adds capacity to extract sub-run env variable.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 78.8%. Comparing base (88dac15) to head (83ab7b5).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/synthesized-io/insight/pull/182/graphs/tree.svg?width=650&height=150&src=pr&token=S8CD8EN4AF&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synthesized-io)](https://app.codecov.io/gh/synthesized-io/insight/pull/182?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synthesized-io) ```diff @@ Coverage Diff @@ ## master #182 +/- ## ====================================== Coverage 78.8% 78.8% ====================================== Files 11 11 Lines 968 971 +3 Branches 160 160 ====================================== + Hits 763 766 +3 Misses 153 153 Partials 52 52 ``` | [Files](https://app.codecov.io/gh/synthesized-io/insight/pull/182?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synthesized-io) | Coverage Δ | | |---|---|---| | [src/insight/database/schema.py](https://app.codecov.io/gh/synthesized-io/insight/pull/182?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synthesized-io#diff-c3JjL2luc2lnaHQvZGF0YWJhc2Uvc2NoZW1hLnB5) | `100.0% <100.0%> (ø)` | | | [src/insight/metrics/base.py](https://app.codecov.io/gh/synthesized-io/insight/pull/182?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=synthesized-io#diff-c3JjL2luc2lnaHQvbWV0cmljcy9iYXNlLnB5) | `72.5% <100.0%> (+0.3%)` | :arrow_up: |
sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud