Common names tracking issue
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
Direzione di ricerca
Review the history in the issue body and linked PRs #6, #14, #26, #36, #37. Understand the current common-names handling in the codebase, likely in a module like common_names.py. Examine the GBIF Backbone and Catalogue of Life data sources. The work involves fixing homonym lookups, cache handling, and deciding on rerun behavior. A newcomer must first understand the project's taxonomic resolution flow and the existing Polars-based data processing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Issue text drafted with the help of Opus 5.5.
Common-name handling has gone through several iterations across releases, PRs, and branches. This issue collects that history in one place and gathers the open work that should inform the next iteration.
History
| Stage | Where | Released? | Behavior |
|---|---|---|---|
| Original retrieval | #6 (merged 2025-05-01) | v0.1.0 | Merges GBIF Backbone vernacular names into resolved output. Input common names could pass through. |
| Deterministic rewrite | #14 (open, branch feat/deterministic-common-names) |
never merged | Backbone-only names, Polars rewrite, higher-rank coverage, tests. The review discussion there (usefulness of higher-rank names such as "Orchid" for many species; recording the source rank) directly shaped later work. |
| Hierarchical fallback | #26 | v0.2.0 | Always climbs species → kingdom. Prefers the first English name, then any language. Input common names always replaced. |
| Optional fallback + rank column | #36 → #37 | unreleased (on main only) |
--no-higher-rank-fallback disables climbing. New common_name_rank column records the rank the name came from. Default output matches v0.2.0 plus the new column. |
Note: #37's behavior has not shipped in any tagged release. If the next iteration lands before the next tag, release notes should describe the net change from v0.2.0.
Open items
- #10: input common names must not pass through. The literal request is addressed since v0.2.0 (the input
common_namecolumn is always dropped before lookup). Its broader goal, a uniform one-to-one mapping between taxonomy and vernacular, is affected by the homonym item below. - Homonym-blind taxon lookup (new). Each rank's name is mapped to a backbone
taxonIDbycanonicalNamealone, ignoring kingdom andtaxonomicStatus. Duplicates are dropped with Polarsunique(subset=[rank]), which keeps an arbitrary row (stable in practice, not guaranteed). In the GBIF Backbone: 44,403 duplicated genus names (11,520 spanning more than one kingdom), 248,587 duplicated species names, 194 duplicated family names. Example: genus Laelia maps to taxonID 7562880 (Plantae, doubtful) for every row, so animal Laelia can receive a plant's common name. - #35: dead
cache_dirhandling in the standalone common-names parser. - #34 (last bullet):
--full-rerundoes not apply tocommon-names, although the command writes its own manifest. Decide whether it should, or document that it isresolve-only.
Related branches (kept for reference)
feat/deterministic-common-names: #14's branch.
Next iteration
Should include fixes required by the above notes.
Before common names updates are added to a tagged release, the strategy should shift to use Catalogue of Life vernacular data retrieved from here.
Furthermore, a vernacular assignment strategy for TaxonoPy-resolved entries should be agreed upon. Default behavior can be unfiltered retrieval of all vernacular data, enabling a user to apply custom strategy of their design. Additionally, we can provide reasonable prioritization/filtering strategies that serve our own use-cases.
- Lingua principale
- Python
- Stelle
- 20
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Imageomics/TaxonoPy
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
Imageomics/TaxonoPy#35 ·
-
documentation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
Imageomics/TaxonoPy#34 ·
-
Trace command package version silent cache missesForse di nuovo libera @thompsonmj l’ha presa 222 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
Imageomics/TaxonoPy#29 · 1 assegnatario ·
-
edge case
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Imageomics/TaxonoPy#25 ·
-
Discuss complementary and similar approachesForse di nuovo libera @thompsonmj l’ha presa 234 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation
Imageomics/TaxonoPy#24 · 1 commento · 1 assegnatario ·
Tutte le issue di Imageomics/TaxonoPy
Issue simili
-
Claiming namespace `apoint`Apertanamespace operations
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
EclipseFdn/open-vsx.org#13573 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
collective/icalendar#1854 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rancher/rancher-ai-agent#412 ·
I maintainer di solito rispondono entro 6 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
TUDelftGeodesy/DePSI#134 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
HenriquesLab/rxiv-maker#335 ·