opendilab / DI-engine

OpenDILab Decision AI Engine. The Most Comprehensive Reinforcement Learning Framework B.P.
https://di-engine-docs.readthedocs.io
Apache License 2.0
2.82k stars 352 forks source link

feature(rjy): add HAPPO algorithm #717

Closed nighood closed 6 months ago

nighood commented 10 months ago

Description

Related Issue

TODO

Check List

codecov[bot] commented 9 months ago

Codecov Report

Attention: 311 lines in your changes are missing coverage. Please review.

Comparison is base (4d53074) 77.11% compared to head (e7e9662) 76.78%. Report is 5 commits behind head on main.

Files Patch % Lines
ding/policy/happo.py 10.86% 246 Missing :warning:
ding/model/template/havac.py 76.25% 33 Missing :warning:
ding/rl_utils/happo.py 77.47% 25 Missing :warning:
ding/model/common/head.py 12.50% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #717 +/- ## ========================================== - Coverage 77.11% 76.78% -0.34% ========================================== Files 671 676 +5 Lines 53676 54424 +748 ========================================== + Hits 41394 41789 +395 - Misses 12282 12635 +353 ``` | [Flag](https://app.codecov.io/gh/opendilab/DI-engine/pull/717/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/opendilab/DI-engine/pull/717/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab) | `76.78% <52.15%> (-0.34%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=opendilab#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.