0.2.0 — diamond allotaxonometer + rank any scores - #8
Merged
Conversation
- Add allotaxonometer(): the Dodds (2020) diamond allotaxonograph — rotated-square rank-rank histogram (LogNorm) with iso-divergence contours, log-rank edge axes, exclusive edge strips, and a wordshift + balance panel. The existing two-panel allotaxonograph is unchanged. - Add RankedList.from_scores() to rank by any numeric score (keyness, log ratio, ...), enabling keyword/lockword/frequent-vs-keyword comparisons. - Extend the presidential gallery + notebook with diamonds and a frequency-vs-keyness diamond; add a README research note on comparing many rankings (RTD is pairwise; nearest framework is rank aggregation / Kemeny). - New tests for allotaxonometer and from_scores; allotaxonograph tests unchanged. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
allotaxonometer(the Dodds 2020 diamond allotaxonograph: rotated-square rank-rank histogram + iso-divergence contours + wordshift/balance) alongside the unchanged two-panelallotaxonograph. AddsRankedList.from_scoresso keyword rankings / 'frequent words vs keywords' / any metric are first-class. Extends the presidential gallery with diamonds + a frequency-vs-keyness diamond, and adds a README research note on comparing many rankings (RTD is pairwise; nearest framework is rank aggregation / Kemeny). New tests;make ci+mkdocs --strictgreen. Bumps to 0.2.0.🤖 Generated with Claude Code