Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(wyh):add plot test code #370

Merged
merged 6 commits into from
Jun 20, 2022
Merged

test(wyh):add plot test code #370

merged 6 commits into from
Jun 20, 2022

Conversation

Weiyuhong-1998
Copy link
Contributor

@Weiyuhong-1998 Weiyuhong-1998 commented Jun 15, 2022

Description

Add plot test codes, including compare two pictures, do things in an isolated directory

Related Issue

#323

TODO

Check List

  • merge the latest version source branch/repo, and resolve all the conflicts
  • pass style check
  • pass all the tests

@PaParaZz1 PaParaZz1 added test Test(unittest, performance, efficiency, compatibility) labels Jun 16, 2022
@codecov
Copy link

codecov bot commented Jun 16, 2022

Codecov Report

Merging #370 (fa74db3) into main (c901a00) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head fa74db3 differs from pull request most recent head 43a84ba. Consider uploading reports for the commit 43a84ba to get more accurate results

@@            Coverage Diff             @@
##             main     #370      +/-   ##
==========================================
- Coverage   85.99%   85.97%   -0.03%     
==========================================
  Files         522      522              
  Lines       41112    41140      +28     
==========================================
+ Hits        35355    35369      +14     
- Misses       5757     5771      +14     
Flag Coverage Δ
unittests 85.97% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ding/utils/tests/test_plot.py 100.00% <100.00%> (ø)
ding/model/template/atoc.py 86.31% <0.00%> (-8.95%) ⬇️
ding/worker/learner/comm/flask_fs_learner.py 83.12% <0.00%> (-6.88%) ⬇️
ding/envs/env_manager/envpool_env_manager.py 37.34% <0.00%> (-3.75%) ⬇️
ding/utils/data/dataloader.py 44.55% <0.00%> (-1.56%) ⬇️
ding/worker/learner/tests/test_base_learner.py 91.01% <0.00%> (-1.13%) ⬇️
ding/envs/env_manager/subprocess_env_manager.py 76.72% <0.00%> (-0.99%) ⬇️
ding/entry/__init__.py 100.00% <0.00%> (ø)
ding/world_model/ddppo.py 76.08% <0.00%> (+0.31%) ⬆️
...envs/env_manager/tests/test_envpool_env_manager.py 38.46% <0.00%> (+2.74%) ⬆️
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c901a00...43a84ba. Read the comment docs.

@PaParaZz1 PaParaZz1 merged commit bec0d8d into opendilab:main Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Test(unittest, performance, efficiency, compatibility)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants