Skip to content

New API model - #372

Open
nadjajovancevic wants to merge 4 commits into
mainfrom
feat/new-api-model
Open

nadjajovancevic wants to merge 4 commits into
mainfrom
feat/new-api-model

Conversation

@nadjajovancevic

Copy link
Copy Markdown
Contributor

The API model has been updated to match the requirements of the new design.
Except for introducing the new DTOs, I also defined enum objects for GradingMethod (previously autograde_type) and AssignmentStatus.

After these changes have been approved, I will generate new classes using this model.

After these changes take place, refactoring the endpoints will be necessary, both in backend and frontend, after the model is finalized.

natkam and others added 3 commits May 20, 2026 15:43
* chore: Add docstring to `gitlookup` method of `GitBaseHandler`

* cleanup: Remove/reduce outputs from test notebooks. Adjust LimitOutput preprocessor's tests.

The size of some of them was quite big.

* chore: speed up some of the slowest tests

Feedback generation tests don't need to run the whole pipeline of executors,
so I've "mocked" the autograding process by setting up a minimal gradebook.
This sped up some of the tests from e.g. ~8 s to <2 s.

* chore: Add a pytest marker "slow" to the slowest tests

* chore: Remove some dead code from converter tests

* fix: Use url-specific method instead of `os.path` to handle a url

* fix: Fix some deprecation warnings from sqlalchemy

* fix: Exclude tests from coverage report

* Remove deprecated attributes from KubeGraderExecutor

According to the docstrings, they were supposed to be removed in v0.8.

* chore: Fix a docstring

* fix: Fix a typo in variable name, add a missing import

* cleanup: Remove unused functions from utils

* chore: Update a docstring (leftover deleted attr); improve formatting of a str
@nadjajovancevic
nadjajovancevic requested a review from natkam June 8, 2026 08:57
type: "integer"
format: "int64"
name:
commit_hash:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could rename it to hash or version_hash to avoid using Git terminology :)

Base automatically changed from release-0.12.4 to main July 8, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants