{"action":"created","issue":{"url":"https://api.github.com/repos/src-d/style-analyzer/issues/478","repository_url":"https://api.github.com/repos/src-d/style-analyzer","labels_url":"https://api.github.com/repos/src-d/style-analyzer/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/src-d/style-analyzer/issues/478/comments","events_url":"https://api.github.com/repos/src-d/style-analyzer/issues/478/events","html_url":"https://github.com/src-d/style-analyzer/pull/478","id":391233600,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4ODE3MTIz","number":478,"title":"Fix Rules apply function and rule to show selection","user":{"login":"zurk","id":516045,"node_id":"MDQ6VXNlcjUxNjA0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/516045?v=4","gravatar_id":"","url":"https://api.github.com/users/zurk","html_url":"https://github.com/zurk","followers_url":"https://api.github.com/users/zurk/followers","following_url":"https://api.github.com/users/zurk/following{/other_user}","gists_url":"https://api.github.com/users/zurk/gists{/gist_id}","starred_url":"https://api.github.com/users/zurk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zurk/subscriptions","organizations_url":"https://api.github.com/users/zurk/orgs","repos_url":"https://api.github.com/users/zurk/repos","events_url":"https://api.github.com/users/zurk/events{/privacy}","received_events_url":"https://api.github.com/users/zurk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-14T19:18:19Z","updated_at":"2018-12-17T10:10:52Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/src-d/style-analyzer/pulls/478","html_url":"https://github.com/src-d/style-analyzer/pull/478","diff_url":"https://github.com/src-d/style-analyzer/pull/478.diff","patch_url":"https://github.com/src-d/style-analyzer/pull/478.patch"},"body":"Fixes https://github.com/src-d/style-analyzer/issues/461.\r\n\r\nSo there are fixes for two bugs. \r\n1. If no rule is applicable we by default predict label 0 and rule 0.\r\n2. We pick up the wrong rule to show because of two lists inconsistency: list with rule indexes and list with fixes."},"comment":{"url":"https://api.github.com/repos/src-d/style-analyzer/issues/comments/447790722","html_url":"https://github.com/src-d/style-analyzer/pull/478#issuecomment-447790722","issue_url":"https://api.github.com/repos/src-d/style-analyzer/issues/478","id":447790722,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Nzc5MDcyMg==","user":{"login":"m09","id":142691,"node_id":"MDQ6VXNlcjE0MjY5MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/142691?v=4","gravatar_id":"","url":"https://api.github.com/users/m09","html_url":"https://github.com/m09","followers_url":"https://api.github.com/users/m09/followers","following_url":"https://api.github.com/users/m09/following{/other_user}","gists_url":"https://api.github.com/users/m09/gists{/gist_id}","starred_url":"https://api.github.com/users/m09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m09/subscriptions","organizations_url":"https://api.github.com/users/m09/orgs","repos_url":"https://api.github.com/users/m09/repos","events_url":"https://api.github.com/users/m09/events{/privacy}","received_events_url":"https://api.github.com/users/m09/received_events","type":"User","site_admin":false},"created_at":"2018-12-17T10:10:52Z","updated_at":"2018-12-17T10:10:52Z","author_association":"MEMBER","body":":+1: "}}
{"actor":{"display_login":"m09"}}