parameters: (task_name, variant, distro, factor)
return_statement: return min(factors) * determine_final_multiplier(distro)
docstring: Determine the job factor.
docstring_summary: Determine the job factor.
docstring_tokens: Determine the job factor .
function: def determine_factor(task_name, variant, distro, factor):
      """Determine the job factor."""
      factors = [
          get_task_factor(task_name, MACHINE_TASK_FACTOR_OVERRIDES, PLATFORM_MACHINE, factor),
          get_task_factor(task_name, PLATFORM_TASK_FACTOR_OVERRIDES, SYS_PLATFORM, factor),
          get_task_factor(task_name, VARIANT_TASK_FACTOR_OVERRIDES, variant, factor),
          global_task_factor(task_name, GLOBAL_TASK_FACTOR_OVERRIDES, factor),
      ]
      return min(factors) * determine_final_multiplier(distro)
function_tokens: def determine_factor ( task_name , variant , distro , factor ) : factors = [ get_task_factor ( task_name , MACHINE_TASK_FACTOR_OVERRIDES , PLATFORM_MACHINE , factor ) , get_task_factor ( task_name , PLATFORM_TASK_FACTOR_OVERRIDES , SYS_PLATFORM , factor ) , get_task_factor ( task_name , VARIANT_TASK_FACTOR_OVERRIDES , variant , factor ) , global_task_factor ( task_name , GLOBAL_TASK_FACTOR_OVERRIDES , factor ) , ] return min ( factors ) * determine_final_multiplier ( distro )