FET-js

Students

Select a Year, Group, or Subgroup on the left.

Teachers

Name Tutor Comp. h/wk Sched h/wk Extra h/wk Diff Weight Qualified subjects

Subjects

NameActivitiesTeachersPreferred rooms

Rooms

NameCapacityBuildingPreferred for subjects

Schedule

Generate
Run
Polish
View

Generate a schedule with python scripts/generate_timetable.py and pick a run above.

Availability

Right-click a cell to toggle a hard block (red — never scheduled). Click again to clear it.

For graded soft preferences, type into a cell: positive number = soft avoid (push away), negative = soft prefer (pull toward), 0 or blank = available, X = hard block (same as right-click). Examples: 10 light avoid · 50 heavy avoid · −10 light prefer · −50 heavy prefer.

Pin specific times

Each pinned (day, period) becomes a hard constraint: at least one lesson of this activity must land there.

Days & Hours

Session history

Every edit since you opened the page. Pick any entry to roll back (or forward) to that moment — works like a chained undo/redo. The "current" pill marks where you are now.

Open file

Pre-solve checks

Obvious infeasibilities detected without running the solver. Fix these before the next 🎲 Multistart / 🧠 SAT Match — the solver will refuse or return garbage otherwise.

Compare teacher assignments

Pick two JSON files from the server. Each activity's teacherIds is compared and rows with differences are highlighted.

Schedule settings

🎲 Multistart

Sequential iterations, each with a fresh random seed and (optionally) a fresh teacher SAT match.

🔄 Improve

🧠 SAT Match

Tutor bonus uses the shared ⚙ tutor weight above.

Shared (⚡🎲🧩🔄)

Scope all years

⚙ Scoring weights (⚡🎲🧩🔄)

↓ score +N per student-gap hour — dominant comfort cost.
↓ score +N per teacher-gap hour.
↓ score +N per extra teacher day.
↓ score +N per lesson at 0. óra.
↓ score +N per lesson at 8. óra.
↓ score +N per lesson at 9. óra.
↓ score +N × (actual − target)² per teacher.
↓ score +N per lesson missing a preferred room.
↑ bonus N (negative) per class assigned to its tutor.
↕ scale % of cohort-avoid weight applied to OPTIONAL lessons.