Skip to content
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

feat: add engineering management minor #961

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import dsMinorRequirements, { dsMinorAdvisors } from './minors/ds';
import dbmeMinorRequirements, { dbmeAdvisors } from './minors/dbme';
import deaMinorRequirements from './minors/dea';
import eceMinorRequirements, { eceMinorAdvisors } from './minors/ece';
import engMgmtMinorRequirements, { engMgmtMinorAdvisors } from './minors/eng-mgmt';
import gameDesignMinorRequirements, { gameDesignMinorAdvisors } from './minors/game-design';
import hpMinorRequirements, { hpMinorAdvisors } from './minors/hp';
import hdMinorRequirements, { hdMinorAdvisors } from './minors/hd';
Expand Down Expand Up @@ -529,6 +530,12 @@ const json: RequirementsJson = {
advisors: eceMinorAdvisors,
abbrev: 'ECE',
},
ENGMGMT: {
name: 'Engineering Management',
schools: ['EN'],
requirements: engMgmtMinorRequirements,
advisors: engMgmtMinorAdvisors,
},
GAMEDESIGN: {
name: 'Game Design',
schools: ['EN', 'AS1', 'AS2'],
Expand Down
67 changes: 67 additions & 0 deletions src/data/minors/eng-mgmt.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
import { CollegeOrMajorRequirement } from '../../requirements/types';
import { includesWithSingleRequirement } from '../../requirements/checkers';
import { AdvisorGroup } from '../../tools/advisors/types';

const engMgmtMinorRequirements: readonly CollegeOrMajorRequirement[] = [
{
name: 'Requirement 1',
description: 'CEE 3230 or ORIE 4150',
source:
'https://www.cee.cornell.edu/cee/programs/undergraduate-progams/minors/engineering-management-minor',
checker: includesWithSingleRequirement('CEE 3230', 'ORIE 4150'),
fulfilledBy: 'courses',
perSlotMinCount: [1],
slotNames: ['Course'],
},
{
name: 'Requirement 2',
description: 'ORIE 3150',
source:
'https://www.cee.cornell.edu/cee/programs/undergraduate-progams/minors/engineering-management-minor',
checker: includesWithSingleRequirement('ORIE 3150'),
checkerWarning:
'ORIE majors must substitute NCC 5560 or NBA 5000. We do not check if you are an ORIE major.',
fulfilledBy: 'courses',
perSlotMinCount: [1],
slotNames: ['Course'],
},
{
name: 'Requirement 3',
description: 'CEE 3040 or ENGRD 2700 or ECE 3100',
source:
'https://www.cee.cornell.edu/cee/programs/undergraduate-progams/minors/engineering-management-minor',
checker: includesWithSingleRequirement('CEE 3040', 'ENGRD 2700', 'ECE 3100'),
fulfilledBy: 'courses',
perSlotMinCount: [1],
slotNames: ['Course'],
},
{
name: 'Three Additional Courses',
description:
'Three additional courses chosen from the following list: CEE 5930 (not for ORIE majors), CEE 5950, CEE 5970, CEE 5980, ENGRG 3600, NBA 5070, MAE/ENGRG 4610/ORIE 4152, BEE 4890. Only one of NBA 5070, MAE/ENGRG 4610/ORIE 4152, and BEE 4890 may be chosen for this requirement.',
source:
'https://www.cee.cornell.edu/cee/programs/undergraduate-progams/minors/engineering-management-minor',
checker: includesWithSingleRequirement(
'CEE 5930',
'CEE 5950',
'CEE 5970',
'CEE 5980',
'ENGRG 3600',
'NBA 5070',
'MAE 4610',
'ENGRG 4610',
'ORIE 4152',
'BEE 4890'
),
fulfilledBy: 'courses',
perSlotMinCount: [3],
slotNames: ['Course'],
},
];

export default engMgmtMinorRequirements;

// TODO: advisor(s)
export const engMgmtMinorAdvisors: AdvisorGroup = {
advisors: [],
};
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ Array [
"Minor-ECE-4000+ Courses",
"Minor-ECE-Requirement 1",
"Minor-ECE-Requirement 2",
"Minor-ENGMGMT-Requirement 1",
"Minor-ENGMGMT-Requirement 2",
"Minor-ENGMGMT-Requirement 3",
"Minor-ENGMGMT-Three Additional Courses",
"Minor-GAMEDESIGN-4 Additional Courses",
"Minor-GAMEDESIGN-Requirement 1",
"Minor-GAMEDESIGN-Requirement 2",
Expand Down
87 changes: 87 additions & 0 deletions src/requirements/decorated-requirements.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading