STeng618 / pe

0 stars 0 forks source link

Alt frame in UML for calorie #12

Open STeng618 opened 2 months ago

STeng618 commented 2 months ago

Use of alt frame but there is no "else". I think you meant "opt"

Screenshot 2024-04-19 at 5.24.18 PM.png

nus-pe-script commented 2 months ago

Team's Response

Hi there, thank you for the bug report!

Our team recognizes that opt can be used here also. However, we feel that we are not violating the rules by using alt here as it is not clearly mentioned that when only one condition is present, alt cannot be used.

Semantically, when there is only one condition, alt and opt mean the same thing.

As such, we have chosen not in scope label for this issue as we believe that it is a valid concern but we should not be penalized for this.

image.png

Thank you!

Items for the Tester to Verify

:question: Issue response

Team chose [response.NotInScope]

Reason for disagreement: For proof, refer to lecture video uploaded on 22/3/2024. The professor explained the difference between opt and alt at 28:00

alt frames are used to indicate alternative paths. When there is only 1 path, an opt frame should be used. Using an alt frame for just 1 execution path does not comply with course materials.