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

Autograding and multiple test - Issue with my code? Or something else? #22

Open
sierrajulietromeo opened this issue May 11, 2024 · 0 comments

Comments

@sierrajulietromeo
Copy link

Firstly, thanks for all your efforts with the autograding. It's really appreciated and is a real time saver. I read your docs and the support.md and it said to open an issue. I previously did a search for my problem, but came up blank.

This maybe a GitHub Classroom issue rather than anything to do with the autograder, in which case, just knowing that would be progress.

I also asked this question in the GitHub education community, but the audience there seems to be mostly students and questions regarding GitHub Education.

I hope you don't mind me asking the question here as well..


I have successfully run an intro to programming module using GitHub classroom with 5 separate assignments.
It's in JS/NodeJS. I have set up and used Autograding using Jest.

Let's take the first assignment as an example. When setting up the autograding, I set it to a total of 6 points. This is because there are 6 tests.

Here is a public copy of the first assignment.

However, when commits by students are made to the classroom, if they pass ALL 6 tests, they get 6/6. However if they pass 5 of the tests, GitHub classroom reports as 0/6. I.e. they only get the points score if they pass all 6 tests.

What tweak do I need to make GitHub classroom report 4/6 passed (and 4 points awarded), and so on? Is it a change I need to make to my *.test.js file, or does the problem lie somewhere else (e.g. with GitHub Classroom)?

Many thanks for your time.

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

1 participant