def run_time_limit(self, desired_result, default=3600.0 * 24 * 365 * 10):
    best = self.results_query(objective_ordered=True).first()
    if best is None:
      if desired_result.limit:
        return desired_result.limit
      else:
        return default

    if desired_result.limit:
      return min(desired_result.limit, self.upper_limit_multiplier * best.time)
    else:
      return self.default_limit_multiplier * best.time
Returns the color in the line, if any hsla is found.
dataset/ETHPy150Open jansel/opentuner/opentuner/measurement/driver.py/MeasurementDriver.run_time_limit--crossover with--dataset/ETHPy150Open ggordan/GutterColor/line.py/Line.hsla_color