Skip to content

astra: sp_validation as one ASTRA 0.1 analysis, with v2.0.0 as its first universe - #501

Open
cailmdaley wants to merge 6 commits into
developfrom
astra/linked
Open

cailmdaley wants to merge 6 commits into
developfrom
astra/linked

Conversation

@cailmdaley

@cailmdaley cailmdaley commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

sp_validation's analysis as one ASTRA 0.1 spec at the repository root, linked to CosmoStat/shapepipe at a fixed commit. It records the inputs, decisions, and outputs from ShapePipe's run-1 catalogue to the blinded data vectors, with universe v2_0_0 holding the choices that made the v2.0.0 release. It changes no code path and leaves the Snakemake workflow untouched. Browse it in Studio (unlisted, noindex): https://unions-wl.github.io/sp_validation/studio/

Closes #500

What's here

  • Linked to ShapePipe (analyses.shapepipe). astra.yaml declares https://github.com/CosmoStat/shapepipe.git at commit fa6a53dc9444d3b8d8d16c796ec8e327df19523f (astra: the record as ShapePipe's analysis, with run 1 as its baseline universe shapepipe#1007, ASTRA 0.1) and imports its baseline_run1 universe into universes:. sp_validation still fetches run1-snap3 directly (shapepipe_run1) because run 1 was produced by Snakemake rather than lc. The release catalogues (comprehensive_catalogue, calibrated_catalogue, psf_catalogue, star_catalogue) live in analyses/catalogue/astra.yaml, and the four ShapePipe patch diagnostics (psf_residuals, rho_tau_statistics, galaxy_sample, shape_shifts) live in analyses/psf_systematics/astra.yaml, pinned to sp.shapepipe.final_cat#baseline_run1 and sp.shapepipe.star_catalogue#baseline_run1.
  • Ten sections in data order (analyses/<section>/astra.yaml): catalogue, shear_calibration, redshifts, footprint, mocks, psf_systematics, data_vectors, covariance, validation, inference. Root astra.yaml also holds shared fetches (shapepipe_run1, photopipe_dr6, photopipe_specz, blind), fiducial cosmology and blinding decisions, universe v2_0_0, and 18 findings about v2.0.0.
  • Inputs follow ASTRA RFC 0006. Committed files are inputs: (config/assembly/v2.yaml, config/calibration/mask_v2.0.yaml, config/calibration/nz/v2.yaml, cosmo_val/cat_config.yaml, CosmoSIS templates). External products are outputs: fetched and checksummed by sp_validation.fetch.
  • analyses/shear_calibration/options.yaml pins shapepipe_commit to 7f68451e6198089793ba2fc867e45d3c5c39bf18 (the run-1 integration/smk-g19 commit).
  • workflow/scripts/footprint_masks.py makes the occupied-pixel footprints of the full and tomographic samples (the script that made v2.0.0's masks/).
  • scratch/cdaley/unions_astra/ is removed. Its decisions and literature evidence moved into the sections; its v1.4 findings stay with the papers.

astra validate --verify-evidence (astra-tools 0.3.0rc4) passes with 0 errors and 0 warnings across sp_validation and its commit-declared shapepipe upstream, and lc (0.6.0rc1) refuses to re-run the commit-declared ShapePipe upstream.

v2_0_0 is a record, not yet a run

v2_0_0 sets the decisions of everything that made the release. The image-sim m, the mock ensemble, and the inference did not make it, so their decisions have no universe yet. The recipes name how each output is made, but most can't reproduce v2.0.0 from develop today:

Making one bounded piece run under lc and match Snakemake comes next. ρ/τ on v2.0.0 is the candidate: those statistics are already in the data vector.

— Gemini 4 Neon on behalf of Cail

cailmdaley and others added 4 commits November 23, 2026 05:19
…fetch for given products

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JK7o9FJPrhcYFM7drXAZcJ
…and the footprint and survey scripts behind the release

The old v1.4 spec under scratch/ is folded in: its decisions and literature
evidence moved to the sections they belong to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JK7o9FJPrhcYFM7drXAZcJ
…les hold, calibrated-sample provenance, fetch manifest without local paths and with a fresh checksum list

survey_stats.py needs sp_validation.response (#490) and goes with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JK7o9FJPrhcYFM7drXAZcJ
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

✅ ruff is clean — nothing to fix here.

cailmdaley added a commit to UNIONS-WL/unions-wl.github.io that referenced this pull request Nov 23, 2026

This branch has not been deployed

No deployments
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.

sp_validation as an ASTRA analysis that reads ShapePipe's

1 participant