5b5fb4c657f0cdf4fe404aa9daaf99aca83d01cf,mltsp/tests/test_transformation.py,,,#,8

Before Change


TS_PATHS = [pjoin(DATA_PATH, f) for f in
            ["dotastro_215153_with_class.nc",
             "dotastro_215176_with_class.nc"]]
TEST_OUTPUT_PATHS = [pjoin(cfg.TS_DATA_FOLDER, "train_dotastro_215153.nc"),
                     pjoin(cfg.TS_DATA_FOLDER, "test_dotastro_215153.nc"),
                     pjoin(cfg.TS_DATA_FOLDER, "train_dotastro_215176.nc"),
                     pjoin(cfg.TS_DATA_FOLDER, "test_dotastro_215176.nc")]


def remove_test_data():
    for f in TEST_OUTPUT_PATHS:

After Change


TS_PATHS = [pjoin(DATA_PATH, f) for f in
            ["dotastro_215153_with_class.nc",
             "dotastro_215176_with_class.nc"]]
TEST_OUTPUT_PATHS = [pjoin(config["paths"]["ts_data_folder"],
                           "train_dotastro_215153.nc"),
                     pjoin(config["paths"]["ts_data_folder"],
                           "test_dotastro_215153.nc"),
                     pjoin(config["paths"]["ts_data_folder"],
                           "train_dotastro_215176.nc"),
                     pjoin(config["paths"]["ts_data_folder"],
                           "test_dotastro_215176.nc")]


def remove_test_data():
    for f in TEST_OUTPUT_PATHS:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


Project Name: cesium-ml/cesium
Commit Name: 5b5fb4c657f0cdf4fe404aa9daaf99aca83d01cf
Time: 2016-02-24
Author: brettnaul@gmail.com
File Name: mltsp/tests/test_transformation.py
Class Name:
Method Name:


Project Name: cesium-ml/cesium
Commit Name: 254c728b144e998bd3408557fb27877b524dc906
Time: 2016-02-10
Author: stefanv@berkeley.edu
File Name: mltsp/tests/test_flask_app.py
Class Name: FlaskAppTestCase
Method Name: test_prediction_proc


Project Name: cesium-ml/cesium
Commit Name: 254c728b144e998bd3408557fb27877b524dc906
Time: 2016-02-10
Author: stefanv@berkeley.edu
File Name: mltsp/tests/test_flask_app.py
Class Name: FlaskAppTestCase
Method Name: test_prediction_page