leaderboard/leaderboard/leaderboard_evaluator.py
def _register_statistics(self, config, checkpoint, entry_status, crash_message=""):
        """
        Computes and saved the simulation statistics
        """
        # register statistics
        current_stats_record = self.statistics_manager.compute_route_statistics(
            config,
            self.manager.scenario_duration_system,
            self.manager.scenario_duration_game,
            crash_message
        )

        print("\033[1m> Registering the route statistics\033[0m")
        self.statistics_manager.save_record(current_stats_record, config.index, checkpoint)
        self.statistics_manager.save_entry_status(entry_status, False, checkpoint)

        Computes and saved the simulation statistics
        
Computes and saved the simulation statistics
Computes and saved the simulation statistics
def _register_statistics(self, config, checkpoint, entry_status, crash_message=""):
        current_stats_record = self.statistics_manager.compute_route_statistics(
            config,
            self.manager.scenario_duration_system,
            self.manager.scenario_duration_game,
            crash_message
        )
        print("\033[1m> Registering the route statistics\033[0m")
        self.statistics_manager.save_record(current_stats_record, config.index, checkpoint)
        self.statistics_manager.save_entry_status(entry_status, False, checkpoint)
def _register_statistics ( self , config , checkpoint , entry_status , crash_message = "" ) : current_stats_record = self . statistics_manager . compute_route_statistics ( config , self . manager . scenario_duration_system , self . manager . scenario_duration_game , crash_message ) print ( "\033[1m> Registering the route statistics\033[0m" ) self . statistics_manager . save_record ( current_stats_record , config . index , checkpoint ) self . statistics_manager . save_entry_status ( entry_status , False , checkpoint )
Computes and saved the simulation statistics
Computes and saved the simulation statistics
"""
        Computes and saved the simulation statistics
        """ # register statistics
self
config
checkpoint
entry_status
crash_message