Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#910 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
data-engineering

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
18
Fork
14
Merge trung bình
1 ngày 4 giờ
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CosmoStat/shapepipe

Tất cả issue của CosmoStat/shapepipe

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.