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] Increase the test coverage #91

Merged
merged 36 commits into from
Jan 2, 2023
Merged

[Test] Increase the test coverage #91

merged 36 commits into from
Jan 2, 2023

Conversation

kozistr
Copy link
Owner

@kozistr kozistr commented Jan 2, 2023

Problem (Why?)

heading to coverage 98%

Solution (What/How?)

  • update test_no_gradient

Other changes (bug fixes, small refactors)

  • fix API documentation

Notes

nope

@kozistr kozistr added the enhancement New feature or request label Jan 2, 2023
@kozistr kozistr self-assigned this Jan 2, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jan 2, 2023

Codecov Report

Merging #91 (98afcac) into main (503ad2e) will increase coverage by 0.91%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
+ Coverage   96.75%   97.66%   +0.91%     
==========================================
  Files          33       33              
  Lines        2401     2401              
==========================================
+ Hits         2323     2345      +22     
+ Misses         78       56      -22     
Impacted Files Coverage Δ
pytorch_optimizer/optimizer/sam.py 100.00% <ø> (+3.38%) ⬆️
pytorch_optimizer/optimizer/sgdp.py 100.00% <ø> (ø)
pytorch_optimizer/optimizer/ranger21.py 98.90% <0.00%> (+0.54%) ⬆️
pytorch_optimizer/optimizer/adabelief.py 97.29% <0.00%> (+0.90%) ⬆️
pytorch_optimizer/optimizer/ranger.py 100.00% <0.00%> (+1.96%) ⬆️
pytorch_optimizer/optimizer/ralamb.py 100.00% <0.00%> (+2.50%) ⬆️
pytorch_optimizer/optimizer/nero.py 100.00% <0.00%> (+3.07%) ⬆️
pytorch_optimizer/optimizer/radam.py 100.00% <0.00%> (+3.29%) ⬆️
pytorch_optimizer/optimizer/diffrgrad.py 100.00% <0.00%> (+4.04%) ⬆️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pull-request-size pull-request-size bot added size/S and removed size/XS labels Jan 2, 2023
@pull-request-size pull-request-size bot added size/XL and removed size/S labels Jan 2, 2023
@kozistr kozistr added the documentation Improvements or additions to documentation label Jan 2, 2023