Store participation intervals and exclusions
Synthetic class runs 10:00–12:00 with a 10:50–11:00 break excluded from participation. A learner is present 10:10–11:50. The centre grants participation credit at 90 or more counted minutes. One check-in does not prove the whole two hours; the example uses confirmed arrival and departure records.
| Constraint | Required record | Example decision rule |
|---|---|---|
| Observed interval | Arrival and departure | 10:10–11:50 = 100 minutes |
| Excluded interval | Break overlap | Subtract 10 minutes |
| Credit threshold | Inclusive minimum 90 | Counted 90 passes |
Test duration rather than presence alone
| Case | Input | Expected decision |
|---|---|---|
| Observed learner | 100 elapsed − 10 break | 90 counted; passes |
| Check-in only | No departure evidence | Duration unknown |
- Confirm attendance interval
- Intersect with class window
- Subtract approved excluded overlap
- Compare counted minutes with 90
An unknown departure remains unresolved; do not assume the scheduled end was attended.
Departure is corrected to 11:40. Does the learner still meet the rule?
Show the worked answer
No. 10:10–11:40 is 90 elapsed minutes, minus the ten-minute break leaves 80.
Test early departure and the break overlap separately to ensure the requirement concerns observed participation.