This repository contains the autograder script for the CS171: Clock Synchronization assignment.
It is designed to automatically test the implemenation of programming assignment 1 - clock synchronization.
Make sure you have the following installed:
- Python 3.6+
- Ensure that you are using a virtual environment and not installing the required libraries to your base system python.
- Required Python packages (install with pip):
pip install -r requirements.txt
Run the Autograder
python autograder.py --submission <submission folder containing the makefile>For example:
Consider the below directory structure where all your files are under a directory named project_dir.
projet_dir
βββ client.py # client script
βββ server.py # server script
βββ makefile # makefile
βββ network.py # network script
Then your command for the autograder will be as follows:
python autograder.py --submissions project_dirPass the directory in which the makefile is present to the ---submissions command line argument.
For debugging your code, the logs from the autograder script could be seen in the autograder.log file which automatically gets created once you run the autograder script.