7c4b8c0d3d7d14c362892e44a1d256732d13a258,src/sdk/pynni/nni/hyperopt_tuner/hyperopt_tuner.py,HyperoptTuner,miscs_update_idxs_vals,#HyperoptTuner#Any#Any#Any#Any#Any#,389

Before Change



        misc_by_id = {m["tid"]: m for m in miscs}
        for m in miscs:
            m["idxs"] = dict([(key, []) for key in idxs])
            m["vals"] = dict([(key, []) for key in idxs])

        for key in idxs:
            assert len(idxs[key]) == len(vals[key])

After Change



        misc_by_id = {m["tid"]: m for m in miscs}
        for m in miscs:
            m["idxs"] = {key: [] for key in idxs}
            m["vals"] = {key: [] for key in idxs}

        for key in idxs:
            assert len(idxs[key]) == len(vals[key])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: Microsoft/nni
Commit Name: 7c4b8c0d3d7d14c362892e44a1d256732d13a258
Time: 2019-10-29
Author: 40699903+liuzhe-lz@users.noreply.github.com
File Name: src/sdk/pynni/nni/hyperopt_tuner/hyperopt_tuner.py
Class Name: HyperoptTuner
Method Name: miscs_update_idxs_vals


Project Name: lingpy/lingpy
Commit Name: 0c196ec922738f0ac1ecbacd6bed79559d21004e
Time: 2016-03-14
Author: xrotwang@googlemail.com
File Name: lingpy/convert/plot.py
Class Name:
Method Name: plot_concept_evolution


Project Name: hyperopt/hyperopt
Commit Name: 9bdc5d7e96fd60218d245c0768d574a0d47c96b9
Time: 2020-10-27
Author: rladhkstn8@gmail.com
File Name: hyperopt/algobase.py
Class Name: SuggestAlgo
Method Name: __init__