tracking: 2026-09-13 codebase review — 35 specs, tiered

オープン
#293 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
8/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
静か
技術スタック
github-actions, python, rust

調査の方向性

This is an umbrella tracker, not a task: pick one linked spec from the tier table and start there, not here. Read the spec's acceptance criteria and target paths, and check its dependencies first (for example #259 before #258). Run tests/test_backend_parity.py before and after any change. Done means the spec's named tests pass and the PR has a CHANGELOG line.

索引モデルが issue の本文から書いたものです。

説明

review-2026-09

Tracking issue for the 2026-09-13 codebase review (leech at ae73280, escapepod v0.25.0). Every linked issue is a spec: acceptance criteria, target paths, test names, non-goals. They were written to be executed by an agent without further design; if one turns out to need a decision, comment on it rather than guessing.

Standing rule from the review: leech_core defers to the upstream escapepod crate whenever it provides the primitive (#258). Do not optimise a local copy of something escapepod_signal exports; replace it.

Tiers

Tier # Title Effort Depends on
P1 #258 rust: replace the local chunk pipeline with escapepod_signal::chunk M #259 first; one seam needs rnabioco/escapepod-rs#380
P1 #259 rust: hand the k-mer table and move tables to leech_core once S —
P1 #260 dataset/rust: encode signal_kmer per batch M rnabioco/escapepod-rs#380 (interim leech_core loop allowed)
P1 #261 ci: a leech_core build failure must fail CI S —
P1 #262 eval: remove the three commands that import a nonexistent module S —
P1 #263 predict: --workers bypasses Rust, swallows config errors; --backend python partial S–M —
P1 #264 numerics: fp16 probabilities under AMP feed AUROC and selection S — (measure the shipped scores first)
P1 #265 prepare: a run that loses every batch exits 0 (+ #166) S —
P1 #266 pipeline: rules pass options the CLI does not have; default context 225 vs 200 S–M Snakemake agent
P2 #267 rust: struct-of-arrays return + per-read outcomes M #258
P2 #268 inference: bundle predict through the streaming pipeline L #269
P2 #269 inference: one InferenceSpec resolver M —
P2 #270 training: one TrainConfig; grid search forwards every key M–L —
P2 #271 cli: shared option decorators, one device/workers/seed convention M #270
P2 #272 training: measured hot-path fixes S each coordinate with #260
P2 #273 ddp: BatchNorm under --gpus N S —
P2 #274 models: tier the registry, structural predicates M —
P2 #275 prepare: one dispatcher M —
P2 #276 signal_refine: remove the never-run DP path, inert sidecar settings M coordinate with #258
P2 #277 dead code sweep S —
P2 #278 prepare: base-defined signal window M after #258 ideally
P2 #279 training: label-noise-aware loss M #270 helpful
P2 #280 training: low-FPR checkpoint metric and loss S–M #270 helpful
P2 #281 dataset: time-stretch augmentation M —
P2 #282 prepare/predict: junction-disruption field + abstention S–M —
P2 #283 models: non-causal TCN knob, recorded feature standardisation S —
P3 #284 deployment helpers dedup (+ #141) M —
P3 #285 dataset: TensorCorpus split, block-only twins L #260
P3 #286 trainer hygiene S #270
P3 #287 models: TOML-port the hand-written classes M #274
P3 #288 chunk format: one CHUNK_FIELDS spec M —
P3 #289 merge: streaming through the spill M —
P3 #290 ty: re-enable the nine ignored rules M —
P3 #291 docs: generated CLI reference, changelog line, retire --reference-anchored S #262
P3 #292 tests: hygiene and coverage gaps M —

Suggested execution order

  1. Independent small fixes, any order, one PR each: #262, #261, #264, #265, #259, #277, #273, #266.
  2. Structural, one at a time per area: #258 (Rust), #269 then #268 (inference), #270 then #271 (training/CLI), #274 (models), #275 and #276 (prepare), #260 and #272 (loader).
  3. Model features for the next experiments: #283, #278, #280, #279, #281, #282 — each is a leech feature with a test; the experiments themselves are run from escapepod-models with three paired seeds.
  4. Remaining P3 as capacity allows.

Every PR: /code-review before /land, tests/test_backend_parity.py green, and a CHANGELOG line.

Model-side context (for the P2 feature issues)

The production charging model reads basecall disruption at the adduct; raw signal alone reaches 0.9947 AUROC on the pure cohort against the full model's 0.9961, so the feature branch is nearly idle. Per-base feature engineering, alignment channels, isotype balancing and recipe ports are measured nulls in escapepod-models' dev notes — do not reopen them. The open levers are geometry (the arm must reach +24 and keep the body, #278), labels (#279), the operating regime (#280), and robustness to speed, construct and basecaller (#281, #282, #283).

主要言語
Python
スター
0
フォーク
0
平均マージ
11時間 17分
マージ済み PR(30日)
23

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rnabioco/leech のほかの issue

rnabioco/leech の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。