{"action":"closed","number":5098,"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/5098","id":194453165,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NDUzMTY1","html_url":"https://github.com/oppia/oppia/pull/5098","diff_url":"https://github.com/oppia/oppia/pull/5098.diff","patch_url":"https://github.com/oppia/oppia/pull/5098.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/5098","number":5098,"state":"closed","locked":false,"title":"Fix #3836: Upgrade training interface to show unresolved answers.","user":{"login":"prasanna08","id":8678373,"node_id":"MDQ6VXNlcjg2NzgzNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8678373?v=4","gravatar_id":"","url":"https://api.github.com/users/prasanna08","html_url":"https://github.com/prasanna08","followers_url":"https://api.github.com/users/prasanna08/followers","following_url":"https://api.github.com/users/prasanna08/following{/other_user}","gists_url":"https://api.github.com/users/prasanna08/gists{/gist_id}","starred_url":"https://api.github.com/users/prasanna08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasanna08/subscriptions","organizations_url":"https://api.github.com/users/prasanna08/orgs","repos_url":"https://api.github.com/users/prasanna08/repos","events_url":"https://api.github.com/users/prasanna08/events{/privacy}","received_events_url":"https://api.github.com/users/prasanna08/received_events","type":"User","site_admin":false},"body":"This PR implements 2nd milestone of the ML training interface project. It implements following things:\r\n* A new teach Oppia modal to show unresolved answers.\r\n* A new training data editor which allows modifications to the training data and adding new answers to training data (fixing #3170).\r\n\r\nFew screenshots of new interface:\r\n## Teach Oppia Modal\r\n\r\n>  ![teach oppia modal](https://user-images.githubusercontent.com/8678373/41325990-afbb55ca-6eda-11e8-9d77-bb11cd62a09a.png)\r\n\r\n\r\n### Upon clicking `Fix` button\r\n\r\n> ![teach oppia modal 2](https://user-images.githubusercontent.com/8678373/41326067-e8b07d1a-6eda-11e8-9517-a8fc3b8ca140.png)\r\n\r\n\r\n### When all of the unresolved answers have been addressed.\r\n\r\n> ![teach oppia modal 1](https://user-images.githubusercontent.com/8678373/41326079-f5128d78-6eda-11e8-87e8-7e03890cd4ac.png)\r\n\r\n\r\n## Training Data Editor\r\n\r\n> ![training data editor 1](https://user-images.githubusercontent.com/8678373/41326084-01825b9c-6edb-11e8-8941-d4f6035814eb.png)\r\n\r\n\r\n### Upon clicking on any answer of training data\r\n\r\n> ![training data editor 4](https://user-images.githubusercontent.com/8678373/41326096-0dfb059a-6edb-11e8-8f18-4994fb88015b.png)\r\n\r\n\r\n### `Add New Answer` tab\r\n\r\n> ![training data editor 2](https://user-images.githubusercontent.com/8678373/41326104-1aa5c8a2-6edb-11e8-8608-2dbf0c931e70.png)\r\n\r\n### When new added answer is explicitly classified (using either hard rules or training data classification)\r\n\r\n> ![training data editor 3](https://user-images.githubusercontent.com/8678373/41326124-33da018a-6edb-11e8-8543-7406f9fef98d.png)\r\n\r\n## Answer Group Editor\r\nIt now provides `Modify Training Data` button.\r\n\r\n> ![new answer group editor](https://user-images.githubusercontent.com/8678373/41326151-4f7726d4-6edb-11e8-9245-a35cc50b66f4.png)\r\n\r\n\r\n-------------------------------------------------------------------------------------------------------------------------------------------\r\n### Enable interface\r\n1. To enble the new training interface flip following constant in feconf.py file.\r\n```\r\n  SHOW_TRAINABLE_UNRESOLVED_ANSWERS\r\n```\r\n2.Create an exploration with TextInput / CodeRepl interaction. It should work only for them as they are only trainable interactions available in Oppia.\r\n","created_at":"2018-06-13T02:10:16Z","updated_at":"2018-07-05T03:32:29Z","closed_at":"2018-07-05T03:32:29Z","merged_at":"2018-07-05T03:32:29Z","merge_commit_sha":"b15e4120aa4df83ebb60d5b412c987817ea246bd","assignee":{"login":"prasanna08","id":8678373,"node_id":"MDQ6VXNlcjg2NzgzNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8678373?v=4","gravatar_id":"","url":"https://api.github.com/users/prasanna08","html_url":"https://github.com/prasanna08","followers_url":"https://api.github.com/users/prasanna08/followers","following_url":"https://api.github.com/users/prasanna08/following{/other_user}","gists_url":"https://api.github.com/users/prasanna08/gists{/gist_id}","starred_url":"https://api.github.com/users/prasanna08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasanna08/subscriptions","organizations_url":"https://api.github.com/users/prasanna08/orgs","repos_url":"https://api.github.com/users/prasanna08/repos","events_url":"https://api.github.com/users/prasanna08/events{/privacy}","received_events_url":"https://api.github.com/users/prasanna08/received_events","type":"User","site_admin":false},"assignees":[{"login":"prasanna08","id":8678373,"node_id":"MDQ6VXNlcjg2NzgzNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8678373?v=4","gravatar_id":"","url":"https://api.github.com/users/prasanna08","html_url":"https://github.com/prasanna08","followers_url":"https://api.github.com/users/prasanna08/followers","following_url":"https://api.github.com/users/prasanna08/following{/other_user}","gists_url":"https://api.github.com/users/prasanna08/gists{/gist_id}","starred_url":"https://api.github.com/users/prasanna08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasanna08/subscriptions","organizations_url":"https://api.github.com/users/prasanna08/orgs","repos_url":"https://api.github.com/users/prasanna08/repos","events_url":"https://api.github.com/users/prasanna08/events{/privacy}","received_events_url":"https://api.github.com/users/prasanna08/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/5098/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/5098/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/5098/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/e9ade8f94522b2024e4b9c8c73f01711ee02b571","head":{"label":"prasanna08:training_interface","ref":"training_interface","sha":"e9ade8f94522b2024e4b9c8c73f01711ee02b571","user":{"login":"prasanna08","id":8678373,"node_id":"MDQ6VXNlcjg2NzgzNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8678373?v=4","gravatar_id":"","url":"https://api.github.com/users/prasanna08","html_url":"https://github.com/prasanna08","followers_url":"https://api.github.com/users/prasanna08/followers","following_url":"https://api.github.com/users/prasanna08/following{/other_user}","gists_url":"https://api.github.com/users/prasanna08/gists{/gist_id}","starred_url":"https://api.github.com/users/prasanna08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasanna08/subscriptions","organizations_url":"https://api.github.com/users/prasanna08/orgs","repos_url":"https://api.github.com/users/prasanna08/repos","events_url":"https://api.github.com/users/prasanna08/events{/privacy}","received_events_url":"https://api.github.com/users/prasanna08/received_events","type":"User","site_admin":false},"repo":{"id":49757386,"node_id":"MDEwOlJlcG9zaXRvcnk0OTc1NzM4Ng==","name":"oppia","full_name":"prasanna08/oppia","owner":{"login":"prasanna08","id":8678373,"node_id":"MDQ6VXNlcjg2NzgzNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8678373?v=4","gravatar_id":"","url":"https://api.github.com/users/prasanna08","html_url":"https://github.com/prasanna08","followers_url":"https://api.github.com/users/prasanna08/followers","following_url":"https://api.github.com/users/prasanna08/following{/other_user}","gists_url":"https://api.github.com/users/prasanna08/gists{/gist_id}","starred_url":"https://api.github.com/users/prasanna08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasanna08/subscriptions","organizations_url":"https://api.github.com/users/prasanna08/orgs","repos_url":"https://api.github.com/users/prasanna08/repos","events_url":"https://api.github.com/users/prasanna08/events{/privacy}","received_events_url":"https://api.github.com/users/prasanna08/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prasanna08/oppia","description":"Tool for collaboratively building intelligent tutors.","fork":true,"url":"https://api.github.com/repos/prasanna08/oppia","forks_url":"https://api.github.com/repos/prasanna08/oppia/forks","keys_url":"https://api.github.com/repos/prasanna08/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prasanna08/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prasanna08/oppia/teams","hooks_url":"https://api.github.com/repos/prasanna08/oppia/hooks","issue_events_url":"https://api.github.com/repos/prasanna08/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/prasanna08/oppia/events","assignees_url":"https://api.github.com/repos/prasanna08/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/prasanna08/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/prasanna08/oppia/tags","blobs_url":"https://api.github.com/repos/prasanna08/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prasanna08/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prasanna08/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/prasanna08/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prasanna08/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/prasanna08/oppia/languages","stargazers_url":"https://api.github.com/repos/prasanna08/oppia/stargazers","contributors_url":"https://api.github.com/repos/prasanna08/oppia/contributors","subscribers_url":"https://api.github.com/repos/prasanna08/oppia/subscribers","subscription_url":"https://api.github.com/repos/prasanna08/oppia/subscription","commits_url":"https://api.github.com/repos/prasanna08/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/prasanna08/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/prasanna08/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/prasanna08/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/prasanna08/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/prasanna08/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prasanna08/oppia/merges","archive_url":"https://api.github.com/repos/prasanna08/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prasanna08/oppia/downloads","issues_url":"https://api.github.com/repos/prasanna08/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/prasanna08/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/prasanna08/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/prasanna08/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prasanna08/oppia/labels{/name}","releases_url":"https://api.github.com/repos/prasanna08/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/prasanna08/oppia/deployments","created_at":"2016-01-16T03:21:22Z","updated_at":"2018-07-04T04:34:56Z","pushed_at":"2018-07-04T14:56:30Z","git_url":"git://github.com/prasanna08/oppia.git","ssh_url":"git@github.com:prasanna08/oppia.git","clone_url":"https://github.com/prasanna08/oppia.git","svn_url":"https://github.com/prasanna08/oppia","homepage":"https://www.oppia.org","size":104093,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"c8e51c650d1a58a227b32a75109560fb6f8528b6","user":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"node_id":"MDEwOlJlcG9zaXRvcnk0MDY4NzU2Mw==","name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNjIwMjMw","avatar_url":"https://avatars1.githubusercontent.com/u/11620230?v=4","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building interactive lessons.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2018-07-04T19:37:01Z","pushed_at":"2018-07-05T03:32:29Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":104757,"stargazers_count":681,"watchers_count":681,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":653,"mirror_url":null,"archived":false,"open_issues_count":338,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":653,"open_issues":338,"watchers":681,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5098"},"html":{"href":"https://github.com/oppia/oppia/pull/5098"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/5098"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/5098/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5098/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/5098/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/e9ade8f94522b2024e4b9c8c73f01711ee02b571"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"prasanna08","id":8678373,"node_id":"MDQ6VXNlcjg2NzgzNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8678373?v=4","gravatar_id":"","url":"https://api.github.com/users/prasanna08","html_url":"https://github.com/prasanna08","followers_url":"https://api.github.com/users/prasanna08/followers","following_url":"https://api.github.com/users/prasanna08/following{/other_user}","gists_url":"https://api.github.com/users/prasanna08/gists{/gist_id}","starred_url":"https://api.github.com/users/prasanna08/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasanna08/subscriptions","organizations_url":"https://api.github.com/users/prasanna08/orgs","repos_url":"https://api.github.com/users/prasanna08/repos","events_url":"https://api.github.com/users/prasanna08/events{/privacy}","received_events_url":"https://api.github.com/users/prasanna08/received_events","type":"User","site_admin":false},"comments":20,"review_comments":131,"maintainer_can_modify":false,"commits":20,"additions":881,"deletions":781,"changed_files":32}}
{"actor":{"display_login":"prasanna08"}}