58937b650681e315064114f22e9586019851b521,cistar_dev/cistar_dev/scenarios/loop_merges/gen.py,LoopMergesGenerator,make_routes,#LoopMergesGenerator#Any#Any#Any#,216

Before Change


    def make_routes(self, scenario, initial_config, cfg_params):

        type_params = scenario.type_params
        type_list = scenario.type_params.keys()
        num_cars = scenario.num_vehicles
        if type_list is not None:
            routes = makexml("routes", "http://sumo.dlr.de/xsd/routes_file.xsd")
            for tp in type_list:

After Change


    def make_routes(self, scenario, initial_config, cfg_params):

        type_params = scenario.type_params
        type_list = [tup[0] for tup in type_params]
        num_cars = scenario.num_vehicles
        if type_list is not None:
            routes = makexml("routes", "http://sumo.dlr.de/xsd/routes_file.xsd")
            for i, tp in enumerate(type_list):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: flow-project/flow
Commit Name: 58937b650681e315064114f22e9586019851b521
Time: 2017-08-19
Author: akreidieh@gmail.com
File Name: cistar_dev/cistar_dev/scenarios/loop_merges/gen.py
Class Name: LoopMergesGenerator
Method Name: make_routes


Project Name: chainer/chainercv
Commit Name: 7e470179b0d874c43ec6d5dba11d7981ad83dff1
Time: 2017-03-10
Author: yuyuniitani@gmail.com
File Name: chainercv/datasets/sintel/sintel_dataset.py
Class Name: SintelDataset
Method Name: __init__


Project Name: hanxiao/bert-as-service
Commit Name: b44d6115097e2bebc4a1ecef869e04e2c60af7bb
Time: 2018-12-15
Author: hanhxiao@tencent.com
File Name: benchmark.py
Class Name:
Method Name: