Translator API/misc improvements
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Refactoring
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- api, documentation
Direzione di ricerca
Inizia esaminando il modulo translator, la sua classe padre astratta, le classi di implementazione e AlleleTranslator._create_allele, insieme ai singoli metodi from. Questa è un’ampia lista dei desideri, quindi conferma innanzitutto quale miglioramento della documentazione, dell’annotazione di tipo, di fmt, di kwargs o dell’ambito degli argomenti è previsto; per l’elemento selezionato deve essere definito cosa significhi done prima di iniziare il lavoro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
A wishlist/brainstorm:
- Richer documentation and type annotation. This module is serving a lot of roles right now and some internal design decisions have been made out of necessity for fulfilling those roles, and as personnel come and go/the years go on and on, we might lose sight of why those decisions were made. Stronger documentation about the why of some of these choices would help prevent breakage down the road (and might also resolve some of my thoughts/concerns below). Type annotation should be easier and would be a good short term step.
- Constrain global
fmtvalues in an enum - Document
kwargsfor translator methods directly in the implementation classes. Currently they're all located within the abstract parent, which means that docs for each implementation e.g. show the user some irrelevant kwargs. - Make documentation for individual
_from_methods accessible. Right now there's a docstring that refers a user to look at them for more information, but they're private (leading underscore), so the user technically isn't supposed to be able to/can't easily find them, either withhelp()or in docs if we ever make them. - Not clear to me why args in
AlleleTranslator._create_alleleare kwargs -- if it's for flexibility between individual_from_fmtmethods, there are a few ways we could make valid args more explicit, either naming them all and giving them defaults, doing fmt-specific post-processing within the_from_fmtmethod, ...
- Lingua principale
- Python
- Stelle
- 63
- Fork
- 43
- Merge medio
- 1h 2m
- PR unite (30g)
- 1
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. 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 ga4gh/vrs-python
-
Update to `pysam>=0.24.0`Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ga4gh/vrs-python#653 · 2 reazioni ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ga4gh/vrs-python#540 · 8 commenti ·
-
Update models to reflect new gkm-core and vrs minor releasesForse già presa @korikuzma l’ha presa 24 giorni fa. Apertaenhancement
ga4gh/vrs-python#651 · 1 commento · 1 assegnatario ·
-
Add Relative Allele NormalizationForse di nuovo libera @korikuzma l’ha presa 70 giorni fa e non c’è nessuna pull request aperta. Aperta
ga4gh/vrs-python#641 · 1 assegnatario ·
-
Add Adjacency NormalizationAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
ga4gh/vrs-python#640 ·
Tutte le issue di ga4gh/vrs-python
Issue simili
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
vllm-project/vllm-metal#822 ·
I maintainer di solito rispondono entro 1 giorno
-
vector-store
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
mem0ai/mem0#7461 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFileAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BasedHardware/omi#19047 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno