Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1036 +/- ##
==========================================
- Coverage 81.45% 81.44% -0.01%
==========================================
Files 52 52
Lines 6497 6494 -3
Branches 6497 6494 -3
==========================================
- Hits 5292 5289 -3
+ Misses 949 948 -1
- Partials 256 257 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
alexdewar
left a comment
There was a problem hiding this comment.
Makes sense to review separately. It looks ok on the face of it, though I'm not familiar with the code.
How come the tests didn't catch it btw? Was it because they were using something like TimeSliceInfo::default() anyway so the results matched up?
Partly because I didn't include a unit test covering annual limits (now fixed), and possibly a little bit because of poor code design...
The regression tests did pick this up in a way because the results changed, but this was in the context of a larger PR where I was expecting the results to change anyway. I was wondering whether |
A bug related to annual activity limits (which we have in a few of the examples). Apologies, not sure how this crept in.
This is the bug (passing
TimeSliceInfo::default()), but also some refactoring changes so that time slice info doesn't need to be passed aroundI had already fixed this in #1021, but easier to review it as a separate PR