Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cors-lau.vercel.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

Faculty Records tell CORS which professors are available to teach, which courses they are qualified to deliver, and when they are free during the week. The Timetable Scheduler uses this information to populate the professor dropdown and to enforce availability constraints when assigning time slots — no section will be scheduled at a time when the assigned faculty member is unavailable.

File formats

CORS accepts three file formats for faculty records:
FormatNotes
.jsonSupports a single object, an array of objects, or a wrapper object with a "doctors" or "faculty" key.
.csvOne row per availability window. Multiple rows for the same professor are merged automatically.
.xlsxProcessed identically to CSV after Excel parsing.

JSON format

Upload a single JSON object for one faculty member:
faculty.json
{
  "name": "Dr. Danielle Azar",
  "courses": ["CSC243", "CSC245"],
  "availability": [
    "M 8:00 10:00",
    "WF 10:00 15:00",
    "T 10:00 14:00",
    "R 10:00 16:00"
  ]
}

CSV format

Use one row per availability window. If a professor teaches on multiple different day-time combinations, add a separate row for each one. The name and courses columns should repeat on every row for that professor.
faculty.csv
name,courses,days,start,end
"Dr. Azar","CSC243, CSC245",MWF,08:00,10:00
"Dr. Azar","CSC243, CSC245",T,11:00,15:30

CSV column reference

ColumnAccepted aliasesDescription
namedoctor_name, professorFull name of the faculty member.
coursesallowed_coursesComma-separated list of course codes the faculty member is qualified to teach.
daysdayDay abbreviation string for this availability window, e.g. MWF.
startstart_timeStart time of the availability window in HH:MM format.
endend_timeEnd time of the availability window in HH:MM format.

Availability window format

Each availability window is a string with three parts separated by spaces: DAYS START END.
MWF 9:00 12:00
T 11:00 15:30
R 8:00 17:00

Day abbreviations

AbbreviationDay
MMonday
TTuesday
WWednesday
RThursday
FFriday
You can combine multiple days in a single abbreviation string. MWF means Monday, Wednesday, and Friday. TR means Tuesday and Thursday.

Missing days rule

If a day is not listed in any of a faculty member’s availability windows, CORS treats that faculty member as available all day on that day. Omitting a day does not mean unavailable — it means unconstrained.To block a faculty member from being scheduled on a specific day, you must explicitly add an availability window for that day with the exact hours they are free. Any hours outside those windows will be treated as unavailable.

Fields

FieldTypeDescription
namestringFull name of the faculty member. Used as the display name in the Scheduler’s professor dropdown.
coursesarray of stringsCourse codes the faculty member is qualified to teach. Each code must match a code in your course catalog.
availabilityarray of stringsList of availability window strings in DAYS START END format.

After upload

Once the upload succeeds:
  • All processed faculty members are saved to the database.
  • Faculty names appear in the professor dropdown in the Timetable Scheduler.
  • When you assign a professor to a section, the Scheduler enforces their availability windows and flags conflicts if a section falls outside their available hours.
If a faculty member teaches any course at any time (no scheduling restrictions), upload them with an empty availability array. The Scheduler will treat them as fully unconstrained.