File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff 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} "
You can’t perform that action at this time.
0 commit comments