Replies: 1 comment 1 reply
-
We are after consistent and qualitative data and 'Basement level 1' is not equal 'Basement Level 1'. I'm personally against case insensitivity. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This has been discussed before, but it's not clear to me why we have determined that all value comparisons must be case sensitive in IDS. E.g. test cases such as fail-attributes_should_check_strings_case_sensitively_2_2.ids
and fail-specifying_a_value_performs_a_case_sensitive_match_2_2.ids
While I can see there may be some scenarios where it makes sense when dealing with fixed schema values (e.g. #49) it feels like we're making life harder for both IDS and Model authors by not allowing some allowance for case differences - particularly on things like Attribute Values, PropertyValues, Classification values etc. where these are typically free text fields.
Take this simple example from a client's EIR/BEP, where they want to specify floors should have a consistent description:
I can see model authors questioning the value of being asked to change 'Basement level 1' to 'Basement Level 1' when there may be many other high-value issues in the information. At the moment as an IDS author I'd have to express this as a Regex to allow some degree of tolerance.
Should we consider a case sensitivity option on values? Perhaps something like:
Obviously this would only take affect on string values, and I get there may be internationalisation concerns for Unicode etc (but that's a solved problem?)
Beta Was this translation helpful? Give feedback.
All reactions