Skip to content

The current project represents a typescript solution which attempts to group students based on their marks and generating even/balanced groups.

Notifications You must be signed in to change notification settings

brunokiafuka/students-grouping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Grouping Generator ๐Ÿ‘ฅ

Background ๐Ÿ“œ

The current project represents a typescript solution which attempts to group students based on their marks and generating even/balanced groups.

I.e: You have teach a programming class and you want to give exercises to your students, you've performed a small assessment and you are able now to differentiate the students based on their marks. Now you can use this program to help you group them properly.

State ๐Ÿ“ถ

This project is currently under develompent.

Example

Students List:

[
  {
    "id": 1,
    "name": "Bruno",
    "mark": 18
  },
  {
    "id": 2,
    "name": "Fausto",
    "mark": 13
  },
  {
    "id": 3,
    "name": "Antonio",
    "mark": 5
  },
  {
    "id": 4,
    "name": "Doe",
    "mark": 10
  },
  {
    "id": 5,
    "name": "Mary",
    "mark": 15
  }
]

Groups generated:

[{
  group: [
    { id: 5, name: 'Mary', mark: 15 },
    { id: 3, name: 'Antonio', mark: 5 }
  ],
  groupAvg: 10
},
{
  group: [
    { id: 4, name: 'Doe', mark: 10 },
    { id: 2, name: 'Fausto', mark: 13 }
  ],
  groupAvg: 11.5
},
{ group: [ 
    { id: 1, name: 'Bruno', mark: 18 } 
    ],
  groupAvg: 18
}
]

Roadmap

  • Ensure the program generates fairly balanced groups;
  • Generate reusable lib
  • Publish it no npm

PRs are welcomed ๐Ÿš€

About

The current project represents a typescript solution which attempts to group students based on their marks and generating even/balanced groups.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published