String Similarity Checking - Gnorion/BizVR GitHub Wiki

String Similarity Checking

Suppose you have this decision:

image

Notice that none of the declared inputs are actually used in any rule because the user has made simple typos in the names.

The validator can help you identify these. You will see a warning message like this

image

When it doesn't find an exact match for an input variable, it will look for the closest matching one and show it in the report so you can fix your rules.

image

You can configure the threshold above which VV considers two string to be misspellings of the same string by creating a table named "settings" and adding a setting as follows:

image

If you lowered the threshold then you might see other options

image

A similar process operates for the declared output variables.

VV will also use this method when checking that values set in rules are actually tested in later rules.