Open Gaiejj opened 1 year ago
Attention: Patch coverage is 90.68323%
with 15 lines
in your changes missing coverage. Please review.
Project coverage is 96.70%. Comparing base (
d55958a
) to head (e68bf5c
). Report is 13 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
omnisafe/envs/discrete_env.py | 85.96% | 8 Missing :warning: |
omnisafe/models/base.py | 63.64% | 4 Missing :warning: |
omnisafe/evaluator.py | 83.33% | 2 Missing :warning: |
omnisafe/utils/config.py | 87.50% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
This pull request is aimed at supporting environments with discrete action spaces and observation spaces. It has been implemented in the Taxi-v3 and CartPole-v1 environments in Gymnasium. Relevant documents, code checks, and standards have been updated. Currently, it supports the following on-policy algorithms:
to run in discrete environments. The performance curve below shows the correctness of our implementation.
Motivation and Context
resolve #273 #283
Types of changes
What types of changes does your code introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply. If you are unsure about any of these, don't hesitate to ask. We are here to help!make format
. (required)make lint
. (required)make test
pass. (required)