Hall and Loft each have an exam on Thursday at 09:00. Both rooms need a supervisor for one period. Two people ticked 09:00 on the availability form. With that first set of answers, Hall gets INV-A and Loft gets INV-B.

Then INV-B withdraws. INV-A still appears on both room lists. Can the exams run as planned?

Proposed roster Hall Loft Result
Two supervisors 09:00 · INV-A 09:00 · INV-B Both rooms covered
After the withdrawal 09:00 · INV-A 09:00 · INV-A Same person in two rooms
Loft moves one period 09:00 · INV-A 10:00 · INV-A Both rooms covered

An exams officer described collecting availability through Google Forms. A FET timetable user asked how to avoid supervisor conflicts as the number of rooms changed. Here is a small, fictional case you can use to test the gap between collecting answers and making assignments.

Check the availability in Python

Get the availability CSV and the three editable FET models. Unzip the files. In the directory with availability.csv, run the following using Python 3.

import csv from itertools import product with open("availability.csv", newline="") as source: availability = list(csv.DictReader(source)) def rosters(scenario, rooms): options = [ [r["supervisor"] for r in availability if r["scenario"] == scenario and r[hour] == "Yes"] for room, hour in rooms ] for assignment in product(*options): bookings = {(person, hour) for person, (room, hour) in zip(assignment, rooms)} if len(bookings) == len(rooms): yield dict(zip((room for room, hour in rooms), assignment)) together = [("Hall", "Thursday 09:00"), ("Loft", "Thursday 09:00")] apart = [("Hall", "Thursday 09:00"), ("Loft", "Thursday 10:00")] for scenario, exams in [("Before", together), ("After withdrawal", together), ("After withdrawal", apart)]: print(list(rosters(scenario, exams))) 

The first run prints two possible rosters. A and B can swap rooms. The second prints []: the two apparent matches both depend on the same person at the same hour. The third prints one roster with INV-A in both rooms at different hours. For this two-room exercise, enumerating every combination makes that distinction visible.

Check the same proposals in FET

Open 01-staffed.fet in FET and generate the timetable. In the room timetable, Hall and Loft both show 09:00 with different teachers (the invigilators in this model).

Next, open 02-double-booked.fet. The two rooms are still fixed, but both assignments name INV-A. FET 6.8.5 rejected activities 1 and 2 in its precheck. They have to start together and share a teacher. There is no roster to export.

For the third run, assume the organizer can reschedule the Loft exam. Remove the rule requiring the two activities to start together and move activity 2 to 10:00. 03-repaired.fet contains this change. Its generated timetable puts INV-A in Hall at 09:00 and Loft at 10:00. If the exams have to stay simultaneous, the vacancy is still real: a second available supervisor is needed.

The CSV and FET files are original CC0 practice material. You can adapt them for a training session.