Demo walkthrough: webtech-network/demo-autograder¶
The repository webtech-network/demo-autograder is the best reference for a working GitHub Classroom-style setup using this Action.
Why this repo matters¶
It shows, in one place:
- a complete
classroom.ymlworkflow; - grading criteria and feedback config files;
- a realistic
submission/codebase to grade; - generated feedback artifact (
relatorio.md).
Key files in the demo¶
| File | Purpose |
|---|---|
.github/workflows/classroom.yml |
Defines workflow triggers and runs webtech-network/autograder@main. |
.github/autograder/criteria.json |
Defines rubric structure and test cases. |
.github/autograder/feedback.json |
Controls feedback display settings. |
.github/autograder/setup.json |
Optional setup file (can be empty). |
submission/ |
Student files that the rubric evaluates. |
How demo layout works with this Action¶
In the demo workflow, repository checkout uses:
with:
path: submission
That makes the config files available exactly where this Action expects them:
submission/.github/autograder/criteria.jsonsubmission/.github/autograder/feedback.jsonsubmission/.github/autograder/setup.json
Adapting the demo for your own course¶
- Start from the demo workflow file and keep the checkout path as
submission. - Replace
.github/autograder/criteria.jsonwith your assignment rubric. - Tune
.github/autograder/feedback.jsonfor your feedback strategy. - Keep the job named
gradingto match current check-run export behavior. - Add the
openai-keysecret only if you usefeedback-type: ai.
Common adaptations¶
- Change triggers (
push,pull_request,workflow_dispatch) to match your class workflow. - Switch
template-presetbetweenwebdev,api, orinput_outputdepending on assignment type. - Keep feedback enabled during development (
include-feedback: "true") to inspectrelatorio.md.
Related documentation¶
- GitHub Action module overview: README.md
- Full input/output and runtime contract: configuration.md