Skip to content

Commit

Permalink
Merge branch 'main' into uv-installable
Browse files Browse the repository at this point in the history
  • Loading branch information
wakamex authored Mar 5, 2024
2 parents fac56f3 + 719ea8d commit 661698c
Show file tree
Hide file tree
Showing 7 changed files with 606 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ __pypackages__/

# Default traiderdaive model output
.traider_models
.saved_models

# build directories
.build
Expand Down
3 changes: 2 additions & 1 deletion lib/traiderdaive/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ with-dependencies = [
]
base = [
"gymnasium",
"stable-baselines3"
"stable-baselines3",
"scipy",
]
lateral = [
# Lateral dependencies across subpackages
Expand Down
11 changes: 9 additions & 2 deletions lib/traiderdaive/traiderdaive/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@

from gymnasium.envs.registration import register

from .gym_environments.full_hyperdrive_env import FullHyperdriveEnv
from .gym_environments.simple_hyperdrive_env import SimpleHyperdriveEnv

# Register simple hyperdrive env to gym
# Register hyperdrive envs to gym
register(
id="traiderdaive/simple_hyperdrive_env",
entry_point="traiderdaive.gym_environments.simple_hyperdrive_env:SimpleHyperdriveEnv",
max_episode_steps=300,
max_episode_steps=1000,
)

register(
id="traiderdaive/full_hyperdrive_env",
entry_point="traiderdaive.gym_environments.full_hyperdrive_env:FullHyperdriveEnv",
max_episode_steps=1000,
)
Loading

0 comments on commit 661698c

Please sign in to comment.