Skip to content
a1 grading scripts
C Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Testing scripts for cows and hunger games


Passing these grading scripts does NOT mean your code is correct. This is only to help you test your synch problems.


Clone this repo copy all the python files into the ~/cs161/root directory:

git clone ~/cs161-a1scripts
cp ~/cs161-a1scripts/*.py ~/cs161/root/

Running the scripts

In the ~/cs161/root directory:


The output of sys161 will be placed in the specified log files with the iteration number appended to the end.

Run these scripts with --help to see available options (e.g. number of iterations to run, the timeout length to wait for sys161 to finish, the log file base name, number of babies for cows)

You can’t perform that action at this time.