Repository navigation
gate: the count check reads the xsources against its own SExtractor catalog, and no check reads another job - #254
Merged
Merged
Conversation
…atalog, and no check reads another job decision-gate-xsources-fraction (Russ Laher, 2026-12-04): a set is held when n_xsources_snr_gt20 is above 0.5 times n_xsources_read_positive, judged when that catalog read at least 100 rows; snr_gt20_factor, the run-median count, and min_epochs are retired, so every check applies from a run's first difference. foundation.md's quality gate and difference.md's metrics follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ferences The ruling, the foundation page and the quality reference state the bound and what it was read on (runs 264 to 306: at most 0.288 but for two epochs at 0.352 and 0.401 with 13 and 33 times their run's bright count). The quality reference described the retired median check. Co-Authored-By: Claude Fable 5.2 <[email protected]>
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.
Change. Ruling
decision-gate-xsources-fraction(Russ Laher, 2026-12-04), with the quality gate section offoundation.mdand the metrics paragraph ofdifference.mdupdated to match. Check 3 holds a packet set whenn_xsources_snr_gt20(kept positive xsources, PSF-fit S/N > 20) is abovesnr_gt20_fraction_max(0.32) timesn_xsources_read_positive(positive SExtractor rows before the edge cut and prefilter). It is skipped, so the set passes, when that catalog read fewer thansnr_gt20_min_read(100) rows.snr_gt20_factorandmin_epochsare retired, so every check applies from a run's first difference.Reason. The packets come from the xsources, so the count should describe that catalog. The old check 3 also had these weak points:
0.32 is read on 3,794 recorded difference jobs (runs 264 to 306, replayed read-only from each job's manifest and
xsources.parquet): the fraction is at most 0.288 but for two epochs, at 0.352 and 0.401, whosen_sources_snr_gt20was 13 and 33 times their run's median. At the first draft's 0.5 the check held nothing. 100 is the ruling's value; no recorded catalog read fewer than 291 rows.Testing.
sphinx-build -W --keep-going -b htmlpasses locally. The code is in Caltech-IPAC/rapid, same branch name.🤖 Generated with Claude Code