diff --git a/flatland/evaluators/service.py b/flatland/evaluators/service.py index 8b15b58c7151dee5e013cdfdf09b87c496d61567..2cf4845b31acd5b986af3a607c1252e21506da51 100644 --- a/flatland/evaluators/service.py +++ b/flatland/evaluators/service.py @@ -651,7 +651,7 @@ class FlatlandRemoteEvaluationService: mean_test_complete_percentage = np.mean(self.simulation_percentage_complete_per_test[self.current_test]) if mean_test_complete_percentage < TEST_MIN_PERCENTAGE_COMPLETE_MEAN: print("=" * 15) - print("Mean percentage done too low: {} < {}. Evaluation will stop here.".format( + print("Mean percentage done too low: {:.3f} < {}. Evaluation will stop here.".format( mean_test_complete_percentage, TEST_MIN_PERCENTAGE_COMPLETE_MEAN )) @@ -870,6 +870,8 @@ class FlatlandRemoteEvaluationService: self.nb_malfunctioning_trains[-1] )) + print("Total normalized reward so far: {:.3f}".format(sum(self.simulation_rewards_normalized))) + # Write intermediate results if self.result_output_path: self.evaluation_metadata_df.to_csv(self.result_output_path)