Skip to content

akashcompute/Skill-Based-Matchmaking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SBM - Skill based Matchmaking

Pre-requisites

python 3.8

git

Libraries Used

itertools standard library for iterating and creating combinations or permutations.

unittest Python built in unit testing framework for creating test cases

How to run Code

Install Python instruments

  1. Download get-pip.py
  2. Install pip pckage manager python get-pip.py

    upgrade using python -m pip install --upgrade pip
  3. Install virtualenv python3 package pip install virtualenv

Start virtualenv

$ virtualenv -p python3.8 venv 
$ source venv/bin/activate

Run the code

  • Main script
$ python app.py
  • Test cases (it is advised to run the test cases one at a time).

Used unittest library for testing. List of test cases defined in test.py :

test_take_input test_take_input_no_of_players test_output test_output_2 test_create_team test_create_team_2 test_form_matches test_find_average_score test_quality_check

Run for validating:

python -m unittest test.MyTestCase.'any_test_case_name'

$ python -m unittest test.MyTestCase.test_take_input
$ python -m unittest test.MyTestCase.test_take_input_no_of_players
...
  • See commits history :
$ git log

Versioning

I used Git for versioning.

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages