{"action":"created","issue":{"url":"https://api.github.com/repos/exercism/x-common/issues/224","repository_url":"https://api.github.com/repos/exercism/x-common","labels_url":"https://api.github.com/repos/exercism/x-common/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/exercism/x-common/issues/224/comments","events_url":"https://api.github.com/repos/exercism/x-common/issues/224/events","html_url":"https://github.com/exercism/x-common/issues/224","id":147244863,"number":224,"title":"Allergies READ ME needs clarification ","user":{"login":"rebelwarrior","id":839013,"avatar_url":"https://avatars.githubusercontent.com/u/839013?v=3","gravatar_id":"","url":"https://api.github.com/users/rebelwarrior","html_url":"https://github.com/rebelwarrior","followers_url":"https://api.github.com/users/rebelwarrior/followers","following_url":"https://api.github.com/users/rebelwarrior/following{/other_user}","gists_url":"https://api.github.com/users/rebelwarrior/gists{/gist_id}","starred_url":"https://api.github.com/users/rebelwarrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebelwarrior/subscriptions","organizations_url":"https://api.github.com/users/rebelwarrior/orgs","repos_url":"https://api.github.com/users/rebelwarrior/repos","events_url":"https://api.github.com/users/rebelwarrior/events{/privacy}","received_events_url":"https://api.github.com/users/rebelwarrior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-10T17:38:39Z","updated_at":"2016-05-28T18:40:07Z","closed_at":null,"body":"Hi There are three ways to interpret the Allergies problem with regards to large scores. Below are the options. The first one passes the test in Elm-lang but seems incorrect to me. The second seems correct but fails the tests. And the third is possible but tests should catch it better. \r\n\r\nIf the score is >= 256 then \r\n1. **Subtract 256** from the score and calculate. \r\n2. Ignore numbers above 256; **treat score as 255** and calculate. \r\n3. Subtract 128 and mark the highest allergy and calculate, if the score is still above 128 subtract it again and calculate. You might end up with an allergy duplicated or just counted twice. \r\n\r\nSo following the first case a score of 257 equals a score of 1 since 257 - 256 is 1. This doesn't seem right to me, but if it is right then it should be stated in the Read Me.\r\n\r\nThe second is the one the READ ME alludes to but the tests fail. \r\n\r\nWhich is the way this should go? Should we clarify the READ ME with:\r\n\r\n> Scores are a representation of binary and cycle, so a score of 256 is the same as 0 and a score of 257 as 1. \r\n\r\nOr do we need to updated the *tests* and the READ ME with:\r\n\r\n> Scores higher than the maximum score should be treated as the maximum score. "},"comment":{"url":"https://api.github.com/repos/exercism/x-common/issues/comments/222323322","html_url":"https://github.com/exercism/x-common/issues/224#issuecomment-222323322","issue_url":"https://api.github.com/repos/exercism/x-common/issues/224","id":222323322,"user":{"login":"kytrinyx","id":276834,"avatar_url":"https://avatars.githubusercontent.com/u/276834?v=3","gravatar_id":"","url":"https://api.github.com/users/kytrinyx","html_url":"https://github.com/kytrinyx","followers_url":"https://api.github.com/users/kytrinyx/followers","following_url":"https://api.github.com/users/kytrinyx/following{/other_user}","gists_url":"https://api.github.com/users/kytrinyx/gists{/gist_id}","starred_url":"https://api.github.com/users/kytrinyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kytrinyx/subscriptions","organizations_url":"https://api.github.com/users/kytrinyx/orgs","repos_url":"https://api.github.com/users/kytrinyx/repos","events_url":"https://api.github.com/users/kytrinyx/events{/privacy}","received_events_url":"https://api.github.com/users/kytrinyx/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T18:40:07Z","updated_at":"2016-05-28T18:40:07Z","body":"That's really, really interesting—and could save lives."}}
{"actor":{"display_login":"kytrinyx"}}