Three kinds of clash, all caught
A teacher in two places, a room double-booked, a class scheduled twice at once. The builder checks all three as slots are placed, and touching periods are not treated as overlapping — a lesson ending at 10:00 and one starting at 10:00 do not clash.