Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Achieving finer granularity #111

Open
erlebach opened this issue Jul 1, 2023 · 1 comment
Open

Achieving finer granularity #111

erlebach opened this issue Jul 1, 2023 · 1 comment

Comments

@erlebach
Copy link

erlebach commented Jul 1, 2023

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!

@fillipefeitosa
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants