You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2024. It is now read-only.
I just learned about the automatic grading features of Github Classroom and created my first test. As I understand it, an assignment can have multiple tests, and each test has an associated grade with a corresponding pytest file to check the validity of a student's submission. This works as advertised so far.
I created a first test on an assignment, for 90 points, to create a two-argument function named 'addition' that performed addition. I created three assertions: 1) the function named 'addition' exists, 2) the function has two arguments, and 3) the function performs as advertised. These three assertions are in three methods to ensure that each one will be checked and not fail overall if the first assertion fails. I want to assign 30 points to each assertion. Of course, I could create two additional tests in my assignment to accomplish this, but this seems very much like overkill. Instead, I'd like to assign points (or fractions of the total) to my different assertions, and if the fractions do not add up to one, perform a rescaling.
Does GitHub classroom allow for this enhanced functionality? If not, I'd like to investigate the possibility of my own implementation by enhancing the existing software, depending on the difficulty. Could anybody provide any insight into this?
Thanks for any help!
The text was updated successfully, but these errors were encountered:
Thumbs up for this functionality.
This is something I would love to see implemented, and I could also help. But, tbh, I have no idea how github actions operate under the hood.
I just learned about the automatic grading features of Github Classroom and created my first test. As I understand it, an assignment can have multiple tests, and each test has an associated grade with a corresponding
pytest
file to check the validity of a student's submission. This works as advertised so far.I created a first test on an assignment, for 90 points, to create a two-argument function named 'addition' that performed addition. I created three assertions: 1) the function named 'addition' exists, 2) the function has two arguments, and 3) the function performs as advertised. These three assertions are in three methods to ensure that each one will be checked and not fail overall if the first assertion fails. I want to assign 30 points to each assertion. Of course, I could create two additional tests in my assignment to accomplish this, but this seems very much like overkill. Instead, I'd like to assign points (or fractions of the total) to my different assertions, and if the fractions do not add up to one, perform a rescaling.
Does GitHub classroom allow for this enhanced functionality? If not, I'd like to investigate the possibility of my own implementation by enhancing the existing software, depending on the difficulty. Could anybody provide any insight into this?
Thanks for any help!
The text was updated successfully, but these errors were encountered: