chunk format: one `CHUNK_FIELDS` spec, ASCII text in `ChunkSpool`, one BAM tag parser
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 22/100
Direzione di ricerca
Start with the four copies of the chunk field list in chunking/serialization.py (iter_chunk_columns, load_chunks), chunking/table.py (_INT_FIELDS/_TEXT_FIELDS), and the classifier in tests/test_backend_parity.py, then the -5/5 defaults near line 381. Done means one CHUNK_FIELDS spec feeds all of them, ChunkSpool stores text as S widened blockwise, tests/test_chunk_writer.py still passes with identical .npz bytes, and the parity test fails on an unclassified field.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Tier P3 · effort M · from the 2026-09-13 review (prep F7, F10, F12)
- The chunk record's field list is spelled four times:
chunking/serialization.py:349-477(iter_chunk_columns, write),:1044-1176(load_chunks, read as dicts),chunking/table.py:28-47(_INT_FIELDS/_TEXT_FIELDS, read as columns), and the classifier intests/test_backend_parity.py.serialization.py:381-382defaultsfeature_start/feature_endto literal-5/5— a third spelling of the ruleresolve_feature_windowcentralised in #189 (never hit, since both backends set them, but a trap). ChunkSpoolkeeps every text member as<Uin RAM (serialization.py:720-724):read_idsU36 (144 B),sequences_with_kmer_context~U56 (224 B),sequencesU11 (44 B) plus three small ones ≈ 450 B/chunk ≈ 3 GB at 6.7M chunks — the dominant RSS ofdata preparenow that arrays spill;text_column()(:748-760) then concatenates a second transient copy.table.py:144-165already reads text as fixed-widthS.mv/ns/tsare parsed inio/bam_reader.py:151-157(ReadInfo.__init__) and again infeatures.py:131-155(extract_move_table);CLinbam_reader.py:160-166andpreparation/reader.py:277-281.
Acceptance criteria
- One
CHUNK_FIELDSspec (field, member, dtype, missing sentinel, is_text) consumed by the writer, the dict loader,ChunkTableand the parity test's classifier;_text()and the-1sentinels are properties of the spec; the-5/5literals are gone. Adding a field is one edit plus its parity classification. ChunkSpoolholds text as fixed-widthSand widens to<Ublockwise in_write_text_member; the.npzbytes are identical (tests/test_chunk_writer.py); peak RSS ofdata prepareon the fixture drops (record it).MoveTable.from_alignment(aln)is the single tag parser;ReadInfoandextract_move_tabledelegate;ReadInfo.from_alignmentownsCL.tests/test_backend_parity.pystill fails on an unclassified field.
Non-goals
- The struct-of-arrays Rust return (separate issue), though this spec is what it should target.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 0
- Merge medio
- 11h 17m
- PR unite (30g)
- 23
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 rnabioco/leech
-
load_model_from_checkpoint drops num_out/signal_in_channels for models whose __init__ takes **kwargsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 Più di una settimana Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
-
model train-many: one launcher that owns an allocation and trains a queue of configs across its GPUsAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di rnabioco/leech
Issue simili
-
ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
accepted
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
future-agi/future-agi#5070 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
juandresrodca/AdminForge#69 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
deepset-ai/haystack-integrations#817 ·
I maintainer di solito rispondono entro 12 giorni
-
[Bug]: test_remote_realpath_uses_argument_vector fails on Windows with Python 3.13+ (ntpath.isabs)Forse già presa @gouyu-hou l’ha presa oggi. Apertatriage/confirmed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
agentscope-ai/agentscope#4397 ·
I maintainer di solito rispondono entro 2 giorni