Common names tracking issue
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 19
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Imageomics/TaxonoPy
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Imageomics/TaxonoPy#35 ·
-
IO inaccuracies in documentationAbiertodocumentation
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Imageomics/TaxonoPy#34 ·
-
Trace command package version silent cache missesQuizá libre de nuevo @thompsonmj la tomó hace 221 días y no hay ningún pull request abierto. Abiertoenhancement
Imageomics/TaxonoPy#29 · 1 asignado ·
-
edge case
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Imageomics/TaxonoPy#25 ·
-
Discuss complementary and similar approachesQuizá libre de nuevo @thompsonmj la tomó hace 233 días y no hay ningún pull request abierto. Abiertodocumentation
Imageomics/TaxonoPy#24 · 1 comentario · 1 asignado ·
Todos los issues de Imageomics/TaxonoPy
Issues similares
-
ACK_WAITING HELP_WANTED UPDATE_CS
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OWASP/CheatSheetSeries#2458 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
BasedHardware/omi#19711 ·
Los mantenedores suelen responder en 1 día
-
Qwen3_5MoeModel no longer returns router_logits, breaking aux loss with output_router_logits=TrueAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
huggingface/transformers#49172 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
vllm-project/vllm-metal#885 ·
Los mantenedores suelen responder en 1 día