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

Aperta
#293 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
github-actions, python, rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rnabioco/leech

Tutte le issue di rnabioco/leech

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.