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

Add slot descriptions, matcher randomness #480

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

smartspot2
Copy link
Member

Closes #466.

Matcher slots currently have no special metadata that coordinators can use to indicate special sections with---this information needs to be communicated to mentors separately. Adding a description to slots allows for this metadata to be embedded within the matcher, so mentors can see whether sections have any special tags (ex. NPE, affinity section, etc.) prior to filling availability.

Secondly, this PR also adds some randomness to the matcher algorithm, randomly shuffling the lists of mentors/slots/preferences so that tiebreaks happen approximately uniformly.

@smartspot2 smartspot2 added enhancement New feature or request python Pull requests that update Python code labels Aug 12, 2024
@smartspot2 smartspot2 self-assigned this Aug 12, 2024
Copy link

cypress bot commented Aug 12, 2024

csm_web    Run #365

Run Properties:  status check passed Passed #365  •  git commit 65b3442360: Add slot descriptions, matcher randomness
Project csm_web
Branch Review feat/matcher-improvements
Run status status check passed Passed #365
Run duration 02m 33s
Commit git commit 65b3442360: Add slot descriptions, matcher randomness
Committer Alec Li
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 78
View all changes introduced in this branch ↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add randomness to matcher algorithm
1 participant