This is an independent research project exploring the structure of the University of Toronto's academic curriculum for the 2026–2027 academic year through graph theory & network science.
Inspired by Pavlos Stavrinides and Konstantin Zuev's work on Course-Prerequisite Networks (hereafter referred to as CPNs), this project aims to reproduce and extend the original research using course data scraped from UofT's academic calendars across all three campuses and various academic divisions.
- Scrape all course information, including
code,name,prereq,exclusion,department_name,campus,source, andsource_url.
For instance, take our notorious pure math course, MAT158H1. The corresponding JSON looks like this:
{
"code": "MAT158H1",
"name": "Analysis 1A",
"prereq": "High school calculus",
"exclusion": "MAT157Y1 / MAT157Y5 / MAT157H5",
"department_name": "Department of Mathematics",
"campus": "St. George",
"source": "artsci",
"source_url": "https://artsci.calendar.utoronto.ca/search-courses?page=103"
}- Model and visualize CPNs using Gephi and conduct statistical analysis.
- Write something interesting.
- UofT Academic Calendars
- Faculty of Arts & Science
- University of Toronto Mississauga (UTM)
- University of Toronto Scarborough (UTSC)
- Faculty of Applied Science & Engineering
- John H. Daniels Faculty of Architecture, Landscape, and Design
- Faculty of Kinesiology & Physical Education
- Faculty of Information (iSchool)
- Faculty of Music
- Lawrence Bloomberg Faculty of Nursing
- Leslie Dan Faculty of Pharmacy
- School of Graduate Studies (SGS)
- Ontario Institute for Studies in Education (OISE)
- UTSG course
e.g.
MAT158H1->[A-Z]{3}\d{3}[HY][10]( Exception:APS299Y0at Engineering ) - UTM course
e.g.
MAT137H5->[A-Z]{3}\d{3}[HY]5 - UTSC course
e.g.
MATA31H3->[A-Z]{4}\d{2}[HY]3 - SGS
e.g.
STA4518H->[A-Z]{3}\d{4}[HY]
Thus, in general, the regular expression of all course code should be:
pattern = {
r'\b(?:[A-Z]{3}\d{3}[HY][015]|[A-Z]{4}\d{2}[HY]3|[A-Z]{3}\d{4}[HY])\b'
}