Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#910 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
data-engineering

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
18
Forks
14
Merge médio
1d 4h
PRs com merge (30d)
18

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CosmoStat/shapepipe

Todas as issues de CosmoStat/shapepipe

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.