Skip to content

Key similarity checker #16

Open
Open
@thclark

Description

@thclark

In cases where a strand key (or a property key in a schema) is missing or absent, use levenshtein distance or fuzzy matching to determine whether a similar key is given in the input, then add a suggestion to the warning or error, e.g.:

Strand "credentials" is not present, but twine file contains key "crdntials" . Did you mean "credentials"?

Activity

self-assigned this
on Jan 7, 2020
thclark

thclark commented on Dec 18, 2020

@thclark
CollaboratorAuthor

Can also be used as a twine validation check. We can't exclude additional fields using the twine schema (in case people need to add their own metadata in the twine, or we want to add more strands), but we could apply this additional check after the twine has been read.

added this to Octue Boardand Octue Board and removed this from Octue Boardon Dec 1, 2021
moved this to Priority 1 (Low) in Octue Boardon Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureA new feature of the app

Type

No type

Projects

Status

Priority 1 (Low)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

    Participants

    @thclark

    Issue actions

      Key similarity checker · Issue #16 · octue/twined