def process_new_result(self, arg, result): 
        if self.final_result > result:
            self.final_result = result
over write final_result with the new incoming result 
dataset/ETHPy150Open cimatosa/jobmanager/examples/simple_example.py/Example_Server.process_new_result