nus-cs2103-AY2021S1 / forum

20 stars 2 forks source link

Question about the PE #414

Closed GeNiaaz closed 3 years ago

GeNiaaz commented 3 years ago

When doing the PE, say a bug is discovered in a program. If the bug affects other areas of operation of the program and causes them to behave unexpectedly, are the "derived" errors considered bugs too and cause us to be marked down? Or are we only graded based on the "root" bugs in our program.

For example, if the time is not validated, and leads to many other functions behaving unexpectedly, are we marked down for all the subsequent errors? Or simply for the initial bug of time not being validated.

damithc commented 3 years ago

You can argue the 'derived' bugs are duplicates of the 'root' bug. Duplicates are not penalized. But in that case you may have to increase the severity of the bug based on the number of other places it turns up, as the bug is causing damage in other places of the software.

GeNiaaz commented 3 years ago

Ah alright, thanks for the clarification