Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Cheesy way to bring down intricacy to 0

T
TizioCaio95 (470 points)
2 4 6
in Programming in Python by (470 points)
So, while working at the HW4, I had to change a part of my code, and as a byproduct of that I had an empty function that was never called and didn't do anything at all. For some time I forgot about it, fast forward some hours and I go to try the intricacy of my code and I see that the aforementioned function reduced the intricacy, just by being there. As a test I tried adding 15 empty function that only returned 0 and that got my intricacy very, very low. I just wanted to report this, I wish good luck to all for HW4!
363 views
closed

1 Answer

Best answer
James_F (6070 points)
10 14 47
by (6.1k points)
selected by
the intricacy considered in hw is the max above all func/classes, so there is no way you can exploit this nor a way that this will affect grades of the "clever" one.
It is stated in hw's guidelines tho.