Skip to content

Commit

Permalink
data/2024_handbook_migration (#1091)
Browse files Browse the repository at this point in the history
* change LIVE_YEAR to 2024

* add 2023 to archive data

* update 2024 programs

* update 2024 specialisations - NEED TO FIX any_level

* update courses

* update conditions to 2024 and manual fixes

* finalise data-fix

* some autotests fix

* rerun datafix with new handbook in DB

* fix indirect unlock test

* more validation test fixes

* CI but shorter ignore times

* mypy

* skip test_validation

* fix get_followups
  • Loading branch information
imagine-hussain authored Oct 23, 2023
1 parent 62fc656 commit c9cdcc9
Show file tree
Hide file tree
Showing 35 changed files with 649,228 additions and 318,123 deletions.
3,970 changes: 2,054 additions & 1,916 deletions backend/algorithms/cache/courseMappings.json

Large diffs are not rendered by default.

2,736 changes: 1,406 additions & 1,330 deletions backend/algorithms/cache/equivalents.json

Large diffs are not rendered by default.

4,222 changes: 2,142 additions & 2,080 deletions backend/algorithms/cache/exclusions.json

Large diffs are not rendered by default.

36 changes: 13 additions & 23 deletions backend/algorithms/cache/handbook_note.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"ARTS1511": "language placement approval can also be used.",
"ARTS1541": "language placement approval can also be used.",
"ARTS1571": "language placement approval can also be used.",
"ARTS1621": "language placement approval can also be used.",
"ARTS1631": "language placement approval can also be used.",
"ARTS1661": "language placement approval can also be used.",
"ARTS2450": "language placement approval can also be used.",
Expand Down Expand Up @@ -40,7 +39,6 @@
"ARTS3481": "language placement approval can also be used.",
"ARTS3482": "language placement approval can also be used.",
"ARTS3483": "language placement approval can also be used.",
"ARTS3484": "language placement approval can also be used.",
"ARTS3487": "language placement approval can also be used.",
"ARTS3488": "language placement approval can also be used.",
"ARTS3490": "language placement approval can also be used.",
Expand All @@ -67,14 +65,10 @@
"CDEV3500": "Enrolment is selective based on academic performance, co-curricular experience, and interview.",
"CHEM1041": "Must be a program && the option of a CHEM major",
"CHEM2521": "This is the main Level 2 Organic Chemistry course taught within the School of Chemistry.<br/> It is a core element in Chemistry major programs. It is also required for industrial chemistry, biochemistry and medicinal chemistry programs",
"COMM1040": "Students must be in Good Academic Standing.",
"COMM1100": "Only available to single and double degree Business School students in Term 1. It will be offered to non-Business School students in Terms 2 and 3.",
"COMM1110": "Only available to single and double degree Business School students in Term 2. It will be offered to non-Business School students in Terms 1 and 3.",
"COMM1120": "Only available to single and double degree Business School students in Term 1. It will be offered to non-Business School students in Terms 2 and 3.",
"COMM1140": "Only available to single and double degree Business School students in Term 1. It will be offered to non-Business School students in Terms 2 and 3.",
"COMM1150": "Only available to single and double degree Business School students in Term 2. Offered to non-Business School students in Term 3.",
"COMM1170": "Only available to single and double degree Business School students in Term 2. It will be offered to non-Business School students in Terms 1 and 3.",
"COMM1180": "Only available to single and double degree Business School students in Term 2. It will be offered to non-Business School students in Terms 1 and 3.",
"COMM1190": "Only available to single and double degree Business School students in Term 2. It will be offered to non-Business School students in Term 3.",
"COMM1999": "Students should enrol in COMM1999 at the earliest term they can",
"COMM2222": "Good Academic Standing. Co-op students are excluded. It is recommended to do a progression check prior to enrolling",
"COMM2233": "It is recommended to do a progression check prior to enrolling.",
Expand All @@ -84,6 +78,7 @@
"COMM3090": "Students must be in their final year of a single or double Commerce degree",
"COMM3091": "Students must be in Good Academic Standing.",
"COMM3101": "This course is by application only.Please contact the Co-op office for more information. Students who have completed DIPP1510 or COMM2222 or are in Business Co-Op programs are excluded from this course.",
"COMM3202": "This course is by application only. Please contact the Co-op office for more information. Excluded:DIPP1510, COMM2222, Business Co-Op programs.",
"COMM3303": "This course is by application only.",
"COMM3500": "you must complete the Business Analytics major (COMMJ1). It is recommended students are in their final year when taking this course.",
"COMM3900": "Students must be in good academic standing.",
Expand All @@ -98,18 +93,26 @@
"ECON1102": "Enrolment excluded for BCom single or dual-degree programs, except students in dual 3155 Actl/Comm and dual 3521 Comm/Econ programs.",
"ECON1203": "Also, must not be enrolled in a BCom single or double degree (except 3155 Actl/Comm or 3521 Comm/Econ)",
"ECON2206": "It is highly recommended that students who complete COMM1110 also complete COMM1190 before enrolling in this course.",
"ECON2209": "It is highly recommended that students who complete COMM1110 also complete COMM1190 before enrolling in this course.",
"ECON4201": "Assumed knowledge: Familiarity with matrix algebra && introductory statistics && econometrics. Prior Knowledge in Statistical software or programming languages will be useful",
"ENGG2600": "Please refer to the course overview section for further information on requirements",
"ENGG3600": "Please refer to the course overview section for further information on requirements. Medicine students must also be eligible to overload during year 3 based on the general education requirements for BSc (Med) Hons.",
"ENGG4600": "Please refer to the course overview section for further information on requirements. Medicine students must also be eligible to overload during year 3 based on the general education requirements for BSc (Med) Hons.",
"FADA6700": "Students must be in Good Academic Standing.",
"HUMS2003": "Students must be in Good Academic Standing.",
"INFS3020": "Students must also be in Good Academic Standing. This course is by application only. Please enquire with the School for more information.",
"INFS3830": "",
"INFS3873": "",
"MARK3054": "If students can demonstrate they have equivalent statistics knowledge, but haven't completed any of the listed pre-requisite courses, they can seek permission from Program Coordinator by submitting an online form",
"MARK3085": "If students can demonstrate they have equivalent statistics knowledge, but haven't completed any of the listed pre-requisite courses, they can seek permission from Program Coordinator by submitting an online form",
"MARK3087": "Students with equivalent Statistics knowledge can seek pre-requisite waiver via webforms",
"MARK3088": "Students with equivalent Statistics knowledge can seek pre-requisite waiver via webforms",
"MARK3089": "Students with equivalent Statistics knowledge can seek pre-requisite waiver via webforms",
"MARK4210": "Requires Admission to Honours in Marketing",
"MARK4211": "Requires Admission to Honours in Marketing",
"MARK4212": "Requires Admission to Honours in Marketing",
"MATH1099": "Must be a Co-Op Scholar",
"MATH3611": "Can circumvent prerequisites with permission from Head of Department",
"MATH3701": "Can circumvent prerequisites with permission from Head of Department",
"MATH3711": "Can circumvent prerequisites with permission from Head of Department",
"MGMT3004": "Students must be in good standing",
"MGMT3110": "If you are enrolled the Commerce International (program 3558), the Commerce Overseas Program (Exchange) is also required",
Expand All @@ -119,21 +122,8 @@
"MGMT4501": "enrolment in the International Business Honours plan is required",
"MGMT4738": "enrolment in the Human Resource Management Honours plan is required",
"MGMT4739": "enrolment in the Human Resource Management Honours plan is required",
"SCIF3000": "Good Standing required",
"SENG2991": "Must be in an approved workplace arrangement",
"SENG3991": "Must currently be enrolled in the Co-op program and completed attendance of IT Reflection Workshop (facilitated by Co-op Program)",
"SENG3992": "Must currently be enrolled in the Co-op program",
"TABL3033": "Good Standing. This course is by application only. Note: Visit Career Accelerator page on Business School website for more information",
"ZHSS3231": "Head of school approval can also be used.",
"COMM1040": "Students must be in Good Academic Standing.",
"COMM3202": "This course is by application only. Please contact the Co-op office for more information. Excluded:DIPP1510, COMM2222, Business Co-Op programs.",
"ECON2209": "It is highly recommended that students who complete COMM1110 also complete COMM1190 before enrolling in this course.",
"MATH3701": "Can circumvent prerequisites with permission from Head of Department",
"INFS3830": "Students wishing to meet SAS certification must complete INFS3603. Completion of COMM2501 in lieu of INFS3603 will not be considered equivalent for the certificate",
"MARK3054": "If students can demonstrate they have equivalent statistics knowledge, but haven't completed any of the listed pre-requisite courses, they can seek permission from Program Coordinator by submitting an online form",
"MARK4210": "Requires Admission to Honours in Marketing",
"MARK4211": "Requires Admission to Honours in Marketing",
"MARK4212": "Requires Admission to Honours in Marketing",
"MATH3611": "Can circumvent prerequisites with permission from Head of Department",
"MARK3087": "Students with equivalent Statistics knowledge can seek pre-requisite waiver via webforms",
"SCIF3000": "Good Standing required"
"ZHSS3231": "Head of school approval can also be used."
}
16 changes: 9 additions & 7 deletions backend/algorithms/cache/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"DVC (Academic) Board of Studies": "F DVC",
"Faculty of Science": "F Science",
"Faculty of Law and Justice": "F Law",
"UNSW Global": "F Global",
"UNSW College": "F College",
"UNSW Canberra": "F Canberra",
"School of Accounting, Auditing and Taxation": "S Accounting",
"School of Risk and Actuarial Studies": "S Risk",
Expand All @@ -26,31 +26,33 @@
"School of Chemical Engineering": "S Chemical",
"School of Chemistry": "S Chemistry",
"School of Information Systems and Technology Management": "S Information",
"School of Economics": "S Economics",
"School of Management and Governance": "S Management",
"School of Law, Society and Criminology": "S Law",
"School of Civil and Environmental Engineering": "S Civil",
"School of Mathematics & Statistics": "S Mathematics",
"School of Health Sciences": "S Health",
"UNSW Global Diplomas": "S Global",
"School of Economics": "S Economics",
"UNSW College Diplomas": "S College",
"School of Education": "S Education",
"School of Electrical Engineering & Telecommunications": "S Electrical",
"Division of Registrar and Deputy Principal": "S Division",
"School of Banking and Finance": "S Banking",
"School of Global and Public Law": "S Global",
"School of Private and Commercial Law": "S Private",
"School of Global and Public Law": "S Global",
"School of Population Health": "S Population",
"School of Physics": "S Physics",
"Student Academic and Career Success": "S Student",
"School of Marketing": "S Marketing",
"School of Materials Science & Engineering": "S Materials",
"School of Minerals & Energy Resources Engineering": "S Minerals",
"School of Optometry and Vision Science": "S Optometry",
"School of Clinical Medicine": "S Clinical",
"School of Psychology": "S Psychology",
"School of Photovoltaic and Renewable Engineering": "S Photovoltaic",
"UC School of Business": "S Business",
"UC Engineering & Information Technology": "S UC-Engineering",
"UC School of Humanities and Social Sciences": "S Humanities",
"School of Systems and Computing": "S Systems",
"School of Engineering and Technology": "S Engineering",
"UC Science": "S UC-Science",
"School of Clinical Medicine": "S Clinical"
"UC School of Humanities and Social Sciences": "S Humanities",
"Canberra School of Professional Studies": "S Professional"
}
14 changes: 10 additions & 4 deletions backend/algorithms/cache/programMappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
"3635": 1,
"3706": 1,
"3707": 1,
"3732": 1,
"3733": 1,
"3734": 1,
"3736": 1,
Expand Down Expand Up @@ -235,6 +236,7 @@
"3673": 1,
"3674": 1,
"3706": 1,
"3732": 1,
"3733": 1,
"3734": 1,
"3738": 1,
Expand Down Expand Up @@ -296,6 +298,8 @@
"4058": 1,
"4067": 1,
"4068": 1,
"4071": 1,
"4072": 1,
"4076": 1,
"4509": 1
},
Expand All @@ -313,16 +317,16 @@
"4737": 1,
"4744": 1,
"4755": 1,
"4763": 1,
"4770": 1,
"4772": 1,
"4782": 1,
"4787": 1,
"4795": 1,
"4797": 1,
"4873": 1,
"4875": 1,
"4877": 1,
"4763": 1,
"4787": 1
"4877": 1
},
"CRIM#": {
"3422": 1,
Expand Down Expand Up @@ -374,6 +378,7 @@
"3573": 1,
"3574": 1,
"3599": 1,
"3732": 1,
"3783": 1,
"3792": 1,
"3793": 1,
Expand All @@ -392,11 +397,11 @@
"4461": 1,
"4504": 1,
"4511": 1,
"4519": 1,
"4526": 1,
"4528": 1,
"4782": 1,
"4830": 1,
"4831": 1,
"4877": 1
},
"MDIA#": {
Expand Down Expand Up @@ -426,6 +431,7 @@
"MSSP#": {},
"AVIA#": {
"3835": 1,
"3928": 1,
"3980": 1,
"3981": 1
}
Expand Down
5 changes: 2 additions & 3 deletions backend/data/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
# The latest current handbook year that we will maintain all the algorithms for
from typing import List


LIVE_YEAR: int = 2023
LIVE_YEAR: int = 2024

# The years for which we have archived
ARCHIVED_YEARS: List[int] = [2019, 2020, 2021, 2022]
ARCHIVED_YEARS: List[int] = [2019, 2020, 2021, 2022, 2023]

# TODO: Consider adding file paths to this file so we don't have to type out
# the exact path to write to every time
Expand Down
Loading

0 comments on commit c9cdcc9

Please sign in to comment.