def save_regression_range(testcase_id, regression_range_start, regression_range_end):
    'Saves the regression range and creates blame and impact task if needed.'
    testcase = data_handler.get_testcase_by_id(testcase_id)
    testcase.regression = ('%d:%d' % (regression_range_start, regression_range_end))
    data_handler.update_testcase_comment(testcase, data_types.TaskState.FINISHED, ('regressed in range %s' % testcase.regression))
    write_to_big_query(testcase, regression_range_start, regression_range_end)
    task_creation.create_impact_task_if_needed(testcase)
    task_creation.create_blame_task_if_needed(testcase)
    task_creation.request_bisection(testcase, 'regressed')
Saves the regression range and creates blame and impact task if needed.
def save_regression_range(testcase_id, regression_range_start, regression_range_end):
    
    testcase = data_handler.get_testcase_by_id(testcase_id)
    testcase.regression = ('%d:%d' % (regression_range_start, regression_range_end))
    data_handler.update_testcase_comment(testcase, data_types.TaskState.FINISHED, ('regressed in range %s' % testcase.regression))
    write_to_big_query(testcase, regression_range_start, regression_range_end)
    task_creation.create_impact_task_if_needed(testcase)
    task_creation.create_blame_task_if_needed(testcase)
    task_creation.request_bisection(testcase, 'regressed')