{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg-email-server/issues/5","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg-email-server/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg-email-server/issues/5/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg-email-server/issues/5/events","html_url":"https://github.com/HabitRPG/habitrpg-email-server/issues/5","id":119984577,"number":5,"title":"Negative habits misrepresented in the Weekly report","user":{"login":"lynxlynxlynx","id":121515,"avatar_url":"https://avatars.githubusercontent.com/u/121515?v=3","gravatar_id":"","url":"https://api.github.com/users/lynxlynxlynx","html_url":"https://github.com/lynxlynxlynx","followers_url":"https://api.github.com/users/lynxlynxlynx/followers","following_url":"https://api.github.com/users/lynxlynxlynx/following{/other_user}","gists_url":"https://api.github.com/users/lynxlynxlynx/gists{/gist_id}","starred_url":"https://api.github.com/users/lynxlynxlynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynxlynxlynx/subscriptions","organizations_url":"https://api.github.com/users/lynxlynxlynx/orgs","repos_url":"https://api.github.com/users/lynxlynxlynx/repos","events_url":"https://api.github.com/users/lynxlynxlynx/events{/privacy}","received_events_url":"https://api.github.com/users/lynxlynxlynx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-02T16:43:13Z","updated_at":"2015-12-03T17:08:02Z","closed_at":null,"body":"Habits that are negative-only can't get blue, so their maximum is at the yellow value range. However, the counter in the weekly report still considers such habits as bad, even though this is the best they can be (besides not existing).\r\n\r\nI propose that they (and only they) be counted as good if their value is above -1.1. The asymptote seems to be near -1.0xyz for my few examples, not zero as I expected. The code is currently just checking if the value is less than 1 and disregarding the type."},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg-email-server/issues/comments/161718235","html_url":"https://github.com/HabitRPG/habitrpg-email-server/issues/5#issuecomment-161718235","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg-email-server/issues/5","id":161718235,"user":{"login":"lynxlynxlynx","id":121515,"avatar_url":"https://avatars.githubusercontent.com/u/121515?v=3","gravatar_id":"","url":"https://api.github.com/users/lynxlynxlynx","html_url":"https://github.com/lynxlynxlynx","followers_url":"https://api.github.com/users/lynxlynxlynx/followers","following_url":"https://api.github.com/users/lynxlynxlynx/following{/other_user}","gists_url":"https://api.github.com/users/lynxlynxlynx/gists{/gist_id}","starred_url":"https://api.github.com/users/lynxlynxlynx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lynxlynxlynx/subscriptions","organizations_url":"https://api.github.com/users/lynxlynxlynx/orgs","repos_url":"https://api.github.com/users/lynxlynxlynx/repos","events_url":"https://api.github.com/users/lynxlynxlynx/events{/privacy}","received_events_url":"https://api.github.com/users/lynxlynxlynx/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T17:08:02Z","updated_at":"2015-12-03T17:08:02Z","body":"The exact value is about -1.02666 (many digits, looks like some floating point bruhaha) and matches across tasks (over a span of 7mo - as far as my graph goes), even when pushed lower in between. The closest approximate fractions are nothing particularly nice."}}