Source code for capreolus.benchmark.covidabstract

from capreolus import Dependency, constants

from . import Benchmark, IRDBenchmark

[docs]PACKAGE_PATH = constants["PACKAGE_PATH"]
@Benchmark.register
[docs]class CovidAbstract(IRDBenchmark):
[docs] module_name = "covidabstract"
[docs] query_type = "title"
[docs] ird_dataset_names = ["cord19/trec-covid"]
[docs] dependencies = [Dependency(key="collection", module="collection", name="covidabstract")]
[docs] fold_file = PACKAGE_PATH / "data" / "covid_random_folds.json"