-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ILR Econ Minor #959
Changes from 2 commits
d35a3c8
22c8cb0
e2f463a
81e816b
001f94d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
import { CollegeOrMajorRequirement, Course } from '../../requirements/types'; | ||
import { | ||
includesWithSubRequirements, | ||
ifCodeMatch, | ||
courseMatchesCodeOptions, | ||
} from '../../requirements/checkers'; | ||
import { AdvisorGroup } from '../../tools/advisors/types'; | ||
|
||
const econILRMinorRequirements: readonly CollegeOrMajorRequirement[] = [ | ||
{ | ||
name: 'Prerequisites', | ||
description: | ||
'MATH 1110 with grade C or better, ECON 1110 and ECON 1120 with grades B- or better.', | ||
source: 'https://economics.cornell.edu/minor', | ||
checker: includesWithSubRequirements(['MATH 1110'], ['ECON 1110'], ['ECON 1120']), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [1, 1, 1], | ||
slotNames: ['MATH 1110', 'ECON 1110', 'ECON 1120'], | ||
checkerWarning: | ||
'ECON 1110 or ECON 1120 will count toward the Economics Minor only if credit for the course appears on your Cornell transcript.', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Aligned with the current rubric. |
||
}, | ||
{ | ||
name: 'Intermediate Courses', | ||
description: 'ECON 3030 and ECON 3040. Must be taken at Cornell.', | ||
source: 'https://economics.cornell.edu/minor', | ||
checker: includesWithSubRequirements(['ECON 3030'], ['ECON 3040']), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [1, 1], | ||
slotNames: ['ECON 3030', 'ECON 3040'], | ||
}, | ||
{ | ||
name: 'Statistics and Econometrics', | ||
description: | ||
'Option 1: ECON 3110 and ECON 3120. Option 2: ECON 3130 and ECON 3140. Must be taken at Cornell.', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks good! |
||
source: 'https://economics.cornell.edu/minor', | ||
fulfilledBy: 'toggleable', | ||
fulfillmentOptions: { | ||
'Option 1': { | ||
description: 'ECON 3110 and ECON 3120', | ||
counting: 'courses', | ||
checker: includesWithSubRequirements(['ECON 3110'], ['ECON 3120']), | ||
perSlotMinCount: [1, 1], | ||
slotNames: ['ECON 3110', 'ECON 3120'], | ||
}, | ||
'Option 2': { | ||
description: 'ECON 3130 and ECON 3140', | ||
counting: 'courses', | ||
checker: includesWithSubRequirements(['ECON 3130'], ['ECON 3140']), | ||
perSlotMinCount: [1, 1], | ||
slotNames: ['ECON 3130', 'ECON 3140'], | ||
}, | ||
}, | ||
}, | ||
{ | ||
name: 'Additional ECON Courses', | ||
description: | ||
'Additional 3000 or 4000 level ECON courses to reach a total of 9 courses. ' + | ||
'ECON 4990, 4991, and 4999 cannot be counted. ' + | ||
'At least 5 of your 3000/4000-level courses must be taken at Cornell.', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The exception for this is for Study Abroad, in which you must take atleast 4 of them at Cornell. |
||
source: 'https://economics.cornell.edu/minor', | ||
checker: [ | ||
(course: Course): boolean => { | ||
if ( | ||
courseMatchesCodeOptions(course, [ | ||
'ECON 4990', | ||
'ECON 4991', | ||
'ECON 4999', | ||
'ECON 3030', | ||
'ECON 3040', | ||
'ECON 3110', | ||
'ECON 3120', | ||
'ECON 3130', | ||
'ECON 3140', | ||
]) | ||
) { | ||
return false; | ||
} | ||
return ( | ||
ifCodeMatch(course.subject, 'ECON') && | ||
(ifCodeMatch(course.catalogNbr, '3***') || ifCodeMatch(course.catalogNbr, '4***')) | ||
); | ||
}, | ||
], | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [3], | ||
slotNames: ['Course'], | ||
}, | ||
]; | ||
|
||
export default econILRMinorRequirements; | ||
|
||
export const econILRMinorAdvisors: AdvisorGroup = { | ||
advisors: [{ name: 'Sarah Louise Schupp', email: '[email protected]' }], | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another minor, information science in engineering, wrote the minor like this
Information Science [Engineering]
should we keep the same semantics for consistency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, good catch.