Skip to content

Commit e0d255f

Browse files
committed
fix
1 parent fea84d6 commit e0d255f

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

verifiers/utils/eval_tui.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -455,17 +455,8 @@ def print_final_summary(self) -> None:
455455

456456
# use env_state.total for actual resolved values
457457
total_rollouts = env_state.total
458-
if config.independent_scoring:
459-
actual_num_examples = (
460-
total_rollouts // config.rollouts_per_example
461-
if total_rollouts > 0
462-
else config.num_examples
463-
)
464-
else:
465-
actual_num_examples = (
466-
total_rollouts if total_rollouts > 0 else config.num_examples
467-
)
468-
n = f"{actual_num_examples}x{config.rollouts_per_example} ({total_rollouts} rollouts)"
458+
num_examples = total_rollouts // config.rollouts_per_example
459+
n = f"{num_examples}x{config.rollouts_per_example} ({total_rollouts} rollouts)"
469460

470461
reward = (
471462
f"{env_state.metrics.get('reward', 0):.3f}"

0 commit comments

Comments
 (0)