Skip to content

Fix Variant tracking to website #15

@Splat

Description

@Splat

Currently the detection method variant isn't percolating into the result set and thus isn't rendering on the website.

The Javascript in state.json has a normalizeRecord(r) function. There is also a classifyVariant() function that doesn't seem to do much beyond classify if a record is transposition or not. It recomputes the method based on the Levenshtein distance which is incorrect. The base processors should instead save the transposition in the typo.go generator and carry that variant forward to the end data which the site just renders rather than recomputes.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions