chunk format: one `CHUNK_FIELDS` spec, ASCII text in `ChunkSpool`, one BAM tag parser
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 0
- フォーク
- 0
- 平均マージ
- 11時間 17分
- マージ済み PR(30日)
- 23
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rnabioco/leech のほかの issue
-
load_model_from_checkpoint drops num_out/signal_in_channels for models whose __init__ takes **kwargsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1週間以上 初心者へのやさしさ 18/100
メンテナーはふだん 1 日以内に返信
-
model train-many: one launcher that owns an allocation and trains a queue of configs across its GPUsオープン
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
microsoft/TokenEconomizer#360 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
reasons-gate
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
benthomasson/reasons-service#190 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
ui
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信