- Python 3.8
- Clone this project.
git clone [email protected]:Teamable-Analytics/algorithms.git
- Install all dependencies.
python3 -m pip install -r requirements.txt
- Initialize submodules.
git submodule update --init --recursive
- You're good to go!
Be sure to read any directory-specific README.md and CONVENTION.md files before starting to work.
For detailed descriptions of each of the metrics we evaluate our algorithms with respect to, please see METRICS.md.
In order to format your code for this project, run:
python3 -m black .
Note: If you just want to check if your formatting is accurate without modifying any files,
run python3 -m black . --check
instead.
In order to run the test suite, run the following command in your terminal:
python3 -m unittest discover tests
- todo: the logic for each of our algorithms
- todo: the api that serves these algorithms
- dataclasses, types, and enums used in the rest of the repository
- everything that this repository used to be
- the tools used to run simulations using our algorithms and benchmark them
- also contains the code to re-generate the benchmarks we use frequently
- contains helpers that allow benchmarking experiments to mock running an algorithm