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

chore(client): make client ut stable #1337

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

jialeicui
Copy link
Contributor

Description

Modules

  • UI
  • Controller
  • Agent
  • Client
  • Python-SDK
  • Others

Checklist

  • run code format and lint check
  • add unit test
  • add necessary doc

@codecov
Copy link

codecov bot commented Oct 10, 2022

Codecov Report

Merging #1337 (b9e4db7) into main (a8f91cc) will increase coverage by 9.18%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #1337      +/-   ##
============================================
+ Coverage     76.36%   85.55%   +9.18%     
============================================
  Files           293       63     -230     
  Lines         13794     7213    -6581     
  Branches        701        0     -701     
============================================
- Hits          10534     6171    -4363     
+ Misses         3017     1042    -1975     
+ Partials        243        0     -243     
Flag Coverage Δ
controller ?
standalone 85.55% <100.00%> (-0.07%) ⬇️
unittests 85.55% <100.00%> (-0.07%) ⬇️

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

Impacted Files Coverage Δ
client/starwhale/api/_impl/dataset/builder.py 85.14% <100.00%> (+0.45%) ⬆️
client/starwhale/core/model/model.py 84.58% <0.00%> (-1.74%) ⬇️
client/starwhale/core/eval/model.py 76.95% <0.00%> (-0.58%) ⬇️
client/starwhale/core/model/view.py 69.14% <0.00%> (ø)
client/starwhale/core/job/scheduler.py 100.00% <0.00%> (ø)
...ava/ai/starwhale/mlops/common/util/RandomUtil.java
...va/ai/starwhale/mlops/domain/job/step/bo/Step.java
...lops/domain/job/step/status/StepStatusMachine.java
...n/java/ai/starwhale/mlops/domain/dag/bo/Graph.java
...ain/java/ai/starwhale/mlops/domain/job/bo/Job.java
... and 226 more

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

Copy link
Member

@tianweidut tianweidut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tianweidut tianweidut merged commit ea57cab into star-whale:main Oct 10, 2022
@jialeicui jialeicui deleted the fix-client-ut branch October 10, 2022 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants