Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package bootstrap wires up the plexams GraphQL server: it loads the lean bootstrap config (.plexams.yaml, credentials, db.uri), resolves/pins the active semester, constructs the *plexams.Plexams instance and starts the HTTP/GraphQL server.
|
Package bootstrap wires up the plexams GraphQL server: it loads the lean bootstrap config (.plexams.yaml, credentials, db.uri), resolves/pins the active semester, constructs the *plexams.Plexams instance and starts the HTTP/GraphQL server. |
|
internal
|
|
|
mongotest
Package mongotest provides an ephemeral MongoDB for integration tests.
|
Package mongotest provides an ephemeral MongoDB for integration tests. |
|
anny
Package anny integrates the Anny room-booking system (anny.eu): it fetches the bookings from the Anny API, stores them, and answers queries about them and about the personalization configuration that decides which bookings are "ours".
|
Package anny integrates the Anny room-booking system (anny.eu): it fetches the bookings from the Anny API, stores them, and answers queries about them and about the personalization configuration that decides which bookings are "ours". |
|
conflictcalc
Package conflictcalc holds the pure schedule-conflict math: normalising an ancode pair into a stable key, ranking a conflict's proximity (how close in time two of a student's exams ended up), classifying two placed exams by their absolute times and durations, and diffing a freshly generated conflict list against the saved one.
|
Package conflictcalc holds the pure schedule-conflict math: normalising an ancode pair into a stable key, ranking a conflict's proximity (how close in time two of a student's exams ended up), classifying two placed exams by their absolute times and durations, and diffing a freshly generated conflict list against the saved one. |
|
csvgen
Package csvgen builds the CSV export rows from already-fetched planning data.
|
Package csvgen builds the CSV export rows from already-fetched planning data. |
|
email
Package email is the email rendering toolkit: it turns a Markdown body template plus data into the plain-text and HTML parts of a mail, wrapped in the shared layout, and manages the DB-backed, editable per-template overrides.
|
Package email is the email rendering toolkit: it turns a Markdown body template plus data into the plain-text and HTML parts of a mail, wrapped in the shared layout, and manages the DB-backed, editable per-template overrides. |
|
examplan
Package examplan generates the exam schedule (Terminplan): it assigns every exam (unit) to a time slot on top of the generic simulated-annealing core in plexams/optimize.
|
Package examplan generates the exam schedule (Terminplan): it assigns every exam (unit) to a time slot on top of the generic simulated-annealing core in plexams/optimize. |
|
invigcalc
Package invigcalc computes the fair distribution of invigilation duties: given the total invigilation minutes to cover and each invigilator's factor and already-credited contributions, it derives the per-invigilator target minutes (factor-weighted, with largest-remainder rounding so the targets sum exactly to the work) and the per-invigilator todo summary.
|
Package invigcalc computes the fair distribution of invigilation duties: given the total invigilation minutes to cover and each invigilator's factor and already-credited contributions, it derives the per-invigilator target minutes (factor-weighted, with largest-remainder rounding so the targets sum exactly to the work) and the per-invigilator todo summary. |
|
invigplan
Package invigplan contains the pure (DB- and ZPA-free) domain model and the hard/soft constraints used to plan invigilations (Aufsichten) automatically.
|
Package invigplan contains the pure (DB- and ZPA-free) domain model and the hard/soft constraints used to plan invigilations (Aufsichten) automatically. |
|
mucdai
Package mucdai holds the pure MUC.DAI CSV import parsing: turning a raw CSV export (of varying encoding and delimiter) into db.MucDaiExam records grouped by program.
|
Package mucdai holds the pure MUC.DAI CSV import parsing: turning a raw CSV export (of varying encoding and delimiter) into db.MucDaiExam records grouped by program. |
|
optimize
Package optimize is a generic simulated-annealing engine shared by the schedule generators (exam schedule, pre-plan, invigilations).
|
Package optimize is a generic simulated-annealing engine shared by the schedule generators (exam schedule, pre-plan, invigilations). |
|
pdfgen
Package pdfgen renders the planning PDFs (maroto documents) from already-fetched data.
|
Package pdfgen renders the planning PDFs (maroto documents) from already-fetched data. |
|
planstate
Package planstate is the generic planning-state engine: a 1-safe condition/event Petri net where each condition is a milestone that can be set automatically (Mark) or by hand (SetCondition), and a condition with a gate locks the matching generation while it is set.
|
Package planstate is the generic planning-state engine: a 1-safe condition/event Petri net where each condition is a milestone that can be set automatically (Mark) or by hand (SetCondition), and a condition with a gate locks the matching generation while it is set. |
|
preplancalc
Package preplancalc holds the pure room-capacity math of the SEB/EXaHM pre-planning: which rooms cover a slot's seat demand for a kind (honouring per-exam room restrictions), how many seats a room set provides, which rooms still need to be booked, and the per-program clashes within a slot.
|
Package preplancalc holds the pure room-capacity math of the SEB/EXaHM pre-planning: which rooms cover a slot's seat demand for a kind (honouring per-exam room restrictions), how many seats a room set provides, which rooms still need to be booked, and the per-program clashes within a slot. |
|
primuss
Package primuss imports the Primuss "Sammellisten" data from the XLSX files (student registrations, exams, planning counts, conflicts) into the raw per-program collections, with change detection on re-import.
|
Package primuss imports the Primuss "Sammellisten" data from the XLSX files (student registrations, exams, planning counts, conflicts) into the raw per-program collections, with change detection on re-import. |
|
repeatcalc
Package repeatcalc holds the pure study-group-semester repeat heuristic: reading the semester number out of a study-group code and deciding whether an exam is (likely) a repeat for a student.
|
Package repeatcalc holds the pure study-group-semester repeat heuristic: reading the semester number out of a study-group code and deciding whether an exam is (likely) a repeat for a student. |
|
roomcalc
Package roomcalc holds the pure room-seat math of the room preparation: whether a room satisfies an exam's room constraints (EXaHM/SEB/Lab/socket/allowed-rooms feature matching), the required free-seat buffer for an exam, and the free seats an exam currently has across its rooms.
|
Package roomcalc holds the pure room-seat math of the room preparation: whether a room satisfies an exam's room constraints (EXaHM/SEB/Lab/socket/allowed-rooms feature matching), the required free-seat buffer for an exam, and the free seats an exam currently has across its rooms. |
|
rooms
Package rooms holds the stateful per-slot room-allocation machine that assigns concrete rooms to the exams planned in a slot.
|
Package rooms holds the stateful per-slot room-allocation machine that assigns concrete rooms to the exams planned in a slot. |
|
zpaimport
Package zpaimport holds the pure decision logic of the ZPA import: diffing a fresh import against the previous DB state into a SyncLogEntry plus human-readable report lines, classifying a ZPA exam for the automatic to-plan pre-selection, and computing the new to-plan / not-to-plan sets.
|
Package zpaimport holds the pure decision logic of the ZPA import: diffing a fresh import against the previous DB state into a SyncLogEntry plus human-readable report lines, classifying a ZPA exam for the automatic to-plan pre-selection, and computing the new to-plan / not-to-plan sets. |
Click to show internal directories.
Click to hide internal directories.