{"id":19287839,"url":"https://github.com/deeppavlov/qa_metrics","last_synced_at":"2026-04-14T07:33:45.723Z","repository":{"id":39740300,"uuid":"187660754","full_name":"deeppavlov/qa_metrics","owner":"deeppavlov","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-24T21:55:06.000Z","size":15,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-17T07:27:46.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deeppavlov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-20T14:51:30.000Z","updated_at":"2022-09-13T18:28:29.000Z","dependencies_parsed_at":"2025-01-05T19:21:50.626Z","dependency_job_id":"17c53d2c-8b42-41be-8dae-041d26b4040a","html_url":"https://github.com/deeppavlov/qa_metrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deeppavlov/qa_metrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fqa_metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fqa_metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fqa_metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fqa_metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deeppavlov","download_url":"https://codeload.github.com/deeppavlov/qa_metrics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeppavlov%2Fqa_metrics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31787009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T22:07:22.205Z","updated_at":"2026-04-14T07:33:45.708Z","avatar_url":"https://github.com/deeppavlov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Count ODQA metrics\n\n# Available metrics\n\n* ranker em recall\n* squad f1 v1\n* squad em v1\n\n# Usage\n\n```bash\npip install -r requirements.txt\npython count_metrics.py \u003cPATH_TO_DATASET\u003e \u003cDATASET_NAME\u003e -n \u003cTOP_N_DOCS_RANGE\u003e -ak \u003cANSWER_KEY\u003e\n```\n\n# Available datasets\n\n* sddata_pull\n* ru_squad\n\n# Example\n```bash\npython count_metrics.py dataset.csv sddata_pull -n 1 5 -ak 'Answer Toloker 1'\n```\n\nThe evaluation result is written to `metrics.log`\n\nThe model answers are written into `answer_top_n.csv` files, where `n` is the number of documents retrieved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeppavlov%2Fqa_metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeppavlov%2Fqa_metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeppavlov%2Fqa_metrics/lists"}