Do you need any help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2021-22 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 2021-22 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.

VIDEOLEZIONI DEL CORSO DI FONDAMENTI DI PROGRAMMAZIONE AA20-21

PROGRAMMING COURSE VIDEOCONFERENCES AY20-21

How to Handle Secret Tests?

S
Silktrader (2550 points)
1 6 16
asked Nov 25, 2020 in HW4 required by Silktrader (2,550 points)
edited Nov 25, 2020 by Silktrader

This is about the latest "secret tests", for both homework #2 and homework #4. I'd rather write here than pollute Prof. Spognardi's lecture with related questions. I dislike complaining, so I will keep this short.

Given that our assignments understandably don't describe realistic scenarios, the unit tests serve as guidance rather than a mere complement to requirements. How come the latest edge cases weren't included among the initial tests?

Most of us had read about "secret tests" in the Italian forum. Their purpose, we thought, was to dissuade and signal cheating, as when exploiting inputs bias or data repetitions. We were wrong. Five heroes students were unaffected by the latest tests; fifty or so failed to anticipate the new test cases. What would the teaching staff advise to avoid future complications with "secret tests"?

There's an Italian term that perfectly captures my state of mind — "rosicata".

All in all, thanks for the learning platform, the challenging homeworks and the cruel plot twists. 
 

1 Answer

Best answer
andrea.sterbini (172780 points)
513 935 1789
answered Nov 25, 2020 by andrea.sterbini (172,780 points)
selected Nov 25, 2020 by Silktrader

Thanks for the constructive comment. From it I take two things:

  • it would be better if some edge cases would be part of the initial assignment tests. (I will do my best to do it in a future)
  • unit testing is NOT meant as a complete specification, but can only test a subset of the solution space (and this is a lesson for everybody listening)