Skip to content

Check if user is spring intro member so it returns the right number of directorships#532

Merged
BigSpaceships merged 3 commits intoComputerScienceHouse:developfrom
charlottegeo:fix-spring-intro-directorships
Mar 27, 2026
Merged

Check if user is spring intro member so it returns the right number of directorships#532
BigSpaceships merged 3 commits intoComputerScienceHouse:developfrom
charlottegeo:fix-spring-intro-directorships

Conversation

@charlottegeo
Copy link
Contributor

What

Updates the req_cm function in member.py to check if a user was a spring intro member, and returns 15 (directorships) if they were a spring intro member.

Why

Spring intro members only need 15 directorships to pass spring evals but currently in Conditional it requires 30 for all members because it didn't check if they were a spring intro member.

Test Plan

I added an existing active member to the freshman_eval_data in my local database + set the eval_date to this year's spring intro evals date to make sure that the required number of directorships is set to 15 for spring intro members who passed intro evals.

Env Vars

No

Documentation

I changed the comment at the start of req_cm to reflect that it now gets the number of required directorships based on if the member is on co_op or is a spring intro member who passed intro evals.

Checklist

  • Tested all changes locally

Copy link
Contributor

@BigSpaceships BigSpaceships left a comment

Choose a reason for hiding this comment

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

Works great!

@BigSpaceships BigSpaceships merged commit 6441972 into ComputerScienceHouse:develop Mar 27, 2026
2 of 3 checks passed
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