nus-cs2103-AY2425S1 / pe-dev-response

0 stars 0 forks source link

same property listed but unit number has leading 0s #1119

Open nus-pe-bot opened 2 days ago

nus-pe-bot commented 2 days ago

Both properties listed of the same housing type, postal code and unit number, but allowed because of leading 0 in unit number, app should recognize both listings as the same property so as to not have duplicates

image.png


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

triishaa commented 1 day ago

Team's Response

In the real world, people commonly enter unit numbers in different formats due to personal habits, organizational practices, or regional conventions. For instance:

Some users may always include leading zeros for consistency (04-26). Others may omit leading zeros for simplicity (4-26). Property management systems or landlords might use padded formats (004-26) for database sorting or compliance with their internal conventions. Accepting all these variations ensures the system works seamlessly with diverse user inputs, preventing unnecessary rejection of valid entries.

Duplicate status (if any):

--