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

Latent defects in setools star merge, breakdown grid, create_final_cat and footprint resume

Aperta
#959 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
45/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend, data

Direzione di ricerca

Start by reading the four named entry points: src/shapepipe/modules/merge_starcat_package/merge_starcat.py, scripts/python/run_breakdown_grid.py, scripts/python/create_final_cat.py, and src/shapepipe/utilities/field_corners_extractor.py. Check the cited lines and their related tests, if present, to understand each defect and its expected behavior. Done means each of the five reported defects is corrected and covered by checks for the affected behavior.

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

Descrizione

Five defects outside the committed data path, found while rewriting comments (comment sweep, PR to follow) and confirmed against develop (f2ab8a56) by a second reader. None affects the fiducial pipeline (psfex PSF model, workflow/); they matter to whoever next uses these tools.

merge_starcat with psf_model = setools (src/shapepipe/modules/merge_starcat_package/merge_starcat.py)

  • l. 847–848: each input rebinds eps1, eps2, chi1, chi2, so the output carries only the last input's ellipticities while every other column is stacked across inputs.
  • l. 811: get_ellipticity tests the builtin type rather than its parameter typ, so the chi/2 branch never runs.

scripts/python/run_breakdown_grid.py — l. 92–93, 270, 334: the injected shear arms are fixed at ±0.02 (ARMS), while --gamma only sets the estimator's denominator, so any non-default --gamma misnormalises the multiplicative bias.

scripts/python/create_final_cat.py — l. 617–621: single_action() sets res = 1 when the ID is absent and then unconditionally res = 0, so the check exits 0 on a missing ID.

src/shapepipe/utilities/field_corners_extractor.py — resume (l. 320–323) treats a CCD as done once its ID appears in column 0, while each row is written in several operations (l. 415–418); an interrupted write leaves an incomplete CCD that resume then skips.

Claude (Opus) and GPT-6.1 Sol on behalf of Cail.

Lingua principale
Python
Stelle
18
Fork
14
Merge medio
2g 13h
PR unite (30g)
35

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.