Open hshiah opened 9 months ago
Duplicate issue as issue #501
[The team marked this bug as a duplicate of the following bug]
Program allows duplicate questions with spaces in between
Description: The user is able to key in dupliocate questions by varying the spaces between words in the add question platform.
Steps to reproduce:
- Add questions:
short What is 0.56 n fraction?/1\slash2/fraction/Hard short What is 0.56 n fraction?/1\slash2/fraction/Hard short What is 0.56 n fraction?/1\slash2/fraction/Hard
Expected: Program should reject the second and third command.
Actual: Program accepts the second and third commands.
Screenshots:
[original: nus-cs2113-AY2324S1/pe-interim#421] [original labels: type.FunctionalityBug severity.Medium]
[This is the team's response to the above 'original' bug]
- For the current version of the app, it may not be feasible to use advanced string matching to detect duplicates.
- Detecting duplicates is only meant to be featurefor detecting 100% matches of duplicate questions at this stage.
- Currently the algorithm detects 100% string matches for both question and module to conclude a match.
- Determining the threshold of string correspondence to conclude a match would most likely not be included in the current version.
Items for the Tester to Verify
:question: Issue duplicate status
Team chose to mark this issue as a duplicate of another issue (as explained in the Team's response above)
Reason for disagreement: [replace this with your explanation]
There is no duplication detection for multiple spaces.