Kamoro is command-line application for grading C++, Python 3, and Golang code base on given input and expected ouput
What you need to install in your machine:
go 1.15
g++
python 3
You need 3 folders inside the directory you want to grade :
input
: Contains input fileoutput
: Contains Expected Output filesubmissions
: Contains all submissions from students
$ pwd
$ /home/user/example
example #The Directory
|
├── input
│ ├── a.in
│ ├── b.in
├── output
│ ├── a.out
│ ├── b.out
├── submissions
│ ├── 123456-a.cpp
│ ├── 123456-b.py
│ ├── 123457-a.go
| └── ...
└── ...
Use lowercase for every folder name
The submission name must follow this: {studentID}-{typeproblem}.cpp
input and output file name inside input and output folder must follow this: a.in / a.out {typeproblem.extension (in/out) }
- Clone from my GitHub repository
- Go ahead to the folder that you have cloned
- Just type
$ make init
- Just type
$ make grade
- Input Your path directory for the grader
- Use
$ pwd
to know the path - example input:
$ Input Path: /home/user/example
- Use
- The results of the assessment will be entered into the xlsx file in the input path
This app compitible to run on Unix OS