Skip to content

Execute a unittest or any python script in every student directory based on Georgia Tech's T-Square Download Architecture

Notifications You must be signed in to change notification settings

dbarrundiag/autorunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoRunner

Georgia Institute of Technology - CS1301

Author: Daniel Barrundia

So you have decided you want to make an auto-grader, congrats! Why waste our time grading, when we can make a machine do it in seconds?

ASSUMPTIONS

  • You are a College of Computing TA and you have access to your student's submissions.
  • You have a Python script that tests another script (a unittest of some sort written in > Python3)

STEPS

  1. Download the Submission you want to grade from T-Square.
  • Make sure to download the grades.csv file that comes inside the download.
  1. Unzip the download in your working directory (Documents/CS1301/)
  2. Move the autograder to the homework directory (Documents/CS1301/HW4)
  3. Download autorunner.py and move it to the homework directory ( Documents/CS1301/HW4)
  4. You should see something like this architecture:
    • /HW4
    • test.py [the autograder python file]
    • autorunner.py
    • grades.csv
    • /last, first(128-bit ID)
    • /Submission attachment(s)
    • hw4.py
    • /last, first(128-bit ID)
    • /Submission attachment(s)
    • hw4.py
  5. In your terminal go to the submission directory. ($ cd /Documents/CS1301/HW4)
  6. In your terminal run the command: python3 -t the test filename ($ python3 -t test.py)
  7. At this point the autograder has traversed through each of the student's directories and has graded the submission. Assuming your autograder is well written you will be all set at this point. You will see the result of your autograder on each of the student's directories (i.e. an .html file or a .txt about the result of the test)


Happy Grading,
Daniel Barrundia

About

Execute a unittest or any python script in every student directory based on Georgia Tech's T-Square Download Architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages