09bff70b46b4f0149e0f470874825b650935565a,setup.py,,,#,19

Before Change



version = "1.0.1"
try:
    sha = subprocess.check_output(["git", "rev-parse", "HEAD"], 
        cwd=cwd).decode("ascii").strip()
    version += "+" + sha[:7]
except Exception:
    pass

After Change


version = "1.1.1"
try:
    from datetime import date
    today = date.today()
    day = today.strftime("b%d%m%Y")
    version += day
except Exception:
    pass

def create_version_file():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: zhanghang1989/PyTorch-Encoding
Commit Name: 09bff70b46b4f0149e0f470874825b650935565a
Time: 2020-04-04
Author: zhang.hang@rutgers.edu
File Name: setup.py
Class Name:
Method Name:


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: mozilla/mozregression
Commit Name: 3d71f7f5e9f9bf4b0a390e601842ed8060209ed7
Time: 2020-08-20
Author: wlachance@mozilla.com
File Name: tests/unit/test_cli.py
Class Name:
Method Name: