Rota AI

A hospital rostering engine that checks its own work.

Try the live demo · View the source

Overview

Rota AI builds a 13-week registrar roster against a real industrial award. A CP-SAT constraint solver generates it; a second, completely independent implementation then re-verifies every clause to the minute, straight from the solved roster. The generator and the auditor share no bookkeeping — which is the point.

That separation earned its keep during development. The auditor found a 15-day duty run the model considered legal, and a rest gap 30 minutes short of the limit that no day-granularity check could have seen. Neither is visible on a printed roster.

Nothing in the code encodes a specialty, a particular hospital, or a particular set of shift times. Night status, evening overlap and break gaps are all derived from shift geometry, so adapting the engine to another unit is a YAML edit.

Key Features

Technologies

Back to Portfolio