jesrav / footy-tracker

4 stars 1 forks source link

Handle predictions for users not in the training data. #40

Closed jesrav closed 1 year ago

sourcery-ai[bot] commented 1 year ago

Sourcery Code Quality Report

❌  Merging this PR will decrease code quality in the affected files by 4.38%.

Quality metrics Before After Change
Complexity 0.80 ⭐ 1.10 ⭐ 0.30 👎
Method Length 45.00 ⭐ 58.50 ⭐ 13.50 👎
Working memory 6.60 🙂 7.29 🙂 0.69 👎
Quality 83.50% 79.12% -4.38% 👎
Other metrics Before After Change
Lines 51 53 2
Changed files Quality Before Quality After Quality Change
src/ml_api/api/main.py 83.50% ⭐ 79.12% ⭐ -4.38% 👎

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

File Function Complexity Length Working Memory Quality Recommendation

Legend and Explanation

The emojis denote the absolute quality of the code:

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!

Help us improve this quality report!