6a60427ef816ef46c1263bc272df428ea7ef25f7,openml/runs/functions.py,,get_run,#Any#,629

Before Change


    run_dir = os.path.join(config.get_cache_directory(), "runs", str(run_id))
    run_file = os.path.join(run_dir, "description.xml")

    try:
        os.makedirs(run_dir)
    except FileExistsError:
        pass

    try:
        return _get_cached_run(run_id)

    except (OpenMLCacheException):

After Change


    run_dir = os.path.join(config.get_cache_directory(), "runs", str(run_id))
    run_file = os.path.join(run_dir, "description.xml")

    if not os.path.exists(run_dir):
        os.makedirs(run_dir)

    try:
        return _get_cached_run(run_id)

    except (OpenMLCacheException):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: openml/openml-python
Commit Name: 6a60427ef816ef46c1263bc272df428ea7ef25f7
Time: 2018-02-11
Author: janvanrijn@gmail.com
File Name: openml/runs/functions.py
Class Name:
Method Name: get_run


Project Name: huggingface/neuralcoref
Commit Name: 43fc522186ade33027219453e951c8694a44263e
Time: 2019-04-02
Author: thomwolf@gmail.com
File Name: neuralcoref/__init__.py
Class Name:
Method Name:


Project Name: keras-team/keras
Commit Name: 6c458ff28103580bbc3ba3d1acb38dc8e7eb12b2
Time: 2015-11-28
Author: francois.chollet@gmail.com
File Name: keras/datasets/data_utils.py
Class Name:
Method Name: get_file


Project Name: mathurinm/celer
Commit Name: 1dccf66a55fd114a7c0c416b2631d12b70ad9fce
Time: 2018-03-14
Author: alexandre.gramfort@m4x.org
File Name: examples/plot_finance_path.py
Class Name:
Method Name:


Project Name: openml/openml-python
Commit Name: 6a60427ef816ef46c1263bc272df428ea7ef25f7
Time: 2018-02-11
Author: janvanrijn@gmail.com
File Name: openml/setups/functions.py
Class Name:
Method Name: get_setup


Project Name: autorope/donkeycar
Commit Name: e2b80e2afbd64a83fead539811f6b36599def9b4
Time: 2020-04-01
Author: tawnkramer@gmail.com
File Name: donkeycar/parts/dgym.py
Class Name: DonkeyGymEnv
Method Name: __init__