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

Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2023-24 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menù personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2023-24 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

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!
375 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.