The AutoGrader supports two primary workflows via the Dashboard and a headless CLI mode for advanced users.
Use this mode when you already have *Tester.java files.
Preparation Table:
| Upload slot | What to select | Description |
|---|---|---|
| Submissions | Zip Folder | A folder containing student .zip files. |
| Tester Files | Tester Folder | The folder containing your *Tester.java files. |
| Exam Template | Template Folder | The RenameToYourUsername/ folder defining the expected structure. |
Steps:
- Upload the three required folders.
- Click Upload & Prepare.
- Click Start Execution.
- View results in the table and download the CSV.
Use this mode when you need the AI to generate tests from a question paper.
Steps:
- Upload your question paper (PDF/TXT/MD).
- Select the exam template folder.
- Click Generate Tests (uses local Ollama).
- Review and edit the generated code in the editor.
- Click Commit All Tests to save and begin execution.
The core engine can be run directly from the terminal without the dashboard.
# Windows
scripts\run.bat --submissions <path-to-zips>
# macOS / Linux
./scripts/run.sh --submissions <path-to-zips>| Flag | Description | Default |
|---|---|---|
--submissions <path> |
Required. Directory containing student .zip files |
— |
--testers <path> |
Directory containing *Tester.java files |
Tester-Files |
--template <path> |
Template folder for structural validation | RenameToYourUsername |
--output <path> |
Output CSV path | results/results.csv |
--workdir <path> |
Temp directory for extraction and compilation | work |
--validate-only |
Validate structure only, skip Docker execution | false |