Skip to content

Zalgryth/SortableChallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sortable Challenge

This is my entry for the Sortable Challenge.

It is a command-line tool for computing the results of a series of auctions. See the samples folder for sample input and config json files, as well as the expected output.

Style

This project follows the standard PEP8 styling guide.

Build + Run

To build and run, execute the following in a terminal:

$ docker build -t challenge .
$ docker run -i -v /path/to/challenge/config.json:/auction/config.json challenge < /path/to/challenge/input.json

Unit tests

To run unit tests, execute the following command:

$ python -m unittest

For your convenience, you can get unit test results from the challenge Docker container (built in the Build + Run section). To do so, run the following command:

$ docker run challenge unittest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published