70281193201c692fa38498b926af6f9e3730d0ce,flow/benchmarks/baselines/bottleneck1.py,,bottleneck1_baseline,#Any#Any#,27
Before Change
exp = SumoExperiment(env, scenario)
results = exp.run(num_runs, HORIZON)
avg_outflow = np.mean([outflow[-1]
for outflow in results["per_step_returns"]])
return avg_outflow
if __name__ == "__main__":
runs = 2 // number of simulations to average over
After Change
results = exp.run(num_runs, HORIZON)
return np.mean(results["returns"]), np.std(results["returns"])
if __name__ == "__main__":
runs = 2 // number of simulations to average over
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 16
Instances
Project Name: flow-project/flow
Commit Name: 70281193201c692fa38498b926af6f9e3730d0ce
Time: 2018-09-30
Author: vinitsky.eugene@gmail.com
File Name: flow/benchmarks/baselines/bottleneck1.py
Class Name:
Method Name: bottleneck1_baseline
Project Name: flow-project/flow
Commit Name: 70281193201c692fa38498b926af6f9e3730d0ce
Time: 2018-09-30
Author: vinitsky.eugene@gmail.com
File Name: flow/benchmarks/baselines/bottleneck0.py
Class Name:
Method Name: bottleneck0_baseline
Project Name: flow-project/flow
Commit Name: 70281193201c692fa38498b926af6f9e3730d0ce
Time: 2018-09-30
Author: vinitsky.eugene@gmail.com
File Name: flow/benchmarks/baselines/bottleneck2.py
Class Name:
Method Name: bottleneck2_baseline
Project Name: flow-project/flow
Commit Name: 70281193201c692fa38498b926af6f9e3730d0ce
Time: 2018-09-30
Author: vinitsky.eugene@gmail.com
File Name: flow/benchmarks/baselines/bottleneck1.py
Class Name:
Method Name: bottleneck1_baseline