Skip to content

Commit 00113fa

Browse files
authored
Merge pull request #139 from oshaughnessy-junior/rift_O4d_junior_calmarg_in_loop
Rift o4d junior calmarg in loop: AFTER main 'distance' merge
2 parents 953c8e9 + 6f5d193 commit 00113fa

214 files changed

Lines changed: 336551 additions & 850 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,27 @@ jobs:
134134
- name: Run simulation_manager smoke test
135135
run: bash .travis/test-simulation-manager.sh
136136

137+
lisa-check:
138+
needs: install
139+
runs-on: ubuntu-latest
140+
steps:
141+
- uses: actions/checkout@v4
142+
- uses: actions/setup-python@v5
143+
with:
144+
python-version: '3.10'
145+
cache: 'pip'
146+
cache-dependency-path: requirements.txt
147+
- name: Enable symlink
148+
run: sudo ln -sf $(which python3) /usr/bin/python
149+
- name: Install dependencies
150+
run: |
151+
python -m pip install --upgrade pip --break-system-packages
152+
python -m pip install -r requirements.txt --break-system-packages
153+
python -m pip install coverage pytest --break-system-packages
154+
python -m pip install --editable . --break-system-packages
155+
- name: Run LISA smoke and contract tests
156+
run: bash .travis/test-lisa.sh
157+
137158
integration-check:
138159
needs: install
139160
runs-on: ubuntu-latest

.gitlab-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ import_check:
8787
stage: system tests
8888
script:
8989
- python .travis/test-all-mod.py
90+
- python -m pytest -q MonteCarloMarginalizeCode/Code/test/test_lisa_response_import.py
91+
- python -m pytest -q MonteCarloMarginalizeCode/Code/test/test_lisa_lalsimutils_compat.py
92+
- python -m pytest -q MonteCarloMarginalizeCode/Code/test/test_lisa_operational_synthetic.py
93+
- python -m pytest -q MonteCarloMarginalizeCode/Code/test/test_lisa_helper_contract.py
9094

9195
sim_manager_check:
9296
stage: unit tests

.travis/test-all-bin.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ set -e
1717

1818
# loop over all bin/ scripts
1919
for EXE in MonteCarloMarginalizeCode/Code/bin/*; do
20+
if [[ ! -f ${EXE} ]]; then
21+
echo " Not file : " ${EXE}
22+
continue
23+
fi
2024
# skip scripts with explicit bilby dependence
2125
if [[ ${EXE} == *'calibration_reweighting.py' ]]; then
2226
continue
@@ -70,6 +74,16 @@ for EXE in MonteCarloMarginalizeCode/Code/bin/*; do
7074
echo "Hyperpipe " ${EXE}
7175
continue
7276
fi
77+
# skip optional JAX driver; base CI does not install the jax extras
78+
if [[ ${EXE} == *"integrate_likelihood_extrinsic_jax" ]]; then
79+
echo "JAX optional " ${EXE}
80+
continue
81+
fi
82+
# skip optional HTCondor2 driver; base CI does not install htcondor2
83+
if [[ ${EXE} == *"cepp_basic_htcondor" ]]; then
84+
echo "HTCondor2 optional " ${EXE}
85+
continue
86+
fi
7387
# skip tests that require condor environment
7488
if [[ ${EXE} == *"check_CIP_complete_work.py" ]]; then
7589
continue

.travis/test-all-mod.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@
5757
r"\ANo module named 'cupy'\Z",
5858
r"\ANo module named asimov\Z",
5959
r"\ANo module named 'asimov'\Z",
60+
r"\ANo module named jax\Z",
61+
r"\ANo module named 'jax'\Z",
62+
r"\ANo module named optax\Z",
63+
r"\ANo module named 'optax'\Z",
64+
r"\ANo module named equinox\Z",
65+
r"\ANo module named 'equinox'\Z",
66+
r"\ANo module named tinygp\Z",
67+
r"\ANo module named 'tinygp'\Z",
68+
r"\ANo module named numpyro\Z",
69+
r"\ANo module named 'numpyro'\Z",
70+
r"\ANo module named flowMC\Z",
71+
r"\ANo module named 'flowMC'\Z",
72+
r"\ANo module named htcondor2\Z",
73+
r"\ANo module named 'htcondor2'\Z",
6074
])))
6175

6276

.travis/test-lisa.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env bash
2+
set -euo pipefail
3+
4+
PYTHON_BIN="${RIFT_LISA_PYTHON:-${PYTHON:-python}}"
5+
if ! command -v "${PYTHON_BIN}" >/dev/null 2>&1; then
6+
PYTHON_BIN="$(command -v python3)"
7+
fi
8+
9+
"${PYTHON_BIN}" -m pytest -q \
10+
MonteCarloMarginalizeCode/Code/test/test_lisa_auxiliary_imports.py \
11+
MonteCarloMarginalizeCode/Code/test/test_lisa_response_import.py \
12+
MonteCarloMarginalizeCode/Code/test/test_lisa_lalsimutils_compat.py \
13+
MonteCarloMarginalizeCode/Code/test/test_lisa_run_checks.py \
14+
MonteCarloMarginalizeCode/Code/test/test_lisa_demo_contract.py \
15+
MonteCarloMarginalizeCode/Code/test/test_lisa_helper_contract.py \
16+
MonteCarloMarginalizeCode/Code/test/test_lisa_pseudo_pipe_contract.py \
17+
MonteCarloMarginalizeCode/Code/test/test_lisa_pp_surface.py \
18+
MonteCarloMarginalizeCode/Code/test/test_lisa_synthetic_demo.py

CHANGES.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
0.0.18.0
33
------------
44
development tree is rift_O4d.
5+
- (rc0) O4d base refresh, from rift_O4c to rift_O4d: Python/numpy CI modernization (py3.10-py3.13,
6+
numpy 2.x checks), Asimov/RIFT smoke tests, docs deployment, pluggable workflow backends and
7+
simulation-manager prototypes, distance-grid/distance-slice likelihood export, container-family and pixi/SWIG
8+
canaries, hyperpipeline ASCII workflow support, parsimonious-placement preview, EFPE and standalone NR-frame
9+
utilities, plot_RIFT diagnostics, and GPU/CuPy portability fixes.
510

611
** (rc0)
712
- parsimonious-placement (preview): new RIFT.misc.tracer_placement engine (SMC+MALA, birth-death,
@@ -37,6 +42,24 @@ development tree is rift_O4d.
3742
- ascii data format; waveforms (epfe); container auto-selection framework (first draft); cepp_alternate now feature-parity;
3843
mcsamplerEnsemble full GPU path
3944
- multiple demos
45+
- (rc1 pending) In-loop calibration marginalization: move calibration draws into ILE, add loop and fused
46+
GPU kernels (including distance-marginalized and phase-marginalized paths), export cal/time diagnostics,
47+
account for calibration Monte-Carlo error in reported uncertainty, add adaptive/pilot calibration proposal
48+
scaffolding, and include a runnable calmarg demo with OSG/container transfer fixes.
49+
- (rc1 pending) Extrinsic proposal handoff and sampler robustness: save and consolidate extrinsic GMM
50+
breadcrumbs across iterations, seed later ILE jobs from those proposals, add GMM proposal/adaptation
51+
controls and diagnostics, improve log-domain covariance/ESS handling, and thread the cal/extrinsic seed
52+
barriers through CEPP/puffball workflows.
53+
- (rc1 pending) Differentiable JAX likelihood/export work: optional jax_gp interpolators, differentiable
54+
export artifacts, quad-GP and RF/GP validation tooling, jax_cip experiments, and a JAX ILE driver with
55+
AD-compatible extrinsic likelihood, distance/phase marginalization, network coordinates, and gradient-aware
56+
samplers. These remain optional extras and are skipped by base CI when JAX is not installed.
57+
- (rc1 pending) LISA support: add a LISA compatibility layer, response import path, standalone helper
58+
contract, LISA ILE scaffold, and synthetic operational/import tests.
59+
- (rc1 pending) EOS/coordinate and workflow updates: add NMB/PCA/tabular EOS sequence dispatch and
60+
single-EOS-index evidence support, coordinate-plugin hooks for posterior plotting and puffing, Morisaki-frame
61+
and aligned-spin coordinate helpers for GP/JAX studies, container-universe/OSDF scitokens support, and
62+
per-machine container image selection.
4063

4164
0.0.17.9
4265
------------
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"""LISA-specific response and analysis helpers for RIFT."""
2+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
"""Initial-grid helpers for LISA analyses."""

0 commit comments

Comments
 (0)