heeeyi / pe

0 stars 0 forks source link

Find command does not allow near matches #10

Open heeeyi opened 1 year ago

heeeyi commented 1 year ago

image.png

image.png

While sometimes people may type "egg" and want to search "eggs", it is also possible the other way round, they want to search those containing "orange" but typed "oranges". The software cannot match this kind of search as well. This can be a feature flaw.

soc-pe-bot commented 1 year ago

Team's Response

No details provided by team.

The 'Original' Bug

[The team marked this bug as a duplicate of the following bug]

Find feature only able to search entire words

Description

When adding recipes, some recipe names include the type of food that is being created in the name i.e. cheesecake is a cake

When using find on cake, a user would expect to see cheesecake as one of the find results, however, find is only able to find the entry if the entry is cheese cake, where cake is a word on its own.

Steps for reproducing

  1. clear
  2. add t/cheesecake i/flour, 4, teaspoon, 0.02 s/mix the flour d/cheesecake
  3. add t/sponge cake i/flour, 4, cups, 0.3 s/mix flour into batter d/spongey
  4. find r/cake

Expected Output

Cheesecake and sponge cake entry

Actual Output

image.png


[original: nus-cs2103-AY2223S2/pe-interim#674] [original labels: severity.Low type.FeatureFlaw]

Their Response to the 'Original' Bug

[This is the team's response to the above 'original' bug]

Mentioned in Planned Enhancements 6

Screenshot 2023-04-16 at 4.26.32 PM.png

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: This issue is different from the other issue. The other issue is about "if I typed 'cake', I want it to match for 'cheesecake' in record". However, my issue is that "if I typed 'cheesecake', I want it to match for 'cake' in the record". Given this team is adopting stream-word-matching, this enhancement could actually be easier than the other issue, and it will also make "find" much easier and convenient to use.


## :question: Issue response Team chose [`response.NotInScope`] - [x] I disagree **Reason for disagreement:** The team does not make clear the exact "find" mechanism in their UG or DG to say that such functionality is not expected on the current software, nor is this issue the same as the one specified in planned enhancements.
## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.Medium`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]