{"action":"created","issue":{"url":"https://api.github.com/repos/PlanScore/PlanScore/issues/200","repository_url":"https://api.github.com/repos/PlanScore/PlanScore","labels_url":"https://api.github.com/repos/PlanScore/PlanScore/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/PlanScore/PlanScore/issues/200/comments","events_url":"https://api.github.com/repos/PlanScore/PlanScore/issues/200/events","html_url":"https://github.com/PlanScore/PlanScore/issues/200","id":294604866,"number":200,"title":"Modify metric texts and cutoffs","user":{"login":"migurski","id":58730,"avatar_url":"https://avatars0.githubusercontent.com/u/58730?v=4","gravatar_id":"","url":"https://api.github.com/users/migurski","html_url":"https://github.com/migurski","followers_url":"https://api.github.com/users/migurski/followers","following_url":"https://api.github.com/users/migurski/following{/other_user}","gists_url":"https://api.github.com/users/migurski/gists{/gist_id}","starred_url":"https://api.github.com/users/migurski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migurski/subscriptions","organizations_url":"https://api.github.com/users/migurski/orgs","repos_url":"https://api.github.com/users/migurski/repos","events_url":"https://api.github.com/users/migurski/events{/privacy}","received_events_url":"https://api.github.com/users/migurski/received_events","type":"User","site_admin":false},"labels":[{"id":605784286,"url":"https://api.github.com/repos/PlanScore/PlanScore/labels/static-website","name":"static-website","color":"128A0C","default":false}],"state":"open","locked":false,"assignee":{"login":"gregallensworth","id":3117633,"avatar_url":"https://avatars2.githubusercontent.com/u/3117633?v=4","gravatar_id":"","url":"https://api.github.com/users/gregallensworth","html_url":"https://github.com/gregallensworth","followers_url":"https://api.github.com/users/gregallensworth/followers","following_url":"https://api.github.com/users/gregallensworth/following{/other_user}","gists_url":"https://api.github.com/users/gregallensworth/gists{/gist_id}","starred_url":"https://api.github.com/users/gregallensworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregallensworth/subscriptions","organizations_url":"https://api.github.com/users/gregallensworth/orgs","repos_url":"https://api.github.com/users/gregallensworth/repos","events_url":"https://api.github.com/users/gregallensworth/events{/privacy}","received_events_url":"https://api.github.com/users/gregallensworth/received_events","type":"User","site_admin":false},"assignees":[{"login":"gregallensworth","id":3117633,"avatar_url":"https://avatars2.githubusercontent.com/u/3117633?v=4","gravatar_id":"","url":"https://api.github.com/users/gregallensworth","html_url":"https://github.com/gregallensworth","followers_url":"https://api.github.com/users/gregallensworth/followers","following_url":"https://api.github.com/users/gregallensworth/following{/other_user}","gists_url":"https://api.github.com/users/gregallensworth/gists{/gist_id}","starred_url":"https://api.github.com/users/gregallensworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregallensworth/subscriptions","organizations_url":"https://api.github.com/users/gregallensworth/orgs","repos_url":"https://api.github.com/users/gregallensworth/repos","events_url":"https://api.github.com/users/gregallensworth/events{/privacy}","received_events_url":"https://api.github.com/users/gregallensworth/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-06T01:50:14Z","updated_at":"2018-02-06T16:36:11Z","closed_at":null,"author_association":"COLLABORATOR","body":"Currently, the metric cutoff for a balanced plan is ±4%. Mean-Median has a slightly different range from the other two metrics, so it should instead be ±2%.\r\n\r\nWe should also keep the complete metric sentence even when a plan is balanced. For example, [this Minnesota page](https://planscore.org/minnesota/#!2002-plan-ushouse-eg) should still have the “balanced plan” text, but it should also have the other sentence “Votes for Republican candidates were wasted at a rate 4% lower than votes for Democratic candidates.”\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/PlanScore/PlanScore/issues/comments/363481834","html_url":"https://github.com/PlanScore/PlanScore/issues/200#issuecomment-363481834","issue_url":"https://api.github.com/repos/PlanScore/PlanScore/issues/200","id":363481834,"user":{"login":"gregallensworth","id":3117633,"avatar_url":"https://avatars2.githubusercontent.com/u/3117633?v=4","gravatar_id":"","url":"https://api.github.com/users/gregallensworth","html_url":"https://github.com/gregallensworth","followers_url":"https://api.github.com/users/gregallensworth/followers","following_url":"https://api.github.com/users/gregallensworth/following{/other_user}","gists_url":"https://api.github.com/users/gregallensworth/gists{/gist_id}","starred_url":"https://api.github.com/users/gregallensworth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregallensworth/subscriptions","organizations_url":"https://api.github.com/users/gregallensworth/orgs","repos_url":"https://api.github.com/users/gregallensworth/repos","events_url":"https://api.github.com/users/gregallensworth/events{/privacy}","received_events_url":"https://api.github.com/users/gregallensworth/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T16:36:11Z","updated_at":"2018-02-06T16:36:11Z","author_association":"CONTRIBUTOR","body":"The above set of commits brings the requested changes to the is-imbalanced flag being separated from the favored party, and of BIAS_BALANCED_THRESHOLD being metric-specific.\r\n\r\nIt **also** brings a refactoring of the metric-boxes logic here. There are some new details in the `lookupBias()` return, such as\r\n* the `cssclass` so we don't need to to \"party.toLowerCase() if unbalanced else 'balanced'\" sort of logic\r\n* the D/R boxes on the page now use the `favor_party_code` instead of replicating the \"favor party.substr(1).toUpperCase()\" logic\r\n"}}
{"actor":{"display_login":"gregallensworth"}}