sjvrijn / mf2

Collection of Multi-Fidelity benchmark functions
https://mf2.readthedocs.io/
GNU General Public License v3.0
25 stars 7 forks source link

Test refactor #42

Closed sjvrijn closed 2 years ago

sjvrijn commented 2 years ago

closes #38

sourcery-ai[bot] commented 2 years ago

Sourcery Code Quality Report

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

Quality metrics Before After Change
Complexity 0.70 ⭐ 0.80 ⭐ 0.10 👎
Method Length 34.80 ⭐ 37.20 ⭐ 2.40 👎
Working memory 5.93 ⭐ 5.95 ⭐ 0.02 👎
Quality 86.46% 85.95% -0.51% 👎
Other metrics Before After Change
Lines 153 119 -34
Changed files Quality Before Quality After Quality Change
tests/property_test.py 86.46% ⭐ 85.95% ⭐ -0.51% 👎

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!