Open bkjwjason opened 1 year ago
We understand the concern. Though, a misspelling like --ogr
is non-trivial to detect, and requires polynomial time to correctly evaluate (e.g., via Levenshtein distance). Additionally, it would require careful trial and error in determining how low of an error score is required before something is considered a similar match. Hence, we consider this to be out of scope, since it is not worth the effort required to implement this by v1.4.
We also believe that Jobby's autocomplete mitigates the likelihood of typos with fuzzy subsequence matching. A user looking to avoid typos would simply invoke autocomplete to use a full parameter name. For example, a "misspelling" or partial spelling of --o
or -og
would have suggested --org
thanks to autocomplete's loose matches, which is simple for Jobby to detect in linear time. The lack of suggestions would suggest that the user entered an unrecoverable mistake that cannot be detected easily. Thus, we would also consider this to be closer to a deliberate user action to intentionally ignore autocomplete and type an incorrect input.
Team chose [response.NotInScope
]
Reason for disagreement: [replace this with your explanation]
When adding an organization/recruiter, a misspell in a required prefix gives the error message:
irrelevant options found in the command
.Steps to reproduce:
add --ogr --name JohnInc
While error message is present, this is not a irrelevant field. Rather, it is a necessary field that is spelt wrongly, and user might have this problem if they type too fast. Error message can be better detailed.
According to course principles, it is a feature flaw, and since users might be able to spot their mistakes quickly, it is severity.low