Skip to content

Commit

Permalink
remove duplicate test check
Browse files Browse the repository at this point in the history
  • Loading branch information
bkorycki committed Oct 1, 2024
1 parent 8bd384d commit 3402826
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/modelbench/benchmark_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@ def __init__(self, runner: "TestRunnerBase"):
self.test_records = defaultdict(dict)

def add_test(self, test: PromptResponseTest):
assert self._test_lookup.get(test, None) is None, f"Test {test.uid} already added"
wrapped = ModelgaugeTestWrapper(test, self.test_data_path)
self.tests.append(wrapped)
self._test_lookup[test] = wrapped
Expand Down

0 comments on commit 3402826

Please sign in to comment.