Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

make_cat: spread-model size check can never fire; SM_DO_CLASSIFICATION silently ignored without its input

Aperta
#910 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Locate make_cat_runner and save_sm_data in the catalogue-assembly path, then trace the star/galaxy spread-model branch and its three-input path. Verify the size check, w_log call, SPREAD_MODEL output, SM_DO_CLASSIFICATION handling, and missing-threshold error behavior; done means each reported case behaves explicitly and is covered by focused tests.

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

Descrizione

Found while writing the classification-deferred-downstream contract for the decision record (#875). In the star/galaxy (spread-model) path of catalogue assembly: save_sm_data returns the n_obj argument it was given, so make_cat_runner's SExtractor-vs-spread-model size check compares a value with itself and can never fire — and if it did, it would crash, since it calls w_log(...) as a function; with three inputs (no spread-model catalogue) the runner writes no SPREAD_MODEL column while logging "setting spread model to 99", and SM_DO_CLASSIFICATION = True is silently ignored; a missing SM_STAR_THRESH/SM_GAL_THRESH surfaces as a bare NoOptionError. The path is dormant in the committed workflow (classification off), so nothing measured is affected today.

Lingua principale
Python
Stelle
18
Fork
14
Merge medio
1g 4h
PR unite (30g)
18

Preparare l'ambiente

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 CosmoStat/shapepipe

Tutte le issue di CosmoStat/shapepipe

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.