Skip to content

Commit d5261b2

Browse files
committed
Change duplicate logic from startwith to equal
1 parent b7fbb1c commit d5261b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lmms_eval/tasks/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def _process_group_config(config, update_config=None):
339339
num_duplicate = len(
340340
list(
341341
filter(
342-
lambda x: x.startswith(name),
342+
lambda x: x == name,
343343
self.task_group_map[parent_name],
344344
)
345345
)

0 commit comments

Comments
 (0)