19029da84dc6bb4240af6bc68455d463f838ac8a,deepchem/data/tests/test_datasets.py,TestDatasets,test_get_task_names,#TestDatasets#,173

Before Change


    solubility_dataset = dc.data.tests.load_solubility_data()
    assert solubility_dataset.get_task_names() == ["log-solubility"]

    multitask_dataset = dc.data.tests.load_multitask_data()
    assert sorted(multitask_dataset.get_task_names()) == sorted([
        "task0", "task1", "task2", "task3", "task4", "task5", "task6", "task7",
        "task8", "task9", "task10", "task11", "task12", "task13", "task14",
        "task15", "task16"

After Change


    solubility_dataset = load_solubility_data()
    assert solubility_dataset.get_task_names() == ["log-solubility"]

    multitask_dataset = load_multitask_data()
    assert sorted(multitask_dataset.get_task_names()) == sorted([
        "task0", "task1", "task2", "task3", "task4", "task5", "task6", "task7",
        "task8", "task9", "task10", "task11", "task12", "task13", "task14",
        "task15", "task16"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: deepchem/deepchem
Commit Name: 19029da84dc6bb4240af6bc68455d463f838ac8a
Time: 2020-07-03
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/data/tests/test_datasets.py
Class Name: TestDatasets
Method Name: test_get_task_names


Project Name: deepchem/deepchem
Commit Name: 19029da84dc6bb4240af6bc68455d463f838ac8a
Time: 2020-07-03
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/splits/tests/test_splitter.py
Class Name: TestSplitter
Method Name: test_multitask_index_split


Project Name: deepchem/deepchem
Commit Name: 19029da84dc6bb4240af6bc68455d463f838ac8a
Time: 2020-07-03
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/data/tests/test_datasets.py
Class Name: TestDatasets
Method Name: test_get_data_shape


Project Name: deepchem/deepchem
Commit Name: 19029da84dc6bb4240af6bc68455d463f838ac8a
Time: 2020-07-03
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/splits/tests/test_splitter.py
Class Name: TestSplitter
Method Name: test_multitask_scaffold_split


Project Name: deepchem/deepchem
Commit Name: 19029da84dc6bb4240af6bc68455d463f838ac8a
Time: 2020-07-03
Author: bharath@Bharaths-MBP.zyxel.com
File Name: deepchem/splits/tests/test_splitter.py
Class Name: TestSplitter
Method Name: test_multitask_random_split