CosmoBolognaLib (Upstream Contributor)
C++ / Python library for cosmological spatial statistics · University of Bologna · Official Documentation
Listed contributor (voids module) in the official CosmoBolognaLib (CBL) documentation. Contributions include debugging numerical edge cases in dynamical void reconstruction and excursion-set theory evaluation:
- BitVF Reproducibility Diagnosis (
m_seed): Identified that periodic-boxBitVFboxruns stored the user seed without forwarding it toOTreconstruction, causing silent fallback tostd::random_deviceand inducing $\approx 0.75\,\sigma_{\mathrm{JK}}$ run-to-run scatter in calibrated void bias; verified deterministic bitwise reproducibility across single- and multi-threaded builds once patched upstream. - Floating-Point FMA Cell-Face Crash Fix (
ArunMitrabranch): Traced an intermittent BitVF segmentation failure on halo catalogues to an FMA cell-index vs. cell-face position disagreement ($t = -0.0$ at $10^{-14}$ cell-boundary proximity). Implemented an orientation-aware crossing check with a $10^{-9}$ tolerance (cbl::bitvf::find_crossing_face) and a Boost unit regression test, merged upstream. VdnNumerical Glitch Guard: Diagnosed isolated single-point numerical artefacts in CBL’sVdngrid evaluation and implemented automated filtering across scan and MCMC likelihood grids.- C-ABI Sampler Bridge (
cbl_sampler_shim.cpp): Built a C-ABI shim allowing Python likelihood functions to execute directly through CBL’s native C++ affine-invariant stretch-move sampler, verifying exact posterior equivalence withemcee.
Multi-Finder Cosmological Inference Pipeline
Repository: github.com/stardust2443/cosmology_thesis
End-to-end reproducible Python/C++ pipeline supporting four void finders and automated SLURM cluster execution:
- Unified Finder Wrappers & Cleaning: Harmonised
BitVF,REVOLVER,VERSUS, andVIDE 2.0execution and commonTOUCHisolated-sphere cleaning ($\delta = -0.79$, minimum-image periodic boundaries). - Spatial Covariance & Tracer Bias: 64- and 125-region joint spatial jackknife covariance construction with Anderson–Hartlap unbiasing; large-scale linear halo bias $b_{\mathrm{eff}} = \sqrt{\xi_{hh}/\xi_{mm}}$ measured directly via
Corrfunc. - Automated Scale-Cut & Convergence Auditing: Automated $R_{\min}$ selection ($\chi^2/\nu$, $p$-value, and stability criteria), multi-seed MCMC execution (
emcee+GetDist), integrated autocorrelation time ($\tau$) tracking ($N/\tau \ge 50$), and split-$\hat{R} < 1.01$ verification.
Technical & HPC Stack
| Domain | Tools & Libraries |
|---|---|
| Cosmology & LSS | CosmoBolognaLib (C++/Python), BitVF, REVOLVER, VIDE 2.0, VERSUS, Corrfunc, CAMB |
| Bayesian Inference | emcee, GetDist, corner, CBL samplers; Jackknife covariances, Hartlap correction, $\hat{R}/\tau$ diagnostics |
| HPC & Systems | SLURM, PBS, OpenMP, OpenBLAS/MKL tuning, GSL, FFTW, Cuba; C++ shared libraries & C-ABI shims |
| Languages | Python (NumPy, SciPy, Astropy, Pandas, Matplotlib), C/C++, Julia, Bash, SQL, Git, LaTeX |