Skip to content

add college requirements to gradtrak#1140

Merged
ARtheboss merged 5 commits into
mainfrom
garima/gradtrak-add-college-reqs
May 6, 2026
Merged

add college requirements to gradtrak#1140
ARtheboss merged 5 commits into
mainfrom
garima/gradtrak-add-college-reqs

Conversation

@garimau
Copy link
Copy Markdown
Contributor

@garimau garimau commented Apr 30, 2026

added BtLLs for all remaining colleges that have undergrad majors:

  • rausser college of natural resources
  • college of chemistry
  • college of environmental design
  • school of education

(still need to add graduate college reqs at some point)

also updated UI to show legend for checkmarks next to requirements

@garimau garimau marked this pull request as ready for review April 30, 2026 03:59
@garimau garimau requested a review from ARtheboss April 30, 2026 03:59
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 95f002dd4b

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

export const RCNR_REQ_BTLL = `${RNC_BTLL}
Function<boolean>(Course) is_upper_div_course (course){
string number get_attr(course, "number")
boolean return or([regex_match(number, "^1[0-9][0-9]"), regex_match(number, "^2[0-9][0-9]"), regex_match(number, "^C[0-9]"), regex_match(number, "^W[0-9][0-9]"), regex_match(number, "^N[0-9][0-9]")])
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restrict C-prefixed matches to upper-division numbers

The RCNR is_upper_div_course predicate currently treats any C followed by one digit as upper division, which incorrectly counts lower-division cross-listed courses (for example C1/C3) toward both the 36-unit and 15-unit upper-division checks. Because regex_match uses String.match semantics, ^C[0-9] is satisfied by those lower-division numbers, so plans can be marked as meeting RCNR upper-division requirements with ineligible coursework.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@garimau This is true, ^C[0-9] should be removed

Comment thread packages/BtLL/reference_gradtrak_reqs.ts
ARtheboss
ARtheboss previously approved these changes May 6, 2026
@ARtheboss ARtheboss merged commit a7cfef6 into main May 6, 2026
5 checks passed
@ARtheboss ARtheboss deleted the garima/gradtrak-add-college-reqs branch May 6, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants