refactor: remove rho-stats from shapepipe (closes #710)#715
Open
cailmdaley wants to merge 1 commit intodevelopfrom
Open
refactor: remove rho-stats from shapepipe (closes #710)#715cailmdaley wants to merge 1 commit intodevelopfrom
cailmdaley wants to merge 1 commit intodevelopfrom
Conversation
Per #657: rho-stats are obsolete in shapepipe and have been superseded by sp_validation / cosmo_val, which use shear_psf_leakage directly. Removes: - rho_stats() + Rho{1..5}SysTest classes (~990 lines in mccd_plot_utilities.py) and the rho-stats branch of mccd_plots_runner - stile, shear_psf_leakage, and treecorr as dependencies (Dockerfile, environment.yml, environment-dev.yml, install_shapepipe, and the python_example_runner depends list) - PLOT_RHO_STATS, RHO_STATS_STYLE, RHO_STATS_YLIM_{L,R} config keys from 10 example configs; mccd_plots_runner retained where needed for meanshapes Closes #710 (treecorr-5 incompatibility, fixed by removal). Co-Authored-By: Claude Opus 4.7 (1M context) <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.
Rho-stats are obsolete inside ShapePipe — superseded by
sp_validation/cosmo_val, which useshear_psf_leakagedirectly. Per @martinkilbinger's comment on #657.The
mccd_plots_runnermodule stays alive for meanshapes plots; only the rho-stats branch is removed. Thestiletreecorr-5 incompatibility (#710) is fixed by removal.Changes
mccd_plot_utilities.pyrho_stats(),new_BaseCorrelationFunctionSysTest,Rho1SysTest,DESRho{2..5}SysTest,get_params_rho,neg_dash, and related importsmccd_plots_runner.pystile/treecorrimports,has_stile/has_treecorrguardsmccd_package/__init__.pyPLOT_RHO_STATS/RHO_STATS_STYLE/RHO_STATS_YLIM_{L,R}docstring entriesstile,shear_psf_leakage,treecorrfromDockerfile,environment.yml,environment-dev.yml,install_shapepipe, andpython_example_runnerdepends listmccd_plots_runnerfor meanshapes; 2 (config_Pl_psfex{,_conv}.ini, which hadPLOT_MEANSHAPES = False) retired the runner entirelyQuestions for @martinkilbinger
Should meanshapes also be deleted? Kept it per your literal "option 1, delete" on #657, but if meanshapes is also obsolete by the same cosmo_val reasoning, happy to nuke the whole
mccd_plots_runnerin a follow-up — just say the word.Treecorr: after this PR, no runtime code in shapepipe imports
treecorr. Dropped it from deps alongside stile. Flagging in case any downstream production code relies on it being in the shapepipe container.Disclosure
Authored in collaboration with Claude. Code removal and config edits were done by sub-agents; I reviewed the diffs before committing. Docker image build was not tested locally — relying on CI for that.
Closes #710. Progresses #657.