4b4c14f308ccbce6d3f1190828a2c8ddaa4752a2,tests/models_tests/prediction_tests/test_set_up_predictor.py,,models_dict,#,29

Before Change


@pytest.fixture
def models_dict():
    // type: () -> Dict[str, chainer.Link]
    return {
        "nfp": NFP,
        "ggnn": GGNN,
        "schnet": SchNet,
        "weavenet": WeaveNet,
        "rsgcn": RSGCN,
        "relgcn": RelGCN,
        "relgat": RelGAT,
        "gin": GIN,
        "nfp_gwm": NFP_GWM,
        "ggnn_gwm": GGNN_GWM,
        "rsgcn_gwm": RSGCN_GWM,
        "gin_gwm": GIN_GWM,
        "gnnfilm": GNNFiLM
    }


def test_setup_predictor(models_dict):
    // type: (Dict[str, chainer.Link]) -> None

After Change


@pytest.fixture
def models_dict():
    // type: () -> Dict[str, chainer.Link]
    return {
        "nfp": NFP,
        "ggnn": GGNN,
        "schnet": SchNet,
        "weavenet": WeaveNet,
        "rsgcn": RSGCN,
        "relgcn": RelGCN,
        "relgat": RelGAT,
        "gin": GIN,
        "nfp_gwm": NFP_GWM,
        "ggnn_gwm": GGNN_GWM,
        "rsgcn_gwm": RSGCN_GWM,
        "gin_gwm": GIN_GWM,
        "gnnfilm": GNNFiLM,
        "nfp_wle": NFP_WLE,
        "ggnn_wle": GGNN_WLE,
        "relgat_wle": RelGAT_WLE,
        "relgcn_wle": RelGCN_WLE,
        "rsgcn_wle": RSGCN_WLE,
        "gin_wle": GIN_WLE,
        "nfp_cwle": NFP_CWLE,
        "ggnn_cwle": GGNN_CWLE,
        "relgat_cwle": RelGAT_CWLE,
        "relgcn_cwle": RelGCN_CWLE,
        "rsgcn_cwle": RSGCN_CWLE,
        "gin_cwle": GIN_CWLE,
        "nfp_gwle": NFP_GWLE,
        "ggnn_gwle": GGNN_GWLE,
        "relgat_gwle": RelGAT_GWLE,
        "relgcn_gwle": RelGCN_GWLE,
        "rsgcn_gwle": RSGCN_GWLE,
        "gin_gwle": GIN_GWLE
    }


def test_setup_predictor(models_dict):
    // type: (Dict[str, chainer.Link]) -> None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 26

Instances


Project Name: pfnet-research/chainer-chemistry
Commit Name: 4b4c14f308ccbce6d3f1190828a2c8ddaa4752a2
Time: 2020-08-01
Author: ishiguro@preferred.jp
File Name: tests/models_tests/prediction_tests/test_set_up_predictor.py
Class Name:
Method Name: models_dict


Project Name: ContextLab/hypertools
Commit Name: 48b0f2ba167f15c7e7bfe1fd732782c5c52dcbe4
Time: 2017-06-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/reduce.py
Class Name:
Method Name: reduce


Project Name: jsalt18-sentence-repl/jiant
Commit Name: 3b33588f810b61753eef173569ad0fc4973d71c5
Time: 2020-06-06
Author: email@jasonphang.com
File Name: jiant/tasks/retrieval.py
Class Name:
Method Name:


Project Name: ContextLab/hypertools
Commit Name: 7015816230f89f914909d5c6e60cfb8be109079c
Time: 2017-06-14
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/reduce.py
Class Name:
Method Name: reduce


Project Name: ContextLab/hypertools
Commit Name: 39151a8aceab5840914e14a8f6fbb469cca79b2e
Time: 2017-06-05
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/reduce.py
Class Name:
Method Name: reduce


Project Name: ContextLab/hypertools
Commit Name: b3255d22ec8619773cc760e6cddfe1377d4ee513
Time: 2017-06-14
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/reduce.py
Class Name:
Method Name: reduce