{"action":"created","comment":{"url":"https://api.github.com/repos/miptliot/edx-platform/pulls/comments/37394260","id":37394260,"diff_hunk":"@@ -1131,11 +1131,12 @@ def dump_grading_context(course):\n \n     msg += '%s\\n' % course.grader.__class__\n     graders = {}\n-    if isinstance(course.grader, xmgraders.WeightedSubsectionsGrader):\n+    if isinstance(course.grader, xmgraders.get_grader('WeightedSubsectionsGrader')):\n         msg += '\\n'\n         msg += \"Graded sections:\\n\"\n-        for subgrader, category, weight in course.grader.sections:\n-            msg += \"  subgrader=%s, type=%s, category=%s, weight=%s\\n\" % (subgrader.__class__, subgrader.type, category, weight)\n+        for subgrader, category, weight, passing_grade in course.grader.sections:\n+            msg += \"  subgrader=%s, type=%s, category=%s, weight=%s\\n, passing_grade=%s\\n\" %\\","path":"lms/djangoapps/instructor/views/legacy.py","position":11,"original_position":11,"commit_id":"91609f26099e6110d765ebb58f67bbe7daee5811","original_commit_id":"91609f26099e6110d765ebb58f67bbe7daee5811","user":{"login":"martynovp","id":4629482,"avatar_url":"https://avatars.githubusercontent.com/u/4629482?v=3","gravatar_id":"","url":"https://api.github.com/users/martynovp","html_url":"https://github.com/martynovp","followers_url":"https://api.github.com/users/martynovp/followers","following_url":"https://api.github.com/users/martynovp/following{/other_user}","gists_url":"https://api.github.com/users/martynovp/gists{/gist_id}","starred_url":"https://api.github.com/users/martynovp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martynovp/subscriptions","organizations_url":"https://api.github.com/users/martynovp/orgs","repos_url":"https://api.github.com/users/martynovp/repos","events_url":"https://api.github.com/users/martynovp/events{/privacy}","received_events_url":"https://api.github.com/users/martynovp/received_events","type":"User","site_admin":false},"body":"Про '\\' - можно без них, пожалуйста","created_at":"2015-08-19T09:11:39Z","updated_at":"2015-08-19T09:11:39Z","html_url":"https://github.com/miptliot/edx-platform/pull/4#discussion_r37394260","pull_request_url":"https://api.github.com/repos/miptliot/edx-platform/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/miptliot/edx-platform/pulls/comments/37394260"},"html":{"href":"https://github.com/miptliot/edx-platform/pull/4#discussion_r37394260"},"pull_request":{"href":"https://api.github.com/repos/miptliot/edx-platform/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/miptliot/edx-platform/pulls/4","id":42789122,"html_url":"https://github.com/miptliot/edx-platform/pull/4","diff_url":"https://github.com/miptliot/edx-platform/pull/4.diff","patch_url":"https://github.com/miptliot/edx-platform/pull/4.patch","issue_url":"https://api.github.com/repos/miptliot/edx-platform/issues/4","number":4,"state":"open","locked":false,"title":"Оценивание","user":{"login":"polesye","id":1247491,"avatar_url":"https://avatars.githubusercontent.com/u/1247491?v=3","gravatar_id":"","url":"https://api.github.com/users/polesye","html_url":"https://github.com/polesye","followers_url":"https://api.github.com/users/polesye/followers","following_url":"https://api.github.com/users/polesye/following{/other_user}","gists_url":"https://api.github.com/users/polesye/gists{/gist_id}","starred_url":"https://api.github.com/users/polesye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polesye/subscriptions","organizations_url":"https://api.github.com/users/polesye/orgs","repos_url":"https://api.github.com/users/polesye/repos","events_url":"https://api.github.com/users/polesye/events{/privacy}","received_events_url":"https://api.github.com/users/polesye/received_events","type":"User","site_admin":false},"body":"**Epic:** http://jira.npoed.ru/browse/CORER-2\r\n\r\n**Stories:**\r\n - [Оценивание по вертикалям](http://jira.npoed.ru/browse/CORER-53)\r\n - [Добавление веса вертикалям](http://jira.npoed.ru/browse/CORER-73)\r\n - [Проходное значение](http://jira.npoed.ru/browse/CORER-91)\r\n\r\n**Документация:**\r\n - [Оценивание по вертикалям](http://confluence.npoed.ru/pages/viewpage.action?pageId=1343873)\r\n - [Добавление веса блокам (вертикалям/юнитам)](http://confluence.npoed.ru/pages/viewpage.action?pageId=1901252)\r\n - [Проходное значение](http://confluence.npoed.ru/pages/viewpage.action?pageId=2490651)\r\n - [Взвешенные вертикали - формула](http://confluence.npoed.ru/pages/viewpage.action?pageId=1901298)\r\n - [Отчеты](http://confluence.npoed.ru/pages/viewpage.action?pageId=1900576)\r\n - [Test plan - Оценивание по вертикалям](http://confluence.npoed.ru/pages/viewpage.action?pageId=1900961)\r\n - [Test plan - Добавление веса вертикалям](http://confluence.npoed.ru/pages/viewpage.action?pageId=1901230)\r\n - [Test plan - Проходное значение](http://confluence.npoed.ru/pages/viewpage.action?pageId=2916381)\r\n\r\n@martynovp please review.","created_at":"2015-08-19T08:35:46Z","updated_at":"2015-08-19T09:11:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c0922ade1cf35070660bf4a26deac65db564e9d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/miptliot/edx-platform/pulls/4/commits","review_comments_url":"https://api.github.com/repos/miptliot/edx-platform/pulls/4/comments","review_comment_url":"https://api.github.com/repos/miptliot/edx-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/miptliot/edx-platform/issues/4/comments","statuses_url":"https://api.github.com/repos/miptliot/edx-platform/statuses/91609f26099e6110d765ebb58f67bbe7daee5811","head":{"label":"raccoongang:anton/grading","ref":"anton/grading","sha":"91609f26099e6110d765ebb58f67bbe7daee5811","user":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"repo":{"id":26811891,"name":"edx-platform","full_name":"raccoongang/edx-platform","owner":{"login":"raccoongang","id":11388447,"avatar_url":"https://avatars.githubusercontent.com/u/11388447?v=3","gravatar_id":"","url":"https://api.github.com/users/raccoongang","html_url":"https://github.com/raccoongang","followers_url":"https://api.github.com/users/raccoongang/followers","following_url":"https://api.github.com/users/raccoongang/following{/other_user}","gists_url":"https://api.github.com/users/raccoongang/gists{/gist_id}","starred_url":"https://api.github.com/users/raccoongang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raccoongang/subscriptions","organizations_url":"https://api.github.com/users/raccoongang/orgs","repos_url":"https://api.github.com/users/raccoongang/repos","events_url":"https://api.github.com/users/raccoongang/events{/privacy}","received_events_url":"https://api.github.com/users/raccoongang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raccoongang/edx-platform","description":"Open edX, the edX platform that powers http://edx.org","fork":true,"url":"https://api.github.com/repos/raccoongang/edx-platform","forks_url":"https://api.github.com/repos/raccoongang/edx-platform/forks","keys_url":"https://api.github.com/repos/raccoongang/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raccoongang/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raccoongang/edx-platform/teams","hooks_url":"https://api.github.com/repos/raccoongang/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/raccoongang/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/raccoongang/edx-platform/events","assignees_url":"https://api.github.com/repos/raccoongang/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/raccoongang/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/raccoongang/edx-platform/tags","blobs_url":"https://api.github.com/repos/raccoongang/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raccoongang/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raccoongang/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/raccoongang/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raccoongang/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/raccoongang/edx-platform/languages","stargazers_url":"https://api.github.com/repos/raccoongang/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/raccoongang/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/raccoongang/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/raccoongang/edx-platform/subscription","commits_url":"https://api.github.com/repos/raccoongang/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/raccoongang/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/raccoongang/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/raccoongang/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/raccoongang/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/raccoongang/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raccoongang/edx-platform/merges","archive_url":"https://api.github.com/repos/raccoongang/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raccoongang/edx-platform/downloads","issues_url":"https://api.github.com/repos/raccoongang/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/raccoongang/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/raccoongang/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/raccoongang/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raccoongang/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/raccoongang/edx-platform/releases{/id}","created_at":"2014-11-18T14:05:58Z","updated_at":"2015-08-03T11:19:01Z","pushed_at":"2015-08-19T08:25:00Z","git_url":"git://github.com/raccoongang/edx-platform.git","ssh_url":"git@github.com:raccoongang/edx-platform.git","clone_url":"https://github.com/raccoongang/edx-platform.git","svn_url":"https://github.com/raccoongang/edx-platform","homepage":"http://openedx.org/","size":520676,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"miptliot:master","ref":"master","sha":"7673bde8988c6bf6c7c81db08884306ce0845206","user":{"login":"miptliot","id":5716590,"avatar_url":"https://avatars.githubusercontent.com/u/5716590?v=3","gravatar_id":"","url":"https://api.github.com/users/miptliot","html_url":"https://github.com/miptliot","followers_url":"https://api.github.com/users/miptliot/followers","following_url":"https://api.github.com/users/miptliot/following{/other_user}","gists_url":"https://api.github.com/users/miptliot/gists{/gist_id}","starred_url":"https://api.github.com/users/miptliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miptliot/subscriptions","organizations_url":"https://api.github.com/users/miptliot/orgs","repos_url":"https://api.github.com/users/miptliot/repos","events_url":"https://api.github.com/users/miptliot/events{/privacy}","received_events_url":"https://api.github.com/users/miptliot/received_events","type":"Organization","site_admin":false},"repo":{"id":13673806,"name":"edx-platform","full_name":"miptliot/edx-platform","owner":{"login":"miptliot","id":5716590,"avatar_url":"https://avatars.githubusercontent.com/u/5716590?v=3","gravatar_id":"","url":"https://api.github.com/users/miptliot","html_url":"https://github.com/miptliot","followers_url":"https://api.github.com/users/miptliot/followers","following_url":"https://api.github.com/users/miptliot/following{/other_user}","gists_url":"https://api.github.com/users/miptliot/gists{/gist_id}","starred_url":"https://api.github.com/users/miptliot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miptliot/subscriptions","organizations_url":"https://api.github.com/users/miptliot/orgs","repos_url":"https://api.github.com/users/miptliot/repos","events_url":"https://api.github.com/users/miptliot/events{/privacy}","received_events_url":"https://api.github.com/users/miptliot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/miptliot/edx-platform","description":"the edX learning management system (LMS) and course authoring tool, Studio","fork":true,"url":"https://api.github.com/repos/miptliot/edx-platform","forks_url":"https://api.github.com/repos/miptliot/edx-platform/forks","keys_url":"https://api.github.com/repos/miptliot/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miptliot/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miptliot/edx-platform/teams","hooks_url":"https://api.github.com/repos/miptliot/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/miptliot/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/miptliot/edx-platform/events","assignees_url":"https://api.github.com/repos/miptliot/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/miptliot/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/miptliot/edx-platform/tags","blobs_url":"https://api.github.com/repos/miptliot/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miptliot/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miptliot/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/miptliot/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miptliot/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/miptliot/edx-platform/languages","stargazers_url":"https://api.github.com/repos/miptliot/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/miptliot/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/miptliot/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/miptliot/edx-platform/subscription","commits_url":"https://api.github.com/repos/miptliot/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/miptliot/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/miptliot/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/miptliot/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/miptliot/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/miptliot/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miptliot/edx-platform/merges","archive_url":"https://api.github.com/repos/miptliot/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miptliot/edx-platform/downloads","issues_url":"https://api.github.com/repos/miptliot/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/miptliot/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/miptliot/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/miptliot/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miptliot/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/miptliot/edx-platform/releases{/id}","created_at":"2013-10-18T09:12:07Z","updated_at":"2015-07-16T09:03:51Z","pushed_at":"2015-08-19T08:35:46Z","git_url":"git://github.com/miptliot/edx-platform.git","ssh_url":"git@github.com:miptliot/edx-platform.git","clone_url":"https://github.com/miptliot/edx-platform.git","svn_url":"https://github.com/miptliot/edx-platform","homepage":"http://code.edx.org/","size":493074,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/miptliot/edx-platform/pulls/4"},"html":{"href":"https://github.com/miptliot/edx-platform/pull/4"},"issue":{"href":"https://api.github.com/repos/miptliot/edx-platform/issues/4"},"comments":{"href":"https://api.github.com/repos/miptliot/edx-platform/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/miptliot/edx-platform/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/miptliot/edx-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/miptliot/edx-platform/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/miptliot/edx-platform/statuses/91609f26099e6110d765ebb58f67bbe7daee5811"}}}}