Expand description
Productivity calculation utilities for work time analysis.
This module provides centralized productivity calculations that distinguish brief interruptions from full absences to give accurate productivity metrics.
§Key Concepts
- Short Pauses: Brief interruptions below
min_pause_duration - Long Pauses: Full absences at or above
min_pause_duration, plus any manual pauses the user recorded (protected records bypass the threshold)
§Productivity Formula
Productivity = (Net Work Time / Available Work Time) * 100
Where:
- Available Work Time = Total Time - Long Pauses
- Net Work Time = Available Work Time - Short PausesStructs§
- Productivity
- Productivity calculator with comprehensive work time analysis.