This code finds the most active cookie on a specified day.
Files:
cookie_logic.py
: Contains core functionality
most_active_cookie
: Contains command line executable functionality
cookie_test.py
: Testing with Pytest. Pytest testing is automated using GitHub Actions.
This can be run using:
$ ./most_active_cookie <cookie log filename> -d <date>
The cookie log file is ideally in csv format and the date should be in YYYY-MM-DD format.
If the execution does not work, first run chmod +x most_active_cookie
.