Skip to content

Python program to automatically run all the C++ Homeworks and grade them based on test cases. This uses one main file to make changes and an ideal output file.

Notifications You must be signed in to change notification settings

harimanasa/The-Autograder-Python-Program-To-Grade-C-Programs-With-Test-Cases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

The Autograder Python Program To Grade C++ Programs With Test Cases

How to test:

  1. mkdir test. Copy Autograder.py and grader main & Ideal output file in test.

  2. mkdir test/submissions. Place your submitted (.h, .cc) files in it.

  3. cd test. Run "python3 Autograder.py"

  4. Output file is FinalResults_differences_withIdeal.txt in which the test results are populated.

Grading criteria:

In FinalResults_differences_withIdeal.txt, it checks the differences between Ideal_output.txt and each program output.

a) If there are no differences, it is graded 100 points.

b) If some differences are found, it is graded as per test cases.

c) If compilation terminated, it is graded 0 marks.

About

Python program to automatically run all the C++ Homeworks and grade them based on test cases. This uses one main file to make changes and an ideal output file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages