Skip to content

maintenance: anonymise the named science target in the WFC3-IR hole regression - #74

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/anonymise-wfc3-ir-hole-regression-target
Aug 29, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/anonymise-wfc3-ir-hole-regression-target

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

Summary

Library repos must not name science targets. The WFC3-IR mosaic-hole regression
— the reason the IR adapter ships STScI's MDRIZTAB dq_bits_rows instead of
drizzlepac's final_bits = "0" default — was named after the real target it was
found on. It is now identified by the dataset shape it actually encodes: HST
program 14653, F160W, a five-exposure mosaic with a 123-px hole at r = 5.3".

Three sites: the adapter's rationale comment, the regression test's name and
comment, and the "Blobs (DQ 512)" paragraph of the WFC3 design note.

API Changes

None — internal changes only. The renamed identifier is a pytest method
referenced nowhere outside its own file; no exported symbol, signature, default
or behaviour changes.

Test Plan

  • python3 -m pytest test_autoreduce/ -q → 299 passed, 3 skipped
  • grep -rIn -i pj011646 --exclude-dir=.git returns nothing tracked
  • Diff is comment / test-name / prose text only — no executable line changed

Generated by the PyAutoLabs agent workflow.

…egression

Library repos must not name science targets. The WFC3-IR mosaic-hole
regression is now identified by the dataset shape it encodes (HST program
14653, F160W, five-exposure mosaic, a 123-px hole at r = 5.3") rather than
by the target it was found on.

- autoreduce/instruments/wfc3_ir.py: reword the dq_bits_rows rationale
  comment.
- test_autoreduce/test_target_and_instruments.py: rename
  test_pj011646_would_not_have_holed ->
  test_five_exposure_f160w_mosaic_would_not_have_holed and reword its
  comment; assertions untouched.
- docs/design/wfc3.md: reword the "Blobs (DQ 512)" paragraph so the failing
  dataset is identified generically.

Comment, test-name and doc text only - no behaviour change, no API change.

Refs #73

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GZceRRca9F5ojAtjpRp3me
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Aug 29, 2026
@Jammy2211
Jammy2211 merged commit 5ee7c4e into main Aug 29, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the feature/anonymise-wfc3-ir-hole-regression-target branch August 29, 2026 01:22
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant