Skip to content

Commit d86fc42

Browse files
author
silviase
committed
test: limit MECHA-ja second test run to max_dataset_len for faster CI
1 parent 6358651 commit d86fc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval_mm/tasks/mecha_ja.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_task():
165165
assert isinstance(task.doc_to_id(ds[0]), str)
166166
assert isinstance(task.doc_to_answer(ds[0]), str)
167167

168-
task = MECHAJa(TaskConfig(rotate_choices=True))
168+
task = MECHAJa(TaskConfig(max_dataset_len=10, rotate_choices=True))
169169
ds = task.dataset
170170
print(ds[0])
171171
assert isinstance(task.doc_to_text(ds[0]), str)

0 commit comments

Comments
 (0)