Files
krow_backend/skills/overtime-analysis.md
2026-08-28 12:21:44 +05:30

2.5 KiB

id, name, description, category, pages, status, version, triggers, owliver
id name description category pages status version triggers owliver
overtime-analysis Overtime Analysis Analyse overtime hours, who is carrying them, and whether they are growing. workforce
analytics
control-center
active 1
overtime
extra hours
hours worked
working late
enabled suggestions capabilities responses
true
label capability
How much overtime are we running? summary
label capability
Who is working the most overtime? table
label capability
Overtime over recent periods flow
summary
stats
table
progress
flow
insight
summary stats table progress flow insight
title source
Overtime workforce.overtime
title source
Overtime workforce.overtime
title source
Overtime by person workforce.overtime
title source
Overtime by person workforce.overtime
title source periods
Overtime over time workforce.overtime
last-7-days
this-month
previous-month
title source
Overtime workforce.overtime

Overtime Analysis

Purpose

  • Report how much overtime the workforce is carrying.
  • Say who is carrying it, since a total spread evenly and a total sitting on one person are different problems.
  • Show whether it is growing.

Capabilities

  • Summarize overtime hours and their share of scheduled time.
  • Compare overtime per person, most hours first.
  • Show overtime across recent periods.

Data

Reads workforce.overtime, which compares scheduled hours to hours actually worked across ShiftRecord entries.

Analysis

Overtime is reported both as hours and as a share of scheduled time. The ratio is what makes two teams comparable — forty hours means one thing across a fortnight and another across a year.

Attendance and overtime are kept separate because one hides the other: a team can have perfect attendance and be running on thirty hours of overtime a week, and a single "workforce hours" figure would report that as healthy.

Output

Total overtime hours, share of scheduled time, average per shift, and a row per person. Over periods, hours per window.

Limitations

  • Overtime is derived from recorded shift end times, not from an approvals process. A shift that ran long appears here whether or not it was authorised.
  • A person with no overtime appears with zero, which is a real reading rather than missing data.
  • Cost is not calculated. No pay rate is attached to a shift record.