WorldconVotingSystems / WorldconVotingSystems/nomnom

Provide an admin view to highlight possible canonicalization errors

Open
#406 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

administrator-feature enhancement nice-to-have
Dominant language
Python
Stars
17
Forks
15
Avg merge
11m
Merged PRs (30d)
1

Description

If #377 or #222 are integrated, and also when manually canonicalizing, it would be helpful to have an admin view that highlights possibly incorrectly canonicalized works.

One possibility could be to use trigram similarity measurement using the pg_trgrm module, or just by simply calculating the Levenshtein distance of each nomination's proposed work name from the work name it's associated with.

In either case, we'd want to render this into a table for the work, showing possibly mis-canonicalized nominations at the top or otherwise highlighted, and provide a control to de-canonicalize them.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the admin view and canonicalization code, then determine how nominations are associated with works; done means an admin table identifies potentially mis-canonicalized nominations, prioritizes or highlights them, and provides a way to de-canonicalize them.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql, python
Domain
databases, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.