Skip to content

onnx only#48

Merged
davanstrien merged 8 commits intomainfrom
onnx
Apr 22, 2021
Merged

onnx only#48
davanstrien merged 8 commits intomainfrom
onnx

Conversation

@davanstrien
Copy link
Owner

No description provided.

@davanstrien davanstrien merged commit 79dfeeb into main Apr 22, 2021
@davanstrien davanstrien deleted the onnx branch April 22, 2021 11:15
@sourcery-ai
Copy link
Contributor

sourcery-ai bot commented Apr 22, 2021

Sourcery Code Quality Report

✅  Merging this PR will increase code quality in the affected files by 0.29%.

Quality metrics Before After Change
Complexity 0.97 ⭐ 0.95 ⭐ -0.02 👍
Method Length 42.29 ⭐ 41.64 ⭐ -0.65 👍
Working memory 8.68 🙂 8.55 🙂 -0.13 👍
Quality 75.29% 75.58% 0.29% 👍
Other metrics Before After Change
Lines 194 204 10
Changed files Quality Before Quality After Quality Change
src/flyswot/inference.py 75.29% ⭐ 75.58% ⭐ 0.29% 👍

Here are some functions in these files that still need a tune-up:

File Function Complexity Length Working Memory Quality Recommendation
src/flyswot/inference.py predict_directory 1 ⭐ 208 ⛔ 15 😞 48.95% 😞 Try splitting into smaller methods. Extract out complex expressions
src/flyswot/inference.py print_table 4 ⭐ 106 🙂 10 😞 64.21% 🙂 Extract out complex expressions

Legend and Explanation

The emojis denote the absolute quality of the code:

  • ⭐ excellent
  • 🙂 good
  • 😞 poor
  • ⛔ very poor

The 👍 and 👎 indicate whether the quality has improved or gotten worse with this pull request.


Please see our documentation here for details on how these metrics are calculated.

We are actively working on this report - lots more documentation and extra metrics to come!

Let us know what you think of it by mentioning @sourcery-ai in a comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant