You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3baca0f
Browse filesBrowse the repository at this point in the historyBrowse files
* fix(core): honor isTerminated/isTruncated/isDone in IgnitionEnv.step
Align TrainingEnv types, Zod schema, and runtime so a valid env can run
steps using the Gymnasium names or the legacy isTerminated/isTruncated/isDone
aliases. Reject non-function aliases at construction.
Fixes#76
Co-authored-by: Salim <salim4n@users.noreply.github.com>
* fix(core): make TrainingEnv.done optional and unify flag priority
Align TrainingEnv with TrainingEnvSchema: done() is optional when
isDone() is present. Read episode-end flags in one order everywhere —
canonical method first, then the is* alias — and cover both-present
and alias-only cases in tests.
Co-authored-by: Salim <salim4n@users.noreply.github.com>
* test(core): lock done/isDone combinations and canonical flag order
Require TrainingEnv to accept done() alone, isDone() alone, or both at
the type level, and cover each episode-end flag combination in tests.
Co-authored-by: Salim <salim4n@users.noreply.github.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Salim <salim4n@users.noreply.github.com>
0 commit comments