Skip to content

This is an Auto Judge system for the Translators course at Oregon State University.

Notifications You must be signed in to change notification settings

milesvdw/OSU_CS480_AutoJudge

 
 

Repository files navigation

Auto Judge for Translators Course

This is an Auto Judge system for the grading of Translators course.

For more information of the course, please visit the site below.

http://classes.engr.oregonstate.edu/eecs/winter2016/cs480/

Install

  • For Mac user, install "gtimeout" for Mac. You may use HomeBrew to install.
$ brew install coreutils
  • For Linux/CentOS user, check "timeout" command if you don't have HomeBrew.

Usage

  • (for TAs) Download all students submissions on Canvas, then unzip to the directory "submissions_hwX".

  • (for students) Put your python file into the directory "submissions_hwX" and rename it to "yourname_hwX.py".

$ cp hwX.py submissions_hwX/yourname_hwX.py
  • Create/Edit test cases in the directory "testcases_hwX". Note that the test cases must be paired.

  • Run this to check the grades. The grades are also in the file "grades_hwX".

$ sh exe.sh hwX

Creating/Contributing Test Cases

  • Write a python program satisfies the syntax in the homework instruction.

  • Make sure your program not cause out-of-requirement errors.

  • Put your test case into the "testcase_hwX" folder. If your want to contribute your own test case, please put your name into the filename.

$ cat example.py > testcase_hwX/case_yourname_XX.in
$ python example.py > testcase_hwX/case_yourname_XX.out
  • Contribute your test cases on Git.

About

This is an Auto Judge system for the Translators course at Oregon State University.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Shell 0.3%