3d71f7f5e9f9bf4b0a390e601842ed8060209ed7,mozregression/cli.py,,get_default_date_range,#Any#,449

Before Change


    if fetch_config.app_name == "jsshell":
        if fetch_config.os == "win" and fetch_config.bits == 64:
            first_date = datetime.date(2014, 5, 27)
        elif fetch_config.os == "linux" and "asan" in fetch_config.build_type:
            first_date = datetime.date(2013, 9, 1)
        else:
            first_date = datetime.date(2012, 4, 18)

After Change


    Compute the default date range (first, last) to bisect.
    
    last_date = datetime.date.today()
    first_date = datetime.date.today() - datetime.timedelta(days=365)

    return first_date, last_date

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mozilla/mozregression
Commit Name: 3d71f7f5e9f9bf4b0a390e601842ed8060209ed7
Time: 2020-08-20
Author: wlachance@mozilla.com
File Name: mozregression/cli.py
Class Name:
Method Name: get_default_date_range


Project Name: has2k1/plotnine
Commit Name: d203b57eeb5418c3de90dccc99e0f1a589241ab5
Time: 2017-09-16
Author: has2k1@gmail.com
File Name: plotnine/scales/scales.py
Class Name:
Method Name: scale_type


Project Name: AlexsLemonade/refinebio
Commit Name: 5f12cf6251cf4a8c5691766e88852cb53f5d7aef
Time: 2018-10-10
Author: miserlou@gmail.com
File Name: foreman/data_refinery_foreman/foreman/main.py
Class Name:
Method Name: send_janitor_jobs