-
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
adding AI minor #946
Open
nit0107
wants to merge
4
commits into
main
Choose a base branch
from
nmp79/aiminor
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
adding AI minor #946
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
import { CollegeOrMajorRequirement, Course, RequirementMigration } from '../../requirements/types'; | ||
import { | ||
includesWithSingleRequirement, | ||
courseMatchesCodeOptions, | ||
ifCodeMatch, | ||
courseMatchesCode, | ||
includesWithSubRequirements, | ||
} from '../../requirements/checkers'; | ||
import { AdvisorGroup } from '../../tools/advisors/types'; | ||
import { lastNameRange } from '../../tools/advisors/checkers'; | ||
|
||
const aiMinorRequirements: readonly CollegeOrMajorRequirement[] = [ | ||
{ | ||
name: 'Machine Learning', | ||
description: 'Add Core Course 1', | ||
source: | ||
'https://prod.cis.cornell.edu/undergraduate-opportunities/minors/artificial-intelligence/ai-minor-requirements', | ||
checker: includesWithSingleRequirement( | ||
'CS 3780', | ||
'ECE 3200', | ||
'ECE 4200', | ||
'ORIE 3741', | ||
'ORIE 4741', | ||
'STSCI 3740' | ||
), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [1], | ||
slotNames: ['Course'], | ||
}, | ||
|
||
{ | ||
name: 'Reasoning', | ||
description: 'Add Core Course 2', | ||
source: | ||
'https://prod.cis.cornell.edu/undergraduate-opportunities/minors/artificial-intelligence/ai-minor-requirements', | ||
checker: includesWithSingleRequirement('CS 3700'), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [1], | ||
slotNames: ['Course'], | ||
}, | ||
{ | ||
name: 'Human-AI Interaction', | ||
description: 'Add Core Course 3', | ||
source: | ||
'https://prod.cis.cornell.edu/undergraduate-opportunities/minors/artificial-intelligence/ai-minor-requirements', | ||
checker: includesWithSingleRequirement('INFO 4940'), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [1], | ||
slotNames: ['Course'], | ||
}, | ||
{ | ||
name: 'Ethics, Governance & Policy', | ||
description: 'Add Core Course 4', | ||
source: | ||
'https://prod.cis.cornell.edu/undergraduate-opportunities/minors/artificial-intelligence/ai-minor-requirements', | ||
checker: includesWithSingleRequirement('ENGRG 3605', 'INFO 1260', 'PUBPOL 4210'), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [1], | ||
slotNames: ['Course'], | ||
}, | ||
{ | ||
name: 'AI Electives', | ||
description: 'Two of the following courses.', | ||
source: | ||
'http://www.cs.cornell.edu/undergrad/rulesandproceduresengineering/choosingyourelectives', | ||
checker: includesWithSingleRequirement( | ||
'CS 4670', | ||
'CS 4701', | ||
'CS 4740', | ||
'CS 4750', | ||
'CS 4756', | ||
'CS 4782', | ||
'CS 4783', | ||
'CS 4787', | ||
'CS 4789', | ||
'CS 4860', | ||
'ECE 4160', | ||
'ENGRG 3605', | ||
'INFO 1260', | ||
'INFO 3350', | ||
'INFO 3950', | ||
'INFO 4100', | ||
'INFO 4120', | ||
'INFO 4130', | ||
'INFO 4275', | ||
'INFO 4300', | ||
'INFO 4310', | ||
'INFO 4410', | ||
'LING 4424', | ||
'LING 4434', | ||
'MAE 4180', | ||
'MAE 4810', | ||
'NBA 4920', | ||
'ORIE 4160', | ||
'ORIE 4740', | ||
'ORIE 4742', | ||
'PUBPOL 4210', | ||
'PHIL 2621', | ||
'STS 3440', | ||
'STSCI 3110', | ||
'STSCI 4030', | ||
'STSCI 4520', | ||
'STSCI 4750' | ||
), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [2], | ||
slotNames: ['Course'], | ||
}, | ||
]; | ||
|
||
export const aiMigrations: RequirementMigration[] = [ | ||
{ | ||
entryYear: 2021, // This requirement only for students graduating in Dec 2024 or May 2025 | ||
type: 'Modify', | ||
fieldName: 'Human-AI Interaction', | ||
newValue: { | ||
name: 'Human-AI Interaction', | ||
description: 'INFO 3450', | ||
source: | ||
'https://prod.cis.cornell.edu/undergraduate-opportunities/minors/artificial-intelligence/ai-minor-requirements', | ||
checker: includesWithSubRequirements(['INFO 3450']), | ||
fulfilledBy: 'courses', | ||
perSlotMinCount: [1], | ||
slotNames: ['INFO 3450'], | ||
}, | ||
}, | ||
]; | ||
|
||
export default aiMinorRequirements; | ||
|
||
// export const aiMinorAdvisors: AdvisorGroup = { | ||
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. instead, should we add [email protected]](mailto:[email protected]). it's not an actual person but it's good contact information. |
||
// advisors: [ | ||
// { name: 'Ryan Marchenese ', email: '[email protected]', checker: lastNameRange('A', 'H') }, | ||
// { name: 'Carl Cornell', email: '[email protected]', checker: lastNameRange('I', 'Q') }, | ||
// { name: 'Nicole Roy', email: '[email protected]', checker: lastNameRange('R', 'Z') }, | ||
// ], | ||
// }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@nidhi-mylavarapu make sure this cross listing (bug?) does not break the functionality.
![image](https://private-user-images.githubusercontent.com/91917682/379025220-5ec70ae0-d9f2-410b-8478-e06b8596161f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTkyNzIsIm5iZiI6MTczOTE1ODk3MiwicGF0aCI6Ii85MTkxNzY4Mi8zNzkwMjUyMjAtNWVjNzBhZTAtZDlmMi00MTBiLTg0NzgtZTA2Yjg1OTYxNjFmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDAzNDI1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwYWUyZGVhMmZlYjA3MWNkMTNjYjQyOTg3ZTNlNzE3NGVkZmQ3Y2VmNDhhNTdjOGFkOTdlNDA0ZjMxZTNhNTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.7TqAZ9g2JLsHLtBXQzeceY6zCmTqCvo_6szIh0TLo44)
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.
Right, this was a weird bug -- grabbing a course from the first bucket shouldn't cause the courses in the second bucket to change to their cross listed names. I would look for another major or minor that requires you to select 2/n courses to fulfill a requirement and repeat that functionality.