Skip to content

Add Semester Lab with live schedule constraints, comparisons, and undo - #53

Draft
aikhanjum wants to merge 1 commit into
feat/semester-solverfrom
feat/semester-planner
Draft

aikhanjum wants to merge 1 commit into
feat/semester-solverfrom
feat/semester-planner

Conversation

@aikhanjum

Copy link
Copy Markdown
Collaborator

Students currently see a saved timetable but cannot explore local alternatives while preserving constraints. Semester Lab adds three ranked plans with earliest and latest times, free weekdays, protected intervals, section locks, availability controls, and ranking objectives.

Pin a timetable to see what moves, select another plan, undo constraint edits, or copy the section list. Impossible requests show the engine's conflict groups and verified relaxations. Search limits remain visible and are never presented as proof that no schedule exists.

The lab loads from My Planner on demand and reads the original Junction section payload. Each request runs in a cancellable worker. Changing input terminates obsolete searches, and a previous timetable is clearly labeled while the new request runs. This preserves PI's paper, ink, and highlighter visual style.

Stacked on #52. Review and merge the solver before this planner layer.

Validation executed locally.

  • npm test passed all 60 tests.
  • npm run typecheck, npm run build, and git diff --check passed.
  • Automated Chromium checks exercised pinning, Friday off, earliest start, undo, section locking, the impossible-week example, and recovery through a verified relaxation using the follow-up sample demo harness.
  • A 390 px viewport had no document overflow. No page errors were recorded.

Live signed-in Junction integration and a full accessibility audit have not been verified. Missing or inconsistent section data fails explicitly. Linked-section restrictions, prerequisites, travel time, and registration eligibility are not checked. The lab does not write to Junction or register courses.

Implemented with Codex assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant