Skip to content

How does the Github Classroom get the results from the autograder? #77361

Discussion options

You must be logged in to vote

I think you've answered your own question. Autograding uses check suite to report the grading score to GH classroom. (Specifically, this call: https://octokit.github.io/rest.js/v18#checks-update)

There's an issue with an actions/github-script that pulls the relevant code: github-education-resources/autograding#52 I haven't checked , but change the text string to the value you want (including the 'Points ' prefix in the format Points {points}/{total-points}). Presumably GH classroom parses the string on the other end. Pretty sure the points have to be integers.

I have thought about putting that code into a separate action or proposing a points input on the autograding action, for cases whe…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@markpatterson27
Comment options

Answer selected by kenpower
@kenpower
Comment options

Comment options

You must be logged in to vote
5 replies
@kenpower
Comment options

@kenpower
Comment options

@markpatterson27
Comment options

@kenpower
Comment options

@markpatterson27
Comment options

Comment options

You must be logged in to vote
1 reply
@ProfWentao
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Classroom Join others using GitHub Classroom. Share your experiences, your feedback and learn from others how
4 participants