3d71f7f5e9f9bf4b0a390e601842ed8060209ed7,mozregression/cli.py,,get_default_date_range,#Any#,449
Before Change
last_date = datetime.date.today()
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)
elif fetch_config.os == "win" and fetch_config.bits == 64:
// first firefox build date for win64 is 2010-05-28
first_date = datetime.date(2010, 5, 28)
else:
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
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
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: PIQuIL/QuCumber
Commit Name: b2007ba82ef8506df5cc73d6ce739e198afbf3c7
Time: 2019-05-07
Author: emerali@users.noreply.github.com
File Name: docs/conf.py
Class Name:
Method Name:
Project Name: facebookresearch/ParlAI
Commit Name: 9fc989afc19ec56ccbf0b7b966d34bfdd254c651
Time: 2017-05-06
Author: ahm@fb.com
File Name: parlai/core/build_data.py
Class Name:
Method Name: mark_done