Skip to content

Detailed steps for the grading. #4

@sabiharustam

Description

@sabiharustam

Grading:
• Github username of the students are in excel cell
• Useful scripts for making grading so much easier are here: https://github.com/UWDIRECT/homework_grading_scripts/blob/master
Steps:
1) Clone the repositories to your local machine:
• There is a bash script called "clone_all.sh", you will need to create "list.txt" file which contains the github username of students.
• Based on the homework you are grading the only line you will need to change is if it is dsmcer or seds and the homework number:
name2="https://github.com/UWDIRECT-2021/dsmcer-hw1-"
• You need to generate api token using this website: https://github.com/settings/tokens make sure you have select all the scopes. I think mine failed without selecting some of them. It is also good to save the token for reusing. It will disappear...
• you can now clone all the repositories to your selected location by cd to chosen directories, make sure you have list.txt and clone_all.sh in that directory or know where it is located. Then you can just source the bash file by typing "source clone_all.sh" if your file is located there.
• When you run the batch submit issues script, it will ask you once for your username, put it in. But when it asks for your password, paste in the token.
2) Grade the home works and edit the issue template.
3) Submit the issues in batch.
• To submit the issues, you need to have the batch_submit_issues.sh file in your directory where you have all the repositories.
• You need hub for the batch submission. If you don't have one already, you can "brew install hub" (for the macOs user and if you have homebrew installed already).
• Make sure to edit batch_submit_issues.sh and add "sleep 5" at the end of the for loop (right before the final line "Done" but indented to be included in the for loop). This will prevent from generating error message "You have triggered an abuse detection mechanism and have been temporarily blocked from content creation. Please retry your request again later."
• Finally, you only need to run ' source batch_submit_issues.sh "Your commit message" '.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions