ngmix mcal_flags records nothing when metacal fails wholesale
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by locating get_mcal_flags and the mcal_types_fail counter, then trace how absent results, missing 'flags', and non-finite shear are handled. Reproduce the wholesale metacal failure described in the issue and verify that it is no longer recorded as successful, including an aggregate check for the 100%-failure case.
Written by the indexing model from the issue text.
Description
Found during the A/B characterization campaign (#813): when a missing library feature made every object's metacal fit fail silently (sentinel outputs, no exception), the catalogue came out fully populated with mcal_flags == 0 throughout — the failure was only visible by inspecting sentinel values by hand.
Root cause: both get_mcal_flags and the mcal_types_fail counter default an absent result (or missing 'flags' key) to 0 — success. Absence of evidence of success is treated as success. A fitter that lies about succeeding (flags 0, non-finite shear) is also never caught, and there is no aggregate guard for the 100%-failure case.
— Claude (Fable), on behalf of Cail.
- Dominant language
- Python
- Stars
- 18
- Forks
- 14
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CosmoStat/shapepipe
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
All issues in CosmoStat/shapepipe
Similar issues
-
area: harness bug status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Human-Agent-Society/reef#625 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
learningequality/kolibri#15351 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Name consistency Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eellak/triplestore#65 · 1 comment ·