New MGCAMB tests of gravity with CosmoMC and Cobaya
Abstract
Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.
We present a new version of MGCAMB, a patch for the Einstein-Boltzmann solver CAMB for cosmological tests of gravity. New features include a new cubic-spline parameterization allowing for a simultaneous reconstruction of $μ$, $Σ$ and the dark energy density fraction $Ω_X$ as functions of redshift, the option to work with a direct implementation of $μ$, $Σ$ (instead of converting to $μ$, $γ$ first), along with the option to test models with a scalar field coupled only to dark matter, and the option to include dark energy perturbations when working with $w\ne -1$ backgrounds, to restore consistency with CAMB in the GR limit. This version of MGCAMB comes with a Python wrapper to run it directly from the Python interface, an implementation in the latest version of CosmoMC, and can be used with Cobaya.
Results and benchmarks
We present a new version of MGCAMB, a patch for the Einstein-Boltzmann solver CAMB for cosmological tests of gravity.
Benchmark evidence is limited
Evidence graph: 3 refs, 3 links.
Utility signals: depth 70/100, grounding 75/100, status medium.
Implementation
Historical official implementation (not recommended for new builds)
Only a historical official implementation is available
Use with caution for new projects; verify against current tooling and maintained community alternatives.
sfu-cosmo/MGCAMB · 12 stars · Last push Nov 7, 2025
nikosarcevic/HEP-ASTRO-COSMO is the closest maintained adjacent implementation (Matches contextual method/domain keyword: cosmology). It is not paper-verified; validate algorithm and evaluation setup against the paper before trusting reported metrics. Community adoption signal: 156 GitHub stars.
Open sfu-cosmo/MGCAMB- Adjacent implementations are not paper-verified
- Recommended repository is adjacent and not paper-verified.
- No direct maintained implementation is currently verified.
- Only historical official repository was found: sfu-cosmo/MGCAMB.
- No maintained paper-verified implementation met reliability thresholds.
Compare implementation paths
Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.
- Maintenance
- Stale risk
- Confidence
- High
- Reproducibility
- Moderate
- Stars
- 12
- Last push
- Nov 7, 2025 (291d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No CI pipeline detected
- No tagged releases
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Limited
- Stars
- 6
- Last push
- Aug 23, 2023 (1098d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No CI pipeline detected
- No Docker setup
- Maintenance
- Stale
- Confidence
- High
- Reproducibility
- Limited
- Stars
- 8
- Last push
- Jun 27, 2024 (789d)
Official implementation from Papers with Code · Repository link is mentioned in the paper metadata
- No push in 12+ months
- No CI pipeline detected
- No tagged releases
Reproduction readiness
Setup required
Dependencies pinned, manual setup needed
- sfu-cosmo/MGCAMB has pyproject.toml but requires manual environment setup.
- Last push was 291 days ago, so expect possible dependency version conflicts.
- No CI pipeline, so test coverage is unknown.
Hardware requirements
- Expect multi-day setup/compute for meaningful reproduction based on current guidance.
Quick start
git clone https://github.com/sfu-cosmo/MGCAMB.git
pip install -e . Validation caveat
Repositories and ecosystem
Closest related implementations
These are not paper-verified. Use them as reference points when no direct implementation is available.
- nikosarcevic/HEP-ASTRO-COSMO Adjacent · Confidence: Medium · 156 stars
Matches contextual method/domain keyword: cosmology
Official
- sfu-cosmo/MGCosmoMCConfidence: High
This is the official MGCosmoMC repository.
6 stars · 1 forks · Last push Aug 23, 2023
- sfu-cosmo/mgcobayaConfidence: High
MGCAMB to work with Cobaya
8 stars · 2 forks · Last push Jun 27, 2024
- sfu-cosmo/mgcobaya-betaConfidence: High
MGCAMB to work with Cobaya
8 stars · 2 forks · Last push Jun 27, 2024
Community
No additional community repositories detected yet.
These repositories had low-confidence matching signals and are hidden by default.
- sfu-cosmo/MGCAMB_v4
Confidence: Low · 12 stars
Hugging Face artifacts
No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.
Models
Tip: start with models, then check datasets and spaces if you need evaluation data or demos.
Research context
23
Citations
111
References
Tasks
Dark energy, Dark matter, Redshift, Solver, Cosmology, Physical Sciences
Methods
None detected
Domains
Physics, Astrophysics, Physics and Astronomy, Astronomy and Astrophysics
Related papers
- The Kolmogorov–Smirnov test for three redshift distributions of long gamma-ray bursts in the Swift EraSearch on Paper2Code
2009 · Semantic similarity
- Redshift evolution of the Amati relation: Calibrated results from the Hubble diagram of quasars at high redshiftsSearch on Paper2Code
2021 · Semantic similarity
- Are there cosmological evolution of Gamma-Ray Bursts?Search on Paper2Code
2002 · Semantic similarity
- No redshift evolution in the rest-frame UV emission line properties of quasars from z=1.5 to z=4.0Search on Paper2Code
2023 · Semantic similarity
- Constraints on the Physical Parameters of the Dark Energy Using a Model-Independent ApproachSearch on Paper2Code
2005 · Semantic similarity
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXJump to Paper2Code search queries derived from this paper's research context.
Data includes links from Papers with Code ( CC-BY-SA-4.0 ).