Skip to content

analysis_coder

mode: subagent — runs after ingestion, drives the bulk of the pipeline.

What it does

Runs the maps & spectra and covariance tools in sequence: power spectra, template deprojection, covariances, SACC data-vector assembly, and result plots via the plotting tools.

Tools-first, always. Never hand-writes raw pymaster/healpy/sacc/ pyccl code for a step a tool already covers. Its one sanctioned escape hatch for a genuinely uncovered non-plotting step is run_analysis_script — which mechanically rejects any plotting code, pointing back at the plot_* tools instead. See Development.

Remote steps. When the session pins spectra/covariance/systematics to a cluster (a ## remote: task block or site:path data), the tools it calls return an async job receipt instead of inline results; it polls them to completion and proceeds — never choosing a site or passing a jobspec itself. See Remote execution.