{"action":"opened","issue":{"url":"https://api.github.com/repos/bcaine/maddux/issues/3","repository_url":"https://api.github.com/repos/bcaine/maddux","labels_url":"https://api.github.com/repos/bcaine/maddux/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bcaine/maddux/issues/3/comments","events_url":"https://api.github.com/repos/bcaine/maddux/issues/3/events","html_url":"https://github.com/bcaine/maddux/issues/3","id":148515900,"number":3,"title":"Create reward function for RL","user":{"login":"bcaine","id":1737445,"avatar_url":"https://avatars.githubusercontent.com/u/1737445?v=3","gravatar_id":"","url":"https://api.github.com/users/bcaine","html_url":"https://github.com/bcaine","followers_url":"https://api.github.com/users/bcaine/followers","following_url":"https://api.github.com/users/bcaine/following{/other_user}","gists_url":"https://api.github.com/users/bcaine/gists{/gist_id}","starred_url":"https://api.github.com/users/bcaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcaine/subscriptions","organizations_url":"https://api.github.com/users/bcaine/orgs","repos_url":"https://api.github.com/users/bcaine/repos","events_url":"https://api.github.com/users/bcaine/events{/privacy}","received_events_url":"https://api.github.com/users/bcaine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bcaine","id":1737445,"avatar_url":"https://avatars.githubusercontent.com/u/1737445?v=3","gravatar_id":"","url":"https://api.github.com/users/bcaine","html_url":"https://github.com/bcaine","followers_url":"https://api.github.com/users/bcaine/followers","following_url":"https://api.github.com/users/bcaine/following{/other_user}","gists_url":"https://api.github.com/users/bcaine/gists{/gist_id}","starred_url":"https://api.github.com/users/bcaine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcaine/subscriptions","organizations_url":"https://api.github.com/users/bcaine/orgs","repos_url":"https://api.github.com/users/bcaine/repos","events_url":"https://api.github.com/users/bcaine/events{/privacy}","received_events_url":"https://api.github.com/users/bcaine/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-04-15T00:03:08Z","updated_at":"2016-04-15T00:03:08Z","closed_at":null,"body":"Potentially:\r\n\r\n```python\r\nif throw:\r\n    return - distance - max(distance)\r\nelse:\r\n    return distance\r\n```\r\n\r\nDo we need a differentiable one instead? "}}