|
Download README.md from santicas/cjfp-data: direct link, hf CLI and curl.
- Browser
- Download file 7.59 kB
-
https://huggingface.co/datasets/santicas/cjfp-data/resolve/main/README.md
- Command line
-
hf download hf://datasets/santicas/cjfp-data/README.md
-
curl -L -o README.md https://huggingface.co/datasets/santicas/cjfp-data/resolve/main/README.md
7.59 kB
| pretty_name: CosmicFishPie validation data and HPC workflows | |
| license: mit | |
| tags: | |
| - cosmology | |
| - cosmicfishpie | |
| - fisher-matrix | |
| - parameter-forecasting | |
| - validation | |
| - hdf5 | |
| - mcmc-chains | |
| - euclid | |
| size_categories: | |
| - 1K<n<10K | |
| language: | |
| - en | |
| # CosmicFishPie validation data and HPC workflows | |
| This repository stores selected CosmicFishPie validation artifacts and the | |
| scripts/configurations used to run them on JURECA. Small, reviewable code and | |
| metadata are tracked by Git; chain suites are tracked with DVC and stored in | |
| DAGsHub storage. Active and intermediate sampler output belongs on HPC scratch, | |
| not in this repository. | |
| # Cosmicjellyfish paper | |
| Read arxiv.org/abs/2611.38546 for the presentation of the code and the data. | |
| ## About this Hugging Face copy | |
| This dataset is a plain-file mirror of the working tree of | |
| [`santiagocasas/cjfp-data`](https://dagshub.com/santiagocasas/cjfp-data) on | |
| DAGsHub. The local virtual environment, the DVC cache (`.dvc/`) and the ignored | |
| DVC credentials are not included. | |
| The two largest DVC outputs are present here as ordinary files, so no DVC setup | |
| is needed for them: | |
| - `chains/` — selected Nautilus HDF5 chains and their metadata/logs. | |
| - `validation/fisher/` — CAMB-vs-CLASS Fisher comparison outputs and the HTML | |
| dashboard published at | |
| [santicasas.space/cosmicjellyfish/dashboard](https://www.santicasas.space/cosmicjellyfish/dashboard/). | |
| Only the 25 campaign directories behind the published dashboard are mirrored | |
| here, together with the dashboard itself (`dashboard/`), one standalone GCsp | |
| Fisher run and the campaign run logs. The superseded back-end runs and the | |
| NumPy 2 campaign remain on DAGsHub only. | |
| The following DVC outputs are **not** mirrored here and remain on DAGsHub only: | |
| - `validation/syren_deaglan_lhs_opt_20261022` | |
| - `validation/syren_deaglan_lhs_opt_w0waCDM_20261023` | |
| - `validation/syren_deaglan_loss_weight_scan_20261023` | |
| - `scripts/validation_results/ns_derivative_lhs` | |
| To obtain those, clone the Git repository from DAGsHub and run `dvc pull`. The | |
| `*.dvc` pointer files included here refer to the DAGsHub remote and cannot be | |
| used without the DVC metadata directory, so DVC workflows require the DAGsHub | |
| checkout. | |
| ```bash | |
| hf download santicas/cjfp-data --repo-type dataset --local-dir cjfp-data | |
| ``` | |
| ## Getting the data from DAGsHub | |
| ```bash | |
| git clone https://dagshub.com/santiagocasas/cjfp-data.git | |
| cd cjfp-data | |
| python -m pip install -r requirements.txt | |
| dvc pull | |
| ``` | |
| DVC may prompt for DAGsHub credentials. On JURECA, first verify DVC access with | |
| one selected chain suite before relying on it in a batch job. The HDF5 files | |
| remain ordinary HDF5 files after `dvc pull` and can be opened by existing | |
| CosmicFishPie/Nautilus analysis tools. | |
| ## Repository layout | |
| - `chains/` — selected completed runs, stored in DVC. | |
| - `validation/fisher/` — generated CAMB-vs-CLASS Fisher comparisons, logs, and | |
| dashboard (created by the CosmicFishPie validation runner; register with DVC | |
| after reviewing a completed campaign). | |
| - `validation/syren_deaglan_lhs_opt*/` — LCDM and w0waCDM comparisons of EE2, | |
| original SYREN and optimized SYREN coefficients, including ns-fixed analyses; | |
| see the [collaborator guide](validation/SYREN_COMPARISONS.md) for targeted downloads. | |
| - `jobs_punch/` — JURECA Slurm launchers, sampler configurations, operational | |
| helpers, and the small historical scheduler logs retained with the recovered | |
| repository. | |
| - `tools/` — cross-worktree Fisher comparison utilities. | |
| - `scripts/validation/` — ns-response Latin-hypercube scripts, profiles and methods. | |
| - `scripts/validation_results/ns_derivative_lhs/` — the 1000-cosmology | |
| CLASS+EE2/SYREN-NEW response bundle, independently tracked with DVC. | |
| - `MIGRATION.md` — source revision, migration scope, and artifact notes. | |
| The chain files are retained as recovered. No HDF5 repacking or scientific-data | |
| transformation has been applied during migration. | |
| ## Download only the ns-response validation (no chains) | |
| After cloning this repository, or updating it with `git pull --ff-only`, run: | |
| ```bash | |
| dvc pull scripts/validation_results/ns_derivative_lhs.dvc | |
| ``` | |
| This downloads only the ns-response arrays, figures, logs and provenance. | |
| See [the collaborator and publishing guide](scripts/NS_RESPONSE_SHARING.md) for | |
| setup, plotting and exact Git/DVC commands. Use the explicit target above rather | |
| than bare `dvc pull` when you do not want the chains. | |
| ## Fisher validation outputs | |
| For the pre-merge NumPy 2 campaign, see the | |
| [workstation runbook](validation/NUMPY2_VALIDATION.md). The data-side | |
| `scripts/run-fisher-validation.sh` checks the source environment and inputs, | |
| records package versions, and delegates to the source runner in a fresh campaign | |
| directory. | |
| Keep this checkout beside the CosmicFishPie source checkout. The source runner's | |
| parallel validation entry point writes results directly here by default: | |
| ```bash | |
| cd /path/to/cosmicfishpie | |
| uv sync | |
| bash scripts/validation/run_parallel_validations.sh | |
| ``` | |
| After reviewing the generated campaign, use Make's shortcut to upload the | |
| Fisher results to DVC: | |
| ```bash | |
| cd /path/to/cjfp-data | |
| make fisher-upload | |
| ``` | |
| On another machine, first update the Git-tracked manifest, then download the | |
| data and check sync status with: | |
| ```bash | |
| git pull | |
| make fisher-pull | |
| make fisher-status | |
| make fisher-serve | |
| ``` | |
| Open `http://localhost:8001/dashboard/` in a browser. Stop the server with | |
| `Ctrl-C`; choose a different port with `make fisher-serve PORT=8002`. | |
| These Make targets are short aliases for `scripts/fisher-data.sh`. The upload | |
| helper does not stage, commit, or push Git changes. After an upload, it prints | |
| the exact Git commands to publish the updated DVC manifest; review those changes | |
| before running them. The Fisher comparisons do not require the Nautilus chain | |
| files in `chains/`. | |
| ## JURECA workflows | |
| See [`jobs_punch/README.md`](jobs_punch/README.md) for environment setup, | |
| submitting jobs, and archiving selected chain suites. The scripts default to | |
| these JURECA paths, which can be overridden through environment variables: | |
| - `VALIDATION_ROOT` — this checkout (default: | |
| `/p/home/jusers/casas1/jureca/cosmopunch/cjfp-data`). | |
| - `COSMICFISHPIE_REPO_ROOT` — the CosmicFishPie source checkout (default: | |
| `/p/home/jusers/casas1/jureca/cosmopunch/cosmicfishpie`). | |
| - `CFP_CHAINS_ROOT` — active chains on scratch (default: | |
| `/p/scratch/punch_astro/cosmicfish/chains`). | |
| - `CFP_ENV_ACTIVATE` — source environment activation script (defaults to | |
| `.venv/bin/activate` under `COSMICFISHPIE_REPO_ROOT`). | |
| This repository does not contain CosmicFishPie itself or the JURECA virtual | |
| environment. Keep the source checkout and its environment separately managed. | |
| ## DVC notes | |
| `chains.dvc` tracks the selected `chains/` directory. After adding or updating | |
| selected outputs, review the files before saving a new Git revision, then run: | |
| ```bash | |
| dvc add chains | |
| git add chains.dvc .gitignore | |
| dvc push | |
| ``` | |
| Do not add live scratch directories or unreviewed intermediate chains. The | |
| repository's DVC default remote is the DAGsHub DVC endpoint; credentials should | |
| be stored in the local DVC configuration, never committed. | |
| ### Reusing DagsHub credentials for Git | |
| After configuring DVC credentials locally, run `make dagshub-auth` once in each | |
| checkout. This installs a repo-local Git credential helper that reads the | |
| DagsHub account username and access token from the ignored `.dvc/config.local`. | |
| It avoids repeated token entry without copying the token into the Git remote URL | |
| or tracked files. The helper is scoped to this repository's DagsHub HTTPS URL. |