{"action":"created","issue":{"url":"https://api.github.com/repos/Submitty/Submitty/issues/2107","repository_url":"https://api.github.com/repos/Submitty/Submitty","labels_url":"https://api.github.com/repos/Submitty/Submitty/issues/2107/labels{/name}","comments_url":"https://api.github.com/repos/Submitty/Submitty/issues/2107/comments","events_url":"https://api.github.com/repos/Submitty/Submitty/issues/2107/events","html_url":"https://github.com/Submitty/Submitty/issues/2107","id":329993777,"node_id":"MDU6SXNzdWUzMjk5OTM3Nzc=","number":2107,"title":"Gradeable model rework","user":{"login":"CouleeApps","id":711973,"node_id":"MDQ6VXNlcjcxMTk3Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/711973?v=4","gravatar_id":"","url":"https://api.github.com/users/CouleeApps","html_url":"https://github.com/CouleeApps","followers_url":"https://api.github.com/users/CouleeApps/followers","following_url":"https://api.github.com/users/CouleeApps/following{/other_user}","gists_url":"https://api.github.com/users/CouleeApps/gists{/gist_id}","starred_url":"https://api.github.com/users/CouleeApps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CouleeApps/subscriptions","organizations_url":"https://api.github.com/users/CouleeApps/orgs","repos_url":"https://api.github.com/users/CouleeApps/repos","events_url":"https://api.github.com/users/CouleeApps/events{/privacy}","received_events_url":"https://api.github.com/users/CouleeApps/received_events","type":"User","site_admin":false},"labels":[{"id":108821680,"node_id":"MDU6TGFiZWwxMDg4MjE2ODA=","url":"https://api.github.com/repos/Submitty/Submitty/labels/core%20feature","name":"core feature","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-06T19:04:19Z","updated_at":"2018-06-07T00:43:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently the `Gradeable` class contains both assignment details and (sometimes) student submission details. This creates significant data duplication and makes the concept of a \"Gradeable\" confusing. We should split the class into two parts:\r\n1. The static assignment details, configuration, grading criteria, etc\r\n2. A specific user's submission and results\r\n\r\nThis new Submission class would hold a reference to the static Gradeable, and the Gradeable would be only general configuration data with no reference to student data.\r\n\r\nHere's a quick diagram of the potential structure:\r\n\r\n![](https://i.imgur.com/4UXEf7J.jpg)"},"comment":{"url":"https://api.github.com/repos/Submitty/Submitty/issues/comments/395257291","html_url":"https://github.com/Submitty/Submitty/issues/2107#issuecomment-395257291","issue_url":"https://api.github.com/repos/Submitty/Submitty/issues/2107","id":395257291,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTI1NzI5MQ==","user":{"login":"MasterOdin","id":1845314,"node_id":"MDQ6VXNlcjE4NDUzMTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1845314?v=4","gravatar_id":"","url":"https://api.github.com/users/MasterOdin","html_url":"https://github.com/MasterOdin","followers_url":"https://api.github.com/users/MasterOdin/followers","following_url":"https://api.github.com/users/MasterOdin/following{/other_user}","gists_url":"https://api.github.com/users/MasterOdin/gists{/gist_id}","starred_url":"https://api.github.com/users/MasterOdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MasterOdin/subscriptions","organizations_url":"https://api.github.com/users/MasterOdin/orgs","repos_url":"https://api.github.com/users/MasterOdin/repos","events_url":"https://api.github.com/users/MasterOdin/events{/privacy}","received_events_url":"https://api.github.com/users/MasterOdin/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T00:43:21Z","updated_at":"2018-06-07T00:43:21Z","author_association":"MEMBER","body":"My suggestion for this would be to make a Gradeable that has the configuration details and then a GradedGradeable that inherits from Gradeable + has graded data. A GradeableComponent and a GradedGradeableComponent that inherits GradeableComponent."}}
{"actor":{"display_login":"MasterOdin"}}