Creation of random equitable groups based on performance

Job ID: 34207093

Budget: $10 – $30 USD

Input Data:

Team numbers
Member's names
Value from 1 to 10 that represents the performance of each member


Output data

The members of the groups must be randomly assigned based on the performance of each one so that the groups remain equitable. A random group cannot result in which the total performance of the members is significantly lower or higher than another team.


Use case:

Think that you want to create some sports teams, and you want to make them equitable so there is not a stronger team than others.


Acceptance Criteria:

The webpage should be responsive
The form to insert the entry data should be user friendly
The results should be user friendly to read
The script should be made in Vanilla JS or PHP (preferred in JS)
Sometimes the number of team members will be odd, Ex. 21 members to create 5 teams, it means that the result should be 4 teams of 4 members and one team will end with 5 members. In this case the logic should be always to get the most equity teams in performance.
The source files should be deliverable at the end of the project.
It’s well appreciate the comments in the code to understand how it works.

(More details in the attached file)
Related categories: JavaScript HTML5 CSS3