Closed alexdewar closed 1 week ago
Attention: Patch coverage is 87.75510%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 84.96%. Comparing base (
cd6d92c
) to head (9fd6c20
). Report is 14 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/model.rs | 33.33% | 4 Missing :warning: |
src/lib.rs | 0.00% | 1 Missing :warning: |
src/time_slice.rs | 87.50% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I'm not entirely sure how the timeslices will work in practice, though, now that they can be provided also as a
season
level only.
I guess we can cross that bridge when we come to it :smile:. We will need to decide what to do e.g. if a user specifies a specific time slice (winter.evening
) when there's already a cost specified for the whole season (winter
) at some point. I've opened an issue for this: #153
Description
The latest installment of the input layer work. This one is minimally invasive; it just adds support for two commodity-related CSV files (
commodities.csv
andcommodity_costs.csv
).The commodity constraints file (which is currently empty in the example) is not read in by this code, but I've opened an issue to tackle it in future: #149.
Closes #62.
Type of change
Key checklist
$ cargo test
$ cargo doc
Further checks