Module Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str orelse If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr Num AugAssignAdd AttributeStore NameLoad attr NameLoad If NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A N/A json N/A os N/A time gym error StatsRecorder N/A object N/A __init__ N/A N/A self directory file_prefix N/A N/A N/A N/A self initial_reset_timestamp None N/A N/A self directory directory N/A N/A self file_prefix file_prefix N/A N/A self episode_lengths N/A N/A N/A self episode_rewards N/A N/A N/A self timestamps N/A N/A N/A self steps None N/A N/A self rewards None N/A N/A self done None N/A before_step N/A N/A self action N/A N/A N/A N/A self done N/A N/A N/A N/A error ResetNeeded Trying to step environment which is currently done. While the monitor is active, you cannot step beyond the end of an episode. Call 'env.reset()' to start the next episode. N/A N/A N/A N/A self steps None N/A N/A N/A N/A error ResetNeeded Trying to step an environment before reset. While the monitor is active, you must call 'env.reset()' before taking an initial step. N/A after_step N/A N/A self observation reward done info N/A N/A N/A N/A self steps 1 N/A N/A self rewards reward N/A done N/A N/A N/A self done True N/A before_reset N/A N/A self N/A N/A N/A N/A self done False N/A N/A N/A self initial_reset_timestamp None N/A N/A N/A self initial_reset_timestamp N/A N/A time time N/A after_reset N/A N/A self observation N/A N/A N/A N/A N/A self flush N/A flush N/A N/A self N/A N/A N/A N/A N/A self steps None N/A N/A N/A N/A N/A self episode_lengths append N/A self steps N/A N/A N/A N/A self episode_rewards append N/A self rewards N/A N/A N/A N/A self timestamps append N/A N/A time time N/A N/A self steps 0 N/A N/A self rewards 0 N/A close N/A N/A self N/A N/A N/A N/A N/A self flush N/A filename N/A N/A {}.{}.stats.json format N/A self file_prefix N/A N/A os getpid N/A path N/A N/A N/A os path join N/A self directory filename N/A N/A open path w f N/A N/A N/A N/A json dump N/A initial_reset_timestamp timestamps episode_lengths episode_rewards N/A self initial_reset_timestamp N/A self timestamps N/A self episode_lengths N/A self episode_rewards f N/A path N/A N/A