Skip to content

Commit 680bc24

Browse files
authored
Redo A&S 100 and 120 Credit Minimum Requirements (#686)
* disallow transfer credit for a&s 100 credits * add 120 total credits requirement for A&S * revert name change for A&S Credit requirement & update tests * use shared 120 credit minimum with other colleges * clean up 120 credit requirement * make AS1 and AS2 use the same requirement descriptions * minor rewording of description
1 parent c04efa9 commit 680bc24

File tree

4 files changed

+136
-137
lines changed

4 files changed

+136
-137
lines changed

src/requirements/data/colleges/asFA2020.ts

+8-4
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,21 @@ const casFA2020Requirements: readonly CollegeOrMajorRequirement[] = [
88
'100 credits in Arts & Sciences are required. ' +
99
'Students can take more than 20 credits outside of the College as long as they take 100 credits within; ' +
1010
'they can also take all their credits in Arts & Sciences and accumulate more than 120. ' +
11-
'Note: AP, IB, and A-Level credits count toward the 120 total credits but not toward the 100 A&S credits.',
11+
'Note: AP, IB, and A-Level credits do not count toward this requirement.',
1212
source: 'https://as.cornell.edu/education/degree-requirements',
1313
checker: [
1414
(course: Course): boolean =>
15-
course.acadGroup.includes('AS') ||
16-
course.subject === 'CS' ||
17-
(course.catalogDistr?.includes('-AS') ?? false),
15+
// Note that this does not completely agree with the 120 total academic credits because that incorrectly includes courses cross-listed with PE
16+
course.subject !== 'PE' &&
17+
!ifCodeMatch(course.catalogNbr, '10**') &&
18+
(course.acadGroup.includes('AS') ||
19+
course.subject === 'CS' ||
20+
(course.catalogDistr?.includes('-AS') ?? false)),
1821
],
1922
fulfilledBy: 'credits',
2023
perSlotMinCount: [100],
2124
allowCourseDoubleCounting: true,
25+
disallowTransferCredit: true,
2226
},
2327
{
2428
name: 'First-Year Writing Seminars (FWS)',

src/requirements/data/colleges/asPreFA2020.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const casPreFA2020Requirements: readonly CollegeOrMajorRequirement[] = [
88
'100 credits in Arts & Sciences are required. ' +
99
'Students can take more than 20 credits outside of the College as long as they take 100 credits within; ' +
1010
'they can also take all their credits in Arts & Sciences and accumulate more than 120. ' +
11-
'Note: AP, IB, and A-Level credits count toward the 120 total credits but not toward the 100 A&S credits.',
11+
'Note: AP, IB, and A-Level credits do not count toward this requirement.',
1212
source: 'https://as.cornell.edu/education/old-degree-requirements',
1313
checker: [
1414
(course: Course): boolean =>

0 commit comments

Comments
 (0)