Skip to content

Commit

Permalink
Remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
wpietri committed Oct 3, 2024
1 parent d154fc7 commit be6f4ab
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/modelbench/benchmark_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ def _add_test_annotators(self, test: PromptResponseTest):
# Check for missing secrets without instantiating any objects
missing_secrets = []
for annotator_uid in test.get_annotators():
print(f"a={annotator_uid}")
missing_secrets.extend(ANNOTATORS.get_missing_dependencies(annotator_uid, secrets=self.secrets))
raise_if_missing_from_config(missing_secrets)

Expand Down Expand Up @@ -250,16 +249,8 @@ def __init__(self, runner: "BenchmarkRunner"):
self.benchmark_scores = defaultdict(dict)

for b in self.benchmarks:
print(f"b={b}")
for h in b.hazards():
print(f"h={h}")
for t in h.tests(self.secrets):
import inspect

print(f"t={t}")
print(f"t={inspect.getfile(t.__class__)}")
print(f"ta={t.get_annotators()}")

self.add_test(t)


Expand Down

0 comments on commit be6f4ab

Please sign in to comment.