tacitvenom / genomics_algo

MIT License
1 stars 1 forks source link

Check the value in test for e_coli clump from CI #23

Closed tacitvenom closed 3 years ago

sourcery-ai[bot] commented 3 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.00 ⭐ 0.00 ⭐ 0.00
Method Length 59.89 ⭐ 59.11 ⭐ -0.78 👍
Working memory 8.62 🙂 8.62 🙂 0.00
Quality 77.59% 77.65% 0.06% 👍
Other metrics Before After Change
Lines 191 190 -1
Changed files Quality Before Quality After Quality Change
genomics_algo/tests/test_algorithms.py 77.59% ⭐ 77.65% ⭐ 0.06% 👍

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

File Function Complexity Length Working Memory Quality Recommendation
genomics_algo/tests/test_algorithms.py test__get_alignments_skipped_bc_lookup 0 ⭐ 106 🙂 21 ⛔ 55.34% 🙂 Extract out complex expressions
genomics_algo/tests/test_algorithms.py test_get_occurences_in_entire_genome_with_boyer_moores_exact_match 0 ⭐ 55 ⭐ 18 ⛔ 64.84% 🙂 Extract out complex expressions
genomics_algo/tests/test_algorithms.py test__get_alignments_skipped_gs_lookup 0 ⭐ 42 ⭐ 15 😞 69.90% 🙂 Extract out complex expressions

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!

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

tacitvenom commented 3 years ago

Value updated in main branch after CI was green if the test is not skipped