{"action":"created","issue":{"url":"https://api.github.com/repos/iit-cs429/main/issues/66","labels_url":"https://api.github.com/repos/iit-cs429/main/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/iit-cs429/main/issues/66/comments","events_url":"https://api.github.com/repos/iit-cs429/main/issues/66/events","html_url":"https://github.com/iit-cs429/main/issues/66","id":60066021,"number":66,"title":"Assignment 3: Precision measure","user":{"login":"dougcirqueira","id":4992404,"avatar_url":"https://avatars.githubusercontent.com/u/4992404?v=3","gravatar_id":"","url":"https://api.github.com/users/dougcirqueira","html_url":"https://github.com/dougcirqueira","followers_url":"https://api.github.com/users/dougcirqueira/followers","following_url":"https://api.github.com/users/dougcirqueira/following{/other_user}","gists_url":"https://api.github.com/users/dougcirqueira/gists{/gist_id}","starred_url":"https://api.github.com/users/dougcirqueira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougcirqueira/subscriptions","organizations_url":"https://api.github.com/users/dougcirqueira/orgs","repos_url":"https://api.github.com/users/dougcirqueira/repos","events_url":"https://api.github.com/users/dougcirqueira/events{/privacy}","received_events_url":"https://api.github.com/users/dougcirqueira/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-06T06:44:44Z","updated_at":"2015-03-06T08:56:18Z","closed_at":null,"body":"Hi,\r\n\r\nIt is oriented that we must compute the metrics for the top-20 results. In the case of precision, for example, we need to do like:\r\n```python\r\nprecision = number_relevant_docs / 20\r\n```\r\nAm I right?\r\n\r\nThank you!"},"comment":{"url":"https://api.github.com/repos/iit-cs429/main/issues/comments/77526254","html_url":"https://github.com/iit-cs429/main/issues/66#issuecomment-77526254","issue_url":"https://api.github.com/repos/iit-cs429/main/issues/66","id":77526254,"user":{"login":"dougcirqueira","id":4992404,"avatar_url":"https://avatars.githubusercontent.com/u/4992404?v=3","gravatar_id":"","url":"https://api.github.com/users/dougcirqueira","html_url":"https://github.com/dougcirqueira","followers_url":"https://api.github.com/users/dougcirqueira/followers","following_url":"https://api.github.com/users/dougcirqueira/following{/other_user}","gists_url":"https://api.github.com/users/dougcirqueira/gists{/gist_id}","starred_url":"https://api.github.com/users/dougcirqueira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougcirqueira/subscriptions","organizations_url":"https://api.github.com/users/dougcirqueira/orgs","repos_url":"https://api.github.com/users/dougcirqueira/repos","events_url":"https://api.github.com/users/dougcirqueira/events{/privacy}","received_events_url":"https://api.github.com/users/dougcirqueira/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T08:56:18Z","updated_at":"2015-03-06T08:56:18Z","body":"It's true! Thanks for your observation @saiarjuntanguturi ! However, how about in the case when my query returns more than 20 results? I know that we need to find the relevant docs among the returned number, but as we are supposed to calculate in the top-20, does it mean that I should compute dividing by 20, when I have 20, or the total of retrieved documents? "}}