Skip to content

fix cyclometric complexity and testing#53

Open
GlebKruchkov wants to merge 1 commit intoQwenLM:mainfrom
GlebKruchkov:fix_cyclometric_complexity
Open

fix cyclometric complexity and testing#53
GlebKruchkov wants to merge 1 commit intoQwenLM:mainfrom
GlebKruchkov:fix_cyclometric_complexity

Conversation

@GlebKruchkov
Copy link

Hello!

I used the Radon(https://radon.readthedocs.io/en/latest/) utility to evaluate the quality of your code.

I decided to explore the file grader.py . When evaluating the cyclometric complexity, I got an F score for the math_equal function (bad enough). I tried to improve and test all the written code. Cyclomatic complexity has been improved to level D (not perfect, of course, but clearly better).

I am ready for your comments and further correction and testing of the code.

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