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: fix test in flow, add back hw result check #1897

Merged
merged 1 commit into from
Feb 8, 2021
Merged

Conversation

hanxiao
Copy link
Member

@hanxiao hanxiao commented Feb 8, 2021

No description provided.

@hanxiao hanxiao requested a review from a team as a code owner February 8, 2021 08:39
@jina-bot jina-bot added size/S area/testing This issue/PR affects testing labels Feb 8, 2021
@codecov
Copy link

codecov bot commented Feb 8, 2021

Codecov Report

Merging #1897 (61869bd) into master (b15f7c6) will decrease coverage by 15.77%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1897       +/-   ##
===========================================
- Coverage   83.52%   67.74%   -15.78%     
===========================================
  Files         148      148               
  Lines        7064     7062        -2     
===========================================
- Hits         5900     4784     -1116     
- Misses       1164     2278     +1114     
Impacted Files Coverage Δ
jina/types/request/common.py 0.00% <0.00%> (-100.00%) ⬇️
jina/jaml/parsers/default/v1.py 0.00% <0.00%> (-100.00%) ⬇️
jina/types/ndarray/sparse/numpy.py 0.00% <0.00%> (-100.00%) ⬇️
jina/types/ndarray/sparse/pytorch.py 0.00% <0.00%> (-100.00%) ⬇️
jina/types/ndarray/sparse/tensorflow.py 0.00% <0.00%> (-100.00%) ⬇️
jina/optimizers/parameters.py 0.00% <0.00%> (-97.50%) ⬇️
jina/optimizers/flow_runner.py 0.00% <0.00%> (-95.66%) ⬇️
jina/docker/hubapi/local.py 0.00% <0.00%> (-88.51%) ⬇️
jina/docker/checker.py 0.00% <0.00%> (-84.91%) ⬇️
jina/docker/hubapi/remote.py 0.00% <0.00%> (-80.27%) ⬇️
... and 76 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 b132954...61869bd. Read the comment docs.

@@ -32,7 +32,7 @@ def check_hello_world_results(html_path: str):
evaluation = soup.find_all('h3')[0].text
assert 'Precision@50' in evaluation
assert 'Recall@50' in evaluation
evaluation_results = re.findall("\d+\.\d+", evaluation)
evaluation_results = re.findall(r'\d+\.\d+', evaluation)
assert len(evaluation_results) == 2
# not exact to avoid instability, but enough accurate to current results to raise some alarms
assert float(evaluation_results[0]) > 65.0
Copy link
Member

Choose a reason for hiding this comment

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

can u set the 65.0 to 50.0? it is quite random the set of documents taken for the test and we were seeing times with lower value

@github-actions
Copy link

github-actions bot commented Feb 8, 2021

Latency summary

Current PR yields:

  • 😶 index QPS at 1086, delta to last 3 avg.: +1%
  • 😶 query QPS at 20, delta to last 3 avg.: -1%

Breakdown

Version Index QPS Query QPS
current 1086 20
0.9.31 1065 20
0.9.30 1084 20

Backed by latency-tracking. Further commits will update this comment.

@hanxiao hanxiao merged commit 1c7ba35 into master Feb 8, 2021
@hanxiao hanxiao deleted the fix-flow-test branch February 8, 2021 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing This issue/PR affects testing size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants