jaxrens.cli.resolve

Resolution layer: pydantic schemas -> library dataclasses.

resolve is the single seam between the CLI config layer and the library core. It always returns one ResolvedConfig carrying a batcher field that picks the execution topology:

  • SingleRun() when the YAML implies a single NS run (scalar ensemble.pressure, no inter-RE replica-axis list).

  • PmapVmapRuns(n_gpu, n_per_gpu) when the YAML implies multiple replicas (list-valued pressure, inter_re.composition_targets, inter_re.chemical_potentials).

There is no longer a separate “cohort” (independent sequential) path.

Functions

resolve

Translate a validated RootSpec into one unified ResolvedConfig.

resolve_plan

Make every resolver decision that needs no backend and no walkers.

Classes

ResolvedConfig

All library dataclasses produced by resolve().

ResolvedInit

Holds the resolved initial state arrays for a single run.

ResolvedPlan

What the resolver can decide without materialising anything.