5e01ec2062f3eeb502f9454bc4915f4e92c675bb,simple_rl/experiments/ExperimentClass.py,Experiment,add_experience,#Experiment#Any#Any#Any#Any#Any#Any#,120
Before Change
if self.steps_since_added_r % self.count_r_per_n_timestep == 0:
if self.is_markov_game and self.count_r_per_n_timestep > 1:
print("(simple_rl) Experiment Error: can"t track markov games per step. (set rew_step_count to 1).")
quit()
else:
self.rewards[agent] += [self.rew_since_count + reward]
self.times[agent] += [time_taken]
self.rew_since_count = 0
After Change
// Regular MDP.
if self.steps_since_added_r % self.count_r_per_n_timestep == 0:
if self.is_markov_game and self.count_r_per_n_timestep > 1:
raise ValueError("(simple_rl) Experiment Error: can"t track markov games per step. (set rew_step_count to 1).")
else:
self.rewards[agent] += [self.rew_since_count + reward]
self.times[agent] += [time_taken]
self.rew_since_count = 0
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: david-abel/simple_rl
Commit Name: 5e01ec2062f3eeb502f9454bc4915f4e92c675bb
Time: 2018-04-02
Author: david_abel@brown.edu
File Name: simple_rl/experiments/ExperimentClass.py
Class Name: Experiment
Method Name: add_experience
Project Name: david-abel/simple_rl
Commit Name: b08f7f53b916aaf5111e596a263aa14e966b5895
Time: 2018-04-02
Author: david_abel@brown.edu
File Name: simple_rl/utils/chart_utils.py
Class Name:
Method Name: average_data
Project Name: david-abel/simple_rl
Commit Name: 5e01ec2062f3eeb502f9454bc4915f4e92c675bb
Time: 2018-04-02
Author: david_abel@brown.edu
File Name: simple_rl/run_experiments.py
Class Name:
Method Name: run_single_agent_on_mdp
Project Name: david-abel/simple_rl
Commit Name: 5e01ec2062f3eeb502f9454bc4915f4e92c675bb
Time: 2018-04-02
Author: david_abel@brown.edu
File Name: simple_rl/utils/chart_utils.py
Class Name:
Method Name: main
Project Name: david-abel/simple_rl
Commit Name: e3e082a389bc16f383d8ff024c73c1039e8d2c37
Time: 2018-04-02
Author: yagneshrevar@gmail.com
File Name: simple_rl/tasks/grid_world/GridWorldMDPClass.py
Class Name: GridWorldMDP
Method Name: __init__