OpenRL-Lab / openrl

Unified Reinforcement Learning Framework
https://openrl-docs.readthedocs.io
Apache License 2.0
625 stars 60 forks source link

add selfplay test #275

Closed huangshiyu13 closed 9 months ago

huangshiyu13 commented 9 months ago

Description

Types of changes

Checklist

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (58c022f) 62.78% compared to head (714a9ec) 66.09%. Report is 4 commits behind head on main.

Files Patch % Lines
openrl/selfplay/callbacks/selfplay_api.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #275 +/- ## ========================================== + Coverage 62.78% 66.09% +3.30% ========================================== Files 255 252 -3 Lines 13466 13156 -310 ========================================== + Hits 8455 8695 +240 + Misses 5011 4461 -550 ``` | [Flag](https://app.codecov.io/gh/OpenRL-Lab/openrl/pull/275/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenRL-Lab) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/OpenRL-Lab/openrl/pull/275/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenRL-Lab) | `66.09% <80.00%> (+3.30%)` | :arrow_up: | 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=OpenRL-Lab#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.