python3 check_plagiarism.py --help
Use example:
python3 check_plagiarism.py \
-l python \
-s <sheet_id> \
-t lista01 \
--show \
--min 30
- MOSS_USER: User id in moss service (https://theory.stanford.edu/~aiken/moss/)
- GITHUB_TOKEN: Github token with repo permission
Example of script for Google Sheets automation. It depends on Worksheet template, so you will have to make some changes depending on it. This script was made for the Worksheet Template available here.
If you prefer, there is a public library too:
1x9FJJWvuo_vrcE7DA2bE8Jpz-c64FJzE-JZwSGRGN8eaV9bYX-C-pVtC
python3 ci_fixer.py --help
Use example:
python3 ci_fixer.py \
-s <sheet_id> \
-p .github/workflows/grade.py -p .github/workflows/main.yml
- GITHUB_TOKEN: Github token with workflow permission
Regrades all tasks of all students
python3 regrade_all.py --help
Use example:
python3 regrade_all.py -s <sheet_id>