Skip to content
a1 grading scripts
C Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
probs
README.md
check-cows.py
check-games.py
common.py

README.md

Testing scripts for cows and hunger games

Note

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

Setup

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

git clone https://github.com/kennyyu/cs161-a1scripts.git ~/cs161-a1scripts
cp ~/cs161-a1scripts/*.py ~/cs161/root/

Running the scripts

In the ~/cs161/root directory:

python check-cows.py
python check-games.py

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.