Selected work
05 / 11Full-stack · Constraint solving2026

CASE STUDY · 2026

SlotWise.

Clash-free college timetables, and a calm fix when someone is absent.

Working prototype · teacher feedback

MY ROLEDesigned and built the solver, API and web app

Upload one Excel workbook and a CP-SAT solver generates a clash-free semester timetable; daily absences get ranked substitutes and free rooms for a coordinator to approve.

OVERVIEW

What it is
and who it helps.

SlotWise is built for Indian colleges. Module A turns one Excel workbook into a validated, clash-free semester timetable you can review, adjust, publish and export. Module B handles daily operations: report an absence or a room problem and get ranked substitutes and free rooms with reasons.

CP-SATTwo-stage scheduling model
41Unit and integration tests
AAWCAG 2.2 checked with axe
THE CHALLENGE

Timetables are a hard constraint problem, and a single clash breaks a whole week. Daily adjustments must never corrupt the published semester plan, and approvals and notifications have to stay correct under concurrent use.

HOW I APPROACHED IT

From the first
interaction to the edge cases.

01

Two-stage CP-SAT solver

Row-level Excel validation feeds a two-stage OR-Tools CP-SAT model, then an independent validator re-checks every result.

02

Explain before failing

Pre-checks report impossible inputs in plain language so a coordinator can fix the sheet instead of reading solver logs.

03

Safe daily overrides

Absences create date-specific overrides; approval is re-checked under an advisory lock and a database unique index.

04

Reliable background work

A worker processes solves, an email outbox (SKIP LOCKED) with retries and reminders, with in-app and email notifications.

OUTCOME

From spreadsheet to published timetable.

The prototype runs end to end and is being shared with teachers and coordinators to collect feedback.

BUILT WITH

Next.jsFastAPIPostgreSQLOR-Tools CP-SATPythonPlaywrightWCAG 2.2 AA

UP NEXT · 06

GetYourJobs.

Read case study