System Design Atlas

Shift planning with qualifications and time tracking

02 / 10Worked example

Verifiable requirements

Qualifications must cover the entire shift. Which conditions ensure a valid result?

A qualification may expire during a shift.

Starting point Actual working times are preserved independently.

Assumptions for the example case

A fictional maintenance operation with a defined qualification for each shift. The example requires 11 hours of rest between planned shifts; this is an exercise assumption and does not replace an employment-law review. All quantities, thresholds and operational objectives are illustrative assumptions.

Temporal suitability

Temporal suitability

08:00Shift S-47 · 8 h16:00 end11 hours rest03:00 next start
Q-47Valid through 16:00 inclusive
Q-47 → EignungsprüfungEntire shift covered
Eligibility checkInterval and rest interval
Eignungsprüfung → S-47 bestätigtAtomic assignment
S-47 confirmedP-47 conflict free

Q-47 covers the entire shift until 16:00; the next start from 03:00 fulfills exactly eleven hours of rest.

Shift interval 08–16; qualification validity must cover its end; allow 11 h of rest before the next shift starts.

Business requirements (functional)

Further reading
Rule 1
Confirmed shifts for the same person must not overlap and must satisfy the illustrative 11-hour rest period.
Rule 2
The qualification must cover the entire shift.
Rule 3
Actual work is preserved even in case of plan deviation; corrections reference original bookings.

Quality goals (non-functional)

Further reading
Measurement window
95% of local plan confirmations within 500 ms at 20/s over 15 min. Offline synchronisation may lag and displays unresolved status.
Open results
Ready for handover means the times have been checked for transfer; it does not mean payroll has been calculated. Cancellation preserves the planned state, while actual work remains auditable in the time records.

Qualifications must cover the entire shift.

Qualifications must cover the entire shift.

Validity through and including 16:00 is required.

A qualification may expire during a shift.

Expiry at 15:59:59 does not cover the shift's end, so reject the assignment. Expiry at 16:00 covers the entire shift under the model rule.

Alternative considered
Checking validity only at 08:00 misses expiry during the shift.
Trade-off
Staffing assignments face stricter constraints.
Reassess
Other activities require further evidence.

Try it yourself

Rate expiration 15:59:59 and 16:00.

A hint for your attempt

A qualification may expire during a shift.

Compare with a possible solution
Too early
Expiry at 15:59:59 does not cover the shift's end, so reject the assignment.
Appropriate
Expiry at 16:00 covers the entire shift under the model rule.

Apply to your project

How does this principle apply in your own project: Qualifications must cover the entire shift.

Step 3: Check rest periods as time differences. Which conditions ensure a valid result?