summaryrefslogtreecommitdiff
path: root/Taskfile.yml
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-12 20:54:13 +0300
committerPaul Buetow <paul@buetow.org>2025-06-12 20:54:13 +0300
commit09ad1901e93158ccbbfd64033849e1835fb3ecb8 (patch)
tree8bc13caeefd0e231531265ae2973121ed9a16a0a /Taskfile.yml
parentc9ae38674e91eeddf9f26fc64d4ddd3a3a3fbbfe (diff)
improve stats calculation to exclude pause periods
- Modify newStats() and gatherPostedStats() to accept config parameter - Add calculatePausedDays() helper function for pause period overlap calculation - Update postsPerDay and totalPostsPerDay calculations to exclude paused days - Prevent artificially low throughput during pause periods - Add comprehensive unit tests for pause-aware stats functionality - Maintain backward compatibility when no pause is configured Fixes issue where Gos would post aggressively after vacation periods due to including pause days in throughput calculations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'Taskfile.yml')
0 files changed, 0 insertions, 0 deletions