Skip to content

Validation script for the clock synchronization programming assignment

Notifications You must be signed in to change notification settings

AwinZhang1/CS171-ClockSynchronization

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

CS171 Clock Synchronization Autograder

πŸ•’ About

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.


βš™οΈ Setup

Requirements

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

πŸš€ Usage

Run the Autograder

python autograder.py --submissions <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_dir

Pass 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.

About

Validation script for the clock synchronization programming assignment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%