Jellybeano / pe

0 stars 0 forks source link

Inconsistent editp error messages #2

Open Jellybeano opened 3 years ago

Jellybeano commented 3 years ago

The error message changes when the problem is the same: the input index is invalid as it is not in the list

image.png

vs

image.png

nus-pe-bot commented 3 years ago

Team's Response

Thank you for your comment.

The problems shown are not the same, hence the different errors.

In the first scenario, the user inputs an integer 1000000 for the index, as required. But the index is not valid, since the list is not long enough. The error message reflects this.

In the second, the user inputs 10000000000, which is not an integer in this context (of Java programs). Hence, the input does not contain an integer so it does not follow the correct command format. The command is then not valid, and the error message reflects this.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: theoretically, 1000000000000 is an integer.

it is true that logically a user would never store 1000000000000 items though, so the lowering of the severity is valid


:question: Issue severity

Team chose [severity.Low] Originally [severity.High]

Reason for disagreement: [replace this with your explanation]