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(flow): moved test_segmenter.py into a flow unittest #2287
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2287 +/- ##
=======================================
Coverage 90.83% 90.83%
=======================================
Files 222 222
Lines 11740 11740
=======================================
Hits 10664 10664
Misses 1076 1076
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Latency summaryCurrent PR yields:
Breakdown
Backed by latency-tracking. Further commits will update this comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you please elaborate on the differences between dummy-seg-not-random.yml
and dummy-seg-random.yml
?
recheckcla |
Jina CLA check I have read the CLA Document and I hereby sign the CLA |
Thank you for taking your time to review my code. My apologies, while adapting the code from its original source underneath |
I have read the CLA Document and I hereby sign the CLA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM👍
@MiaAltieri Thanks for your contribution. However this PR does not pass our docstring and black checks. Please make sure you have the reference: |
Hi I apologize for committing again without it passing both the docstring check and black. I thought I had done it correctly since black said it passed by reporting the following after I committed: If you have any suggestions for things I could check let me know. I noticed that when I looked into the tests that failed on both black and check-dockstring (on git) they both say "Error: The head commit for this pull_request event is not ahead of the base commit. Please submit an issue on this action's GitHub repo." however when I looked at my forked repository it was up to date. I can try rebasing/creating a new one |
Hey @MiaAltieri , merging with master should be good enough |
Co-authored-by: Nan Wang <nan.wang@jina.ai>
838a41d
to
c397e66
Compare
Thanks for the tip, rebased into one commit and merged with master |
Flowed the suggestion in #692 to move the tests in test_segmenter.py under flow tests and have the same functionality tested as a simple unittest. Cleaned up some of the duplicated code.
If you'd like to see something else or I've misunderstood please reach out.