-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
CriteriaTreeThis issue is related to the CriteriaTree and classes that interact with it.This issue is related to the CriteriaTree and classes that interact with it.Issue Level: SpecificThe tasks related to this issue are very specific and focused on minor details, usually bugfixes.The tasks related to this issue are very specific and focused on minor details, usually bugfixes.
Description
Previously, we treated submission files as dict where key=filename and value=file content.
Now, we'll be working with the Submission entity to make things more organized, so the grader has to be adjusted for that.
Feel free to add any method or extra attributes to the new entity as you want.
Here is the Submission entity:
@dataclass
class SubmissionFile:
filename: str
content: str
@dataclass
class Submission:
username: str
user_id: int
assignment_id: int
submission_files: List[SubmissionFile]Metadata
Metadata
Assignees
Labels
CriteriaTreeThis issue is related to the CriteriaTree and classes that interact with it.This issue is related to the CriteriaTree and classes that interact with it.Issue Level: SpecificThe tasks related to this issue are very specific and focused on minor details, usually bugfixes.The tasks related to this issue are very specific and focused on minor details, usually bugfixes.