-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add to the 120 credits on repeated courses
Resolve #141. Implemented according to my proposal during the meeting: - Lifting the total credits requirement out of the generated requirement json and special case it on frontend - As a result, it will not become part of requirement graph as desired. - In addition, the requirement json dropped from 2.5M to 800k!
- Loading branch information
1 parent
84ef322
commit 87fc51d
Showing
9 changed files
with
127 additions
and
100 deletions.
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
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
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 |
---|---|---|
@@ -1,18 +1,5 @@ | ||
import { CollegeOrMajorRequirement } from '../../types'; | ||
import { courseIsAllEligible } from '../checkers-common'; | ||
|
||
const businessRequirements: readonly CollegeOrMajorRequirement[] = [ | ||
{ | ||
name: 'Total Academic Credits', | ||
description: | ||
'120 academic credits are required' + | ||
'PE courses and courses numbered 1000-1099 do not count towards the 120 credits', | ||
source: 'http://courses.cornell.edu/content.php?catoid=41&navoid=11715', | ||
checker: courseIsAllEligible, | ||
subRequirementProgress: 'any-can-count', | ||
fulfilledBy: 'credits', | ||
minCount: 120, | ||
}, | ||
]; | ||
const businessRequirements: readonly CollegeOrMajorRequirement[] = []; | ||
|
||
export default businessRequirements; |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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