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

Autograding with points stops working if any tests are edited #190

@mh-skjelvareid

Description

@mh-skjelvareid

Autograding allows for automatically awarding points when individual tests pass. If you create the tests and don't touch them again, it works. However: If you edit any tests, all the test points become blank. If you try resetting the points for a test, the changes are not saved.

If you have a test user and clone the repository for the assignment, you can see how the points are missing by opening .github/classroom/autograding.json . All points are set to null.

This behavior has been observed by multiple users:

Minimal example to recreate:

  • Create a new assignment
  • Create a test, e.g. based on pytest (run pytest test.py) and set a number of points for the test (e.g. 5)
  • Save the test and the assignment
  • Re-open the assignment and edit the test - the point field is now blank

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