Skip to content

Scenario catalogue

The 839 scenarios that come with Time and Attendance, grouped by the rule each one checks. Each is a worked example (a person’s punches and setup, and the timecard they must produce), and every one passes on every build. Read one to see exactly how a rule behaves, or copy it as the start of your own.

The standard steps have scenarios for each setting and its default. The cookbook recipes carry their own, and scenarios explains the format.

Accruals

ScenarioWhat it checks
accruals-a-closed-period-opens-with-the-balance-before-itSick leave added in each of three weeks, the third closed: the closed week opens with what the two open weeks before it left, so it ends at their 12 hours and its own 2
accruals-a-layer-that-takes-force-with-the-hire-opens-the-hires-period-from-accruals-sinceA time account kept by a layer that applies by an attribute from the hire: the period the hire is in opens with the balance carried from accruals.since, and the 24-week average its week is worked with reads 24 weeks before each period between, though the period before the hire is under no account
accruals-a-period-after-a-closed-one-runs-on-from-itSick leave added in each of four weeks, the third closed: the fourth opens with the balance the closed week ended at, which runs on from the open weeks before it, so it ends at 15 hours
accruals-a-step-given-another-side-than-pay-is-refused-naming-itBalances are earned on the pay side only: an accrue step given the bill side is refused, naming the step
accruals-adjusted-by-handA balance adjusted by hand is an entry of its own, beside what was earned
accruals-an-accrue-step-raises-exceptionsAn accrue step raises exceptions as any step does: one about a line of its window, one about the window itself (id 0, its first day). Both are kept in the ledger beside what the step earned
accruals-an-accrue-step-reading-what-was-earned-before-is-worked-out-again-when-it-changesAn accrue step reading what was earned in a pay period before is worked out again when that changes, though the balance its period opens with does not: an hour is earned on each day worked, and February’s bonus of 5 hours is earned where an hour was earned on January 6. A night shift from 22:00 on January 5 is worked on January 5; a correction recorded February 1 has it start at 00:30, so it is worked on January 6, and February earns the bonus
accruals-an-adjustment-recorded-after-a-closeEight hours of paid time off added by hand for Tuesday, recorded after the week closed: the closed week stays as it was paid, without them (recorded before the close, it would end at 8 hours)
accruals-are-the-pay-sides-even-in-a-closed-periodSick leave is kept on the pay side: a closed week’s bill side has no balances, though the pay side’s runs on into it from the week before
accruals-earned-and-usedPaid time off earned at an hour for every thirty worked, used by a day of leave; the balance runs on from the first week
accruals-earned-by-the-days-workedAn accrue step earns half an hour for each day worked in the period (ctx:days_worked), and forfeits ten minutes on the period’s last day: three days worked earn an hour and a half, less the ten minutes, each entry saying which it is
accruals-earned-day-by-day-count-each-days-own-timeAn accrue step on each day earns a minute for every hour worked that day: Monday’s eight hours earn eight minutes and Tuesday’s four earn four, each window counting its own day’s time only
accruals-earned-reads-the-periods-before-and-this-one-so-farctx:earned(category, period) of an accrue step is what accrue steps earned of the category on the period’s days: in the pay periods before, as their ledgers have it, and in this one, as the steps before it earned: of September 15 to October 31, the 2 hours earned September 20 and the 3 earned October 5; not the 1 earned September 10, nor the 50 hours adjusted by hand
accruals-pay-out-is-not-in-a-category-a-balance-usesctx:pay_out into a pay category an accrual category uses fails the ledger, saying so: the time paid would be taken from the balance a second time
accruals-pay-out-is-time-not-workedctx:pay_out into a worked category (or one not set up) fails the ledger, saying so: a balance paid out is time not worked
accruals-pay-out-takes-the-balance-and-pays-it-as-timectx:pay_out(category, ms, pay_category, why, date) takes time off a balance and pays it as that much time in a pay category not worked, on the day named: 3 of the 10 hours of pto paid out on October 9, an untimed line of 3 hours in pto_payout that day, and 7 hours left
accruals-the-bill-side-earns-none-of-the-pay-sidesBalances are earned on the pay side only: the hours the pay side earns time off for earn the bill side nothing
accruals-the-pay-side-earns-what-the-bill-side-does-notBalances are earned on the pay side only: with a bill side beside it, the pay side earns time off for the hours worked
accruals-up-to-a-capEarning stops at a balance of two hours: the second week earns forty minutes, not an hour and four

Allocate

ScenarioWhat it checks
allocate-balance-is-for-a-step-that-declares-it-reads-balancesAn allocate step that reads ctx:balance without declaring reads_balances fails the ledger, saying so: what it works out would not be worked out again when the balances change
allocate-balance-is-the-balance-before-the-periods-accrualsctx:balance(category) of an allocate step that declares reads_balances is the balance as the pay period opens, with the hand adjustments and the time used in the period, before what its accrue steps earn: October opens with the 2 hours September’s 60 hours earned; 5 hours added by hand and 8 used make -1 hour; October’s own 30 hours, earning 1 more, are not in it
allocate-balance-of-the-bill-side-is-its-own-with-its-adjustments-and-time-usedThe sides are ledgers that work alike: on the bill side, ctx:balance(category) of an allocate step that declares reads_balances is the bill side’s balance as the pay period opens (the bill side carries none), with the hand adjustments and the time used in the period on that side: 5 hours added by hand and 2 hours of time off entered make 3 hours; the 8 hours of leave, paid and not billed, use nothing of it

Approvals

ScenarioWhat it checks
approvals-a-bill-sides-step-rules-nothing-of-payAn approval step of the bill side rules nothing of the pay side’s approvals: the pay period waits for payroll, routed nowhere
approvals-a-decision-does-not-pass-a-steps-blockA day a policy approve step blocks stays blocked at every stage, whatever is decided on it: approvals recorded at both stages do not approve it while the missing punch the step blocks on stands. The day without one goes through its stages
approvals-a-decision-does-not-pass-an-open-exceptionA day with an open exception stays blocked at every stage, whatever is decided on it: approvals recorded at both stages do not approve it until the exception is put right or excused. The day without one goes through its stages
approvals-a-decision-on-other-content-needs-reapprovalA supervisor’s approval of Monday names the content it saw (its fingerprint), and Monday is not that: the decision is on what Monday was, so Monday needs the supervisor’s approval again
approvals-a-later-change-needs-reapprovalA day approved, then corrected: what was approved is not what it is now, so it needs approving again; the approval is not lost, and the change is not passed as approved
approvals-an-assignment-naming-no-organization-waits-on-the-personsAn assignment’s approval tied to a hierarchy waits on the assignment’s own organization where it names one (the client site), and on the person’s organization where it names none
approvals-an-assignments-subject-reads-its-own-linesAn approve step blocks a subject of more than eight hours: by assignment, A12’s six hours and A15’s four are each its own and neither is blocked, though the day holds ten
approvals-blocked-by-an-exceptionA day with an open exception cannot be approved until it is resolved
approvals-each-assignment-on-its-ownApproved assignment by assignment: three days on A1 and two on A2 are two subjects, each of its own hours only. An approve step sees which assignment a subject is of and only its lines, and routes each to that assignment’s desk with its hours. A1 approved, A2 still waits, so the period is not approved; without the step, each would wait on its rule’s approver
approvals-each-entry-not-the-time-punchedLabor entries approved each on its own: the time punched the same day is no entry, so nothing waits for its approval but the entry
approvals-each-entryEach labor entry is approved on its own, hours and counts alike: one approved at both stages, one rejected and one disputed at the first, each stopped where its decision put it
approvals-in-stagesDays are approved by a supervisor, then payroll; the period by payroll. Each subject stands where its decisions put it
approvals-leave-waits-on-the-organization-of-its-first-dayA leave request’s supervisor stage waits on the person’s team on the request’s first day. The person moves from night-pack to day-pack on Wednesday: Tuesday’s request waits at night-pack, Thursday’s at day-pack, and one from Tuesday through Thursday at night-pack, where its first day was
approvals-overtime-on-its-ownOvertime is approved on its own, by a manager, apart from the days
approvals-wait-on-an-organizationA period’s approval waits on organizations: the supervisor stage on the person’s team, the director stage on the nearest organization above the team’s parent labelled a division. The supervisor approved, so it waits for the director, at the division the team was in on the period’s last day (it moved to the west division mid-week). A leave request waits for its supervisor, on the person’s team. Who decides for an organization is the app’s to say

Attribute

ScenarioWhat it checks
attribute-a-change-after-the-cut-reaches-the-piece-before-itSunday night’s shift split at midnight; a time step takes an out a few minutes past midnight back to five to, which moves the end of Sunday’s piece too, and the next time step flags Sunday’s piece for ending before midnight. The out corrected to half past is past the few minutes: Sunday’s piece ends at midnight again and nothing is flagged, though only Monday’s punch changed
attribute-a-cut-is-no-punch-to-moveWhere a shift was split at the workday’s start there is no punch: a time step that moves that edge is stopped, saying why
attribute-a-later-step-puts-a-shift-back-where-it-startsTwo attribute steps: the first counts Monday night’s shift in Tuesday, where it ends; the second, later in the policy, puts it back in Monday, where it starts. The later step decides, and both stamps say what each did
attribute-a-punch-moved-past-the-cutA split shift’s out punch snapped to its shift’s end, before the workday’s start where it was cut: the pieces follow the punches, the morning piece has no time left and the evening one ends at the shift’s end; nothing is made or lost
attribute-a-shift-ending-as-the-next-day-starts-ends-in-its-ownA shift ending exactly as the next workday starts (Monday 20:00 to midnight) ends in its own workday: its last instant is Monday’s; and a punch in and out at the very start of Wednesday is Wednesday’s, start and end. An attribute step flagging a segment whose last instant is in another workday flags neither
attribute-a-shift-starting-on-a-weeks-last-day-takes-the-work-two-days-after-it-into-the-weekA shift of 56 hours starts on the Sunday that ends the week, 22:00, and ends on the Wednesday after, 06:00: the work on the Monday and the Tuesday, which are the next week’s days, is the shift’s, so the Sunday’s. The attribute step asks of the segments of the days after the week one at a time while they have the shift’s work, so it finds them two days out: 23 hours on the Sunday of the week before, and nothing of it on the days after
attribute-a-split-across-pay-periodsA shift split at the workday’s start that is also a pay period’s: Sunday night’s piece is the first period’s, Monday morning’s the next one’s, worked out from the same punches in each and rounded at their punches (never at the cut), so none of it is counted twice or lost
attribute-a-split-shifts-start-moved-past-its-endA shift split at midnight, and a time step that moves its start past where it ends: the start cannot be placed, so the shift stays as punched, whole again across midnight, and the person is told; the ledger is worked out
attribute-split-an-overnight-shiftHours count in the workday they are worked in (as a daily overtime law that counts by a fixed 24-hour workday says): each overnight shift is split at midnight, the workday’s start. The pieces are segments from then on: rounded at their punches (never at the cut), counted by each day’s threshold, and they add up to the shift
attribute-split-pieces-are-exported-on-their-own-daysAn overnight shift split at midnight is exported as two pieces, each on the workday it was worked in
attribute-stamps-only-a-shift-across-a-workdays-startAn attribute step stamps only the segments its choice moves: Monday night’s shift into Tuesday is Tuesday’s, and says so; Wednesday’s day shift is Wednesday’s however it is attributed, and is stamped by nothing
attribute-whole-to-the-workday-it-ends-inA policy that counts a shift in the workday it ends in: Monday night’s shift, into Tuesday, is Tuesday’s, whole, and so is its overtime; without the step it would be Monday’s
attribute-without-a-step-a-shift-is-the-period-it-starts-inWithout an attribute step a shift is the workday’s it starts in, whole: Sunday night’s shift into Monday, the first day of the next pay period, is all the first period’s, and the next period has none of it, its segment or its hours

Carry

ScenarioWhat it checks
carry-five-decimalsAt five decimals the extra below the fifth is carried forward, and the lines add up to 1.00000
carry-forty-not-forty-point-oh-oneForty hours whose lines rounded one by one come to 40.01 are paid as exactly 40.00
carry-forty-not-thirty-nine-ninety-nineForty hours whose lines rounded one by one come to 39.99 are paid as exactly 40.00
carry-stops-at-the-periods-endThe extra carried at the end of a pay period is dropped: twice a month, a 20-minute block on the 15th and one on the 16th are each 0.33, and a week across both periods shows both
carry-ten-minute-blocksSix 10-minute blocks of 0.1666… hours: the extra of each is carried forward, and they add up to exactly 1.00
carry-three-decimalsAt three decimals the extra below the third is carried forward, and the lines add up to 40.000
carry-twenty-minute-blocksThree 20-minute blocks are 0.33, 0.33 and 0.34: the extra of each line is carried forward and counts on a later one, so the hours add up to the time

Clock

ScenarioWhat it checks
clock-moves-only-forwardThe clock moves only forward: a step before the one before it is refused, rather than check what happened against a time already passed
clock-tells-what-happened-step-by-stepTime passing, step by step: each step sees only what was recorded by then, and tells what happened since the one before. Monday’s in has no out until a supervisor adds it on Wednesday; vacation asked for on Tuesday waits for a decision; the timecard is approved on Friday. Each step tells its events, and a step with nothing new tells none

Clocks

ScenarioWhat it checks
clocks-a-rule-reads-the-clock-a-punch-came-fromA rule reads the clock record a punch was stamped with: an out and an in within the hour are a lunch on the lobby clock, which has no lunch keys (Monday), not on the dock clock, which has them (Tuesday), nor on a device with no record (Wednesday); each punch says its clock, its labels and its location
clocks-a-segment-reads-the-clocks-of-its-punches-and-none-at-a-cutA time step reads the clock record each punch of a segment carried: a night shift from the dock clock at 22:00 to the lobby clock at 02:00, split at midnight, is a piece from the dock clock that ends at a cut (no clock there) and a piece from a cut (no clock there) that ends at the lobby clock; a shift on a device with no record has none
clocks-go-backTime is counted as it passed: the night daylight saving ends, 22:00 to 06:00 is nine hours

Close

ScenarioWhat it checks
close-a-balance-adjustment-already-paid-is-carried-onceEight hours of paid time off added by hand to a closed week, recorded the next Tuesday, are held by that next week, which closes; the first week is reopened and closed again. The week after carries the eight hours once: the next week’s adjustment stays paid, and the first week takes them off
close-a-break-attestation-recorded-after-the-close-is-adjustedAn attestation stored after its period closed is a late change: Monday’s missed meal, attested the next Tuesday, leaves the closed week as paid and pays its hour of meal premium as an adjustment on the day it was attested
close-a-change-recorded-as-a-day-starts-is-that-daysA correction to a closed week recorded at the very instant Wednesday starts is a change of Wednesday: the closed week stays as paid, and the hour it adds is adjusted on Wednesday, neither lost between two days nor put on Tuesday, when the open week’s own punches were recorded
close-a-change-stored-as-the-period-closes-is-a-late-changeA period is half-open: a correction stored at the very instant the week closes is after the close, a late change, adjusted on the day it was stored; the closed week stays as paid
close-a-late-accrual-adjustment-reaches-the-balanceEight hours of paid time off added by hand for a closed week, recorded the next Tuesday: the closed week stays as it was paid, and the open week holds the eight hours as a balance adjustment on the Tuesday, labelled with the week it adjusts, so the balance carried on has them
close-a-late-accrual-adjustment-refusedWith late changes refused, eight hours of paid time off added by hand to a closed week after it closed reach no balance: the open week holds no adjustment, and says a change was refused
close-a-late-balance-adjustment-is-past-the-years-carryover-limitA balance adjustment for a closed period is posted on the day its change was stored, so the carryover limit applied as the year started does not apply to it: December closed at the 40-hour limit, a December shift delivered on January 10 earns an hour, and January keeps 41 hours
close-a-late-change-counts-the-balance-a-closed-period-forfeitsA late change counts everything a balance is made of, a forfeiture too: December and January closed, December at the 40-hour carryover limit; a December shift delivered in February earns an hour there, which January’s carryover then forfeits, so February’s balance is still 40 hours
close-a-late-change-is-adjustedA week closed and paid; a correction to it, and a count of boxes for it, recorded the next Tuesday leave it as paid and add the exact differences (an hour, twelve boxes) to the open week, on the day they were recorded
close-a-late-change-is-approved-in-the-open-periodA change to a closed week is approved where it is paid: its adjustment line is on the day of the open week it was recorded on, which waits for the supervisor like any other day, and is approved there
close-a-late-change-leaves-approved-leave-approvedEight hours of paid time off, taken in the second week against the eight on the balance as it started; both weeks close. Taking the eight hours back off the first week, recorded in the third, does not undo the leave: the third week holds the balance difference alone, eight hours less, and no time
close-a-late-change-leaves-refused-leave-refusedEight hours of paid time off asked for in a week with nothing on the balance, refused; the week closes. Eight hours added by hand to the balance on the day before the leave, recorded in the second week, does not grant the leave: the second week holds the eight hours as a balance adjustment alone, and no time
close-a-late-change-moves-a-cap-in-the-week-afterPaid time off earned up to a balance of four hours: the first week earns three, the second only one of the two its sixteen hours earn, and both close. Two hours taken off the first week by hand, recorded in the third, leave room for the second week’s other hour: the third week holds the whole difference, an hour less, not two
close-a-late-change-moves-no-balance-where-balances-do-not-runWhere balances do not run (no accruals.since), a late change to a closed week moves no balance: Friday’s shift, delivered the next Tuesday, adds its eight hours to the open week as an adjustment for the closed week, and the hour it would earn adjusts no balance
close-a-late-change-refusedWith late changes refused, the closed week stays as paid, nothing is added to the open week, and the open week says a change was refused
close-a-late-count-correction-adjusts-by-the-differenceA week closed with ten boxes counted; the count corrected to twelve the next Tuesday adjusts the open week by the two boxes it adds, not by the count
close-a-late-punch-earns-time-offAn hour of paid time off for every eight worked: the closed week paid four days and earned four hours; Friday’s shift, delivered the next Tuesday, adds its eight hours to the open week and the hour it earns to the balance, both as adjustments for the closed week
close-a-late-step-reads-the-balances-a-change-movesA late step refuses a change to a closed week that moves a balance by more than four hours (ctx.change.balances), though it moves no time: two hours of paid time off added by hand on Tuesday are adjusted, eight more on Wednesday are refused
close-a-late-step-reads-the-counts-a-change-makesA late step reads the counts a change to a closed week makes (ctx.change.quantities): it refuses a recount of more than five boxes, and adjusts a smaller one. Ten boxes recounted as twelve adds two: adjusted
close-a-late-step-reads-the-net-changeA late step adjusts a change to a closed week that adds time on the whole (ctx.change.net), and refuses one that takes time away: an hour more on Friday is adjusted
close-a-late-step-refuses-a-large-recountA late step reads the counts a change to a closed week makes (ctx.change.quantities): it refuses a recount of more than five boxes. Ten boxes recounted as twenty adds ten: refused, so the open week adjusts nothing and says why
close-a-late-step-that-keeps-state-is-refusedA late step that keeps something between calls is refused, named, as any step is: whether it adjusts or refuses one change to a closed period would depend on the changes it decided before
close-a-late-void-of-an-added-punch-is-adjustedA punch a correction added is named by that correction: voided after the week closed, it is a late change, and the eight hours it ended are taken off in the open week
close-a-later-period-reopened-pays-again-the-balance-it-paidEight hours of paid time off added by hand to a closed week, recorded the next Tuesday, are held by the next week as a balance adjustment, and it closes; the first week reopened and closed again takes them off as paid by the next week. The next week reopened holds the eight hours again, so they are on the balance once
close-a-later-period-reopened-pays-again-the-counts-it-paidA week closed, and twelve boxes for it adjusted in the next week, which closes; the week reopened and closed again takes the boxes off as paid by the next week. The next week reopened holds the twelve boxes again, so they stay paid, once
close-a-later-period-reopened-pays-again-what-it-paidA week closed, and an hour more for it adjusted in the next week, which closes; the week reopened and closed again takes the hour off as paid by the next week. The next week reopened holds the hour again, so it stays paid, once
close-a-leave-request-recorded-after-the-close-is-adjustedA leave request for a day of a closed week, recorded and approved after the close, is a late change: the closed week stays as paid, and the leave’s eight hours of paid time off, and the eight hours off the balance, are adjustments on the day it was recorded
close-a-one-day-periodPay periods of one day: a day closed is its own period, worked out as it was at its close, with nothing taken off as paid by itself
close-a-reopened-period-keeps-counts-already-paidA week closed, and twelve boxes for it adjusted in the next week, which closes: the week reopened and closed again keeps the boxes the next week paid as paid, and takes them off, so they are paid once
close-a-reopened-period-keeps-what-was-paidA week closed, and an hour more for it adjusted in the next week, which closes: the week reopened and closed again keeps the hour the next week paid as paid, and takes it off, so the hour is paid once
close-a-reopened-period-takes-off-the-balance-already-paidEight hours of paid time off added by hand to a closed week, recorded the next Tuesday, are held by that next week as a balance adjustment, and it closes. The first week reopened and closed again takes in the eight hours, and takes them off on its last day as already paid in the next week: they are on the balance once
close-a-reopened-period-takes-the-changeA closed week reopened takes the change itself; nothing is adjusted in the week after
close-a-schedule-change-recorded-after-the-close-is-adjustedA schedule change recorded after its pay period closed follows the closed-period rules: Monday’s shift, put in the schedule the next Tuesday, makes the hour worked on it reporting pay for half the shift; the closed week stays as paid, and the four hours are an adjustment on the day the change was recorded
close-adjustment-lines-go-through-the-carryAdjustment lines go through the carry like any other line: twenty minutes added to a closed week and two stretches of twenty worked in the open week are 0.33, 0.33 and 0.34 hours, an hour in all, not 0.99
close-after-days-closes-no-period-of-a-person-its-layer-does-not-pickclose.after_days is a layer setting like any other: a layer for the seasonal pay group closing weeks three days after they end closes no week of an office worker’s
close-after-days-closes-the-periods-of-the-people-its-layer-picksclose.after_days is a layer setting like any other: a layer for the seasonal pay group closing weeks three days after they end closes a seasonal person’s week as the 15th starts
close-after-the-period-ends-holds-its-daysA week closed after it ends, on the next Monday morning, holds every punch stored on its own days, Friday afternoon’s and Saturday’s among them; the next week adjusts nothing
close-an-employment-change-recorded-after-the-close-is-adjustedA policy pays overtime past 8 hours a day only while not exempt. Last week closed with Monday’s two hours over paid as overtime; a change recorded this Tuesday makes the person exempt from that Monday: the closed week stays as paid, and this week adjusts the two hours from overtime to work
close-changes-before-the-close-are-in-itCorrections stored before a week closed, on the days before its close, are in the closed week: nothing is adjusted for them after
close-changes-recorded-on-two-days-are-two-adjustmentsChanges to a closed week recorded on two days of the open week make two adjustments, each on the day its change was recorded
close-early-a-change-after-the-next-period-closes-too-is-taken-by-the-one-afterA week closed early, on Friday at noon, and the next week closed in advance at two: a shift stored between the closes is held by the next week, as of its close; Saturday’s, stored after both, by the week after it
close-early-a-change-stored-before-the-close-is-taken-onceA week closed early, on Friday at noon: a correction to the week before, closed, stored that Friday morning before the close, is adjusted in the closed week and nowhere else; Saturday’s shift, stored after the close, is adjusted in the next week
close-early-and-closed-again-after-it-ends-holds-its-days-onceA week closed early, on Friday at noon, and closed again the next Monday with no reopen between: its record is as of the later close, holding once Saturday’s shift and a correction to the week before, both stored on Saturday between the closes (the correction as an adjustment for the week before, closed); it adjusts nothing for itself, and the next week adjusts nothing
close-early-the-days-after-the-close-are-adjusted-in-the-next-periodA week closed early, on Friday at noon: Friday afternoon’s shift and Saturday’s, stored after the close, are late changes to the closed week, adjusted on the first day of the next week; the closed week stays as paid at its close
close-early-the-days-after-the-close-are-held-by-the-next-period-closed-afterA week closed early, on Friday at noon, and the next week closed after it ends: the next week’s record holds the adjustments for Friday afternoon’s shift and Saturday’s, stored after the early close; the week after it adjusts nothing
close-early-the-days-after-the-close-are-refusedWith late changes refused, a week closed early on Friday at noon stays as paid at its close; Friday afternoon’s shift and Saturday’s, stored after the close, are refused, said on the first day of the next week, and nothing is added to it
close-early-the-days-after-the-close-earn-time-off-in-the-next-periodAn hour of paid time off for every eight worked: a week closed early on Friday at noon paid eleven hours and earned what they earn; Friday afternoon’s shift and Saturday’s, stored after the close, add their eight hours to the next week and the half hour each earns to the balance, both as adjustments for the closed week
close-the-open-periods-policy-adjusts-a-change-the-closed-ones-would-refuseWhether a change to a closed week is adjusted or refused is the policy’s of the week open when it is recorded: the closed week’s says refuse, the open week’s says adjust, and the change is adjusted
close-the-open-periods-policy-refuses-a-change-the-closed-ones-would-adjustWhether a change to a closed week is adjusted or refused is the policy’s of the week open when it is recorded: the closed week’s says adjust, the open week’s says refuse, and the change is refused
close-two-periods-closed-again-at-one-instant-pay-onceEight hours of paid time off added by hand to a closed week are held by the next week, which closes; both weeks are reopened, and closed again at one instant. Closes at one instant come in the order of their weeks: the first week closes first, takes in the eight hours and takes nothing off, and the next week holds nothing for it. The week after carries the eight hours once
close-two-periods-closed-at-one-instant-the-first-takes-the-change-itselfCloses at one instant come in the order of their weeks: the two weeks closed again at one instant, the first closes first and takes in the eight hours added by hand to it, taking nothing off as paid by the next
close-two-periods-closed-at-one-instant-the-next-holds-nothing-for-the-firstCloses at one instant come in the order of their weeks: the two weeks closed again at one instant, the next closes after the first, which took in the eight hours added by hand to it, so it holds nothing for the first
close-two-periods-reopened-together-pay-onceA week closed, and an hour more for it adjusted in the next week, which closes; both reopened together, the first closed again pays its whole 41 hours, and the next week holds nothing for it

Context

ScenarioWhat it checks
context-a-clock-gives-what-the-person-keyed-noneA clock’s values are the punch’s where the person keyed none: the person keyed the site, which stays; the clock gives the area, over the location’s; the shift names the crew, over the clock’s; the location gives the region, which nothing before it did
context-a-correction-reassigns-the-workA correction sets the assignment on the punch that started the work: the work moves there, and its context says the correction put it there
context-a-job-the-assignment-does-not-allowA job the assignment does not allow, and a required dimension with no value, are said; the work keeps what did resolve
context-a-mapping-changes-from-a-dateWork code 7 meant assignment A12 until the 6th and means A15 from the 7th: each day’s work takes the mapping of its day
context-a-work-code-at-the-clock-decides-before-the-shiftMappings apply after each source: a work code picked at the clock means assignment A12, which the work takes before the scheduled shift, naming A15, is looked at
context-a-work-code-steers-to-its-assignmentA work code picked at the clock means an assignment and a job: the work goes there, with the assignment’s cost center, and every value says where it came from
context-an-assign-step-puts-a-count-on-an-assignmentA count of boxes with two assignments active and nothing saying which is ambiguous; an assign step puts it on A12: the count is A12’s, stamped, and nothing is left ambiguous
context-an-assigned-entry-clears-its-own-exception-onlyAn assign step that puts a labor entry on an assignment takes away that entry’s assignment_ambiguous exception, and only it: Thursday’s out with no in is still said
context-an-implication-that-disagreesThe punch names assignment A15, but its work code means A12: the value given stays and the disagreement is said
context-mappings-are-followed-until-nothing-new-comesMappings are followed until nothing new comes from them: a work code means a job, the job a department, and the department a cost center, each value saying which mapping gave it
context-one-assignment-or-askWith one assignment active, work is on it; once a second starts the same day, work with nothing saying which is an exception, not a guess
context-the-persons-and-the-tenants-defaultsWork that says nothing of a dimension takes the person’s default for it, then the tenant’s: the person’s cost center, and the tenant’s region, each saying whose it is
context-the-shift-says-which-assignmentTwo assignments active and nothing on the punches: the scheduled shift the work starts in says which

Ctx

ScenarioWhat it checks
ctx-balance-in-the-rate-stage-is-the-balance-as-the-period-startsIn the rate stage ctx:balance is the pay side’s balance as the pay period starts: 8 hours adjusted in the week before and 4 on this week’s Tuesday leave 8 at its start, so a step choosing the second of two rates that tie from 8 hours on chooses it (24.00 an hour); what the period earns or is adjusted by is not in it
ctx-balance-in-the-rate-stage-takes-no-dateA rate step asking for a balance on a date is stopped saying why: in the rate stage nothing of the period is earned yet, and the balance is the one as the pay period starts
ctx-quantity_in-a-sum-too-large-fails-the-ledger-naming-the-measureCounts too large to add fail the person’s ledger, naming the measure, instead of wrapping to a small or negative number a step would pay on: two entries of 9e18 boxes in one window, read by a step with ctx:quantity_in

Eligibility

ScenarioWhat it checks
eligibility-a-leave-rule-from-mid-request-checks-the-requestA blackout from Monday through Friday comes in a layer that applies from Thursday 2026-10-08. A leave step runs on a request when its layer applies on any day of it: Wednesday and Thursday’s request is refused, Thursday being in the layer and the blackout; Tuesday and Wednesday’s, all before the layer, is not checked by it and waits for its approval
eligibility-a-move-mid-weekThe person moves from Reno to Los Angeles on Wednesday. California’s layer applies from that day: its daily overtime past 8 hours from Wednesday, and its weekly threshold counts only Wednesday to Friday’s work (24 hours, 4 past 20); Monday and Tuesday in Nevada are neither
eligibility-a-state-layer-from-the-week-they-work-thereA state’s overtime layer applies by its rule, jurisdiction = us-ca: from the week the person moves from Reno to Los Angeles, a day past 8 hours is overtime; the week before, in Nevada, it is not
eligibility-a-union-layer-under-an-organizationA union’s layer applies to everyone under its local, under unions:local-42: the person’s shop is under it, so the union’s 38-hour week is theirs, and the stamp names the union’s layer
eligibility-an-approve-rule-from-mid-period-rules-the-periodA layer that applies from Thursday 2026-10-08 sends the payroll stage to HR. An approve step runs on the pay period when its layer applies on any day of it: the week from Monday 2026-10-05 waits for HR, though Monday’s work is before the layer.
eligibility-an-attribute-from-mid-periodFrom Wednesday the person is seasonal: the seasonal layer applies from that day, its daily overtime past 10 hours and its setting that work starts in the category seasonal; Tuesday, hourly, is neither
eligibility-an-attribute-picks-the-layerA layer for a pay group, attributes.pay_group = seasonal, applies while the person’s attribute says so: from the week they are seasonal, a day past 10 hours is overtime; the week before, the attribute said hourly and the layer was not theirs
eligibility-counting-follows-the-layers-of-the-periods-first-dayHow hours are counted follows the layers in force on the pay period’s first day. A layer of three decimals from Wednesday 2026-10-07 leaves the week of 2026-10-05 in two decimals, Thursday included, and counts the week of 2026-10-12, which starts with it, in three
eligibility-leaving-a-layer-mid-periodThe person leaves the union’s local on Wednesday: its daily overtime past 8 hours applies on Monday and Tuesday, and from Wednesday no more

Export

ScenarioWhat it checks
export-a-footer-is-given-the-people-lines-and-hours-by-categoryAn exporter’s footer is given how many people and lines were written and their hours by category, for a trailer. Monday is ten hours, eight of them work and two overtime, Tuesday eight hours of work: one person, three lines, 16.00 work and 2.00 overtime
export-csv-can-include-unpaid-time-and-a-codes-param-outranks-the-setupWith include_unpaid the standard CSV export writes the unpaid meal too, under the setup’s code for it. A code the export’s own codes param names is written instead of the setup’s: work as PAY here, and the meal, which the param does not name, as the setup’s MEAL
export-csv-leaves-out-unpaid-time-and-writes-the-setups-codeThe standard CSV export writes paid time only: a lunch punched out and in is a category that is not paid, and its row is not in the file. The category column holds the code the setup gives the category, here REG for work. Monday is 8:00 to 16:30 with half an hour of lunch: 8.00 hours of work, and no row for the meal
export-reads-the-attributes-of-the-periods-last-dayA ledger’s attributes are those in force on its period’s last day: a payroll id changed partway through the week is the one every row is exported under
export-reads-the-rate-each-line-is-atAn exporter reads the rate each line’s work is at, as a step’s ctx:rate gives it. Monday on the forklift, two pay rates match as closely (the job’s 20.00 and the assignment’s 18.00), and the policy’s rate step chooses the higher: Monday’s line is at 20.00. Tuesday packing, only the assignment’s applies: 18.00. Wednesday on another assignment no pay rate applies: none

Labor

ScenarioWhat it checks
labor-a-corrected-countA count entered wrong is replaced by a later entry; only the standing count is in the ledger
labor-a-piece-rate-by-contextThe piece rate comes from the rates matched on each count’s context: packing pays 30 cents a box, forklift loads 50
labor-a-productivity-bonus-at-the-thresholdA bonus of 1.50 an hour for at least 12 boxes an hour: 96 boxes in 8 hours is exactly 12 and earns it, 95 does not
labor-a-rule-added-money-line-says-which-rule-added-itA money line a rule adds carries a note saying which rule added it: a piece rate’s pay names the piece rate step; the count entered carries none
labor-a-step-counts-what-its-filter-picksA step counts boxes as its filter picks them: all of them (18), those of a category (13), all but a category (13), of a context value (15), of a day (3); and every count of any measure (four)
labor-an-unknown-measureAn entry in a measure there is none of is said, not guessed at
labor-boxes-packed-at-a-piece-rateTen boxes packed during the morning take the job picked at the clock; a piece rate pays 25 cents each, a money line beside the count
labor-entered-hours-in-a-worked-category-count-toward-overtimeHours entered without punches in a category that counts as worked count toward overtime: forty hours punched and two of training entered for Saturday make two hours over forty in the week
labor-hours-without-punchesEight hours of leave recorded as an amount, not punched: an untimed allocation in its category, counted in hours but not as worked
labor-rates-that-tie-on-a-day-starting-at-fourA tie between rates is about the workday, so it is said at the workday’s start, 04:00 here, as every exception about a day is; not at midnight
labor-rates-that-tieTwo rates match a count as closely: neither is picked, the tie is said, and nothing is paid until it is settled

Leave

ScenarioWhat it checks
leave-a-check-is-taken-again-where-the-check-of-a-request-before-it-would-changeA leave check is taken again where the check of a request before it would change, in every pay period it reaches: a day’s hour is earned on each day worked, and a2, in April, is refused unless none was earned on January 5. A night shift from 22:00 on January 5 is worked on January 5; a correction recorded February 1 has it start at 00:30, so it is worked on January 6: a2 now stands, and b (April 28 and May 4), checked against the 2 hours April opens with, would leave the balance below nothing after it: refused, in the ledger of May too
leave-a-check-reading-where-an-earlier-request-stands-is-taken-again-when-its-balance-changesA leave check reading where an earlier request stands is taken again when the balance that request was checked against changes, though its own does not: an hour is earned for each 8 worked, up to 3 hours. a (3 hours on March 10) is checked against the 2 hours March opens with: refused; a day worked February 2, recorded late on March 20, has March open with 3 hours, and a stands. April opens with 3 hours either way, March’s own day filling the balance to its cap; b (April 8) sees a pending
leave-a-check-reading-where-an-earlier-request-stands-is-taken-again-when-its-check-would-changeA leave check reading where an earlier request stands is taken again when what that request’s check read changes, though its own balance does not: a day’s hour is earned on each day worked; a, in March, is refused unless an hour was earned on January 6. A night shift from 22:00 on January 5 is worked on January 5; a correction recorded February 1 has it start at 00:30, so it is worked on January 6: the balance April opens with stays 2 hours, a now stands, and b (April 8) sees it pending
leave-a-decision-is-taken-again-when-the-balance-it-was-checked-against-changesA leave check is taken again when the balance it was checked against changes, though the requests do not: v1 (2 hours on February 9) is checked against the balance February opens with; the days worked January 12 and 13, recorded late on January 31, earn 2 hours by then, and v1 stands
leave-a-grant-in-the-requests-own-pay-period-is-countedA leave check counts what the request’s own pay period’s accrue steps make whatever is decided of leave: the year’s 16 hours granted January 1, the first day of a monthly pay period that opens with nothing, hold a vacation day on January 5; a second day’s request leaves 0h; a third would leave the balance below nothing: refused
leave-a-rejected-request-is-seen-rejected-though-a-check-would-refuse-itA request its approvals rejected stands rejected however the policy’s checks would decide it: r, rejected, would be refused by the check of requests marked so; m, checking its own days, sees r rejected at the stage that rejected it
leave-a-step-reads-its-request-and-the-balance-it-starts-fromA leave step reads the request it checks: its first and last days, its time, when it was recorded and by whom, and the stage it waits at (the supervisor approved, so hr). It reads the pto balance as the pay period of the request’s first day opens (40 hours, from the week of 2026-10-05), not less the request. The step words what it read in an exception
leave-an-accrue-step-reading-what-leave-can-change-earns-nothing-aheadA leave check counts what an accrue step makes apart from the period’s time and leave only where the step reads nothing a leave decision can change: of three steps earning in January, the one reading the balance as the period starts earns its 8 hours ahead; the one reading the period’s counts (8 hours) and the one reading the balance within the period (16 hours) earn nothing ahead. A vacation day on January 12 is held by the 8 hours; a second on January 19 would leave the balance below nothing: refused
leave-approved-in-stagesLeave asked for Tuesday and Wednesday, approved by a supervisor, then HR: Tuesday’s hours are vacation, and no one is a no show on a day of approved leave. Wednesday’s request waits for its supervisor: it is on the calendar, but gives no hours and excuses nothing
leave-balance-after-counts-adjustments-and-hours-aheadA leave check counts the recorded facts dated from the start of the request’s pay period through its last day: the balance opens October at 10 hours; a hand adjustment of +6 hours on October 20 and 2 hours of pto entered on October 22 are counted, so a 4-hour request on October 26 leaves 10 + 6 - 2 - 4 = 10 hours, and of the changes from October 1 the entry leaves it below 15 hours (the adjustment raised it). The 8 hours worked on October 5 earn an accrual, which is not counted: it depends on hours worked. The adjustment of -20 hours on October 28, after the request, is not counted either
leave-balance-after-counts-the-requests-recorded-beforectx:balance_after(category) is what a request leaves: the balance at the start of its pay period (40 hours), less the standing requests recorded before it for days from then on, less its own. v1 (8 hours, first) leaves 32; v2, rejected, draws nothing; v3 leaves 40 - 8 - 4 = 28; v4, recorded last, counts v1 and v3, not v2, and not the request in the other category
leave-balance-changes-are-facts-that-moved-the-balance-past-an-amountctx:balance_changes lists the changes that moved the balance past an amount, one per fact: v1, three days in February, is one change dated its first day; a hand adjustment is one; an increase never counts as below, nor a decrease as above. Before the pay period of the request being checked, as the ledgers have the balance; from then, the requests recorded before it (v2). A span that opens below counts nothing until a change lowers it again (March, which opens at -4 hours)
leave-balance-changes-from-a-day-within-a-pay-period-open-with-its-days-beforectx:balance_changes over a period starting within an earlier pay period follows the balance from what it was as that day started: 8 hours earned Monday October 5, before the period asked about (from Wednesday), and an adjustment of -10 hours on Thursday leave -2 hours: below nothing
leave-balance-changes-from-within-the-pay-period-open-with-the-changes-beforectx:balance_changes over a period starting within the pay period of the request being checked follows the balance from what the period opens with: the pay period’s opening 20 hours, less v2 (May 11, 4 hours) before it, is 16 hours on May 12; v4 (May 12, 8 hours) leaves 8 hours, and the adjustment of May 14 (-10 hours) leaves -2 hours: the one change below nothing
leave-balance-changes-include-what-was-paid-out-and-forfeitedctx:balance_changes lists the changes steps make to a balance as well as facts, each of its kind: 3 of the 10 hours paid out on October 9 take it below 8 hours (paid_out), and 2 hours forfeited on October 12 lower it again, below 6 (forfeited)
leave-balance-changes-take-below-or-abovectx:balance_changes takes a direction of below or above: any other is an error naming the call
leave-earned-counts-from-the-day-balances-run-from-to-the-requests-pay-periodctx:earned counts what was earned from the day balances run from, the last day of a pay period here, up to the pay period of the request’s first day, that first day not included: of October, the 2 hours earned Sunday October 4 (accruals.since) and the 3 earned October 6; not the 4 earned October 12, the first day of the request’s pay period, nor the 1 earned October 14
leave-earned-is-what-accrue-steps-earned-before-the-requests-pay-periodctx:earned(category, period) of a leave step is what accrue steps earned of the category on the period’s days before the pay period of the request’s first day: of September 15 to November 30, the 6 hours earned September 20 and the 10 earned October 5; not the 3 earned September 10 (before the period), the 50 adjusted by hand, nor the 7 earned November 3 (the request’s own pay period)
leave-earned-reads-a-closed-period-as-it-was-paidctx:earned reads a closed pay period as its record has it, as it was paid: the week of October 5, closed October 12 after 8 hours earned, is read as 8 hours; 2 hours entered for it on October 13 are taken into the week open then, as an adjustment, not earned in the closed week
leave-earning-on-the-periods-time-is-not-counted-in-its-own-pay-periodWhat an accrue step earns from the pay period’s own time is not counted by a leave check in that period: the time can depend on what is decided of the leave, whose period’s ledger needs the decision first. 300 hours worked January 2 earn 10 hours of sick leave in January, yet a sick day on January 12 is checked against the balance the period opened with, nothing: refused
leave-is-paid-not-billedA day of approved vacation is paid, and never billed: the pay side has its hours, the bill side only the hours worked
leave-recorded-after-the-day-is-checked-and-paidA sick day reported after the fact: Tuesday’s 8 hours of sick leave, recorded on Thursday by the person’s supervisor and approved that day. It is checked as any request is (it fits the balance), paid on Tuesday, and drawn from the balance
leave-requests-are-found-by-the-dates-askedctx:requests(period) gives the person’s other requests with a day the period holds, by first day, the request being checked never among them: v4, asking for October 15 to November 2, sees v2 (October 20) and v3 (November 2 and 3), not v1 (October 5) nor itself; one ending before or starting after is not found
leave-requests-are-found-on-the-days-the-period-holdsctx:requests(period) finds a request by the days the period holds, not by the dates from its first to its last: of October’s weekends, w (Saturday October 10) is found; d (Wednesday October 14) and r (Monday October 19 to Friday October 23), each within those dates, are not
leave-requests-see-a-refusal-in-an-earlier-pay-periodctx:requests gives each request where it stands as the policy decided it: s, asked for before m and refused by the policy in September, an earlier pay period, is refused, though no decision on it was made with m’s; l, asked for after m and marked to be refused, is decided after m: as its approvals have it, pending
leave-taken-counts-this-request-and-the-standing-ones-before-itctx:leave_taken(categories, period) is the leave of those categories on the period’s days, of the request being checked and the requests recorded before it that stand, by day: m (October 12 and 13, 8 hours each) counts with a (October 13, 4 hours: 12 on that day) and h (October 20); not r (rejected), s (refused in September, an earlier pay period, by the policy), t (refused this period), l (recorded after m), o (another category), nor a’s day outside the period
leave-two-requests-recorded-at-one-instant-are-decided-in-the-order-keptTwo requests recorded at one instant are decided in the order they were kept in (the store’s sequence: here the order of the file), not by their ids: b, kept first, is checked against the 8 hours granted and holds them; a, kept after it, would leave the balance below nothing: refused
leave-with-no-rule-waits-for-a-decisionWith no approval rule for leave, a request waits for one decision, at the stage approval: Tuesday’s, decided on, is vacation; Wednesday’s, which no one decided on, gives no hours

Missing

ScenarioWhat it checks
missing-inAn out with no in before it makes nothing and is said
missing-outAn in whose out never came counts nothing and is said; the next in starts a new segment

Packages

ScenarioWhat it checks
packages-a-lock-refuses-the-tenants-layerThe adopted package locks its overtime step: the tenant’s layer that would loosen it is refused, saying which layer locks what
packages-a-pin-keeps-its-versionA tenant pinning the package’s 2.0.0 keeps it when 2.1.0 is published from 2026-10-12: overtime still starts past 8 hours in the week from it
packages-a-version-from-a-dayAn adopted package’s 2.1.0, from 2026-10-12, makes overtime start past 9 hours: the week before is worked out by 2.0.0 (past 8), the week from it by 2.1.0, each version’s own code
packages-adopted-of-one-order-apply-by-nameTwo adopted packages’ layers of the same order apply by the packages’ names, not the order adopted or published: alpha’s layer adds daily overtime past 8 hours, then zeta’s raises it to 9. A 10-hour day has 1 hour of overtime. Were zeta’s layer first, it would change a step there is none of yet

Pair

ScenarioWhat it checks
pair-a-close-is-only-for-work-nothing-endedA pair step closes every in twelve hours on: work an out ended before then, or at that very instant, ends at its out, and the out is no stray; only Wednesday’s work, which no out ended, ends at the close
pair-a-step-sees-the-marks-of-the-steps-before-itOf two pair steps, the second sees what the first marked, on the punch it marked and no other: the first ignores Monday’s second in, and the second step flags the punch it sees ignored
pair-punches-at-one-instant-are-taken-in-the-order-keptPunches at the same instant are taken in the order they were kept, not by their ids read as text: p9, the out kept first, is before p10, the in kept after it, though p10 sorts first; so the step sees in, out, in, out: the work ends at noon and the next begins

People

ScenarioWhat it checks
people-a-rule-across-employers-reads-the-other-recordsA worker employed by two employers of the tenant: thresholds count within each employment, so this record’s 24 hours are under 40; a policy that combines them reads the worker’s other record (20 hours that week, as last worked out) and pays this record’s last 4 hours as overtime
people-a-step-reads-their-organization-and-its-chainA step reads the person’s organization of each hierarchy on a day, with the chain above it as the tree was that day, and their work location: the team moves from the east division to the west on Wednesday, and the person is at Reno from Tuesday. A long day is flagged for the team’s division, by its label, and where they work
people-an-unlinked-person-is-worked-out-and-flaggedAn unlinked person (punches under the sender’s ids only) is worked out with the tenant’s policy, with no employment: their hours show. A policy that wants someone to say who they are reads it from ctx:person and raises an exception on their days
people-of-two-changes-on-one-day-the-later-written-standsTwo changes of a person’s location effective the same day, to New York and then to Los Angeles: the later one stands, so from that day they are at Los Angeles, and a layer for those at Los Angeles flags their work
people-policies-read-employmentPolicies read a person’s employment: overtime past 8 hours a day only while not exempt, and holiday pay only once 90 days employed. The engine does neither on its own: these steps are the policy’s.
people-what-is-not-known-is-nilWhat is not known of a person is nil to a policy step, not a value: never hired, they have no hire date, no days employed, no termination, and no attributes

Period

ScenarioWhat it checks
period-a-spec-that-is-not-one-is-an-errorctx:period takes a spec it can work out: a repeating spec starting from no date, month and day, hire or leave year is an error that says so
period-a-value-says-what-it-holdsA step reads a period: Monday’s shift, 20:00 to 02:00, has 4 hours in the nights from 22:00 to 06:00 (ctx:time_in with a period counts only the time inside it), which are two stretches of Monday’s window (its morning, and its night, to the shift’s end); 23:00 and Monday are in them, 20:00 to 23:00 holds one hour of them. The week’s weekend is one stretch of two dates; Monday and Saturday together less Saturday is Monday, as is the spec of those dates except Saturdays. The workweek knows the next, the one before and the one three on
period-a-year-by-where-it-startsctx:period gives the year a date is in by where it starts: the calendar year; the anniversary year, from the person’s latest hire (March 15), and the one after it; the leave year, from accruals.leave_year_starts (July 1); and the rolling year up to the date. A date before the year’s start day is in the year before

Policy

ScenarioWhat it checks
policy-a-24h-window-step-raises-an-exceptionAn allocate step on 24-hour windows raises an exception on a window holding more than twelve hours of work: Monday’s shift and the night shift starting in it, twelve and a half hours within 24, is said; Wednesday’s eight are not. An hour of training entered for Monday, with no time of day, starts no window and is in none; nor does an in and out at the same instant, at 02:00
policy-a-failing-step-names-itselfA step that fails stops the ledger with an error naming the step, never a quiet wrong answer
policy-a-line-moved-to-its-own-category-is-left-as-it-wasA step that moves each line to the category it is already in moves nothing: no time is said to have moved, and no stamp says it did
policy-a-lock-keeps-a-rule-onA jurisdiction layer adds a daily threshold and locks it: the client layer that turns it off is refused, and the rule still applies
policy-a-lower-layer-changes-a-parameterA plant’s layer changes one parameter of the root’s weekly threshold: 38 hours there, and the line says both layers gave the step
policy-a-night-premiumTime worked between 22:00 and 06:00 goes to the night category, across midnight; the shift stays one workday
policy-a-repeating-window-runs-across-pay-periodsA threshold on a repeating window of two weeks from Monday 28 September (an 80-hour fortnight), paid weekly: the second week’s ledger counts the first week’s 50 hours, kept by the period before, so its own 50 hours past 80 in the fortnight, 20, go to overtime, the latest first; the step’s reason names the window by its length
policy-a-step-added-after-a-named-stepA layer adds a step after the policy’s daily overtime, ahead of its double time: it runs between them. On a 14-hour day it sees the 6 hours daily overtime moved and none of the 2 hours of double time yet; added at the end it would see both
policy-a-step-cannot-add-after-the-pay-periods-last-dayA step on a window of two weeks, run for a pay period of one, cannot add on the window’s last day when that is a day of the next period: the first week’s ledger fails naming the step and the day, instead of a count that is not paid here being kept and added again by the second week’s ledger
policy-a-step-cannot-add-hours-after-the-pay-periods-last-dayA step on a window of two weeks, run for a pay period of one, cannot add hours on the window’s last day when that is a day of the next period: the first week’s ledger fails naming the step and the day, instead of time that is not paid here being kept and added again by the second week’s ledger
policy-a-step-cannot-break-timeA time step that would make a segment end before it starts does not: the segment stays as it was punched and the person is told which step it was, so the ledger is worked out
policy-a-step-cannot-change-its-parametersA step’s parameters are the policy’s, not the step’s: changing them is refused, so the next day or person is given what the policy says
policy-a-step-cannot-overlap-its-workdays-next-segmentA time step that would carry the morning’s segment past the afternoon’s start, on the same workday, does not: the morning stays as punched, the person is told, nothing is counted twice
policy-a-step-cannot-overlap-the-next-workdays-workA time step that would carry Monday night’s shift past the start of Tuesday’s first does not: the night shift stays as punched and the person is told, so no time is counted twice
policy-a-step-counts-in-hours-and-minutesA step counts time with the time helpers: an hour and a half, as time.hours(1) and time.minutes(30), is the latest hour and a half of the day, moved
policy-a-step-from-mid-week-knows-the-days-it-applies-toA weekly step added by a layer from a Tuesday runs on the first week’s window knowing it applies to all but its Monday (ctx.window.applies), and on the next week’s whole, with no such list
policy-a-step-from-no-packageA step that uses a package there is none of is an error, not a skipped rule
policy-a-step-moves-a-stretchs-last-line-by-its-idA step reads the day’s stretches of work and moves the last line of each, by the line ids each stretch lists: the morning’s 11:00 to 12:00 and the afternoon’s 15:30 to 16:30 are each the last of their stretch
policy-a-step-moves-time-by-wall-time-never-untimed-hoursAn allocate step moves the latest seven hours of work (there are six: it says six), then what falls in a period of the nights from 22:00 to 06:00 (05:00 to 06:00), then between 05:00 and 05:30, each saying how much it moved; moved again into where it went, nothing moves. Two hours of training entered for the day have no time of day: no wall-time move takes them
policy-a-step-reading-balances-is-worked-out-again-when-they-changeAn allocate step that reads balances is worked out again when they change. Monday’s work is recorded as it happens; on Thursday HR adds 8 hours of paid time off by hand, dated Thursday, in the same pay period. Monday’s step then reads the 8 hours. Recorded fact by fact, Monday’s ledger kept from before the adjustment is worked out again to the same as the whole
policy-a-step-reads-a-days-schedule-changesctx:schedule_changes gives a workday’s overrides in the order they were stored, each with its kind, when it was stored, who recorded it and why; another day’s are not among them
policy-a-step-reads-lines-from-before-the-periodPaid on the 1st and 16th, a week runs across two pay periods; a step that pays the seventh day worked in a row reads the week’s lines, those before the period too (marked prior, to count, never to move), so Sunday the 18th is paid as the seventh though only three of the days are in the period
policy-a-step-reads-since-when-the-person-is-on-leavectx:person reads when the person’s leave of absence started, while it lasts: none on Tuesday, before it; 2026-10-07 on Thursday; none on Friday, the day it ended
policy-a-step-reads-the-days-linesAn exceptions step reads the workday’s lines: Monday’s two stretches of work, four hours apart, are a split shift; Tuesday’s half-hour lunch is not, and neither is Wednesday’s hours entry, an untimed line at no time of day
policy-a-step-reads-the-tenants-metadataA step reads the tenant’s metadata: a staffing agency whose metadata says its contracts bill overtime past 10 hours a day raises an exception for Monday’s 11 hours, not for Tuesday’s 9
policy-a-step-run-only-where-its-window-endsA step declaring only_where_window_ends runs on a window of two weeks only in the pay period holding its last day: paid weekly, the first week’s ledger does not run it (run there, it would add 16 hours on the window’s first day, a day of that week), and the second’s runs it once on the whole window, counting the first week’s 16 hours with its own 8
policy-a-step-that-keeps-state-is-refusedA step that keeps something between calls is refused, named: what it works out for one day or one person would depend on what ran before it
policy-a-step-that-looks-back-counts-the-counts-of-the-days-before-the-periodPaid weekly from Monday, a step on the day window that declares looks_back = 3 is given, on Monday, the counts of Friday to Sunday before it too, as those of the days before the period (id 0): Friday’s 5 boxes, entered on Tuesday, are 3 days back and counted; Thursday’s 7 are 4 back and are not
policy-a-step-that-looks-back-counts-the-days-before-the-periodPaid weekly from Monday, a step on the day window that declares looks_back = 3 is given, on Monday, the lines of Friday to Sunday before it: the period before’s, counted (prior), never its own. Friday’s 8 hours are 3 days back and counted; Thursday’s are 4 back and are not. Without looks_back, a day window has none before it
policy-a-time-step-changes-only-its-workdayA time step’s call changes only its workday’s segments: one reaching for another workday’s is stopped, naming the step
policy-a-time-step-raises-an-exceptionA time step raises an exception about a segment: it is at the segment’s punched start, 07:22, not where rounding took it, 07:15
policy-a-time-steps-exception-stays-as-later-days-changeA time step’s exception on Monday stays when Tuesday is punched and worked out: Monday is kept as it was worked out, its exception with it
policy-a-week-from-noon-holds-untimed-lines-by-their-workdayWith the week starting at Friday noon, hours and counts entered without a time of day are in the week by their workday: Monday’s in the week from the Friday before, the next Friday’s in the week that starts that day
policy-a-week-from-noon-reaches-into-the-periods-first-morningA pay period starting on a Friday, the week starting at Friday noon: the period’s first morning closes the week before, which took forty hours in the period before, so it is overtime; the afternoon opens the next week
policy-a-week-from-noon-takes-a-fridays-morning-into-the-week-beforeA week from Friday noon: forty hours Monday to Thursday, then Friday 07:00 to 17:00. Friday’s morning closes the week before, past forty, so it is overtime; its afternoon opens the next week. Friday’s punches, recorded on Friday, change the week before as well as the next
policy-a-week-reaching-back-before-a-listed-calendarAn employer’s own calendar starting on a Wednesday: the week holding its first day reaches back to Monday and Tuesday, which no period of the calendar holds, so only the time of the period’s own days counts toward the 40 hours
policy-a-weekly-threshold-across-pay-periodsPaid on the 1st and 16th, a week runs across two pay periods: Monday to Thursday are counted from the first period, never moved, and only Friday, in the second, goes over 40 hours
policy-a-weekly-thresholdA weekly threshold moves the time over 40 hours to overtime, latest first, splitting Friday at the exact instant, and stamps the line with the step and its layer
policy-daily-then-weekly-without-counting-twiceDaily then weekly, without counting time twice: over 8 hours a day goes to overtime first, then the weekly threshold counts only work, so Saturday is what takes the week past 40
policy-days-worked-of-categories-named-counts-them-worked-or-notctx:days_worked counts the days with worked time by default; given categories, the days with time in them, worked or not: Monday’s work is one day worked, and Tuesday’s standby (not worked) one day of standby
policy-late-and-too-little-restRules that raise exceptions: in after the shift start plus grace is late, and less than 10 hours since the last out is too little rest
policy-layers-apply-lowest-order-firstTwo layers change the daily overtime’s threshold: plant (order 20, written first) to 10 hours, region (order 10) to 9 hours. The lower order applies first and the higher one after it, so the plant’s 10 hours holds: an 11-hour day has 1 hour of overtime, given by the policy, then the region, then the plant
policy-looks-back-is-for-allocate-and-accrue-stepslooks_back gives an allocate step lines before its window, and an accrue step what was earned before it; a step of another stage declaring it is refused, saying so
policy-no-steps-no-rulesWith no policy steps there are no rules: fifty hours in a week are fifty hours of work, never overtime by assumption
policy-only-where-window-ends-is-for-windows-of-daysonly_where_window_ends is refused on a 24-hour window, which has no last day to end in, naming the step
policy-rounding-down-up-to-a-time-not-whole-millisecondsctx:round with a mode of time past a step up to which time goes down, worked out to a part of a millisecond (seven minutes and half a millisecond): to 15 minutes, 08:03 and 08:07 go down to 08:00, 16:08 goes up to 16:15
policy-rounding-from-the-days-startRounding counts its steps from when the workday starts, not from midnight: with the day starting at 06:30, to the nearest hour is to the half hour on the wall
policy-rounding-on-the-day-the-clocks-go-backRounding to 35 minutes on the day the clocks go back: the grid is of wall times from the day’s start, so after the change it runs on as the clock shows it (04:40, 05:15…), not an hour off; 05:07 rounds to 05:15 and 09:52 to 09:55
policy-rounding-to-the-quarterIns and outs rounded to the nearest quarter hour from midnight; lunch punches as punched. Raw times are kept and each line says what rounding did
policy-rounding-with-a-graceRounding with a grace of 7 minutes: time up to 7 minutes past a quarter goes down to it, a minute more goes up to the next; so the 08:07 in is taken at 08:00 and the 08:08 at 08:15, the 16:52 out at 16:45 and the 16:53 at 17:00
policy-run-on-is-work-past-a-whole-stretch-of-the-periodctx:run_on finds work that held a whole night, 22:00 to 05:00, and went on past it. Monday night ends at 05:00, with the night: it runs nothing on. Tuesday night goes on to 06:00: one stretch, the hour after 05:00. Wednesday night starts inside the night, at 23:00, and runs nothing on though it ends at 07:00
policy-schedule-changes-stored-at-one-instant-keep-the-order-keptctx:schedule_changes gives overrides stored at the same instant in the order they were kept in, not by their ids read as text: o10 kept after o9 is the second
policy-snap-to-the-shiftPunches close enough to the scheduled shift start or end are taken at it
policy-stages-run-in-their-order-whatever-the-order-listedThe policy lists its daily overtime (allocate) before its rounding (time), yet rounding runs first, as its stage comes first: Monday’s out at 16:07 rounds to 16:00, so the day is 8 hours and no overtime. Taken in the order listed, the 7 minutes past 8 hours would be overtime
policy-steps-of-each-stage-raise-exceptions-about-their-workAn attribute, a match and an assign step each raise an exception about the work they are given: a segment (at its punched start), and each labor entry (at its workday’s start, in a call of its own), by the ids the steps read. The assign step puts the segment on A15 and each entry on A12 by those ids, each stamped
policy-steps-read-the-workday-a-segment-ends-inA time step and an exceptions step each read the workday a segment ends in (end_workday): Monday night’s shift into Tuesday ends in Tuesday, and both say so; Wednesday’s day shift ends in its own
policy-the-last-work-before-the-period-however-long-agoA step on a pay period’s first workday reads when the person’s last work ended however long ago it was (ctx.previous_end), as it does on any other workday: back on the first Monday after two weeks away is a return from an absence, not a first day of work
policy-the-periods-before-are-read-at-once-as-far-back-as-any-step-looksThe periods before are read at once, as far back as any step of the period looks: what a step looking back finds there never depends on which step asks first. Paid weekly from Monday, a step marks a day’s time as a sixth day where, with the days it is given of the periods before, it is the sixth day worked in ten; a step looking back three days runs before it. The week before is worked out with the week before it, so its Monday to Thursday are sixth days (four days of 8 hours), as Monday’s step finds them; the week before read first, for three days back, alone would have none. A step looking back 14 days reaches to the first day of the week two before, which is read alone, its own days not marked: 32 hours in the fourteen

Punches

ScenarioWhat it checks
punches-a-step-reads-the-device-each-punch-was-made-onA step reads the device each punch was made on: a pair step each punch’s device, a time step each segment’s start_device and end_device, an allocate step each line’s device (that of the punch that started its segment). A punch a correction adds is made on the device the correction names
punches-out-of-orderPunches pair in the order they happened, whatever order they arrived in

Schedule

ScenarioWhat it checks
schedule-a-leave-change-takes-the-shift-off-and-pays-nothingA schedule change of leave on Tuesday takes Tuesday’s shift off the schedule, so no one is a no show, and pays nothing by itself: the week is Monday’s 8 hours. Paid time off is a leave request or hours entered
schedule-a-night-shift-as-the-clocks-go-back-lasts-nine-hoursShift times are on the person’s clock: on the night the clocks go back, a shift from 22:00 to 06:00 lasts nine hours. Sent home after an hour, reporting pay for half the shift makes it four and a half hours
schedule-a-night-shift-says-which-assignmentA night shift every four days, 22:00 to 06:00; work punched without saying where goes to the shift’s assignment, across midnight, starting a little early
schedule-a-no-showScheduled three days: worked Monday, on leave Tuesday, and Wednesday nothing: a no show, about the day, not about any punch
schedule-a-shift-ending-as-it-starts-runs-a-whole-dayA shift whose end is at its start runs past midnight to the same time the next day: a 24-hour shift from 06:00. Sent home after an hour, reporting pay for half the shift makes it twelve hours
schedule-holiday-pay-is-not-worked-timeA step cannot pay a holiday as worked time: worked time only comes from punches and entries
schedule-holiday-payThanksgiving, the fourth Thursday of November, pays the day’s scheduled time as holiday, a category not worked: it is in the hours, and not in the time a weekly threshold counts
schedule-shifts-are-the-workday-they-start-inWith the workday starting at 04:00, a shift defined for Tuesdays at 02:00 starts on calendar Tuesday and is Monday’s workday’s. An override names a workday: off on Tuesday takes away the shift starting Wednesday 02:00 (Tuesday’s), not Tuesday’s 02:00 one; a replacement on Thursday starting at 03:00, before the day starts, is on Friday’s date. A no show is about the workday whose shift it was
schedule-shifts-from-a-definitionShifts worked out from a definition, Monday to Friday 08:00 to 16:30, and one more on a listed date, Saturday; leave takes Wednesday’s away, Thursday’s is replaced by a later one, Friday is a holiday; Tuesday was taken off, then given an extra shift, and the newer override is the one that stands. Being late is measured from the shift that day really had

Sides

ScenarioWhat it checks
sides-a-bill-approval-leaves-the-pay-side-waitingThe bill side approved by the customer leaves the pay side waiting for payroll: each side has its own approvals
sides-a-pay-approval-leaves-the-bill-side-waitingThe pay side approved leaves the bill side waiting: each side has its own approvals
sides-a-side-the-policy-has-notA ledger asked for of a side the policy does not work out (it bills no one) is refused, naming the side and the sides there are, not given empty
sides-pay-and-billThe same hours worked out twice: paid with overtime over 40 in the week, billed to the customer with overtime over 8 in a day; each side its own ledger and its own approvals

Time

ScenarioWhat it checks
time-in-a-period-counts-only-timed-time-inside-itctx:time_in with a period counts only the timed time of the lines it picks inside the period: of Monday’s 4 hours punched and 3 hours of training entered, the day holds the 4 punched; without a period, all 7
time-rounding-never-reaches-the-next-periods-first-segmentA shift from Sunday 12:21 to Monday 13:52:50 across the edge of two pay periods, and on Monday a transfer (work begun with no in before it, which is not rounded) 2 minutes after the out: the out would round to 14:00, past the transfer’s start at 13:54:54, so it stays as punched, as it would within one period, and the person is told in the first period, whose shift it is. The in stays at 12:21 too: a segment that cannot be placed goes back whole. The segment after it, which would round past the shift’s rounded end, goes back too, told in the second period, exactly as when both are in one
time-rounding-never-reaches-the-segment-after-a-stretch-cut-short-by-a-punchA stretch started a fortnight before a pay period’s edge and ended after it, and then a punch that cuts it short (the in on the Friday starts the stretch afresh, the first having no end), with a transfer (work begun with no in before it, which is not rounded) two minutes after the out: the out would round to 14:00, past the transfer’s start, so it stays as punched as for any shift
time-rounding-never-reaches-the-segment-after-a-stretch-longer-than-the-days-readA stretch started a fortnight before a pay period’s edge and ended after it, with a transfer (work begun with no in before it, which is not rounded) two minutes after the out: the out would round to 14:00, past the transfer’s start, so it stays as punched however far back the shift started, as for any shift

Week

ScenarioWhat it checks
week-shows-the-ledgers-linesA week inside a two-week pay period shows that period’s lines: carried into week two, its blocks are 0.33 and 0.34, not worked out again as 0.33 and 0.33
week-starts-sundayA week starting on Sunday runs Sunday to Saturday

Workday

ScenarioWhat it checks
workday-starts-in-an-hour-the-clocks-repeatThe workday starts at 01:30, and the night daylight saving ends 01:00 to 02:00 comes twice: the day starts at the first 01:30, so work from the second 01:15 is the new day’s, not the day before’s, whatever the wall clock reads
workday-starts-in-an-hour-the-clocks-skipThe workday starts at 02:30, and the night daylight saving starts there is no 02:30: the day starts when the clocks show 03:30, after the gap, so work from 03:10 is still the day before’s

Zones

ScenarioWhat it checks
zones-a-location-says-the-zone-of-its-daysFrom the day a person is at a location, their days are worked out in its zone, over the policy’s: work from 22:00 in Los Angeles on Wednesday is Wednesday’s there (in Chicago it would be Thursday’s). Once they leave it, on Friday, Chicago’s days again: 22:00 in Los Angeles that Friday is Saturday’s
zones-a-move-changes-nothing-before-itThe person moves from Chicago to New York from Wednesday’s workday: Tuesday is still read on Chicago’s clock (its night premium from 22:00 there), Wednesday on New York’s; Tuesday, the day of the move’s eve, ends at New York’s midnight

Standard step accrue

ScenarioWhat it checks
step-accrue-tiers-change-on-the-anniversaryWith tiers by years of service, each day earns at the tier of the person’s whole years of service that day: hired October 7, 2021, Monday and Tuesday’s 16 hours are in the fourth year, an hour for every 40 (24 minutes); from Wednesday, the fifth anniversary, the 24 hours earn an hour and a half for every 40 (54 minutes), each tier worked out once for the period
step-accrue-tiers-count-service-from-the-current-hireBy default service counts from the current hire: rehired January 8, 2024 after working from 2015, two years of service is the first tier, an hour for every 40, 12 minutes for 8 hours
step-accrue-tiers-count-service-from-the-first-hireWith service_from = first_hired, the same rehire counts employment before the break: eleven years since 2015, the ten-year tier, 2 hours for every 40, 24 minutes for 8 hours

Standard step accrue_beyond

ScenarioWhat it checks
step-accrue_beyond-a-share-of-a-long-total-is-exactA step that earns a share of a long total works it out exactly: 90 days of 8 hours are 720 hours, 2,592,000,000 ms, and past 1 ms every ms earns one, at a rate of 1h 3ms for every 1h 3ms; the product of the total and the rate is past 2^53, where floating point drops a millisecond
step-accrue_beyond-earn-and-per-set-the-rateearn = 30m for every per = 1h: the 2 hours past 10 earn 1 hour
step-accrue_beyond-earns-past-the-amountThe counter earns the week’s 12 hours; past after = 10h, its 2 hours earn the default 1h for every 1h: 2 hours

Standard step accrue_per_day

ScenarioWhat it checks
step-accrue_per_day-an-hour-for-each-day-workedThree days worked earn the default 1h each: 3 hours
step-accrue_per_day-counts-picks-the-daysCounting only work: Tuesday, all of it training, is no day worked, and Monday and Thursday earn 48 minutes. Every worked category counts by default, so without counts Tuesday would be a third day
step-accrue_per_day-earn-and-countsearn = 8h a day, and counts = [training]: of the three days, none has training, so nothing is earned (by default every worked category counts)
step-accrue_per_day-earns-for-each-day-worked-whatever-its-length24 minutes for each day worked: Monday’s 8 hours, Tuesday’s 2 and Thursday’s 10 are 3 days, 1 hour 12 minutes, however long each is

Standard step after_schedule

ScenarioWhat it checks
step-after_schedule-counts-every-worked-category-by-defaultWithout counts every worked category counts: Monday’s 9 hours, 2 of them a late premium, are past the 8 scheduled, so the last hour moves from the premium to overtime
step-after_schedule-counts-only-the-categories-namedWith counts = [work], Monday’s 7 hours of regular time are under the 8 scheduled: nothing moves, and the late premium stays
step-after_schedule-past-the-scheduled-time-by-defaultScheduled 08:00 to 16:00: Monday’s hour past the 8 scheduled is overtime, Tuesday’s 8 are not, and Saturday, with no shift, stays regular by default
step-after_schedule-to-names-the-categoryWith to = extra_hours, Monday’s hour past the schedule goes there instead of overtime
step-after_schedule-unscheduled-days-all-overtimeWith unscheduled = overtime, work on a day with no shift is all overtime: Saturday’s 4 hours

Standard step allowance

ScenarioWhat it checks
step-allowance-an-amount-for-every-hour-workedBy default an allowance pays its amount an hour for every worked hour of the pay period, overtime too, worked out once for the period and added on the last day worked: 2.00 an hour for 10 hours on Monday (2 of them overtime) and 8 on Tuesday is 36.00 on Tuesday
step-allowance-counts-only-the-categories-namedWith counts, only the time of the categories named earns the allowance: counting overtime only, Monday’s 2 hours of overtime earn 4.00 and the regular hours none
step-allowance-each-shift-its-own-amountWith by = shift and an amount for each shift, work earns the amount of the shift its context names: Monday’s evening shift earns 1.00 an hour, 8.00, Tuesday’s night shift 1.50 an hour, 12.00, each with its shift; Thursday’s day shift, with no amount, earns none
step-allowance-only-work-of-the-context-namedWith context, only work whose context has those values earns the allowance: of Monday’s shift at the remote site and Tuesday’s at the office, only Monday’s 8 hours earn 2.50 an hour, 20.00
step-allowance-scheduled-shifts-on-callWith basis scheduled, the time of the scheduled shifts with shift_values earns the amount, worked or not: two 14-hour nights on call at 3.00 an hour are 84.00, on the last of them; the day shifts, without the values, earn none
step-allowance-the-amount-from-the-organizationWith per_hour_from, the amount is the metadata of the person’s organization that day, or of the nearest one above it with it: the mine sets none and takes the region’s 2.50 an hour, 50.00 for Monday and Tuesday’s 20 hours; moved to camp 2, which sets 4.00, on Wednesday, its 10 hours earn 40.00, each amount worked out once and added on its last day

Standard step alternative_holiday

ScenarioWhat it checks
step-alternative_holiday-a-day-not-usually-worked-earns-noneNo roster and no Mondays worked before: Labour Day, worked, is not an otherwise working day, and earns no alternative holiday
step-alternative_holiday-a-working-day-holiday-worked-earns-a-dayLabour Day is on the roster and worked: an otherwise working day worked earns an alternative holiday, a day kept as 8 hours in alternative_holiday_earned, neither worked nor paid. Tuesday, no holiday, earns none
step-alternative_holiday-day-sets-what-the-day-is-kept-asWith a day kept as 7 hours 30 minutes, Labour Day on the roster and worked earns that much
step-alternative_holiday-refuses-at_least-past-weeksat_least is 1 to weeks: 5 of 4 weeks is refused when the policy is loaded

Standard step approval

ScenarioWhat it checks
step-approval-a-route-over-counts-every-worked-category-by-defaultA route’s over counts every worked category by default: a day with more than 9 hours worked goes to the plant manager at the supervisor stage, overtime included; Thursday’s 9 hours stay with the supervisor, Friday’s 11 (8 of work and 3 of overtime) go up
step-approval-blocks-by-default-every-kindBy default every kind of exception not excused blocks a subject whose rule says exceptions block: Monday’s late arrival and Tuesday’s missing punch each block their day, saying why; Wednesday, with none, waits for the supervisor
step-approval-blocks-names-the-kinds-that-blockblocks names the kinds of exception that block: with missing_in alone, Monday’s late arrival is left to the supervisor, and Tuesday’s missing punch blocks
step-approval-never_blocks-names-kinds-that-never-blocknever_blocks names kinds of exception that never block, whatever blocks says: with late in it, Monday’s late arrival leaves the day for the supervisor to approve; Tuesday’s missing punch still blocks

Standard step assign

ScenarioWhat it checks
step-assign-an-attribute-naming-none-that-fits-chooses-noneThe attribute’s assignment is chosen only where it fits: the primary named is A30, which the person does not hold, so Monday’s work that A12 and A15 both fit stays assignment_ambiguous
step-assign-prefer-comes-before-the-attributeWork several assignments fit, naming none, goes to the first of prefer that fits, and only then to the one the employment attribute names: Monday’s work, which the warehouse (A15, preferred) and the store (A12, the primary) both fit, goes to A15; Wednesday, after A15 ends, the store and the office (A20) fit, none preferred, and the work goes to the primary, A12
step-assign-without-prefer-or-attribute-chooses-noneprefer and attribute have no default: given neither, the step chooses no assignment, and work two assignments fit stays assignment_ambiguous

Standard step attestation_required

ScenarioWhat it checks
step-attestation_required-after-and-kindWith after = 3h30m, a day needs an attestation only past that: Monday’s 3 hours 30 minutes need none; Tuesday’s 4 hours with none raise the kind named, breaks_unconfirmed
step-attestation_required-by-default-every-day-workedBy default every day of work that has ended needs an attestation: Monday’s hour of work with none raises attestation_missing; Tuesday, attested, raises nothing

Standard step attested_break_premium

ScenarioWhat it checks
step-attested_break_premium-a-break-not-provided-pays-its-premiumEach day’s punches show its lunch on time. Monday is attested with the meal missed, Tuesday cut short, Wednesday taken late: an hour of meal_premium each, the default premium. Thursday’s meal was waived, of the person’s own choice, and Friday’s rest break was missed: neither is a meal not provided, and neither pays a meal premium
step-attested_break_premium-premium-and-category-and-one-a-dayA rest break attested missed pays the premium named in the category named: 30 minutes of rest_pay on Monday. Tuesday’s punches already owe the rest premium (8 hours, no break) and a rest break is attested missed as well: the day has its premium, and none more is paid
step-attested_break_premium-refuses-a-break-it-does-not-knowAn attested break premium is for a meal or a rest break: one naming another break is refused, saying which it takes
step-attested_break_premium-the-attestation-stored-last-standsMonday is attested at clock-out with the meal missed, then attested again an hour later with every break taken (a mistake put right): the attestation stored last stands, and no premium is paid. Tuesday is attested the other way round: the meal missed stands, an hour of meal_premium

Standard step attested_meal_waiver

ScenarioWhat it checks
step-attested_meal_waiver-takes-back-only-the-premium-of-the-step-namedAn 11-hour day whose first meal started late and which had no second meal, the second attested waived: the first meal’s premium (paid by the step first) stands; the waiver of meal 2 takes back only what the step second paid, its own premium for the day, moved to meal_premium_waived
step-attested_meal_waiver-the-meal-and-the-day-it-holds-forA waiver of meal 1 holds on a day of up to 6 hours: Monday’s 5 hours 30 minutes with no meal, waived, owe no premium. Tuesday’s 6 hours 30 minutes are past it: the premium stands. Wednesday waives meal 2, not the meal the rule is about: the premium stands

Standard step attribute

ScenarioWhat it checks
step-attribute-mode-by-default-whole-to-the-workday-it-starts-inmode is start by default: a step given no mode puts Monday night’s shift into Tuesday back in Monday, whole, after an earlier step put it in Tuesday where it ends
step-attribute-mode-end-and-splitmode end puts a shift across a workday’s start whole in the workday it ends in; split cuts it there, each piece in its own workday. A layer from Wednesday splits: Wednesday night’s 20:00 to 06:00 is 4 hours Wednesday and 6 Thursday, while Monday night’s, starting on a day the layer does not apply on, stays whole in Tuesday where it ends
step-attribute-why-is-the-stamps-rulewhy is the policy’s own words for the attribution, written in the stamp as its rule; without it the stamp says only what was done

Standard step auto_meal

ScenarioWhat it checks
step-auto_meal-a-day-shorter-than-at-loses-its-latest-timeWith after at 2 hours, a 4-hour day with no meal never reaches the 5 hours where the meal is deducted: its 30 minutes come off its latest time instead
step-auto_meal-after-sets-how-long-a-day-goes-without-a-deductionWith after at 8 hours, a 7-hour day with no meal keeps its time (by default it would lose 30 minutes); a 9-hour day loses 30 minutes 5 hours in
step-auto_meal-at-sets-where-the-meal-is-deductedWith at 3 hours, a 7-hour day with no meal has its 30 minutes deducted from 11:00, 3 hours in, not from 13:00 as by default
step-auto_meal-by-default-deducts-half-an-hour-five-hours-into-a-day-past-sixWith its defaults, a day worked past 6 hours with no meal has 30 minutes moved to meal_deducted once 5 hours of work have passed; exactly 6 hours keep their time
step-auto_meal-five-hours-in-on-the-night-the-clocks-go-backA night shift from 22:00 on October 31 to 06:00 on November 1, the night the clocks go back an hour at 02:00: 9 hours worked. The meal is deducted after 5 hours of work have passed, at 02:00 on the wall after the change (03:00 by the clock before it), not at 03:00 on the wall
step-auto_meal-meal-sets-the-deduction-and-the-gap-that-is-a-mealWith meal at 45 minutes, Monday’s 30 minutes punched out are too short to be a meal (by default they would be one), so 45 minutes are deducted 5 hours into the day’s work, the gap not counted; Tuesday’s 45 minutes punched out are the meal
step-auto_meal-meal_category-by-default-is-mealLunches are punched into lunch_break, and the step looks for the meal in its default category, meal: Monday’s 12-minute punched lunch is no meal, so 30 minutes are deducted 5 hours into the day’s time
step-auto_meal-meal_category-names-the-punched-mealLunches are punched into lunch_break. With meal_category lunch_break, Monday’s 12-minute punched lunch is the meal and nothing is deducted; Tuesday, with no lunch, still loses 30 minutes. By default (meal) the 12 minutes would be no meal
step-auto_meal-to-names-where-the-deducted-time-goesWith to unpaid_meal, the 30 minutes deducted from a 7-hour day go to unpaid_meal, not meal_deducted

Standard step average_limit

ScenarioWhat it checks
step-average_limit-a-week-with-no-time-is-passed-overA week with no time counted is passed over, not averaged as nothing: over 3 weeks, 60 hours, then a week off, then 40 hours average 50 a week over the 2 weeks worked, more than 48: raised about the last week
step-average_limit-counts-names-the-timecounts = [work] leaves the 20 hours of training out: 40 hours a week on average, nothing raised; by default every worked category counts, 60
step-average_limit-flags-the-average-of-the-weeks-namedTwo weeks of 50 hours: their average of 50 is more than 48, flagged about the second week’s last line
step-average_limit-others-count-the-workers-other-recordsothers counts the worker’s other records toward each week: 30 hours here and 20 for the other employer in each of 2 weeks average 50, more than 48, and the second week is flagged about its latest line here; alone, 30 a week would not be
step-average_limit-others-leave-at-the-other-employer-is-not-hours-workedThe other record’s time counts in the categories the step counts, every worked one by default: 30 hours here and 15 of work with 10 of vacation at the other employer average 45 a week, not over 48; counting the vacation, 55 would be
step-average_limit-others-lists-the-employers-countedothers lists the employers whose records count: listing acme-de, the other record of acme-ie is not counted, the 30 hours here average 30, and nothing is flagged
step-average_limit-refuses-weeks-of-noneweeks is 1 to 520: 0 is refused when the policy is loaded
step-average_limit-weeks-says-how-manyWith weeks = 2, a week of 60 hours after one of 30 averages 45: not over 48, nothing raised (with weeks = 1, the 60 alone would be)

Standard step balance_limit

ScenarioWhat it checks
step-balance_limit-below-and-the-default-kindA balance of 25 hours short, below the -20h floor (below), raises balance_limit, the default kind, about the week

Standard step break_time

ScenarioWhat it checks
step-break_time-shortest-says-which-breaks-countBreaks counted only from 20 minutes (shortest): Monday’s two 15-minute breaks count nothing, short of 20 past 6 hours; Tuesday’s 30 minutes count
step-break_time-the-highest-tier-passed-decidesTiers of 30 minutes past 6 hours and 45 past 9: Monday’s 9 hours 45 with two 15-minute breaks (30 minutes) are short of 45, raised as break_short (the default kind); Tuesday’s 6 hours 30 with its 30 minutes meet the first tier

Standard step carryover

ScenarioWhat it checks
step-carryover-counts-the-periods-days-before-the-new-yearA pay period across the new year: 50 hours of sick leave added in its December days count toward the balance as January 1 starts, so 10 over the limit of 40 are lost; 5 more added on January 1 itself are not in that balance, and are kept
step-carryover-counts-what-is-earned-before-the-new-year-in-a-period-across-itIn a pay period across the new year, what the steps before the carryover earned on the days before January 1 counts toward it, and what they earn from January 1 does not: 40 hours of sick leave and 10 earned on December 29 make 50 as the year starts, and the 10 above the limit are forfeited; the 10 earned on January 2 are kept
step-carryover-january-keeps-its-balance-when-the-year-starts-in-julyWith a year from July 1, January keeps its 50 hours, and the balance over 40 is lost on July 1 instead
step-carryover-on-the-day-the-year-startsWith a year from July 1, the balance over 40 is forfeited on July 1, in the period it starts
step-carryover-over-the-limit-is-lost-at-the-new-yearBy default the year starts on January 1: 50 hours of sick leave brought into January, with a limit of 40, lose 10 hours on January 1

Standard step carryover_payout

ScenarioWhat it checks
step-carryover_payout-by-default-pays-out-above-the-limit-at-the-new-yearBy default the year starts on January 1: of 60 hours of vacation, the 20 above the 40-hour limit are paid out that day in vacation_payout, and 40 carried over; with a limit of nothing the whole 10 hours of personal time are paid out
step-carryover_payout-year-sets-the-day-it-pays-outyear sets the day the year starts: with a year from July 1, nothing is paid out on January 1, and on July 1 the 20 hours of vacation above the limit are

Standard step certified_payroll

ScenarioWhat it checks
step-certified_payroll-by-default-the-pay-rate-work-and-overtimeNamed with only its project, the certified payroll writes the work and overtime on it at the pay rate, overtime at 150 per cent, under the person’s own id with no name: a 10-hour day on bridge-12 past a daily 8 hours, paid 30.00, is 8 straight hours and 2 overtime at 45.00, 330.00. A day on another project is not on it
step-certified_payroll-keys-categories-and-premium-namedThe context keys, the categories and overtime’s premium are the export’s to name: the project as the job_site value and the classification as the trade; work and daily overtime written as straight time, double time as the overtime, at 200 per cent. A 13-hour day past a daily 8 and 12 hours, paid 30.00: 12 straight hours at 30.00 and 1 overtime at 60.00, 420.00
step-certified_payroll-without-a-project-stops-the-exportA certified payroll is for one project: an export naming none is stopped, saying so, rather than write every project’s hours on one form

Standard step comp_time

ScenarioWhat it checks
step-comp_time-by-default-overtime-at-an-hour-and-a-halfBy default the overtime category is banked at an hour and a half for each hour: a bank of 237 hours has room for 3 more under a 240-hour cap, which 2 hours of overtime fill; of the week’s 5 hours of overtime the latest 2 go to comp_earned and the other 3 stay overtime, paid
step-comp_time-categories-names-the-time-bankedcategories names the time banked: banking daily_ot at an hour for each hour, the 3 hours of room take the latest 3 of the week’s daily overtime, Wednesday’s to Friday’s hour each
step-comp_time-earn-and-per-set-the-rateearn and per set the rate time is banked at: at an hour for each hour, the 3 hours of room take 3 hours of overtime, and 2 stay overtime
step-comp_time-refuses-earn-of-nothingearn and per are more than nothing: an earn of nothing is refused when the policy is loaded

Standard step consecutive_day

ScenarioWhat it checks
step-consecutive_day-a-day-of-no-time-is-not-workedSix days worked, Tuesday to Sunday, and an entry of no hours on Monday: a day with no time is not a day worked, so there is no seventh consecutive day, and nothing moves
step-consecutive_day-a-period-window-runs-across-the-week-startThe same seven days Thursday to Wednesday with window = period: the run is not cut at the week’s start, and Wednesday, the seventh, is overtime
step-consecutive_day-a-run-across-the-week-start-starts-againSeven consecutive days, Thursday to Wednesday, cross the start of a workweek: within each week the run is four days and then three, so with the week window there is no seventh day
step-consecutive_day-counts-names-the-days-that-countWith counts = [work], a day whose time is all in another category does not count: Saturday’s hours went to a weekend premium first, so the run breaks and Sunday is no seventh day
step-consecutive_day-day-says-which-day-of-the-runWith day = 6 every day from the sixth of a run moves: of seven days worked, Saturday and Sunday are overtime
step-consecutive_day-earlier-days-in-the-previous-pay-period-countPaid on the 1st and 16th, the workweek of October 12 starts in one pay period and ends in the next: its seventh day, Sunday the 18th, is still found, the earlier period’s days counted and never moved
step-consecutive_day-refuses-neither-to-nor-tiersA consecutive-day step given neither to nor tiers is refused, saying what it takes
step-consecutive_day-six-days-are-no-seventhSix days worked, Tuesday to Sunday, with Monday off: no seventh consecutive day, and nothing moves
step-consecutive_day-the-seventh-day-of-the-week-by-defaultBy default the seventh consecutive day worked in a workweek has its time moved: seven 8-hour days, Monday to Sunday, and Sunday’s 8 hours are overtime
step-consecutive_day-tiers-by-default-leave-out-the-categories-they-move-toFrom the second consecutive day, tiers over 8 hours to overtime and over 12 to double time, after a daily threshold over 8, neither naming counts: Tuesday’s 13 hours are 8 of work and 5 of daily overtime. The double time tier counts all 13 and moves the last hour; the overtime tier leaves out overtime and double time, finds the 8 hours of work, and moves nothing more
step-consecutive_day-tiers-split-the-day-past-a-boundaryWith tiers the seventh day is overtime from its first hour and double time past 8: after a daily threshold made Sunday’s last 2 of 10 hours overtime, Sunday is 8 hours of overtime and 2 of double time

Standard step csv

ScenarioWhat it checks
step-csv-a-category-without-a-code-stops-the-exportWith codes, a category without one stops the export rather than send its hours under a guessed code
step-csv-codes-in-place-of-categoriesWith codes, the standard CSV writes each category’s code (an earning code) in place of the category, a row per workday as by default
step-csv-one-row-per-category-for-the-periodWith by = period, the standard CSV writes one row per person and category for the whole period, its workday the period’s last

Standard step daily_record

ScenarioWhat it checks
step-daily_record-categories-and-id_attributecategories names the categories recorded and id_attribute the employment attribute that holds the person’s id: naming work alone, Monday’s lunch is left out and the day is two rows, each a stretch of work as it started and ended, the person by their DNI
step-daily_record-categories-by-default-every-categoryBy default the record is of every category’s lines from punches: Monday’s lunch, punched out and back, is a line of its own category, and with it the day’s stretches join into one row from 09:00 to 18:00; naming work and overtime alone, as Spain’s record does, would leave the lunch out and the day two rows

Standard step days_present

ScenarioWhat it checks
step-days_present-a-day-in-each-value-its-work-hasEach day is a day present in each country its work has: Monday France, Tuesday Germany, Wednesday both (a morning in Paris, an afternoon in Frankfurt); a day with no work is present nowhere
step-days_present-counts-names-the-time-that-makes-a-daycounts names the categories whose time makes a day present: with work only, Tuesday’s hours entered as travel in Germany make no day there; Monday’s work in France does
step-days_present-days-flags-the-day-a-count-reaches-itdays raises kind on the day a value’s days in the year come to it: Thursday and Friday of the week before and Monday in France are 3 days of 2026, the days before read back, and Monday raises near_183_days; Tuesday, the fourth, raises nothing more
step-days_present-kind-by-default-days_presentkind is days_present by default: Monday, the third day of 2026 in France with the days of the week before read back, raises days_present
step-days_present-located-counts-each-day-at-the-locationlocated counts each day the person is at a work location, in the value it gives, worked or not: placed in Paris from Wednesday, Wednesday to Sunday are days in France though only Thursday is worked; without it only Thursday would be
step-days_present-refuses-days-of-nonedays is a count of days to flag at, 1 or more: 0 is refused when the policy is published
step-days_present-residence-counts-each-day-employed-at-homeresidence names the employment attribute of where the person lives: each day they are employed is a day there too. Living in France and working Monday and Tuesday in Germany, they are present in Germany 2 days and in France every day of the week from their hire on Monday
step-days_present-value-counts-one-value-alonevalue counts that value alone: of Monday in France, Tuesday in Germany and Wednesday in both, only the French days, Monday and Wednesday
step-days_present-within-is-the-year-countedwithin is the year a value’s days are counted in: a tax year from 13 January starts the count again, so Thursday and Friday of the week before and Monday make 3 days of the calendar year but Tuesday is the first of the new tax year, and nothing is raised

Standard step device_allowed

ScenarioWhat it checks
step-device_allowed-attribute-and-kind-name-the-list-and-the-exceptionattribute names the employment attribute that lists the devices (here a list, clocks), and kind the exception raised: the in on CG2, which clocks does not list, is wrong_clock; the devices attribute is not read
step-device_allowed-by-default-the-devices-attribute-lists-themBy default the employment attribute devices lists the devices a person may punch on, as text separated by commas: Monday’s in on CG1 and out on web are listed; Tuesday’s in on CG2 is not, and is device_not_allowed. The punch counts all the same: Tuesday has its 8 hours
step-device_allowed-without-the-attribute-any-deviceA person whose employment has no devices attribute may punch on any device: punches on a clock and on a phone raise nothing

Standard step direction

ScenarioWhat it checks
step-direction-by-default-more-than-six-hours-after-is-an-inBy default (mode gap, gap 6h) a punch of unknown direction more than 6 hours after the punch before is an in; the others take turns. Monday’s 14:00 punch, exactly 6 hours after 08:00, is no new start: an out. Tuesday’s 14:01 punch, 6 hours and a minute after 08:00, is an in: Tuesday’s 08:00 in is left without its out, and 14:01 to 15:00 is a stretch. Taking turns alone would pair Tuesday 08:00 to 14:01 and leave 15:00 an in
step-direction-gap-sets-how-long-starts-a-shiftgap sets how long with no punch starts a shift: with 12 hours, Tuesday’s 14:01 punch is no new start, and the punches take turns from Tuesday’s 08:00 in (more than 12 hours after Monday’s last)
step-direction-mode-schedule-nearer-the-end-is-an-outmode schedule takes a punch nearer a scheduled shift’s start as an in and one nearer its end as an out: Tuesday’s lone 15:00 punch, nearer the 16:00 end, is an out with no in before it (missing_in), where taking turns would make it an in
step-direction-refuses-a-mode-it-does-not-knowA mode other than gap or schedule is refused when the policy is loaded

Standard step early

ScenarioWhat it checks
step-early-defaults-to-no-graceWith no grace an out a minute before the 16:00 end left early, of kind left_early; an out at 16:00 did not; an out to lunch and back in is no departure
step-early-graceWith five minutes’ grace an out at 15:55 is on time; one at 15:54 left early
step-early-kind-and-pointsGiven a kind and points, leaving early is that kind, its detail its points

Standard step earn_limit

ScenarioWhat it checks
step-earn_limit-by-default-forfeits-past-the-limit-in-the-calendar-yearBy default the year is the calendar year: 270 hours worked each month earn 9 hours of sick leave, 36 from January to April; of May’s 9, the 5 past 40 in the year are forfeited as they are earned
step-earn_limit-year-sets-the-year-countedyear sets the year the limit is counted in: in a year from March 1, March to May earn 27 hours, under 40, and May’s 9 hours are kept whole

Standard step earned_over

ScenarioWhat it checks
step-earned_over-a-later-period-earning-more-is-raised-againThe year’s earnings past over raise kind in each period that earns more while they stay past it: October’s 12 hours pass 10 and are raised; November earns 4 more, still past, and is raised again; December earns none, and is not
step-earned_over-flags-past-the-amount12 hours earned in the year are more than over = 10h: raised about the period
step-earned_over-the-amount-itself-is-not-over12 hours earned are not more than over = 12h: nothing raised

Standard step earnings

ScenarioWhat it checks
step-earnings-a-measure-and-its-rate-in-two-currencies-are-each-paid-in-their-ownTwo money measures, one in dollars and one in euros, each paid at a rate of its own currency: a person whose rate is in euros is paid in the euro measure, and a rate in dollars is not read for it
step-earnings-a-premium-finer-than-a-hundredth-is-refusedA premium finer than a hundredth of a per cent is refused when the policy is published, naming the category: the money would be worked out at a per cent the policy did not say
step-earnings-a-premium-to-a-hundredth-of-a-per-centA premium may be given to a hundredth of a per cent: Monday’s 8 hours of work at 117.5 per cent of 20.00 are 188.00, and Tuesday’s 2 hours of night overtime at 185.9 per cent (130 per cent of 130 per cent of 110 per cent) are 74.36
step-earnings-a-rate-in-another-currency-than-the-measure-is-refusedA rate in euros is not added into a measure in dollars: the ledger of the person fails, naming the rate kind, its currency and the measure, instead of 20.00 EUR an hour being paid as 20.00 USD
step-earnings-each-category-at-its-premiumEarnings price the period’s hours at the rate of the kind named that each line’s context matches, times its category’s premium: 40 hours of work at 20.00 are 800.00 and 5 of overtime at 150 per cent 150.00, each worked out once for the period and added on its last day, with the work’s context
step-earnings-the-rate-kind-and-categories-namedThe same week priced at the bill rate (rate = bill, 30.00), with a premium for work only: the 40 hours of work are 1200.00, and the overtime, a category premiums does not name, earns nothing here
step-earnings-work-without-a-rate-is-flaggedWork no rate matches earns nothing and raises an exception about its line, no_rate by default, asking for the rate rather than paying a guess
step-earnings-work-without-a-rate-raises-the-kind-namedWith kind, work no rate matches raises the exception of that kind instead

Standard step flag

ScenarioWhat it checks
step-flag-detail-is-its-wordsA flag’s detail is the words it is given
step-flag-raises-its-kind-on-each-day-workedA flag raises its kind about each workday with work, and none on a day without

Standard step full_time_look_back

ScenarioWhat it checks
step-full_time_look_back-a-new-hires-initial-measurement-periodA window from the hire (starts = hire) is the new hire’s initial measurement period: hired April 15, the three months to July 14 are measured (400 hours, full time, for the 6 months from July 15); the next three months, though as long, are no initial period and are not measured
step-full_time_look_back-a-person-hired-during-a-standard-period-is-not-measured-by-itA standard measurement period (from a date) measures people employed from its first day: someone hired on August 3, during the period from July 1, is not measured by it, however many hours they worked; their initial measurement period does that
step-full_time_look_back-administrative-days-before-the-stability-periodadministrative = 31d: the stability period starts 31 days after the measurement period ends, on November 1, and runs 6 months; 389 hours and 59 minutes over three months are an average under 130, not full time
step-full_time_look_back-an-average-of-130-holds-for-the-stability-periodA measurement period of three months from July 1 (paid monthly, so its pay periods before September are counted too): 380 hours worked and 10 of paid vacation are 390, an average of 130 a month, full time. It is reported on the period’s last day with the hours behind it, holding for the stability period of 6 months that starts the next day (no administrative period by default)
step-full_time_look_back-per_month-counts-and-the-categoriesper_month = 100h, counts = [work], full_time = aca_ft: 330 hours worked over three months average 110, full time at 100 a month, reported in aca_ft; the 60 hours of paid vacation, not named, are not hours of service
step-full_time_look_back-refuses-a-measurement-period-under-three-monthsA measurement period of 2 months is refused when the policy is published: one is 3 to 12 months
step-full_time_look_back-refuses-a-stability-period-shorter-than-the-measurementA stability period shorter than the measurement period (6 months after 12) is refused when the policy is published
step-full_time_look_back-refuses-an-administrative-period-past-ninety-daysAn administrative period of more than 90 days is refused when the policy is published

Standard step full_time_monthly

ScenarioWhat it checks
step-full_time_monthly-130-hours-of-service-with-paid-leave-is-full-timeBy default the month’s hours of service are every paid category’s: 128 hours worked and 2 of paid vacation are 130, full time, reported on the month’s last day with the hours behind it; the 8 hours of unpaid leave are not hours of service
step-full_time_monthly-a-part-month-employed-is-measuredA person hired on October 20 is measured for October on the hours they had (60, not full time: under 130 for the month, however few days they were employed), and terminated on November 10 (their last day the 9th) is measured for November too
step-full_time_monthly-names-the-categories-and-only-months-employedfull_time = aca_ft, not_full_time = aca_pt name the categories reported. A pay period of October and November: October’s 140 hours are aca_ft; the person is terminated from November 1, so November, no day of which they were employed, is not measured at all
step-full_time_monthly-per_month-and-countsper_month = 120h and counts = [work]: the 128 hours worked are full time at 120 a month, and the 40 hours of paid vacation, not named, are not hours of service (by default they would be: 168)
step-full_time_monthly-refuses-a-window-not-the-calendar-monthThe monthly method measures calendar months: a window of months from the 15th is refused when the policy is published
step-full_time_monthly-under-130-across-weekly-pay-periods-is-not-full-timePaid weekly, October’s hours of service are counted across the pay periods its days are in: 129 hours and 59 minutes are under 130, not full time, reported once, in the pay period holding October 31

Standard step gap_lunch

ScenarioWhat it checks
step-gap_lunch-a-gap-across-midnight-is-one-lunchAn out and an in on either side of a workday’s edge are one lunch: a night shift’s out at 23:50 and in at 00:30 make a lunch, the work before and after it one shift
step-gap_lunch-a-gap-longer-than-within-stays-two-shiftsA gap longer than within is not a lunch: Monday’s out at noon and in at 14:00 are two shifts
step-gap_lunch-an-out-and-an-in-within-are-a-lunchAn out and an in within within are a lunch: Monday’s out at noon and in at 12:40 make a lunch (unpaid, as the gap was), and the work around it is one shift
step-gap_lunch-as-sets-whether-the-gap-is-a-lunch-or-a-breakas sets whether the gap is a lunch or a break: with break, Monday’s 20 minutes are a break segment

Standard step grace

ScenarioWhat it checks
step-grace-an-out-taken-past-the-next-in-stays-and-is-toldA morning shift scheduled to end at 12:10, and an out for lunch at 12:01 with the in back at 12:04: a grace that takes an out up to 15 minutes early at the shift’s end would carry the out past the in. The out stays where it was punched and the person is told; the afternoon is not touched and nothing fails
step-grace-defaults-leave-every-punch-as-punchedWithout parameters the grace is off on every side: an in five minutes early and an out five minutes late stay as punched
step-grace-in-early-takes-an-early-in-at-the-shifts-startWork from 30 minutes before a shift is the shift’s (shifts.early). With in_early 10m an in at 07:50, exactly the grace before an 08:00 shift, is taken at 08:00; an in at 07:49 is earlier than the grace and stays
step-grace-in-late-takes-a-late-in-at-the-shifts-startWith in_late 5m an in at 08:05 is taken at the 08:00 start; one at 08:06 is past the grace and stays
step-grace-out-early-takes-an-early-out-at-the-shifts-endWith out_early 5m an out at 15:55 is taken at the 16:00 end; one at 15:54 stays
step-grace-out-late-takes-a-late-out-at-the-shifts-endWith out_late 10m an out at 16:10 is taken at the 16:00 end; one at 16:11 stays

Standard step grant

ScenarioWhat it checks
step-grant-a-new-hire-gets-the-months-leftBy default a person hired during the year is given, on the hire date, the share of the months left: hired July 2, six months of 80 hours, 40 hours
step-grant-no-share-for-new-hiresWith new_hires = none, a person hired during the year is given nothing until the next grant
step-grant-on-each-anniversaryWith a year from the person’s hire (hired March 4, 2024): the grant is given on each anniversary, March 4, 2027 among them, and not on January 1
step-grant-on-the-day-namedWith a year from April 1: the grant is given on April 1, and January 1 gives nothing
step-grant-the-year-on-its-first-dayBy default the yearly grant is given on January 1 to everyone employed that day, all at once: 80 hours of pto, whatever they work

Standard step holiday_attendance

ScenarioWhat it checks
step-holiday_attendance-by-default-a-missed-day-forfeits-the-payLabor Day, a Monday: the Friday before was scheduled and not worked, three days away, within the default 7: the holiday’s pay goes to the category to names, with the day and the side in its reason. Tuesday, the day after, was worked
step-holiday_attendance-refuses-a-within-past-seven-dayswithin is 1 to 7 days: 8 is refused when the policy is loaded
step-holiday_attendance-within-sets-how-far-it-looksLabor Day, a Monday: the Friday before was scheduled and missed, three days away. within = 1 looks no further than Sunday, finds no scheduled day before, and the pay stands; the default, 7 days, finds Friday and forfeits it (step-holiday_attendance-by-default-a-missed-day-forfeits-the-pay)

Standard step holiday_average_daily_pay

ScenarioWhat it checks
step-holiday_average_daily_pay-paid_weeks-sets-the-weeks-averagedThe same weeks, averaged over the last week only: 450.00 in 2 days, 225.00
step-holiday_average_daily_pay-refuses-paid_weeks-past-104paid_weeks is 1 to 104: 105 is refused when the policy is loaded
step-holiday_average_daily_pay-refuses-weeks-past-52weeks is 1 to 52: 53 is refused when the policy is loaded
step-holiday_average_daily_pay-the-weeks-pay-over-their-daysLabour Day on the roster, not worked, at 25.00 an hour, averaged over the 4 workweeks before its week (the default is 52): 3 weeks of a 10-hour Monday and a 6-hour Tuesday and a week of two 9-hour days, 66 hours, 1,650.00, in 8 days: its average daily pay is 206.25

Standard step holiday_pay

ScenarioWhat it checks
step-holiday_pay-after-days-exactly-is-paidWith after_days = 90, hired July 14, Columbus Day is day 90: the holiday pays its 8 hours
step-holiday_pay-after-days-one-short-is-not-paidWith after_days = 90, a holiday pays only a person employed at least 90 days: hired July 15, Columbus Day is day 89, so it pays nothing
step-holiday_pay-for-everyone-employed-by-defaultWithout after_days, a holiday pays anyone, however recently hired: hired July 15, Columbus Day pays its 8 hours
step-holiday_pay-pays-nothing-outside-the-employmentHired October 14 and terminated November 20: Columbus Day, October 12, before the hire, pays nothing; Veterans Day, November 11, pays its 8 hours; Thanksgiving, November 26, after the termination, pays nothing
step-holiday_pay-refuses-a-time-that-is-not-a-duration-or-scheduledtime is a duration or scheduled: anything else is refused when the policy is loaded

Standard step holiday_pay_from_earnings

ScenarioWhat it checks
step-holiday_pay_from_earnings-days-worked-and-weeks-say-the-average-dayOver the 2 workweeks before Thanksgiving’s, 2 days of 10 hours earned 400.00: divided by the days worked, the average day’s pay is 200.00
step-holiday_pay_from_earnings-four-weeks-of-earnings-over-20Thanksgiving, Monday October 12: the 4 workweeks before its week, September 14 to October 11, earned 800.00 in work, a 10-hour Monday each; by default divided by 20, 40.00 of holiday pay
step-holiday_pay_from_earnings-holidays-listed-only-thoseHoliday pay for Christmas only: Thanksgiving pays none from the 2 weeks’ earnings
step-holiday_pay_from_earnings-pays-nothing-outside-the-employmentNothing is paid on a holiday after the person’s termination: terminated from October 10, the four weeks of earnings before Thanksgiving, October 12, pay no holiday pay
step-holiday_pay_from_earnings-refuses-divide_by-of-nothingdivide_by is a whole number of 1 or more, or days_worked: 0 is refused when the policy is loaded
step-holiday_pay_from_earnings-refuses-includes-naming-its-own-categoryincludes does not name category: the step would count its own pay, and is refused when the policy is loaded
step-holiday_pay_from_earnings-refuses-weeks-past-52weeks is 1 to 52: 53 is refused when the policy is loaded

Standard step holiday_pay_if_present_before

ScenarioWhat it checks
step-holiday_pay_if_present_before-a-holiday-worked-keeps-its-payAbsent on Tuesday, but at work on Wednesday’s holiday: a holiday worked keeps its pay, whatever the day before
step-holiday_pay_if_present_before-a-rest-day-before-is-passed-overA holiday on Monday: the weekend before has no shift, so the workday before is Friday, in the period before; absent then, Monday’s holiday pay goes to holiday_unpaid
step-holiday_pay_if_present_before-absent-before-two-holidays-forfeits-bothHolidays on Wednesday and Thursday, absent on Tuesday and neither holiday worked: Wednesday’s pay goes to holiday_unpaid, and so does Thursday’s, the holiday before it passed over to Tuesday
step-holiday_pay_if_present_before-absent-the-workday-before-forfeits-the-payAbsent on Tuesday, a scheduled workday, the day before Wednesday’s holiday: its 8 hours of holiday pay go to holiday_unpaid
step-holiday_pay_if_present_before-paid-leave-the-workday-before-counts-as-presentOn paid vacation on Tuesday, the workday before Wednesday’s holiday: leave with pay counts as present, and the holiday pay stands
step-holiday_pay_if_present_before-present-the-workday-before-keeps-the-payPresent on Tuesday, the workday before Wednesday’s holiday: its 8 hours of holiday pay stand
step-holiday_pay_if_present_before-refuses-a-within-of-no-dayswithin is 1 to 7 days: 0 is refused when the policy is loaded
step-holiday_pay_if_present_before-refuses-to-the-same-as-categoryto is a category of its own: one the same as category is refused when the policy is loaded, since forfeited pay would stay where it is
step-holiday_pay_if_present_before-the-first-of-two-holidays-worked-pays-the-secondHolidays on Wednesday and Thursday, absent on Tuesday: Wednesday was worked, which keeps its pay and counts as present for Thursday, whose pay stands too
step-holiday_pay_if_present_before-unpaid-leave-the-workday-before-does-not-countOn unpaid leave on Tuesday, the workday before Wednesday’s holiday: leave without pay is not present, and the holiday pay goes to holiday_unpaid
step-holiday_pay_if_present_before-within-is-how-far-back-the-workday-is-looked-forwithin is how many days back the workday before is looked for: at 1, the Sunday before Monday’s holiday has no shift and nothing more is looked at, so the pay stands though Friday was not worked

Standard step holiday_pay_otherwise_working

ScenarioWhat it checks
step-holiday_pay_otherwise_working-a-holiday-worked-pays-nothing-hereLabour Day on the roster, and worked: the step pays nothing for it, the work being paid as worked
step-holiday_pay_otherwise_working-a-shift-scheduled-pays-its-timeLabour Day, Monday October 26, has a shift from 09:00 to 17:00 on the roster and is not worked: an otherwise working day, it pays the shift’s 8 hours. Tuesday’s shift, worked, is no holiday
step-holiday_pay_otherwise_working-a-weekday-worked-most-weeks-pays-its-averageNo roster: Mondays were worked, 6 hours each, in 8 of the 13 weeks before Labour Day, at least the default 7: an otherwise working day, not worked, it pays the 6 hours those Mondays averaged
step-holiday_pay_otherwise_working-at_least-sets-how-many-weeks-make-the-patternThe same 8 Mondays of 13, with at_least 9: not an otherwise working day, and Labour Day pays nothing
step-holiday_pay_otherwise_working-its-time-is-not-counted-toward-overtimeThe holiday’s time is not worked, so a threshold counting every worked category leaves it out: Labour Day’s 8 hours and four 10-hour days come to 48 hours, but the 40 worked are not past 40, and nothing is overtime
step-holiday_pay_otherwise_working-pays-nothing-outside-the-employmentNothing is paid on a holiday after the person’s termination: Labour Day, Monday October 26, has a shift on the roster, but the person was terminated from October 24, and it pays nothing
step-holiday_pay_otherwise_working-refuses-at_least-past-weeksat_least is 1 to weeks: 14 of 13 weeks is refused when the policy is loaded
step-holiday_pay_otherwise_working-refuses-weeks-of-noneweeks is 1 to 52: 0 is refused when the policy is loaded
step-holiday_pay_otherwise_working-weeks-sets-how-far-back-the-pattern-looksThe last 4 weeks before Labour Day, with at_least 2: Mondays worked in 3 of them, an otherwise working day paying their 6 hours

Standard step join

ScenarioWhat it checks
step-join-by-default-back-within-five-minutes-is-one-stretchBy default an out followed by an in within 5 minutes is no break: Monday’s out at 12:00 and in at 12:05 are ignored and the day is one 8-hour stretch. Tuesday’s in at 12:06 is a real break: two stretches, 6 minutes unpaid
step-join-only-an-out-and-an-in-of-one-workdayOnly an out and an in of the same workday are joined: a night worker out at 23:58 on Monday and in at 00:02 on Tuesday, 4 minutes apart, keeps the two stretches, each in its own workday
step-join-passes-over-a-punch-a-lockout-ignoredAn out tapped twice at noon and the in back three minutes after the first: the lockout ignores the second out, and the join, which looks for the next punch that is not ignored, finds the in and takes the three minutes as no gap. Work runs on from 08:00 to 16:30
step-join-within-sets-how-soon-backwithin sets how soon back joins the work: with 10 minutes, Tuesday’s in 6 minutes after the out is joined too, and both days are one 8-hour stretch

Standard step late

ScenarioWhat it checks
step-late-defaults-to-no-graceWith no grace an in a minute after the 08:00 start is late, of kind late; an in at 08:00 is not
step-late-kind-and-pointsGiven a kind and points, a late start is that kind, its detail its points: half a point, and one point said in the singular

Standard step late_changes

ScenarioWhat it checks
step-late_changes-adjust_up_to-and-within-refuseA change that moves more than adjust_up_to, or is recorded on a day within does not hold, is refused: with an hour and 7 days from the close, 15 minutes recorded the next day is adjusted; 2 hours recorded the same day are refused for moving too much; 10 minutes recorded 8 days after the close are refused for coming too late
step-late_changes-without-limits-adjusts-every-changeadjust_up_to and within have no default: with neither given, no limit refuses, and every late change is adjusted into the open period, though the policy’s close.late_changes says refuse. Three hours added to Monday, recorded long after the close, are adjusted

Standard step leave_average_pay

ScenarioWhat it checks
step-leave_average_pay-back-says-how-far-it-looksback = 2 looks at two weeks only: the week before the leave’s and the one with no pay, so the 14th is not reached and 800.00 for 40 hours pays 160.00
step-leave_average_pay-includes-and-counts-say-what-is-averagedincludes = [basic] leaves the training pay out and counts = [work, training] counts its hours: 1,300.00 for 70 hours pays the 8 hours 148.57
step-leave_average_pay-the-weeks-with-pay-before-the-leaves-weekThe 2 weeks with pay (weeks) before the leave’s week, looking back 4 (back; by default 52 and 104): the week with none between them is passed over. 1,400.00 for the 60 hours worked (the training hours are not worked) pays the 8 hours 186.66
step-leave_average_pay-weeks-says-how-many-are-averagedweeks = 1 averages the latest week with pay alone: 800.00 for 40 hours pays the 8 hours 160.00, 20.00 an hour

Standard step leave_balance

ScenarioWhat it checks
step-leave_balance-by-default-no-request-takes-the-balance-below-nothingBy default (floor 0h) a request may not leave its accrual’s balance below nothing: with 16 hours of pto, v1’s 8 hours stands and v2’s 16, recorded after it, would leave -8: refused. A leave category balance does not name is not checked: v3’s sick leave, with no sick balance, stands
step-leave_balance-floor-sets-how-low-it-may-gofloor sets the lowest balance a request may leave: with -8h, v2’s 16 hours, leaving -8, stands; v3’s one more hour would leave -9: refused

Standard step leave_balance_below

ScenarioWhat it checks
step-leave_balance_below-by-default-once-a-calendar-year-below-nothingBy default (below 0h, times 1, within the calendar year) one request a calendar year may leave the balance below nothing: with 10 hours of pto, v1’s 16 hours (leaving -6) is the first this year and stands; v2, recorded after it, would take it below again: refused. Sick leave, a category balance does not name, is not checked
step-leave_balance_below-within-a-rolling-yearwithin sets the period the times are counted in: with the 12 months up to the request’s first day, v2 for January 2027 is refused, since v1 took the pto balance below nothing in February 2026, within those 12 months
step-leave_balance_below-within-by-default-a-new-calendar-year-starts-againBy default the times are counted in the calendar year holding the request’s first day: v1 took the pto balance below nothing in February 2026; v2, for January 2027, is the first that year and stands, though it is within twelve months of v1

Standard step leave_balance_first

ScenarioWhat it checks
step-leave_balance_first-by-default-refuses-while-paid-time-is-leftBy default (flag false) a request in a leave category balance names is refused while that accrual has time left: with 8 hours of pto, v1’s unpaid family leave is refused; v2 uses the 8 hours of pto; v3’s family leave, recorded after it, finds none left and stands
step-leave_balance_first-flag-raises-leave_balance_unusedWith flag the request is not refused: it stands, and leave_balance_unused is raised on its first day for the approver, saying what is left

Standard step leave_blackout

ScenarioWhat it checks
step-leave_blackout-refuses-a-request-with-a-day-in-itA request with any day in the blackout is refused, naming the day and the blackout’s stretch: v1 (Friday the 9th and Monday the 12th) is refused for the 12th, in inventory week; v2, the Monday after, stands. A blackout of dates holds those days: v3 on Friday the 23rd is refused

Standard step leave_days_per_request

ScenarioWhat it checks
step-leave_days_per_request-by-default-the-relationship-valueBy default the request’s value read is relationship: b1, for a spouse, may have 5 days and has 5; b2, for a parent, may have 3 and asks for 4: refused. Vacation, not named, is not checked
step-leave_days_per_request-value-names-the-value-readvalue names the request value the days are looked up by: reading kin, b1 (kin parent) may have 3 days and has 3; b2 names a relationship but no kin, and with no other days is refused

Standard step leave_days_within

ScenarioWhat it checks
step-leave_days_within-a-day-is-a-day-whatever-its-hoursCounted are the days with leave in the categories named, this request’s and the standing ones recorded before it, in the calendar year by default; a day is a day whatever its hours: with 3 days, v1’s two days of 2 hours and v2’s day of 8 hours make 3 and stand; v3’s hour on a fourth day is refused. Vacation, not named, is not counted
step-leave_days_within-within-sets-the-period-countedwithin sets the period the days are counted in: in a year from July 1, the 3 days of June 2026 are last year’s, and v2’s day in July stands, where the calendar year would refuse it

Standard step leave_eligibility

ScenarioWhat it checks
step-leave_eligibility-refuses-a-service-that-is-not-a-lengthservice is a whole number of days, weeks, months or years: one written otherwise is refused when the policy is loaded
step-leave_eligibility-service-sets-the-service-neededservice sets how long the person must have been employed before the request’s first day: with 6 months, someone hired June 15, 2025 is refused leave on December 14, the last day of the six months, and may have it on December 15; by default 12 months would refuse both
step-leave_eligibility-within-by-default-the-twelve-months-beforeBy default the hours are counted in the 12 months before the request’s first day: 500 hours worked from February to May 2025 and in December 2025 are within the 12 months before February 2, 2026, and meet a bar of 500 hours
step-leave_eligibility-within-sets-where-the-hours-are-countedwithin sets where the hours are counted: in the 6 months before February 2, 2026 only December’s 100 hours were worked, short of 500: refused

Standard step leave_entitlement

ScenarioWhat it checks
step-leave_entitlement-refuses-weeks-of-nothingAn entitlement of no weeks is refused when the policy is loaded
step-leave_entitlement-weeks-sets-the-entitlementweeks sets how many of the usual week the leave may come to: with 2 weeks of the default 40-hour week, v1’s 80 hours in the calendar year stand; v2’s 8 hours more come to 88: refused

Standard step leave_increment

ScenarioWhat it checks
step-leave_increment-refuses-a-day-not-a-whole-number-of-incrementsA request in the categories named with a day whose time is not a whole number of increment is refused, naming the first such day: in whole hours, s1’s 4 hours stands and s2’s 2 hours 30 minutes on its second day is refused. Vacation, not named, is not checked
step-leave_increment-refuses-an-increment-of-nothingAn increment of nothing is refused when the policy is loaded

Standard step leave_make_up_pay

ScenarioWhat it checks
step-leave_make_up_pay-by-default-no-offset-and-no_rateBy default nothing is taken off a day with no money entered (offset_per_day 0) and a day no rate matches raises no_rate: Monday’s 8 scheduled hours of jury duty at 25.00 make up 200.00; Tuesday’s leave, after the pay rate ends, so with no rate, makes up nothing and is raised
step-leave_make_up_pay-offset-and-offset_per_day-are-taken-offThe money entered for a day in the offset measure is taken off the usual pay; on a day with none entered, offset_per_day is: Monday’s 50.00 of jury pay leaves 150.00 to make up; Tuesday, with none entered, the 40.00 of offset_per_day leaves 160.00

Standard step leave_not_on_holidays

ScenarioWhat it checks
step-leave_not_on_holidays-a-day-on-a-holiday-draws-nothingA day of leave on a public holiday books no time and draws nothing from the balance: with 16 hours of pto, v1 takes 8 on Wednesday 7 October and v2, recorded after it, asks for 8 on Thursday 8 October, a holiday, and 8 on the Friday: with the holiday’s day drawing nothing it leaves 0 and stands (put after the balance check, or without the rule, it would leave -8 and be refused)
step-leave_not_on_holidays-categories-and-holidays-narrow-itcategories names the leave it is for and holidays the holidays: only pto on harvest day books nothing. Sick leave on the holiday, and pto on the other holiday (not named), draw their hours: with 16 pto: p1 on harvest day draws none, s1 (sick) on it draws its 8 sick hours, and s2 asks for one more sick hour on founders day and is refused; p3 for 16 pto hours then leaves exactly 0 and stands, and p4 for one more hour is refused
step-leave_not_on_holidays-without-it-the-holiday-draws-the-balanceWithout the rule, the same requests: the holiday’s 8 hours are drawn like any, v2 would leave -8 and is refused. The rule is what makes the holiday free

Standard step leave_notice

ScenarioWhat it checks
step-leave_notice-flags-a-request-asked-fewer-days-aheadA request recorded fewer than days days before its first day starts is flagged leave_short_notice, not refused: with 14 days, v1 recorded exactly 14 days before October 7 is not flagged; v2, recorded a minute later for the same day, is

Standard step leave_rostered_penalties

ScenarioWhat it checks
step-leave_rostered_penalties-a-day-no-rate-matches-raises-kindA day of leave on a rostered Saturday with no pay rate to price it raises kind, about the leave, and adds nothing
step-leave_rostered_penalties-a-rostered-saturday-pays-its-penaltyA day of annual leave on a rostered Saturday: the Saturday’s 125% is more than the loading’s 117.5%, so the 8 hours at 25.00 add the 7.5% between them, 15.00
step-leave_rostered_penalties-a-shift-across-midnight-takes-each-days-penaltyA rostered shift from 20:00 on Saturday to 04:00 on Sunday is 4 hours at 125% and 4 at 150%, 137.5%: a day of annual leave on it adds the 20% over the loading, 40.00 for 8 hours at 25.00
step-leave_rostered_penalties-a-weekday-is-paid-the-loading-aloneA day of annual leave on a rostered Wednesday: no penalty holds the shift, its 100% is under the loading, and nothing is added
step-leave_rostered_penalties-kind-by-default-no_ratekind is no_rate by default: a day of leave on a rostered Saturday with no pay rate to price it raises no_rate, about the leave, and adds nothing
step-leave_rostered_penalties-loading-is-what-the-leave-is-paidloading is the per cent the leave is paid already: at 130%, a rostered Saturday’s 125% is less, and nothing is added
step-leave_rostered_penalties-the-first-penalty-holding-an-instant-decidesEach instant of the shift is at the first penalty holding it: a Saturday shift from 16:00 to midnight is 6 evening hours at 150%, the evening listed first, and 2 at Saturday’s 125%, 143.75% in all, and 8 hours of leave at 25.00 add 52.50; listed the other way, every hour would be Saturday’s, adding 15.00

Standard step leave_route

ScenarioWhat it checks
step-leave_route-over-and-a-route-for-every-requestEach route sends its stage to its to for a request of more than over in all; a route with no over sends it for every request: v1’s 24 hours is not more than 24, so the manager’s stage stays the manager’s, and once the manager approves, its HR stage goes to the HR lead; v2’s 32 hours goes to the director at the manager’s stage

Standard step leave_waiting_days

ScenarioWhat it checks
step-leave_waiting_days-by-default-three-days-of-any-spellBy default the first three days of any spell wait (days = 3, spell_days = 1): a week off sick waits Monday to Wednesday, and is paid Thursday and Friday
step-leave_waiting_days-linked_within-says-how-far-periods-linkWith linked_within = 7, a period of incapacity three weeks after the last is not linked to it, and waits its own three days again (by default, 56 days, it would wait none)
step-leave_waiting_days-longest-ends-a-serieslongest is the most days a series of linked periods lasts from its first: at 30, a period from 9 November, linked to one ended 9 October, starts after its series of 5 October ran out, so it begins a series of its own and waits its three days again; by default, 1095 days, it would wait none
step-leave_waiting_days-look_back-says-what-it-reads-beforeWith look_back = 0 the step reads nothing of the week before: the Thursday and Friday of a spell that runs on into Monday and Tuesday are not seen, so Monday and Tuesday are its first waiting days (by default they are its third and its first paid one)
step-leave_waiting_days-measure-reports-each-day-of-incapacitymeasure is where each day of a period of incapacity is reported, a count of 1 with the first day of its series and the waiting days it had served by then

Standard step leave_waiting_period

ScenarioWhat it checks
step-leave_waiting_period-by-default-the-90-days-from-hireBy default (wait the 90 days from the latest hire) a request in the categories named with its first day in the wait is refused: hired January 5, 2026, s1 on April 4, the 90th day, is refused; s2 on April 6 stands. Vacation, not named, is not checked
step-leave_waiting_period-wait-is-counted-from-the-latest-hirewait sets the period from the latest hire: with 30 days, a person rehired on February 27, 2026 after leaving in February waits from the rehire: s1 on March 28, the 30th day, is refused; s2 on March 30 stands

Standard step leave_weekly_pay

ScenarioWhat it checks
step-leave_weekly_pay-average-weekly-earnings-where-they-are-greaterThe same 2 weeks with a commission of 60,000.00: 60,500.00 earned, an average week of 30,250.00, more than the ordinary 1,000.00: the day is paid 8 hours of a 40-hour week at it, 6,050.00
step-leave_weekly_pay-includes-names-the-money-averagedincludes names the money averaged: counting only work, the 2 weeks of 250.00 each average 250.00, the commission of 60,000.00 left out, less than the ordinary 1,000.00: the day is paid 8 hours of a 40-hour week at the ordinary pay, 200.00
step-leave_weekly_pay-kind-by-default-no_ratekind is no_rate by default: a day of leave with no pay rate for it (the rate ends the day before) raises no_rate, about the leave, and is paid nothing here
step-leave_weekly_pay-ordinary-weekly-pay-where-the-average-is-no-moreA day of annual holiday, 8 hours, its year taken as the 2 workweeks before (the default is 52): the ordinary weekly pay, 40 hours at 25.00, 1,000.00, is more than the average weekly earnings, the weeks’ 500.00 over 2: the day is paid 8 of the week’s 40 hours of it, 200.00
step-leave_weekly_pay-refuses-weeks-past-104weeks is 1 to 104: 105 is refused when the policy is loaded
step-leave_weekly_pay-week_attribute-names-the-usual-weekThe same weeks for someone whose usual week, in the employment attribute ordinary_week, is 30 hours: their ordinary weekly pay is 750.00, the average weekly earnings more, and the day of 8 hours is 8 of the week’s 30 hours of them, 8,066.66, rounded down

Standard step limit

ScenarioWhat it checks
step-limit-a-tenant-without-the-setting-has-noneA tenant whose metadata names no limit at over_from has none raised, however long the day
step-limit-about-the-dayWith about day, a long day is raised about the day, at its start
step-limit-by-the-weekA limit of 40 hours a week: five 8-hour days are not over it; an hour on Saturday is, raised about Saturday’s line
step-limit-counts-only-its-categoriesBreaks paid as worked: a day of 8 hours 30 minutes of work and a 30-minute break is 9 hours worked. A limit of 8 hours 45 minutes counting every worked category is passed; one counting only work is not
step-limit-over-from-the-tenants-metadataThe limit named in the tenant’s metadata (review.long_day, 8 hours) is the one used: 8 hours and a minute is raised
step-limit-over-raises-about-the-latest-lineA limit of 10 hours a day: Monday’s exactly 10 hours raise nothing; Tuesday’s 10 hours and a minute raise long_day about the day’s latest line, the afternoon’s
step-limit-refuses-both-over-and-over_fromlimit takes over, or over_from, not both: which one holds would be a guess, so both are refused when the policy is loaded
step-limit-refuses-neither-over-nor-over_fromlimit takes over, or over_from: given neither it has no limit, and is refused when the policy is loaded

Standard step location_holidays

ScenarioWhat it checks
step-location_holidays-a-location-keeps-only-the-holidays-it-listsBy default the list is the location’s metadata holidays: a site listing Christmas alone observes Christmas 2026, a Friday, and not Boxing Day
step-location_holidays-key-names-the-listkey = bank_holidays reads the list under that name: a site whose bank_holidays list Boxing Day alone observes it, Saturday 26 December 2026, and not Christmas
step-location_holidays-no-list-keeps-every-holidayA location that keeps no list (here, none under the key holidays), and a person at no location, observe every holiday of the tenant’s

Standard step lockout

ScenarioWhat it checks
step-lockout-a-punch-of-no-direction-is-a-duplicate-of-eitherA punch within the lockout of the punch before is a duplicate where either has no direction, whatever the other’s kind: Monday’s unknown punch a minute after the in, and Tuesday’s in a minute after an unknown punch, are each ignored. Without the lockout each would be given a direction by the step after it and turn the person around
step-lockout-by-default-a-punch-within-two-minutes-of-the-same-kindBy default a punch of the same kind as the punch before, within 2 minutes of it, is a duplicate: Monday’s second in, exactly 2 minutes after the first, is ignored and the day is one shift. Tuesday’s second in, 3 minutes after the first, is no duplicate: it starts the work, and the first in is left without its out
step-lockout-within-sets-how-close-a-duplicate-iswithin sets the lockout: with 5 minutes, Tuesday’s second in 3 minutes after the first is a duplicate too, ignored, and each day is one shift

Standard step long_break

ScenarioWhat it checks
step-long_break-breaks-names-the-break-categoryBreaks in paid_break: a step looking at rest_break (the default) finds none; one given breaks paid_break finds the 21-minute one
step-long_break-defaults-to-twenty-minutesA break of exactly 20 minutes is a rest break; one of 21 minutes is long, raised about its line
step-long_break-longestWith longest 30m a 21-minute break is a rest break; a 31-minute one is long
step-long_break-needs-to-or-kindA long break step given neither to nor kind is refused: it would do nothing
step-long_break-to-and-kind-both-move-and-raiseGiven both to and kind, a long break is moved and raised: Tuesday’s 21-minute break is unpaid and raised as long_break; Monday’s 15-minute one stays paid
step-long_break-to-moves-a-long-break-wholeWith to, a long break moves whole to that category: Tuesday’s 21-minute break is unpaid, its 15-minute one on Monday stays paid, and nothing is raised

Standard step longest_shift

ScenarioWhat it checks
step-longest_shift-by-default-sixteen-hours-flagged-not-closedBy default a shift may run 16 hours and is only flagged: Monday’s in with its out exactly 16 hours later is no exception. Wednesday’s in with no punch until Thursday’s in 16 hours and a minute later is shift_too_long, and is not closed: it stays without its out (missing_out) and counts nothing
step-longest_shift-longest-and-close-end-the-work-at-the-limitlongest sets the limit and close ends the work at it: with 10 hours and close, Monday’s in followed by Tuesday’s in ends at 18:00 and counts its 10 hours; Tuesday’s out 10 hours after its in is within the limit

Standard step match

ScenarioWhat it checks
step-match-by-default-from-the-shifts-start-until-its-endBy default (early 0s, late unset) work is a shift’s when it starts from the shift’s start until its end: Monday’s in a minute before the 08:00 start and Thursday’s in at the 16:00 end are no shift’s, so take none of its job; Tuesday’s in at 08:00 and Wednesday’s at 15:59 are the shift’s
step-match-early-and-late-set-the-windowearly and late set the window a shift’s work starts in: with 30 minutes early and an hour late, Monday’s in at 07:30 and Wednesday’s at 08:59 are the shift’s; Tuesday’s at 07:29 and Thursday’s at 09:00 are no shift’s
step-match-prefer-by-default-the-earliest-starting-shiftOf several shifts work could be matched to, prefer first (the default) takes the earliest starting: the day shift (07:00 to 15:00) and the swing shift (14:00 to 22:00) overlap, and Monday’s in at 14:45 is the day shift’s, on packing; prefer nearest takes the swing shift, whose start is nearer, as Tuesday’s layer has it

Standard step meal_premium

ScenarioWhat it checks
step-meal_premium-by-default-an-hour-for-no-meal-by-the-fifth-hourWith its defaults: Monday’s punched 30-minute lunch starts at the end of the fifth hour, no premium; Tuesday’s starts a minute later, an hour of meal_premium; Wednesday is exactly 5 hours with no meal, none due; Thursday is 6 hours with no meal, an hour
step-meal_premium-by-sets-the-hour-the-meal-starts-byWith by at 6 hours, Monday’s 6 hours with no meal pay no premium (by default they would pay an hour); Tuesday’s 7 hours with no meal pay an hour
step-meal_premium-meal-sets-the-gap-that-is-a-mealPunched out for 30 minutes after 4 hours, then 4 hours more, on Monday and on Tuesday. Monday, by default, the 30 minutes are the meal, started in time: no premium. From Tuesday a layer sets meal to 1 hour: the gap is no meal, 8 hours of work come before any meal, and an hour is paid
step-meal_premium-meal_category-names-the-punched-mealLunches are punched into lunch_break: a 30-minute lunch after 4 hours, then 4 hours more. Monday, by default (meal), the lunch is no meal but time like any other, so 8 and a half hours come before a meal and an hour is paid; from Tuesday, with meal_category lunch_break, the lunch is the meal, started in time: no premium
step-meal_premium-premium-and-category-set-what-is-paidWith premium 30 minutes and category missed_meal, a 6-hour day with no meal pays 30 minutes of missed_meal, not an hour of meal_premium
step-meal_premium-required_after-sets-the-day-long-enough-to-need-a-mealWith required_after at 8 hours, Monday’s 7 hours with no meal pay no premium (by default, past 5 hours, they would); Tuesday’s 9 hours with no meal pay an hour

Standard step minimum_engagement

ScenarioWhat it checks
step-minimum_engagement-a-break-of-up-to-gap-keeps-one-engagementA meal break of 30 minutes, no longer than the default gap of an hour, keeps 09:00 to 12:00 one engagement of 2 hours 30 minutes worked, topped up by 30 minutes; the work from 14:00, 2 hours after it, is an engagement of its own, of 1 hour, topped up by 2
step-minimum_engagement-counts-and-category-say-what-counts-and-where-it-goesAn engagement from 10:00 to 12:00 whose second hour is training: counting only work, 1 hour is counted, and 2 are added in the category named, minimum_paid. By default every worked category counts, and the 2 hours need 1
step-minimum_engagement-gap-sets-how-long-a-break-keeps-one-engagementWith a gap of 15 minutes, the 30-minute break splits the morning into two engagements, of 1 hour 30 minutes and of 1 hour, each topped up to 3 hours
step-minimum_engagement-tops-a-short-engagement-up-to-at-leastPaid at least 3 hours an engagement: Monday’s 2 hours are topped up by 1 hour in minimum_engagement, a category paid and not worked; Tuesday’s 4 hours need nothing

Standard step minimum_pay

ScenarioWhat it checks
step-minimum_pay-at_least-sets-the-minimumBasis call_back with at_least 3 hours: an hour’s call-back outside the shift is topped up 2 hours, where at least 2 would add 1
step-minimum_pay-call_back-counts-only-the-worked-time-of-a-stretchBasis call_back, at least 4 hours, with no shift: in at 18:00, a 40-minute unpaid meal from 19:00, out at 21:00. The meal, a line of its own, keeps the call-back one stretch, but only its 2 hours 20 minutes of work count toward the minimum: topped up 1 hour 40 minutes
step-minimum_pay-call_back-counts-picks-the-stretchesBasis call_back, at least 2 hours, counting only work: Thursday’s hour-long call-back is split by daily overtime into 30 minutes of work and 30 of overtime. Counting only work, the stretch is the 30 minutes of work, topped up an hour and a half; by default, all timed time counted, it is one hour-long stretch topped up an hour
step-minimum_pay-call_back-tops-up-each-stretch-outside-the-shiftBasis call_back, at least 2 hours: scheduled 08:00 to 16:00. Monday’s 2-hour call-back needs nothing; Tuesday’s 1-hour one is topped up an hour; Wednesday’s two call-backs are topped up each; Thursday’s call-back, split by daily overtime into two lines, is still one hour-long stretch; Friday’s staying late runs on from the shift and is no call-back; Saturday, with no shift, is a call-in
step-minimum_pay-half_of_shift-is-refused-but-for-reportinghalf_of_shift and at_most say how a reporting minimum is worked out: given with basis call_back, the step’s parameters are refused, naming them, before anything is worked out
step-minimum_pay-reporting-at_most-caps-half-the-shiftBasis reporting with half_of_shift, at least 2 hours and at most 4: sent home after an hour, Monday’s 10-hour shift pays 4 hours, not the 5 half of it would (3 added)
step-minimum_pay-reporting-counts-picks-the-time-that-countsBasis reporting, at least 4 hours, counting only work: on Monday, scheduled 08:00 to 16:00, two hours were worked from 04:00, the first of them moved to early (a worked category) by a premium window. Counted as work only, 1 hour was worked and 3 are added; by default, every worked category counted, 2 hours were and 2 would be added
step-minimum_pay-reporting-half_of_shift-pays-half-the-shiftBasis reporting with half_of_shift, at least 2 hours: sent home after an hour, Monday’s 10-hour shift pays half of it, 5 hours (4 added; at least 2 alone would add 1); Tuesday’s 3-hour shift pays 2, not 1.5 (1 added); Wednesday’s 1-hour shift, worked, pays no more than the shift itself
step-minimum_pay-reporting-tops-a-short-scheduled-day-up-to-at-leastBasis reporting, at least 4 hours, the default category minimum_pay: sent home after an hour of an 8-hour shift, Monday pays 3 hours more; Tuesday’s 5 hours need nothing; Wednesday, scheduled and not worked, is no report for work and pays nothing; Saturday’s hour with no shift is no report either
step-minimum_pay-stretch-context-tops-up-each-call-out-on-callBasis stretch, at least 2 hours, for work on call (context on_call = yes): the 45-minute call-out at 02:00 on Tuesday, on the on-call shift, is topped up 1.25 hours, with the call-out’s context; Tuesday’s hour of day-shift work is not on call and gets nothing, where without context it would be topped up too
step-minimum_pay-stretch-counts-picks-the-categoryBasis stretch, at least 2 hours, counting call_out only: on-call work moved to call_out by a premium is topped up per call-out; Tuesday’s hour of ordinary work is not counted and gets nothing
step-minimum_pay-stretch-without-context-tops-up-every-stretchBasis stretch, at least 2 hours, with no context and no counts: every stretch of worked time is paid at least 2 hours. Monday’s 45 minutes are topped up 1.25 hours, Tuesday’s hour 1 hour, and Wednesday’s 3 hours need nothing

Standard step minimum_wage

ScenarioWhat it checks
step-minimum_wage-an-hour-with-no-minimum-has-nonePaid 17.00: Monday’s 8 hours at the city site, whose minimum is 20.00, are 24.00 short; Tuesday’s 8 at a site no minimum rate matches owe nothing. Without includes, the 50.00 of tips reported count for nothing
step-minimum_wage-counts-names-the-hours-held-to-itcounts names the categories held to the minimum: with work only, the 4 hours entered as training are not, and the 8 hours of work at 17.00 under a 20.00 minimum owe 24.00, where every worked category would owe 36.00

Standard step minimum_wage_and_overtime

ScenarioWhat it checks
step-minimum_wage_and_overtime-a-week-split-by-a-pay-date-is-compared-wholeA week split by the first of the month is compared whole in the later period: its 50 hours, 15 past the 35-hour tier, are owed 646.07 and paid 605.00 at 12.10; September’s 30 hours were owed nothing, so October adds the whole 41.07
step-minimum_wage_and_overtime-an-hour-with-no-minimum-is-owed-noneMonday’s 9 hours in Poland match no minimum and count toward none of the host’s tiers: France’s 34 hours, paid 390.50 at 11.00 (the week’s last 3 at 150%), are owed 408.68 under 35 hours, and 18.18 is added
step-minimum_wage_and_overtime-by-the-week-by-defaultBy the week, the default: Monday’s 10 hours and Tuesday’s 6, 8 hours past the 8-hour tier, are owed 216.36 and paid 193.60 at 12.10; 22.76 is added on Tuesday
step-minimum_wage_and_overtime-counts-names-the-hours-held-to-itcounts names the hours held to the minimum: with work only, the 40 hours of work are owed 495.82 at the minimum and its overtime past 35, and paid 484.00; the 11.82 short is added, where every worked category leaves 2.45
step-minimum_wage_and_overtime-premiums-price-the-contracts-hourspremiums are what the contract pays each category: with its overtime at 200%, the 43 hours come to 556.60, more than the 540.90 the host’s minimum and overtime owe, and nothing is added
step-minimum_wage_and_overtime-refuses-a-tier-under-100A tier’s per cent is of the minimum, 100 or more: one of 90 is refused when the policy is published
step-minimum_wage_and_overtime-the-minimums-overtime-past-each-tier43 hours in France paid 12.10 an hour, the 3 past 40 at 150%: 538.45. The host’s minimum of 12.02 with its overtime, 125% past 35 hours, owes 540.90; the 2.45 short is added, with the work’s context
step-minimum_wage_and_overtime-window-day-compares-each-daywindow = day compares each day: Monday’s 10 hours, 2 past the 8-hour tier, are owed 126.21 and paid 121.00, so 5.21 is added; Tuesday’s 6 are paid more than the minimum

Standard step missed_break

ScenarioWhat it checks
step-missed_break-defaults-one-every-four-hoursOne break is due for each 4 hours worked past: Monday’s 8 hours straight call for one and have none, a missed_break about the day; Tuesday’s exactly 4 hours call for none; Wednesday’s 8 hours with a break have theirs
step-missed_break-every-and-kindWith a break due every 3 hours, of kind break_short, a day of 7 hours 45 minutes worked with one break calls for two: it is raised

Standard step monthly_average_limit

ScenarioWhat it checks
step-monthly_average_limit-counts-picks-the-time-averagedThe same two months, counting only overtime, of which there is none: nothing is raised
step-monthly_average_limit-from-sets-the-shortest-spanThe same two months, averaged over 3 months, no fewer: August, September and October average 73 hours 20 minutes a month, no more than 80, and nothing is raised
step-monthly_average_limit-months-by-default-sixmonths is 6 by default: 140 hours in May 2026 and 70 in each month from June to October. At October’s end no span of 2 to 5 months averages more than 70 a month, but the 6 months from May average 81 hours 40 minutes, more than 80: raised about October
step-monthly_average_limit-raises-where-months-average-more-than-over11 hours on each of the first 10 weekdays of September and October 2026, 110 hours each month, averaged over spans of up to 2 months (the default is 6). At October’s end, September and October average 110 hours a month, more than 80: raised about October. At September’s end, August and September average 55, and nothing is raised for September
step-monthly_average_limit-refuses-a-window-that-is-not-the-calendar-monthwindow is the calendar month, starting on a month’s first day: a month from the 15th is refused when the policy is loaded
step-monthly_average_limit-refuses-from-past-monthsfrom is 1 or more and no more than months: from 4 with months 3 is refused when the policy is loaded
step-monthly_average_limit-refuses-months-past-twelvemonths is at least from and at most 12: 13 is refused when the policy is loaded

Standard step no_show

ScenarioWhat it checks
step-no_show-defaultsA scheduled Tuesday with no work is a no_show about the day; a scheduled holiday on Wednesday with no work is not, holidays being off by default
step-no_show-holidays-off-false-counts-a-holidayWith holidays_off false, a scheduled holiday with no work is a no show too
step-no_show-kind-and-pointsGiven a kind and points, a no show is that kind, its detail its points
step-no_show-rejected-or-pending-leave-excuses-nothingOnly approved leave excuses a scheduled day with no work: Monday’s approved vacation raises nothing; Tuesday’s request, rejected, and Wednesday’s, still pending, excuse nothing, and each day is a no_show

Standard step observe

ScenarioWhat it checks
step-observe-as_is-keeps-the-day-itselfsaturday as_is observes a holiday falling on a Saturday on that day, though the holiday itself says nearest weekday: Independence Day 2026, a Saturday, is paid on Saturday July 4, not Friday July 3. A day the step does not name keeps the holiday’s own setting: in 2027 it falls on a Sunday and is observed on Monday July 5
step-observe-holidays-names-those-it-movesholidays limits the step to the holidays named: observing Saturdays on the Friday for Independence Day only, July 4, 2026 is paid on Friday July 3, while Halloween 2026, also a Saturday, keeps its own day

Standard step one_longer_day

ScenarioWhat it checks
step-one_longer_day-a-day-before-the-pay-period-may-be-the-longer-oneA pay period from Wednesday, the week from Monday: Monday’s 10 hours, in the period before, were the week’s longer day, so Wednesday’s tenth hour is overtime
step-one_longer_day-counts-by-default-leaves-out-toBy default the time counted is every worked category but to: an earlier step moved 18:00 to 20:00 of each 12-hour day to overtime, so Monday counts 10 hours, the week’s longer day, under 11, and nothing more moves; Tuesday’s 10 hours are past 9, and its latest hour of work goes to overtime
step-one_longer_day-counts-names-the-time-countedcounts names the time counted: with work only, Monday’s 8 hours of work and 2 of training are not past 9, so Tuesday’s 10 hours are the longer day and none is overtime; counting every worked category, Monday would be, and Tuesday’s tenth hour overtime
step-one_longer_day-longer-is-the-longer-days-hourslonger is the hours of the week’s longer day: at 9 hours 30 minutes, Monday’s last half hour is overtime too
step-one_longer_day-refuses-a-longer-day-no-longerThe longer day is longer than the others: longer of 9 hours with over of 9 hours is refused when the policy is published
step-one_longer_day-the-first-long-day-goes-to-longer9 hours a day, 11 on one day a week: Monday, the week’s first day past 9 hours, is its longer day, and its 10 hours are all ordinary; Tuesday’s tenth hour and Wednesday’s last 3 are overtime

Standard step payout_on_leaving

ScenarioWhat it checks
step-payout_on_leaving-pays-out-the-balance-on-the-last-day-employedOn the last day the person is employed what is left of the balance is paid out as time in pay: terminated from Saturday, January 17, their last day is Friday the 16th, and the 20 hours of comp time are paid out that day, leaving nothing

Standard step payout_unused_after

ScenarioWhat it checks
step-payout_unused_after-a-hand-adjustment-counts-as-earned-beforeA hand adjustment counts as earned before the period within, not in it: 5 hours adjusted in on August 10 are paid out at August’s end with what else is unused, while the hour August 3’s work earned stays
step-payout_unused_after-pays-out-what-was-earned-before-within-and-is-leftMonthly pay periods; an hour banked for each 8 worked: March 2’s day earns an hour (dated the period’s first day, March 1), August 3’s another. September is the first period whose six months, back to April 1, no longer hold March’s hour: still in the bank, it is paid out on September 30 in bank_payout. August’s hour stays
step-payout_unused_after-time-used-is-taken-from-the-oldest-firstAs in pays-out-what-was-earned-before-within-and-is-left, but an hour of the bank is taken off on August 10: the oldest hour, March’s, is the one used, so at September’s end the bank holds only August’s hour, earned within six months, and nothing is paid out
step-payout_unused_after-within-says-how-long-time-may-waitMonthly pay periods, within three months: March’s hour is paid out on June 30, the last day of the first period whose three months, back to April 1, no longer hold it

Standard step percent_of_pay

ScenarioWhat it checks
step-percent_of_pay-a-per-cent-of-the-money-named12.07% of the period’s money in the categories includes names (360.00 of wages, not the 50.00 bonus it does not name) is 43.45, rounded down, added on the last day with such money
step-percent_of_pay-refuses-counting-its-own-payA per cent of pay that names its own category among those it is of would count itself: refused when the policy is checked, as is a per cent finer than the hundredth
step-percent_of_pay-window-sets-how-often-it-is-paidwindow sets how often the per cent is worked out: by the week, in a monthly pay period, the first week’s 360.00 of wages add 36.00 on its last day with such money and the next week’s 120.00 add 12.00

Standard step percent_premium

ScenarioWhat it checks
step-percent_premium-counts-names-the-time-paid-forcounts names the time the premium is for: counting work alone, the 2 hours inside 20:00 to 06:00 are overtime, and no night premium is paid
step-percent_premium-holidays-a-holiday-shift-past-midnight-pays-no-tailholidays = true pays the instants on the holiday’s date: a shift from 18:00 on Monday 3 October 2033 to 02:00 on the Tuesday pays its 6 hours of the holiday (60.00 EUR at 50% of 20.00) and not the 2 hours after midnight
step-percent_premium-holidays-an-eve-shift-of-a-periods-last-day-pays-the-next-periods-holidayA shift from 22:00 on Sunday 2 October 2033, the last day of a pay period, to 06:00 on Monday 3 October, a holiday that is the first day of the next period, pays its 6 holiday hours (60.00 EUR at 50% of 20.00) in the period of the workday it belongs to
step-percent_premium-holidays-an-eve-shift-pays-the-hours-on-the-holidayholidays = true pays the instants on the holiday’s date in the zone, as during does: a shift of the eve, 22:00 to 06:00 into Monday 3 October 2033, pays only its 6 hours after midnight (60.00 EUR at 50% of 20.00), put on the workday it belongs to
step-percent_premium-holidays-are-the-date-not-the-workdayWith the workday starting at 06:30, work from 02:00 to 05:00 on Monday 3 October 2033 (a holiday by the date) is of Sunday’s workday and pays its 3 hours (30.00 EUR at 50% of 20.00); the same hours on the Tuesday are of the holiday’s workday and pay nothing
step-percent_premium-holidays-names-whichholidays = [einheit] pays 7.5% (a per cent to the hundredth) for the hours of that holiday only: 12.00 for 8 hours on Monday 3 October 2033; Weltkindertag, Tuesday 20 September 2033, is not named and pays nothing
step-percent_premium-holidays-on-a-periods-last-day-pay-no-tail-into-the-nextWith Sunday 2 October 2033 a holiday and the last day of a pay period, a shift from 22:00 on the Saturday pays its 6 hours after midnight and a shift from 18:00 on the Sunday to 02:00 on the Monday pays its 6 hours of the holiday and not the 2 after it: 120.00 EUR at 50% of 20.00, on the last workday with such time
step-percent_premium-holidays-on-the-day-the-clocks-changeA holiday on the day the clocks go forward (Sunday 27 March 2033, 02:00 to 03:00 in Berlin) is 23 hours long: a shift from 22:00 the evening before to 08:00 pays the 7 real hours of the holiday (70.00 EUR at 50% of 20.00), not 8 on the wall
step-percent_premium-pays-on-top-and-moves-no-time10% of the 20.00 rate for the 2 hours of a shift inside 20:00 to 06:00: 4.00 as money in night, and the 8 hours stay work, every one of them
step-percent_premium-takes-during-or-holidaysA per cent premium for no time at all is refused when the policy is checked: it takes during, holidays or both
step-percent_premium-window-sets-how-often-it-is-paidwindow sets how often the premium is worked out: by the day, each day’s 2 night hours are paid 4.00 on that day, where the default, the pay period, pays the period’s once on its last day with such time

Standard step piece_rate

ScenarioWhat it checks
step-piece_rate-a-count-no-rate-matches-pays-nothingWith rate, each count is paid the amount of the rate of that kind matching its context; a count no rate matches is paid nothing: packing (30 cents a box) pays 3.00, and the forklift loads, which no piece rate matches, pay nothing
step-piece_rate-each-pays-a-fixed-amount-a-pieceeach pays a fixed amount for every piece, in minor units, whatever the work’s context: ten boxes at 25 are 2.50 and four at 25 are 1.00, as money in pay, in the category named, with the count’s context
step-piece_rate-refuses-both-each-and-ratepiece_rate takes each or rate, one of them: given both it is refused when the policy is loaded, since which one pays would be a guess
step-piece_rate-refuses-neither-each-nor-ratepiece_rate given neither each nor rate has nothing to pay by: refused when the policy is loaded

Standard step premium

ScenarioWhat it checks
step-premium-context-picks-the-workWith context = { job = forklift }, only work whose context has that value goes to the premium: Monday’s forklift hours, not Tuesday’s packing
step-premium-counts-every-worked-category-by-defaultWithout counts every worked category moves: Saturday’s 10 hours, 2 of them daily overtime, all go to the weekend category
step-premium-counts-only-the-categories-namedWith counts = [work] only regular time moves: Saturday’s 8 regular hours go to the weekend category and its 2 hours of overtime stay overtime
step-premium-every-condition-given-must-holdWith weekdays = [saturday] and context = { job = forklift } both given, only work that meets both goes to the premium: Saturday’s forklift hours, not Saturday’s packing nor Monday’s forklift hours. A builder who wants either one lists two steps
step-premium-holidays-listed-only-thoseWith holidays = [christmas], Columbus Day is not one of them: Monday’s work stays work
step-premium-holidays-moves-a-holidays-timeWith holidays = true, work on any holiday the day observes goes to the premium category: Monday, Columbus Day, is holiday_worked; Tuesday stays work
step-premium-refuses-no-conditionA premium step given no weekdays, holidays or context is refused: it would say no time is paid the premium, or all of it
step-premium-weekdays-moves-those-days-timeWith weekdays = [saturday, sunday], Saturday’s hours go to the weekend category; Friday’s stay work

Standard step prevailing_wage

ScenarioWhat it checks
step-prevailing_wage-benefits-are-credited-against-the-fringeWith benefits named, what the employer’s plans pay for each hour is credited against the fringe: 8 hours as an electrician on bridge-12, paid the 45.00 base with 12.00 an hour in benefits, owe 8.00 of the 20.00 fringe in cash, 64.00
step-prevailing_wage-premiums-name-the-hours-and-their-per-centPremiums say which categories are hours on the project and each one’s per cent of the base: a 10-hour day on bridge-12 past a daily 8 hours, paid 30.00 against a 45.00 base, with overtime at 200 per cent: the 8 hours are 15.00 short, 120.00, and the 2 overtime hours are owed 90.00 and paid 60.00, 60.00 short: 180.00. The day’s holiday pay is in no category named, and owes nothing
step-prevailing_wage-refuses-a-fringe-without-its-categoryA prevailing-wage step given a fringe rate but no category to pay its cash in is refused, saying what goes together
step-prevailing_wage-refuses-benefits-without-a-fringeA prevailing-wage step given benefits with no fringe to credit them against is refused, saying it takes a fringe
step-prevailing_wage-the-fringe-is-paid-as-cash-for-every-hourWith a fringe named and no benefits, the fringe is paid as cash for every hour on the project: 8 hours as an electrician on bridge-12, paid the 45.00 base, owe the whole 20.00 fringe, 160.00, and nothing of the base; the benefits rate set up is not read
step-prevailing_wage-without-a-fringe-only-the-base-is-made-upA prevailing-wage step naming no fringe makes up only the base: 8 hours on project bridge-12 as an electrician, paid 30.00 against a base of 45.00, are 120.00 short; the fringe rate set up for the classification is not read

Standard step productivity_bonus

ScenarioWhat it checks
step-productivity_bonus-counts-every-worked-category-by-defaultBy default the hours a day’s output is measured against are every worked category: 6 hours punched and 2 hours of training entered are 8 hours, and 72 boxes is 9 an hour, short of 12: no bonus. Tuesday’s 96 boxes over the same 8 hours is 12 an hour, and pays 1.50 for each of the 8 hours
step-productivity_bonus-counts-names-the-hours-measuredcounts names the categories whose hours the output is measured against and the bonus is paid for: counting work alone, Monday’s 72 boxes over 6 hours punched is 12 an hour, and pays 1.50 for each of those 6 hours; the 2 hours of training neither lower the rate nor earn the bonus

Standard step rate_by_hours

ScenarioWhat it checks
step-rate_by_hours-kind-names-the-rates-it-chooses-amongkind = bill: the step chooses only among bill rates that tie, so the pay rates that tie are left to the engine: rate_ambiguous, and the work earns no pay
step-rate_by_hours-on-the-bill-side-reads-the-pay-sides-balanceA staffing agency bills a placement at a rate that steps up with the hours worked on it: the hours are a balance kept on the pay side (accrue), and a rate_by_hours step on the bill side (side = bill, kind = bill) reads it as the pay side carries it. 990 hours credited and the first week’s 40 bring the second week past 1,000, billed at the second rung’s 40.00 an hour; the first week is billed at 35.00
step-rate_by_hours-refuses-rungs-that-do-not-riseRungs that do not rise (2,000 hours, then 1,000) are refused when the policy is published
step-rate_by_hours-rungs-past-the-rates-are-paid-the-highestrungs = [100h, 200h, 300h]: 990 hours to date reach the fourth rung, and with three rates the highest (28.00) is paid; with rungs from 1,000 hours the same hours would be the first rung’s 20.00
step-rate_by_hours-the-rung-the-hours-to-date-reachedThree electrician rates tie for the work (each names only the job): the rung the hours to date reached is paid. 990 hours credited from before start the first week at rung 1, the lowest rate (20.00); its 40 hours worked earn 40 more, so the second week starts at 1,030, past 1,000, and is paid at rung 2 (24.00). The rung reached mid-week is paid from the next pay period

Standard step rate_tie

ScenarioWhat it checks
step-rate_tie-a-preference-no-rate-names-falls-to-pickprefer takes the rate naming the first dimension that one does; where no tied rate names any of them, pick decides: preferring shift and picking the lowest, Monday’s tie of the job’s rate (30) and the plant’s (40), neither naming a shift, is paid at 30; Tuesday’s tie of the plant’s rate (40) and the night shift’s (45) is paid at the night rate, preferred over the lower one
step-rate_tie-pick-lowest-pays-the-lower-of-the-rates-that-tiepick lowest pays the lower of rates that tie: boxes packed on the pack job at plant 7, which the job’s rate (30 cents) and the plant’s (40 cents) each match by one value, are paid at 30
step-rate_tie-pick-settles-rates-tied-at-one-amountpick settles a tie whose rates are of one amount: the job’s and the plant’s rates are both 40 cents, and the boxes are paid at 40 with no rate_ambiguous exception
step-rate_tie-the-choice-is-stamped-on-the-rate-and-what-it-priceda tie settled by a rate step says so: the rate the ledger keeps and the quantities it priced carry the stamp of the choice, the step, its layers and why
step-rate_tie-without-prefer-or-pick-a-tie-stays-ambiguousWith neither prefer nor pick (pick has no default) the step chooses no rate: a tie stays a rate_ambiguous exception and the boxes are paid nothing

Standard step regular_rate

ScenarioWhat it checks
step-regular_rate-an-hour-without-a-rate-raises-the-kind-namedFriday’s driving has no pay rate: each of its lines raises the kind named, and its 9 hours are in the regular rate’s hours with no pay. 36 hours packing at 20.00 are 720.00 for 45 hours, 16.00 an hour, and half of it on the 5 overtime hours is 40.00. Nothing is made up for the hours without a rate
step-regular_rate-hours-are-every-worked-category-by-defaultBy default every worked category is hours worked: 40 hours of work at 20.00 and 5 hours of travel, entered, at 10.00 are 850.00 for 45 hours, a regular rate of 18.8888. Half of it on the 5 overtime hours is 47.22, rounded down to the cent
step-regular_rate-hours-names-the-categories-workedhours names the categories that are hours worked: with work and overtime only, the 5 hours of travel are neither hours nor pay in the regular rate, 800.00 for 40 hours, 20.00; half of it on the 5 overtime hours is 50.00
step-regular_rate-kind-by-default-no_ratekind is no_rate by default: Friday’s driving has no pay rate, and each of its lines raises no_rate; the overtime premium is worked out from the hours that have one
step-regular_rate-refuses-neither-rate-nor-includesA regular-rate step given neither a rate nor money to include has no straight-time pay to work a rate out of: it is refused, saying what it takes
step-regular_rate-what-an-earlier-period-paid-is-not-taken-backPaid on the 1st and 16th, the week of October 12 runs across two pay periods. Monday’s 10 hours and a 60.00 bonus are in the first: a regular rate of 26.00, and Monday’s 2 overtime hours paid 26.00 on top there. Friday and Saturday’s 16 hours, no overtime, are in the second, which counts the whole week: 580.00 for 26 hours brings the rate down, and half of it on the 2 hours comes to less than the 26.00 paid. The second period takes nothing back and pays no premium

Standard step rest

ScenarioWhat it checks
step-rest-at_least-is-the-rest-owedLess than at_least between the last work of an earlier workday and the first work of this one raises rest_too_short about that work: with 10 hours, out Monday at 22:00 and in Tuesday at 08:00 is exactly 10 hours, enough; Wednesday’s in at 07:59, after Tuesday’s 22:00 out, is a minute short
step-rest-at_least-sets-how-much-restat_least sets the rest owed: with 11 hours, Tuesday’s 10 hours of rest is short too, as is Wednesday’s

Standard step rest_break_premium

ScenarioWhat it checks
step-rest_break_premium-breaks-premium-and-category-name-what-is-counted-and-paidbreaks names the category of the breaks taken (paid_break), and premium and category the pay (30 minutes in rest_pay): 6 hours and a minute with one paid_break call for two
step-rest_break_premium-by-default-a-break-for-each-four-hours-or-the-greater-partWith no parameters, 6 hours and a minute with one rest break taken call for two: an hour in rest_premium. 6 hours with one taken call for one: none
step-rest_break_premium-every-sets-how-much-work-calls-for-a-breakevery = 2h: 5 hours call for two breaks (two whole 2 hours, the hour left no greater part of 2), and one was taken: an hour’s premium, where by default 5 hours call for one
step-rest_break_premium-from-by-default-three-hours-thirtyBy default a day calls for a rest break from 3 hours 30 minutes worked: Monday’s 3 hours 29 minutes with no break owe nothing; Tuesday’s 3 hours 30 minutes owe the premium
step-rest_break_premium-from-sets-the-shortest-day-that-calls-for-onefrom = 2h: a 3-hour day with no break calls for one, an hour’s premium, where by default less than 3 hours 30 minutes calls for none

Standard step rest_days_share

ScenarioWhat it checks
step-rest_days_share-pays-the-rest-days-share-of-the-earningsOctober 2026, a monthly pay period: 40 hours of work at 20.00 earn 800.00. October has 4 Sundays, the default rest days, and 27 other days: 800.00 over 27, times 4, is 118.51, rounded down, added on October 31
step-rest_days_share-rest-and-holidays-are-the-rest-daysWith rest on Saturdays and Sundays, and the holiday of October 12: October’s 5 Saturdays, 4 Sundays and the holiday are 10 rest days, its other 21 working days; 800.00 over 21, times 10, is 380.95. Money in a category includes does not name, overtime’s, is not shared

Standard step round

ScenarioWhat it checks
step-round-an-edge-that-would-pass-the-other-one-stays-and-is-toldA lunch begun at 17:02:10 and ended by an out at 17:02:30, rounded to 15 minutes in 7-minute steps: the out would be taken at 17:00, before the lunch started, which no ledger can hold. The out stays at 17:02:30 and the person is told, so the week is worked out and an export is not held back
step-round-an-in-cannot-be-taken-into-the-break-before-a-stretch-with-no-endA break ended by a break end and, at the same second, by an in from a second clock: the stretch from the break end has no end, and the in starts new work. Rounded to 15 minutes the in would be taken to 10:45:00, before the stretch with no end starts at 10:51:35 and into the break, which would make 6 minutes 35 seconds both work and break. The in stays as punched, and so does its out, so the day comes to 8h 5m 19s with 5m 19s of overtime, and the person is told
step-round-mode-a-duration-rounds-down-up-to-itmode as a duration takes a punch down to the step before when it is up to that long past it, and up to the next step after: with 15 minutes and 7m, Monday’s 08:07 and 16:07 are 08:00 and 16:00; Tuesday’s 08:08 and 16:08 are 08:15 and 16:15
step-round-mode-by-default-the-nearest-of-every-punchBy default each punch, of every kind, is taken at the nearest step of the interval: with 15 minutes, in at 07:52 is 07:45, lunch out at 12:02 is 12:00, lunch back at 12:31 is 12:30, and out at 16:08 is 16:15
step-round-mode-down-takes-the-step-beforemode down takes each punch at the step of the interval at or before it: in at 07:52 is 07:45 and out at 16:08 is 16:00; a punch on a step stays
step-round-mode-up-takes-the-next-stepmode up takes each punch at the next step of the interval at or after it: in at 07:52 is 08:00 and out at 16:08 is 16:15; a punch on a step stays
step-round-punches-names-the-kinds-roundedpunches names the kinds of punch rounded: with only in, the in at 07:52 is 07:45 and the out at 16:08 stays as punched
step-round-refuses-a-mode-it-does-not-knowA mode that is not nearest, up, down or a duration is refused when the policy is loaded
step-round-refuses-an-interval-of-nothingAn interval of nothing has no steps to round to: refused when the policy is loaded
step-round-snap_to_shift-takes-a-punch-near-the-shift-at-itsnap_to_shift takes a punch within before or after of its shift’s start or end at it; the others are rounded: scheduled 08:00 to 16:00 and snapping 7 minutes either side, Monday’s in at 07:53 and out at 16:07 are 08:00 and 16:00; Tuesday’s in at 07:52, 8 minutes early, is rounded to 07:45, and the out at 16:08 to 16:15

Standard step schedule_change_pay

ScenarioWhat it checks
step-schedule_change_pay-each-parameter-changes-what-is-paidnotice_days = 3, changed = 2h, reduced = 100, category = schedule_pay. Wednesday was cut on October 1, before its 3 days’ notice began: nothing (with the default 14 days it would pay). Thursday was moved on October 6, inside: 2 hours. Friday was cut to 4 hours on October 8: all of the 4 hours taken away
step-schedule_change_pay-employee_reasons-names-the-reasons-excusedemployee_reasons = [swap]: Wednesday’s cut, recorded with the reason swap (a shift traded with a colleague), owes nothing; Thursday’s, recorded employee_request, is no longer a reason the policy excuses and owes half the 4 hours taken away

Standard step second_meal_premium

ScenarioWhat it checks
step-second_meal_premium-a-waiver-needs-the-first-meal-takenA waiver of the second meal (the employment attribute waiver names) holds only where the first meal was taken: Monday’s 11 hours with no meal at all owe the second meal’s premium though the waiver is signed. Tuesday’s 11 hours with a first meal owe none. Without the attribute, Wednesday’s (the waiver withdrawn from that day) owe it
step-second_meal_premium-by-sets-when-the-second-meal-is-dueby = 8h: a 9-hour day whose second meal never came pays the premium, in meal_premium by default; by default (10h) a 9-hour day owes no second meal
step-second_meal_premium-required_after-premium-and-categoryrequired_after = 12h: an 11-hour day with no second meal owes none. premium and category name the pay: the 13-hour day with none pays 30 minutes in second_meal
step-second_meal_premium-waived_up_to-sets-the-longest-day-waivedwaived_up_to sets the longest day a waiver holds for: with 11 hours, Monday’s 11 hours with a first meal and the waiver signed owe nothing; Tuesday’s 11 hours 30 minutes are past it and owe the second meal’s premium, as they would not by default (12 hours)

Standard step shift_position

ScenarioWhat it checks
step-shift_position-a-call-in-on-a-day-off-in-sydneyIn Sydney, a call-in on Saturday, a day with no shift: unscheduled = after with after = call_in labels all of its 3 hours; the weekday’s own shift (09:00 to 17:00) is untouched
step-shift_position-a-day-with-no-shift-stays-regular-by-defaultSaturday has no shift: by default its work stays work, neither before nor after one
step-shift_position-a-night-shift-is-the-days-that-starts-itA night shift 22:00 Monday to 06:00 Tuesday, worked from 21:00 to 07:00: the hour before it and the hour after it are outside, the eight hours between stay work
step-shift_position-a-shift-relative-differential-in-tokyoIn Tokyo, a shift 09:00 to 18:00 worked from 08:00 to 20:00: the hour before and the two hours after, each a category a differential can pay, with during = in_shift for the shift’s own time
step-shift_position-an-early-start-and-a-late-stay-in-chicagoIn Chicago, a shift 07:00 to 15:30 worked from 06:30 to 17:00: half an hour before it (an early-start premium category) and an hour and a half after it (late stay)
step-shift_position-before-and-after-name-the-categoriesWith before = early and after = late, the same Monday’s hours outside the shift go to those categories instead
step-shift_position-before-and-after-the-shift-by-defaultScheduled 08:00 to 16:00: Monday’s hour punched before the shift goes to before_shift and the hour and a half after it to after_shift; the shift’s own 8 hours stay work
step-shift_position-between-names-where-the-time-between-shifts-goesbetween = after: the four hours between the two shifts are after the first one’s end, so they go to after_shift too
step-shift_position-counts-names-what-is-movedcounts = work: of Monday’s 07:00 to 19:00, the hour from 17:00 an earlier step made night is left alone, the other hours outside the shift go to before_shift and after_shift
step-shift_position-during-names-the-time-inside-the-shiftWith during = in_shift the shift’s own 8 hours are labelled too; without it they stay work
step-shift_position-refuses-one-category-for-two-placesbefore, during and after must be different categories: one for two is refused, saying so
step-shift_position-run-again-over-the-overtime-it-says-where-the-overtime-fellRun over the overtime an earlier step made (counts = overtime), it labels where that fell: Monday 06:00 to 18:00 with a threshold at 8 hours makes the last 4 overtime, which are after the shift (16:00 to 18:00) and in it (14:00 to 16:00)
step-shift_position-shifts-that-overlap-are-one-stretchShifts 08:00 to 16:00 and 10:00 to 12:00 overlap (the second inside the first), so work from 07:00 to 17:00 has one hour before them and one after, nothing between, and the first’s end is the last end
step-shift_position-time-between-two-shifts-stays-regular-by-defaultTwo shifts on Monday, 06:00 to 10:00 and 14:00 to 18:00, worked through from 05:00 to 19:00: the hour before the first and the hour after the last are outside, the four hours between stay work
step-shift_position-unscheduled-after-says-the-day-is-after-a-shiftunscheduled = after: Saturday’s work goes to after_shift
step-shift_position-unscheduled-before-says-the-day-is-before-a-shiftunscheduled = before: Saturday’s work, with no shift to be inside, goes to before_shift
step-shift_position-unscheduled-during-says-the-day-is-in-a-shiftunscheduled = during with during = in_shift: Saturday’s work is labelled as inside a shift

Standard step short_rest

ScenarioWhat it checks
step-short_rest-at_least-by-default-ten-hoursBy default the rest owed is 10 hours: in at 09:00 Tuesday, exactly 10 hours after Monday’s 23:00 out, takes nothing; in at 08:59 Wednesday, a minute short after Tuesday’s 23:00 out, has that minute go to short_rest
step-short_rest-at_least-sets-the-rest-owedat_least = 12h: Tuesday opens at 09:00, 10 hours after Monday’s 23:00 close; its first 2 hours are inside the 12 owed and go to short_rest, where by default (10 hours) the rest was enough. Wednesday opens 13 hours after Tuesday’s close: nothing
step-short_rest-counts-names-the-time-it-takescounts names the categories taken: with work only, a punched break inside the short rest stays a break, and the work around it goes to short_rest

Standard step short_rest_pay

ScenarioWhat it checks
step-short_rest_pay-pays-once-a-day-started-in-the-restBy default 10 hours of rest are owed: Tuesday starts 8 hours after Monday’s close and pays the amount once, in the measure and category named, however many of its hours are in the rest. Wednesday starts 11 hours after Tuesday’s close: nothing

Standard step shortened_hour

ScenarioWhat it checks
step-shortened_hour-adds-what-the-shortened-hours-makeHours of 52 minutes 30 seconds between 22:00 and 05:00: Monday’s 7 hours from 22:00 to 05:00 count as 8, an hour added in night_hour, paid and not worked. Tuesday’s one hour inside, from 22:00 to 23:00, adds an hour less 52 minutes 30 seconds over 52 minutes 30 seconds of it, a seventh: 8 minutes 34.285 seconds. Wednesday’s day work adds nothing
step-shortened_hour-an-hour-of-an-hour-or-more-is-refusedA shortened hour of an hour or more is refused when the policy is published: it would shorten nothing, or take time away
step-shortened_hour-counts-picks-the-time-shortenedCounting only work: of Monday’s 7 night hours, the 3.5 from 01:30, moved to training, are not counted, and the 3.5 of work add half an hour

Standard step shortened_hour_run_on

ScenarioWhat it checks
step-shortened_hour_run_on-a-night-not-worked-whole-runs-nothing-onA shift from 23:00 to 07:00 does not work the night whole: only its 6 hours to 05:00 are shortened, adding 51 minutes 25 seconds
step-shortened_hour_run_on-the-hours-run-on-are-shortened-tooA shift from 22:00 to 07:00 works the night whole and on past it: all 9 hours are hours of 52 minutes 30 seconds, adding a seventh of them, 1 hour 17 minutes 8 seconds, in night_hour

Standard step split_shift

ScenarioWhat it checks
step-split_shift-a-gap-across-the-hour-the-clocks-go-backOn November 1, the clocks go back an hour at 02:00: work from 00:15 to 00:45 and again from 02:45 (after the change) to 05:00, both on November 1’s workday. The gap reads 2 hours on the wall but is 3 hours of time. With gap at 2 hours 30 minutes, it is a split, decided on the time that passed, not the wall
step-split_shift-a-split-shift-across-midnightMonday’s evening shift 16:00 to 20:00 and its second part from 21:30 to 01:30 on Tuesday: the second part starts on Monday’s workday, so the 90-minute gap splits Monday and the premium is Monday’s, though the work ends after midnight. Wednesday’s second part starts at 00:30 on Thursday, a workday of its own: Wednesday is not split
step-split_shift-by-default-an-hour-for-a-gap-of-more-than-an-hourWith its defaults: Monday’s two stretches are exactly an hour apart, no premium; Tuesday’s are an hour and a minute apart, an hour of split_shift; Wednesday’s three stretches have two long gaps, the premium paid once; Thursday’s long punched lunch is time, not a gap
step-split_shift-gap-sets-how-long-a-gap-splits-the-dayWith gap at 2 hours: Monday’s 90-minute gap is no split (by default it would be one); Tuesday’s 3-hour gap is, an hour of split_shift
step-split_shift-pay-and-category-set-what-is-paidWith pay 30 minutes and category split_premium, a day split by a 2-hour gap pays 30 minutes of split_premium, not an hour of split_shift

Standard step split_shift_allowance

ScenarioWhat it checks
step-split_shift_allowance-gap-sets-how-long-a-gap-splits-the-dayWith a gap of 6 hours, Monday’s 5 hours between 11:00 and 16:00 split nothing and nothing is paid; Wednesday’s 7 hours between 09:00 and 16:00 do
step-split_shift_allowance-pays-once-for-a-day-of-several-gapsA split day pays the amount once however many gaps split it: Monday’s three stretches, with two gaps of more than an hour, pay 4.80 once
step-split_shift_allowance-pays-the-amount-once-for-a-split-dayMonday’s work from 07:00 to 11:00 and from 16:00 to 20:00 is split by 5 hours, more than the default gap of an hour: 4.80 once, in the measure and category named. Tuesday’s 30-minute break splits nothing

Standard step split_shift_pay

ScenarioWhat it checks
step-split_shift_pay-gap-and-the-days-highest-minimumgap = 3h: Tuesday’s two-hour gap splits nothing. Monday’s four-hour gap does: 4 hours at a site whose minimum is 16.00 and 4 at one whose minimum is 20.00, all paid 20.00. The minimum for the hours is 144.00 and the extra hour is at the day’s highest minimum, 20.00; the day’s 160.00 is 16.00 above the minimum, so 4.00 is owed

Standard step spread_of_hours

ScenarioWhat it checks
step-spread_of_hours-counts-picks-the-time-movedCounting only work: Monday’s evening hour from 20:00, already in evening, stays there, and of the time past 19:00 only the work, 19:00 to 20:00, goes to double_time. The spread starts at the first work counted
step-spread_of_hours-moves-what-is-worked-past-the-spreadA spread of 12 hours: Monday’s work from 07:00 to 11:00 and from 16:00 to 21:00 goes past 19:00, 12 hours after it started; the 2 hours from 19:00 go to double_time. Tuesday’s 10 hours end within it

Standard step spread_overtime_hours

ScenarioWhat it checks
step-spread_overtime_hours-categories-are-overtime-and-double-time-by-defaultMonday’s 14 hours at north are 8 of work, 4 of overtime and 2 of double time past 12; Tuesday’s 6 at south are work. By default both overtime and double time are spread, by the 14 and 6 hours worked: 2.8 hours of overtime and 1.4 of double time stay at north, and 1.2 and 0.6 go to south, each location giving its latest time in the category
step-spread_overtime_hours-categories-names-those-spreadcategories names the categories spread: with overtime alone, Monday’s 2 hours of double time stay at north where they were worked, and the 4 of overtime are spread as by default, 2.8 at north and 1.2 at south
step-spread_overtime_hours-counts-names-the-hours-weighedcounts names the hours the overtime is spread by: counting work alone, north’s 30 hours and south’s 10 put 7.5 of the 10 overtime hours at north and 2.5 at south, where every worked hour (the default) makes it 6 and 4
step-spread_overtime_hours-spreads-the-overtime-hours-and-their-money30 hours at north and 20 at south: the 10 overtime hours, Friday’s at south, are put 6 at north and 4 at south, by the hours worked at each. South keeps the first 4 of Friday’s overtime and gives the latest 6 to north. The money paid in overtime goes with it: the straight time for those hours, 260.00, and the 112.00 premium, each 60 to 40. Each location’s hours change; the hours by category and the money do not

Standard step spread_overtime_premium

ScenarioWhat it checks
step-spread_overtime_premium-by-an-organization-level-the-setup-impliesAn organization level is a dimension the setup implies from another: cost center 410 is the west division, 520 and 530 the east. Spread by division, west’s 30 hours and east’s 20 (in two cost centers) take 60.00 and 40.00 of the 100.00 premium
step-spread_overtime_premium-by-names-the-dimension-spread-overby names the dimension the premium is spread over: by cost_center, the week’s 40 hours in cost center 410 (at north and south) and 10 in 520 take 80.00 and 20.00 of the 100.00 premium, where by location they would take 60 and 40 of every 100. The parts name the cost center alone, as the premium named nothing
step-spread_overtime_premium-counts-names-the-hours-weighedcounts names the hours the premium is spread by: counting work alone, not the overtime hours, north’s 30 hours and south’s 10 take 84.00 and 28.00 of the 112.00 premium, where every worked hour (the default) makes it 67.20 and 44.80
step-spread_overtime_premium-hours-with-no-value-keep-noneHours with no value of the dimension take their share too, and it names none: 30 hours with no location and 20 at south split the 100.00 premium 60.00 with no location and 40.00 at south
step-spread_overtime_premium-refuses-no-stepsA spread that names no step is refused, saying so: no money would be spread
step-spread_overtime_premium-spreads-the-premium-by-the-hours-at-each-value30 hours at north (20.00) Monday to Wednesday and 20 at south (26.00) Thursday and Friday: the last 10 hours, on Friday at south, are overtime. The week’s straight time is 600.00 and 520.00, 1120.00 for 50 hours, a regular rate of 22.40, and the premium on the 10 overtime hours 112.00. Spread by location in proportion to the hours, every worked hour counted by default: 30 of 50 to north, 67.20, and 20 of 50 to south, 44.80. The straight time stays where it was worked, the overtime hours too, and the money comes to the same
step-spread_overtime_premium-steps-names-the-money-spreadsteps names whose money is the premium: here an earnings step paying only the half on top at the rate of the job worked (overtime at the rate in effect), 130.00 for the 10 overtime hours at south’s 26.00. Spread by the hours, 78.00 goes to north and 52.00 stays at south, each part the premium’s own context with the location changed. The straight time, from another step, is not named and stays where it was worked
step-spread_overtime_premium-the-shares-add-up-to-the-premiumThree locations of 15 hours each share a 50.00 premium: a third each is 16.666…, never rounded part by part. Each takes the whole cents of the running total not yet given and carries what is left below a cent to the next: 16.66, 16.67 and 16.67, 50.00 in all

Standard step substitute_day

ScenarioWhat it checks
step-substitute_day-a-run-of-holidays-takes-the-substitute-further-than-a-weekA holiday on a Saturday whose substitute is blocked by a run of holidays through the next week is observed on the first day free: nine days after it. Nothing caps how far a calendar may move one: the step asks of the holidays of the year before the window, and of each day its substitute goes on past, one at a time
step-substitute_day-by-default-the-next-free-weekdayBy default a holiday on a Saturday or a Sunday is observed on the next weekday no other holiday takes: Boxing Day 2026, a Saturday, on Monday the 28th; in 2027 Christmas (Saturday) on Monday the 27th and Boxing Day (Sunday) on Tuesday the 28th
step-substitute_day-days-and-holidays-say-which-movedays = [sunday] moves a Sunday holiday only, and holidays = [boxing-day] that one only: in 2027 Christmas stays on its Saturday, and Boxing Day, a Sunday, moves to Monday the 27th
step-substitute_day-refuses-no-daysdays names 1 to 6 weekdays: none is refused when the policy is loaded, since every holiday would stay where it falls

Standard step substitute_day_unless_scheduled

ScenarioWhat it checks
step-substitute_day_unless_scheduled-a-rostered-day-keeps-its-holidayChristmas 2027 on a Saturday, Boxing Day on the Sunday: rostered on Saturdays, the person keeps Christmas on the Saturday; Boxing Day, on a Sunday not rostered, moves to the Tuesday, its substitute had both moved, the Monday left a working day
step-substitute_day_unless_scheduled-days-and-holidays-say-which-movedays names the days a holiday moves off, holidays which holidays move: with Sundays alone, Christmas 2027 stays on the Saturday; of the holidays, only Boxing Day moves, to the Monday
step-substitute_day_unless_scheduled-refuses-every-daydays names 1 to 6 weekdays: all seven is refused when the policy is loaded, since no day would be left to substitute
step-substitute_day_unless_scheduled-with-no-roster-on-the-weekend-both-moveWith no shift on either weekend day, neither is a working day: Christmas 2027 on the Saturday moves to the Monday and Boxing Day on the Sunday to the Tuesday, as substitute_day moves them

Standard step threshold

ScenarioWhat it checks
step-threshold-a-person-without-the-attribute-keeps-overWithout the attribute the person has over: the same 27 hours are far from 40, nothing is overtime
step-threshold-a-second-threshold-to-the-same-category-moves-no-moreTwo daily thresholds over 8 hours to overtime, neither naming counts: by default a threshold leaves out the time already in its own category, so the second finds 8 hours and a 10-hour day stays 8 hours of work and 2 of overtime
step-threshold-a-weekly-threshold-by-default-leaves-out-daily-overtimeA weekly threshold over 40 hours after a daily one over 8, neither naming counts: five 10-hour days are 40 hours of work and 10 of overtime; the weekly threshold counts the 40 hours of work, not the daily overtime, and moves nothing more
step-threshold-counting-its-own-category-makes-the-latest-time-past-over-its-ownA weekly threshold over 40 hours counting work and overtime, after a daily one over 8: of the 50 hours counted, the latest 10 are overtime. Friday’s 2 hours of daily overtime are among them, so only Friday’s 8 hours of work move, not 10 more
step-threshold-counts-every-worked-category-by-defaultWithout counts a threshold counts every worked category: 18:00 to 04:00 is 10 hours, 6 of them night premium, so the last 2 hours go from night to overtime
step-threshold-counts-only-the-categories-namedWith counts = [work] a threshold counts only regular time: of the same 10 hours, 4 are work, so nothing is past 8 and the night premium stays
step-threshold-others-counts-every-other-recordWith others = true the worker’s other records count toward the threshold: 24 hours here and 30 at two other employers are 54, so 14 of this record’s hours are overtime, the latest first; never more than this record’s own
step-threshold-others-leave-at-the-other-employer-is-not-hours-workedThe other record’s time counts in the categories the step counts, every worked one by default: 32 hours of work and 8 of vacation at the other employer are 32 hours worked, so of 10 hours here 2 are past 40 and overtime, not all 10 as 50 hours would make them
step-threshold-others-lists-the-employers-countedWith others = [acme-us] only that employer’s record counts: 24 hours here and 20 there are 44, so 4 hours are overtime; acme-mx’s 10 hours do not count
step-threshold-others-moves-no-more-than-this-records-timeOnly this record’s time moves, never more than its own: 16 hours here and 50 at another employer are 66, 26 past 40, and all 16 of this record’s hours go to overtime, no more
step-threshold-over-attribute-as-a-number-of-hoursThe attribute may be hours as a number: contract_hours = 20 is the same 20 hours
step-threshold-over-attribute-is-the-persons-own-limitA contract of 20 hours (the employment attribute contract_hours; over = 40h is for a person without one): 27 hours worked, 7 past 20: the 2 hours before and the one after a shift, then the latest 4 of the rest
step-threshold-refuses-over-attribute-with-tiersover_attribute is a person’s own over: with tiers, which of them it would be is a guess, so it is refused
step-threshold-refuses-over-with-tiersA threshold given both over and tiers is refused, saying so: which one rules would be a guess
step-threshold-take-first-in-each-tierTiers at 40 and 41 hours with take_first = [after_shift]: the highest tier takes the latest hour after a shift (Thursday’s) for double time, the next the one before it (Tuesday’s) for overtime: Mon 06:00 to 16:00, Tue 08:00 to 17:00, Wed 07:00 to 16:00, Thu 08:00 to 17:00, Fri 08:00 to 13:00 against 08:00 to 16:00 shifts: 37 hours in them, 3 before and 2 after, 42 in all, 2 past 40 and 1 past 41
step-threshold-take-first-in-the-order-listedtake_first = [before_shift, after_shift]: the order is the list’s. Mon 06:00 to 16:00, Tue 08:00 to 17:00, Wed 07:00 to 16:00, Thu 08:00 to 17:00, Fri 08:00 to 13:00 against 08:00 to 16:00 shifts: 37 hours in them, 3 before and 2 after, 42 in all, 2 past 40. The two latest hours before a shift (Wednesday’s, and Monday’s 07:00 to 08:00) are overtime
step-threshold-take-first-passes-over-a-category-the-step-does-not-countcounts = work and after_shift, so before_shift is neither counted nor taken (39 counted, 3 past 36): take_first = [before_shift, after_shift] takes the 2 after hours and then Friday’s last
step-threshold-take-first-the-hours-after-the-shift-before-the-latesttake_first = [after_shift, before_shift]: Mon 06:00 to 16:00, Tue 08:00 to 17:00, Wed 07:00 to 16:00, Thu 08:00 to 17:00, Fri 08:00 to 13:00 against 08:00 to 16:00 shifts: 37 hours in them, 3 before and 2 after, 42 in all, 2 past 40. The two hours after a shift (Tuesday’s and Thursday’s) are overtime, though Friday’s are the latest
step-threshold-take-first-then-the-latest-of-the-restOver 36 hours, 6 are past: take_first = [after_shift, before_shift] takes the 2 after and 3 before hours, then the latest hour of the rest, Friday’s last: Mon 06:00 to 16:00, Tue 08:00 to 17:00, Wed 07:00 to 16:00, Thu 08:00 to 17:00, Fri 08:00 to 13:00 against 08:00 to 16:00 shifts: 37 hours in them, 3 before and 2 after, 42 in all, 6 past 36
step-threshold-tiers-at-their-exact-boundariesTiers of one daily threshold, 8 hours to overtime and 12 to double time: exactly 8 hours is all regular; 8 hours and a minute is a minute of overtime; exactly 12 is 8 and 4; 13 is 8, 4 and an hour of double time, the day’s last
step-threshold-tiers-in-any-order-the-highest-firstTiers listed highest first come to the same: a 13-hour day is 8 regular, 4 overtime and 1 double time, whatever order the tiers are written in
step-threshold-tiers-on-the-day-the-clocks-go-backOn 1 November 2026 the clocks in Los Angeles go back an hour: midnight to 13:00 on the wall is 14 hours worked. The tiers count exact time, not the wall: 8 regular, 4 overtime and 2 double time
step-threshold-window-by-default-the-daywindow is the day by default: a threshold of 8 hours given no window moves each 9-hour day’s ninth hour to overtime, though the week’s 18 hours are far from a weekly threshold
step-threshold-without-others-counts-this-record-aloneWithout others a threshold counts this record alone: its 24 hours are under 40, whatever the worker worked elsewhere
step-threshold-without-take-first-the-latest-time-is-overtimeWithout take_first the latest time of the week goes as before, whatever it is: Mon 06:00 to 16:00, Tue 08:00 to 17:00, Wed 07:00 to 16:00, Thu 08:00 to 17:00, Fri 08:00 to 13:00 against 08:00 to 16:00 shifts: 37 hours in them, 3 before and 2 after, 42 in all, 2 past 40; Friday’s last two hours, in the shift, though labelled categories are about

Standard step time_account

ScenarioWhat it checks
step-time_account-a-scheduled-targettarget = scheduled: the week’s shifts, three of 8 hours, are the target; 3 days worked 08:00 to 16:40, 26 hours, add 2
step-time_account-a-target-attribute-given-as-a-number-is-hoursA weekly attribute that is a number is hours: 17.5 is a 17-hour 30-minute target, so three days of 8 hours are 6 hours 30 minutes over it
step-time_account-a-target-attribute-given-as-text-is-the-persons-targetA person whose weekly attribute is the text 20h has a 20-hour target in place of the step’s 40: three days of 8 hours are 4 hours over it
step-time_account-a-target-attribute-of-1-point-1-hours-is-rounded-to-the-millisecondA weekly attribute of 1.1 hours is a 1-hour 6-minute target: a number is rounded to the nearest millisecond, not refused for the float it is, so three days of 8 hours are 22 hours 54 minutes over it
step-time_account-a-target-attribute-of-another-type-is-refusedA weekly attribute that is neither text nor a number is refused, naming the attribute and the day, instead of the step’s own 40 hours being used as if the person had none
step-time_account-a-target-is-shared-by-the-days-employedA duration target is shared by the days of the window the person is employed: hired on Wednesday, they are employed 5 of the week’s 7 days, so the 35-hour target is 25 hours, and three days of 8 hours take 1 hour from the account
step-time_account-counts-names-the-timecounts = [work]: paid vacation does not count toward the target, so four days of 8 hours and a day of vacation take 8 hours from the account (by default, every paid category counting, it does not move)

Standard step time_share

ScenarioWhat it checks
step-time_share-a-share-falling-below-is-flaggedOver the last week alone (within), France’s share falls from 60% to none: the fall below 25% is flagged, about the week’s first day, France having no line in it
step-time_share-a-share-reaching-the-percent-is-flaggedFrance’s share of the time worked in the 2 weeks to Sunday comes to 30% (Monday to Wednesday of 80 hours), from none in the 2 weeks before the week: it reaches 25% and is flagged about its latest line; Germany’s stays above 25% and is not
step-time_share-counts-names-the-time-sharedcounts names the time shared: with work only, the 24 hours entered as travel in France are not counted, France has no share, and nothing is flagged
step-time_share-percent-is-the-share-flaggedpercent is the share flagged: at 50, France’s 30% of the 2 weeks reaches nothing and Germany’s 70% stays above it, so nothing is flagged
step-time_share-the-exception-says-the-shareThe exception says the share: France’s 30% of the time worked in the 2 weeks to Sunday, reaching 25%, is raised with its share in its words
step-time_share-value-attribute-looks-at-one-valuevalue_attribute names the employment attribute of the one value looked at: living in Germany, only Germany’s share is, and it stays above 25%; France’s reaching it is not flagged
step-time_share-within-is-12-months-by-defaultBy default the share is of the 12 months to the window’s end: France’s 24 hours of 56 are 43%, still above 25%, and nothing is flagged in the week it worked none

Standard step tip_credit

ScenarioWhat it checks
step-tip_credit-a-slow-week-is-made-upBy default the tip credit counts every hour of the week: a server paid 2.13 an hour works 44 hours (4 of them overtime) and reports 150.00 in tips; at a 7.25 minimum the week must pay 319.00, the cash wage pays 93.72 and the tips 150.00, so 75.28 is made up on Friday, the last day worked
step-tip_credit-counts-only-the-categories-namedWith counts = [work], the same week counts only its 40 regular hours: they must pay 290.00, the cash wage pays 85.20 and the tips 150.00, so 54.80 is made up
step-tip_credit-tips-that-cover-the-minimumWhen the cash wage and the tips reach the minimum, nothing is made up: 8 hours must pay 58.00 at 7.25; the cash wage pays 17.04 and 50.00 of tips more than covers the rest

Standard step unscheduled_day

ScenarioWhat it checks
step-unscheduled_day-counts-names-the-time-it-takescounts names the categories taken: with work only, the punched break on a day with no shift stays a break, and the work around it is overtime
step-unscheduled_day-refuses-neither-to-nor-tiersunscheduled_day takes to, or tiers: given neither it has nowhere to move the time, and is refused when the policy is loaded
step-unscheduled_day-to-takes-a-day-with-no-shiftto takes all of a day with no scheduled shift: Tuesday’s 6 hours are overtime. Monday has a shift, and its 9 hours stay as they are

Standard step weekly_rest

ScenarioWhat it checks
step-weekly_rest-refuses-at_least-of-nothingat_least is more than nothing: 0s is refused when the policy is loaded
step-weekly_rest-shortest-says-which-stretches-countat_least = 16h, counted only in stretches of shortest = 33h or more: the nights’ 16 hours and the weekend’s 32 are each too short, so no rest counts, raised as no_rest; by default (shortest as at_least) the weekend alone would meet it
step-weekly_rest-the-rest-in-the-weekWork to Saturday 12:00 and again from Sunday 20:00 leaves 32 hours of rest: under 35 it raises weekly_rest_short (the default kind) about the week’s last line; at least 24 holds
step-weekly_rest-work-still-going-on-counts-as-restTime not yet worked counts as rest, so a week still under way raises nothing it may not come to: work from Monday to Saturday 23:00 leaves 25 hours to the week’s end; Sunday’s 08:00 in, still going on with no out, is not taken as work to the end of the week, and 24 hours of rest hold

Standard step window_premium

ScenarioWhat it checks
step-window_premium-counts-every-worked-category-by-defaultThe time counted inside during goes to category, cut at the instants the period starts and ends; by default every worked category is counted: a shift from 20:00 to 04:00 with its last 2 hours overtime has 22:00 to 04:00 moved to night, overtime too, and 20:00 to 22:00 stays work
step-window_premium-counts-names-the-time-movedcounts names the categories moved: counting work alone, 22:00 to 02:00 goes to night and the overtime from 02:00 to 04:00 stays overtime

Standard step window_premium_run_on

ScenarioWhat it checks
step-window_premium_run_on-a-night-worked-whole-runs-onA shift from 22:00 to 07:00 works the whole night, 22:00 to 05:00, and on past it: its 2 hours after 05:00 are night hours too, all 9 in night
step-window_premium_run_on-counts-names-the-time-movedcounts names the time moved, not the work that runs on: the shift from 22:00 to 07:00 holds the night whole, and only its overtime, the ninth hour, goes to overtime_night; its 8 hours of work stay
step-window_premium_run_on-stretches-joined-end-to-start-run-onWork is one stretch where one piece ends as the next starts: out at 23:00 and back at 23:00 is the same night’s work, which holds the whole of 22:00 to 05:00 and goes on past it, so its 2 hours after 05:00 are night hours too
step-window_premium_run_on-work-started-inside-the-night-runs-nothing-onA shift from 23:00 to 07:00 starts inside the night, so it does not work it whole: its 6 hours to 05:00 are night, the 2 after are work

Standard step work_during

ScenarioWhat it checks
step-work_during-counts-only-its-categoriesEvening time moved to its own category: a step counting only work sees no work from 19:00 and raises nothing; one counting every worked category sees the evening line, 19:00 to 20:00
step-work_during-on-the-day-the-clocks-go-forwardOn Sunday 8 March 2026 the clocks go forward: 19:00 is 19:00 on the wall, 18 hours after the day starts. Work to 19:30 is in the hours from 19:00, work to 19:00 the next day is not
step-work_during-work-in-the-hours-flaggedWork in the hours from 19:00 to 07:00 is flagged: Monday’s ending at 19:00 has none of them; Tuesday’s ending at 19:01 has a minute, raised about that line; Wednesday’s from 06:30 has half an hour of the night before; Thursday’s from 07:00 has none

Other

ScenarioWhat it checks
a-break-end-with-no-start-is-saidA break’s end punched while working, with no start before it, is said as a missing break start; work goes on
a-correction-adds-the-missing-outA supervisor adds the out that was never punched: the day is worked, the exception is gone, and what was punched is untouched
a-correction-to-a-punch-that-never-existed-is-said-and-the-others-applyA correction to a punch that never existed cannot be applied and is said; the corrections before and after it still apply
a-correction-to-a-voided-punchA correction to a punch already voided cannot be applied, and is said
a-day-with-lunch-and-breaksLunch and break punches make back-to-back work, break and lunch segments; only work is counted as worked time (whether a break is paid is the pay categories’ to say)
a-listed-pay-calendarAn employer’s own calendar of four-week periods: time falls in the period whose days hold it
a-period-is-paid-and-worked-hours-and-an-exporter-is-told-what-each-category-isA day with a punched lunch that is not paid: the period’s paid hours leave the lunch out (8.00, though 8.50 hours lie in its lines), the worked time is 8h, and an exporter is given the totals under those names with what each category is, and the footer the paid hours of everyone
a-punch-after-a-year-away-asks-for-the-one-before-itA person who punched in once, and was not seen for more than a year, punches in and out again: the week of the second is worked out whatever is read of the year before (a recalculation reads from a week and two pay periods before it: the punch before is a year back, and is asked for)
a-punch-from-a-clock-that-was-behind-is-an-exceptionA punch the device integration engine says came from a clock that was behind keeps its time as the clock reported it, pays as it stands, and is raised as a clock_behind exception for the person to move, void or excuse
a-transfer-changes-the-jobA transfer ends the work so far and starts work on the job picked at the clock; lunch and the work after keep the new job
a-transfer-while-not-working-is-said-and-starts-workA transfer punched while not working is said as a missing in, and still starts work on the job it names
an-out-on-a-break-ends-the-break-and-is-saidAn out punched while on a break ends the break, and the break’s missing end is said
attestation-alone-pays-nothingAn attestation on its own pays nothing and raises nothing: with no rule reading it, a meal attested as missed leaves the day as punched
categories-a-paid-breakBreaks paid but not worked, lunch unpaid: the break is a line in its own category, counted in hours but not in worked time; the lunch is no line
corrections-move-void-and-retypeCorrections apply in the order they were made: an in taken as an out, a punch at the wrong time, a double punch voided, a job set after the fact
day-starts-at-fourWith the workday starting at 04:00, time before 04:00 is the day before’s
direction-unknownA clock that does not say in or out, with no step of the policy to give each punch one: the engine does not guess by turns. Each punch is flagged unknown_direction and plays no part, so no time is counted (the direction step gives them one: step-direction-*)
five-daysFive days of 08:00 to 16:30 with a half-hour lunch: eight hours a day
ledger-a-period-runs-by-the-policy-on-its-first-dayHow a pay period runs follows the policy in force on its first day: a layer from its fourth day making periods weekly, weeks start on Thursday and hours three decimals changes none of it. The period runs its 14 days, its weeks start on Monday (so no week holds more than 40 hours) and its hours have two decimals
monthly-on-the-last-dayPaid monthly from the 31st: in a month without one, its period starts on the month’s last day
moving-the-punches-of-a-clock-that-was-behind-clears-its-exceptionA correction that moves a punch from a clock that was behind to the right time puts it right: the exception for it goes, and the day is worked out at the time it was; the punch not moved keeps its exception
never-back-from-lunchAn out while on lunch ends the lunch and says so; the afternoon is not counted
overnight-shiftsA shift belongs to the day it starts, whole, and so to that day’s week: Sunday night’s shift into Monday is last week’s
paid-by-the-dayPaid daily, each day is its own ledger: two 20-minute blocks a day are 0.33 and 0.33, and the week shows the days’ lines
rate-a-policy-of-rate-steps-alone-reads-the-balance-as-the-period-startsA policy whose only step is a rate step reads the balance in it as any does: the pay side’s as the pay period starts, 8 hours adjusted in the week before, so it chooses the second of two rates that tie from 8 hours on, and the exporter reads Monday’s line at 24.00
reasons-a-step-words-its-rulesA step names the rule that fired and the engine words the reason: from the step’s reasons, its parameters (over) and values it gives (the time it counted, shown as a duration). A step’s own words stay its own
scenario-recorded-defaults-to-the-workdays-startA fact written without when it was recorded was recorded when its workday started (04:00 here), not at midnight: the extra shift, recorded at 04:00, is newer than taking the day off at 02:00, and stands