Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#959 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
backend, data

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
18
Forks
14
Merge medio
2 d 10 h
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CosmoStat/shapepipe

Todos los issues de CosmoStat/shapepipe

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.