{"action":"opened","issue":{"url":"https://api.github.com/repos/s-gupta/visual-concepts/issues/1","labels_url":"https://api.github.com/repos/s-gupta/visual-concepts/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/s-gupta/visual-concepts/issues/1/comments","events_url":"https://api.github.com/repos/s-gupta/visual-concepts/issues/1/events","html_url":"https://github.com/s-gupta/visual-concepts/issues/1","id":107785896,"number":1,"title":"Possible bug in precision calculation","user":{"login":"ivendrov","id":4119248,"avatar_url":"https://avatars.githubusercontent.com/u/4119248?v=3","gravatar_id":"","url":"https://api.github.com/users/ivendrov","html_url":"https://github.com/ivendrov","followers_url":"https://api.github.com/users/ivendrov/followers","following_url":"https://api.github.com/users/ivendrov/following{/other_user}","gists_url":"https://api.github.com/users/ivendrov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivendrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivendrov/subscriptions","organizations_url":"https://api.github.com/users/ivendrov/orgs","repos_url":"https://api.github.com/users/ivendrov/repos","events_url":"https://api.github.com/users/ivendrov/events{/privacy}","received_events_url":"https://api.github.com/users/ivendrov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-22T19:38:55Z","updated_at":"2015-09-22T19:38:55Z","closed_at":null,"body":"I'm trying to figure out what [this stretch of code](https://github.com/s-gupta/visual-concepts/blob/master/cap_eval_utils.py#L26-L34) does. \r\n\r\nIt's computing precision, but in a lopsided way: it counts true positives multiple times (#captions where the word occurs * 0.8), but false positives at most once (1 if the word occurs in no captions, 0.2 if it occurs in no captions). Is this the intended behaviour?"}}