Open kvernnn opened 3 days ago
Thank you for raising this issue. After reviewing the reported behavior, we would like to clarify the following:
Explanation of Behavior: Our implementation of duplicate detection considers both name and phone number to determine if two candidates are the same. However, duplicate detection is case-sensitive for the name field. This behavior aligns with our intended design and allows flexibility for users to distinguish between candidates who might have similar details but differ in the capitalization of their names (e.g., "John Doe" and "JOHN DOE" may refer to different entities in some contexts).
The current design ensures that:
Two entries with the same name and phone number are disallowed. Entries with the same phone number but different name cases (e.g., "John Doe" vs. "JOHN DOE") are treated as distinct. This is explicitly stated in our User Guide, where duplicate detection considers the name and phone number combination. There is no mention of enforcing case insensitivity for the name field, and the current behavior is consistent with the stated rules.
Addressing the Issue: As per the PE Grading Guidelines, this behavior does not qualify as a Functionality Bug because: The behavior does not differ from the specifications in the User Guide. The UG does not explicitly state that name matching is case-insensitive. The current behavior supports a legitimate user scenario where two individuals may share the same phone number but have names that differ in capitalization. Recommendation: We recognize that case-insensitive duplicate detection for names may provide additional user convenience, but it is not essential for the current version of the product. This could be a potential enhancement for future iterations, but for now, we respectfully classify this issue as response.NotInScope.
Team chose [response.NotInScope
]
Reason for disagreement: [replace this with your explanation]
Steps:
add n/John Doe p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 dr/Software Engineer s/Java, Python, C++ ex/Project Manager at Google from 2010-2020 st/Interviewed note/Super confident t/friends t/owesMoney
adds John Doe into the address bookadd n/JOHN DOE p/98765432 e/johnd@example.com a/311, Clementi Ave 2, #02-25 dr/Software Engineer s/Java, Python, C++ ex/Project Manager at Google from 2010-2020 st/Interviewed note/Super confident t/friends t/owesMoney
add
command does not allow the same candidate to be added twice based on phone number and nameThis contradicts with the specifications in the UG. Users might assume that the application checks the duplicate inputs for them but in actuality it does not, which might cause inconveniences in the future when they realise two contacts have the same number.