Non-blocking note from the agent re-review of PR #6 (#6 (comment)): in LimitAnalysis.Analyze (src/FinalToken.Core/LimitEstimates.cs:80), when a gap follows an instance, the tokens of the hour its reset falls in are counted by no instance. For example, a session resetting at 15:13 loses its 15:00–15:13 tokens. Hourly buckets (D5) cannot split the hour; it should belong to the ending instance when no instance follows directly.
Regression test with a session reset inside an hour and a following gap.
Give that boundary hour to the ending instance when the next instance does not start in it.
From the review of d477321 (LimitEstimates.cs:43): an old sample whose reset lies more than 15 minutes after the current reset can cut the current window short. Normal data does not produce it; add a test and ignore samples that contradict the current reset.
Non-blocking note from the agent re-review of PR #6 (https://git.finalfactory.de/FinalFactory/FinalToken/pulls/6#issuecomment-17888): in `LimitAnalysis.Analyze` (`src/FinalToken.Core/LimitEstimates.cs:80`), when a gap follows an instance, the tokens of the hour its reset falls in are counted by no instance. For example, a session resetting at 15:13 loses its 15:00–15:13 tokens. Hourly buckets (D5) cannot split the hour; it should belong to the ending instance when no instance follows directly.
- [x] Regression test with a session reset inside an hour and a following gap.
- [x] Give that boundary hour to the ending instance when the next instance does not start in it.
- [x] From the review of `d477321` (`LimitEstimates.cs:43`): an old sample whose reset lies more than 15 minutes after the current reset can cut the current window short. Normal data does not produce it; add a test and ignore samples that contradict the current reset.
Non-blocking notes from the passing agent review of PR #6 at 33458a4 (round 5, early forecasts):
LimitAnalysis.AverageUseAtReset, LimitAnalysis.Recent and Pace.CanForecast take the pace as an optional argument that falls back to threshold 10. Only tests use the default today. A future caller that leaves it out would bring back the chip/forecast mismatch that round 5 fixed. Proposal: make the pace argument required.
The forecast uses the elapsed time from the last refresh, while the start of the dotted line and the start check use the current time. They can differ by up to one refresh interval.
BurnUpChart gives the "Forecast from" text a fixed colour when the chart is created, unlike Ui.Text. It works only because the panel rebuilds on a theme change.
Non-blocking notes from the passing agent review of PR #6 at `33458a4` (round 5, early forecasts):
- `LimitAnalysis.AverageUseAtReset`, `LimitAnalysis.Recent` and `Pace.CanForecast` take the pace as an optional argument that falls back to threshold 10. Only tests use the default today. A future caller that leaves it out would bring back the chip/forecast mismatch that round 5 fixed. Proposal: make the pace argument required.
- The forecast uses the elapsed time from the last refresh, while the start of the dotted line and the start check use the current time. They can differ by up to one refresh interval.
- `BurnUpChart` gives the "Forecast from" text a fixed colour when the chart is created, unlike `Ui.Text`. It works only because the panel rebuilds on a theme change.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Non-blocking note from the agent re-review of PR #6 (#6 (comment)): in
LimitAnalysis.Analyze(src/FinalToken.Core/LimitEstimates.cs:80), when a gap follows an instance, the tokens of the hour its reset falls in are counted by no instance. For example, a session resetting at 15:13 loses its 15:00–15:13 tokens. Hourly buckets (D5) cannot split the hour; it should belong to the ending instance when no instance follows directly.d477321(LimitEstimates.cs:43): an old sample whose reset lies more than 15 minutes after the current reset can cut the current window short. Normal data does not produce it; add a test and ignore samples that contradict the current reset.Non-blocking notes from the passing agent review of PR #6 at
33458a4(round 5, early forecasts):LimitAnalysis.AverageUseAtReset,LimitAnalysis.RecentandPace.CanForecasttake the pace as an optional argument that falls back to threshold 10. Only tests use the default today. A future caller that leaves it out would bring back the chip/forecast mismatch that round 5 fixed. Proposal: make the pace argument required.BurnUpChartgives the "Forecast from" text a fixed colour when the chart is created, unlikeUi.Text. It works only because the panel rebuilds on a theme change.