Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement EPH and Canonicalization #217

Merged
merged 42 commits into from
Feb 16, 2025
Merged

Implement EPH and Canonicalization #217

merged 42 commits into from
Feb 16, 2025

Conversation

offbyone
Copy link
Contributor

@offbyone offbyone commented Feb 6, 2025

Credit where it's due; this is mostly a port of the EPH logic from Glasgow in 2024, as written by @djm4. You can find that here

This comes with rudimentary tests.

Fixes: #199

Issue: Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: Issue: #199
Milestone: Seattle 2025 Nominations Close
This is based heavily on the typescript implementation by @djm4 for
Glasgow.

Issue: Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: Issue: #199
Milestone: Seattle 2025 Nominations Close
Drop the view of the ballot; we will probably synthesize them from the
data, via joins, rather than resolving them.

Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
The admin view offers a pair of admin interfaces: One to manage the
association between works and nominations, and the other to edit the
details of the work

Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
`import_nominations` imports a valid nomination dump from NomNom and
_partially_ anonymizes it; it is not anonymous enough to share, but
it does at least file the serial numbers off.

Issue: #199
Milestone: Seattle 2025 Nominations Close
@offbyone offbyone changed the title Implement EPH ballot construction Implement EPH and Canonicalization Feb 12, 2025
@offbyone offbyone force-pushed the canonicalize branch 2 times, most recently from f905a48 to 044e529 Compare February 12, 2025 05:49
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
This is the report that is needed to provide EPH input

Issue: #199
Milestone: Seattle 2025 Nominations Close
This gets added to by collectstatic

Issue: #199
Milestone: Seattle 2025 Nominations Close
- find the most similar work in the works table for the first match
- include enabling the similarity check in postgres by default

Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Not Five.

Not Four.

SIX

Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
This is on a best-effort basis

Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
- improved the sorting of the autocomplete work field
- figure out sorting of the matched work
- add a button to fast-create a single work

Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
Issue: #199
Milestone: Seattle 2025 Nominations Close
This causes a conflicting workflow when running real releases that
create tags. It's a pain in the ass

Issue: #199
Milestone: Seattle 2025 Nominations Close
@offbyone offbyone merged commit f52fd31 into main Feb 16, 2025
10 of 13 checks passed
@offbyone offbyone deleted the canonicalize branch February 16, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EPH and Canonicalization
1 participant