Repository navigation
cleanup: code no job has called since the foundation's verbs, and its tests - #702
Merged
Merged
Conversation
… tests Each of these had no caller in rapidpipe/, scripts/, modules/ or database/ since the run model was retired (2026-10-20); only its own unit tests reached it. Removed with those tests, 33 in all: - rapidpipe/db/ids.py (new_ulid), the whole module. - alerts assemble: locate_records, index_associations, batch_produce, BatchStats and their record types; alerts crossmatch: chip_ref_matches. The packet stage assembles each alert itself. - statistics lightcurve: compute_radec_statistics, object_statistics, accumulate, csv_line. flux_statistics, the alert's per-filter block, stays, and the module's header becomes ported-from: none; the package's header still names dev's files, so the drift report still watches them. - crossmatch catalog: merges_line, astroobjects_line. - load catalogs: read_joined_catalog, write_joined_table_inner_to_csv_file. - spatial: compute_angular_separation, field_corners. index_to_radec is kept: it is the inverse the object id's round-trip test needs. Each module's docstring says what was ported and that it is in the file's history. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each function here had no caller in
rapidpipe/,scripts/,modules/ordatabase/since the run model was retired (2026-10-20); only its own unit tests reached it. They are removed with those tests (33 tests, about 1,150 lines). No job's behaviour changes.rapidpipe/db/ids.py(new_ulid), the whole module.locate_records,index_associations,batch_produce,BatchStatsand their record types; alerts crossmatch:chip_ref_matches. The packet stage assembles each alert itself.compute_radec_statistics,object_statistics,accumulate,csv_line.flux_statistics(the alert's per-filter block) stays. The module's header becomesported-from: none; the package's header still namesdev's files, so the drift report still watches them.merges_line,astroobjects_line.read_joined_catalog,write_joined_table_inner_to_csv_file.compute_angular_separation,field_corners.index_to_radecis kept: it is the inverse that the object id's round-trip test needs.Each module's docstring says what was ported from
devand that it is in the file's history, so a later need finds it.Implements no rapid_docs page. (An earlier version of this description said
system/alerts.mddisagreed with the code; it does not. That section is the kept record of the retiredalertsstage, under "The retired stage".)🤖 Generated with Claude Code