Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vadim0x60 committed May 2, 2024
1 parent 07cf6e5 commit fae86af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ python = "^3.9"
psb2 = ">=1.1.1"
openai = "<1.0.0"
more-itertools = ">=8.0.0,<9.0.0"
programlib = ">=11.0.0"
programlib = ">=12.0.0"
wandb = "<1.0.0"
gitpython = ">=3.0.0,<4.0.0"
tenacity = ">=8.0.0,<9.0.0"
Expand Down
2 changes: 1 addition & 1 deletion seidr/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def pen_report(self) -> str:

class Gymnasium(Evaluation):
def __init__(self, env, code, language, passing_score):
action_mode = env.action_space.__name__.lower()
action_mode = type(env.action_space).__name__.lower()
agent = Program(code, language=language).spawn(action_mode=action_mode)
super().__init__(agent, passing_score)

Expand Down

0 comments on commit fae86af

Please sign in to comment.