ped's People
ped's Issues
Cluster partial words matching is not working as expected
Command:
cluster 1 a/clem d/Cov
From the first screenshot, there clearly exists a person with "Covid" living in "Clementi". However, the cluster command fails to identify that the cluster exists.
This might be caused by the string matching process being unsound. Different variants of the command like cluster 1 a/Clem d/Cov
and cluster 1 a/clem d/cov
have been tried and all of them failed to identify the cluster.
Read command fails with special character input
Find condition with empty input returns empty list
Update command gives wrong error message when NRIC is invalid
Command:
update S1234567 hp/91234567 e/[email protected]
Instead of saying that the command format is invalid, a better error message would say that the NRIC field is invalid.
Typo in deleteinfo success message
Check command errors out with invalid NRIC input
Update allows empty fields for certain keywords
Command:
update S1234567A hp/11111111 e/[email protected] con/
When no input is given for the condition field, the program stores an empty string instead of a null.
It might be a better idea to standardise across the program to determine if empty inputs are considered as null or something else.\
This has potential consequences for the find
command.
Find a/ with empty input results in an unhandled exception
After find a/
is run, an exception is thrown and it is unhandled.
A simple fix is to catch this exception and return a valid error message to prompt to user to provide inputs.
Another point to consider is whether this should return the whole list of people with all addresses since the address condition is empty.
Cluster command provides wrong error message when cluster size is 0
Wrong date format in create example
The following create command does not work with this input, taken directly from UG
create ic/S0123456A n/Jane Doe hp/87654321 a/311, Clementi Ave 2, #02-25 dob/01-01-1990 s/F st/PENDING e/[email protected] bt/A+
Likely reason for failure is that the date should be in YYYY-MM-DD.
Cluster does not provide helpful error message when given float inputs
Unable to modify a visit without deleteing the whole visit record
From the user guide, it is seen that the update visit feature wil not be included in the final stage of this project. However, there is not delete command that is specific to deleting a particular visit as well. As such, to update a visit (due to a typo or other reasons), the user has to use deleteinfo to delete the visit field. This can be problematic if there are a large number of visitations and only one visit record has to be updated.
As such, I do not think that this visit feature satisfies the minimally viable product requirement.
Typo in cluster command error message
Read command fails with shorter than expected NRIC input
Unhandled error occurred when updating
You can replicate this behaviour by running the following commands in this specific order:
- find a/Geylang
- update S1234567A hp/91234567 e/[email protected]
This is likely caused by not checking for whether such a person exists in the display list after find
has been run.
A simple fix could just be to catch errors like these and return an error message in the output.
Cluster command gives the wrong error message when given large inputs
Command:
cluster 9223372036854775807 a/Serangoon d/dengue
When given a really large cluster size, the program returns an error message that is not fitting of the situation as the issue lies not in the command format.
This is probably caused by a validation exception but it isn't sufficiently distinguished.
Deleteinfo command's error message does not match the situation
Missing and inconsistent use of full stops
Typo in deleteinfo command's error message
Delete error message does not match the situation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.