Source code for capreolus.benchmark.dummy

from capreolus import Dependency, constants

from . import Benchmark

[docs]PACKAGE_PATH = constants["PACKAGE_PATH"]
[docs]@Benchmark.register class DummyBenchmark(Benchmark): """Tiny benchmark for testing"""
[docs] module_name = "dummy"
[docs] dependencies = [Dependency(key="collection", module="collection", name="dummy")]
[docs] qrel_file = PACKAGE_PATH / "data" / "qrels.dummy.txt"
[docs] topic_file = PACKAGE_PATH / "data" / "topics.dummy.txt"
[docs] fold_file = PACKAGE_PATH / "data" / "dummy_folds.json"
[docs] query_type = "title"