Closed ken-mycroft closed 2 years ago
Hello @ken-mycroft! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:
Voight Kampff Integration Test Succeeded (Results)
This latest change the root issue I had with the code. I'm quite happy with it now :)
Merging #2986 (d1e916c) into dev (13539d3) will increase coverage by
0.16%
. The diff coverage is93.47%
.:exclamation: Current head d1e916c differs from pull request most recent head 0a37e81. Consider uploading reports for the commit 0a37e81 to get more accurate results
@@ Coverage Diff @@
## dev #2986 +/- ##
==========================================
+ Coverage 52.80% 52.97% +0.16%
==========================================
Files 123 123
Lines 11104 11139 +35
==========================================
+ Hits 5864 5901 +37
+ Misses 5240 5238 -2
Impacted Files | Coverage Δ | |
---|---|---|
mycroft/skills/common_query_skill.py | 93.61% <93.47%> (+7.17%) |
:arrow_up: |
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 13539d3...0a37e81. Read the comment docs.
Description
The calc_confidence() routine is a bit dated. This adds some improvements which also cover some skill blemishes in common query skills.
How to test
There should be a difference in the response between "how tall is the eifel tower" and "what is the eifel tower", etc.
Contributor license agreement signed?
Yes