Skip to content

fix(eighth): distribute students evenly within capacity#1922

Open
tonymac129 wants to merge 4 commits into
tjcsl:devfrom
tonymac129:fix/distribute-students
Open

fix(eighth): distribute students evenly within capacity#1922
tonymac129 wants to merge 4 commits into
tjcsl:devfrom
tonymac129:fix/distribute-students

Conversation

@tonymac129

Copy link
Copy Markdown
Member

Proposed changes

  • Option to toggle allow exceeding activity capacities when distributing evenly
  • Students are distributed evenly across selected activities when possible (either within all activities' capacities or when allow exceeding capacities is checked )
  • If some of the activities have a smaller capacity, students are still distributed evenly for the rest
  • Improve checkbox behavior and prevent a student from being assigned multiple activities

Brief description of rationale

@tonymac129 tonymac129 requested a review from a team as a code owner May 26, 2026 03:10
@tonymac129

Copy link
Copy Markdown
Member Author

I don't know why the tests keep failing, could it be because the distributing behavior changed?

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 78.625% (+0.007%) from 78.618% — tonymac129:fix/distribute-students into tjcsl:dev

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.

Fix "Distribute Students without Signups" Function

2 participants