1 RolloutZarrStoreReader

rollouts.zarr_store.RolloutZarrStoreReader(store_dir)

Open and validate standalone rollout replay stores.

1.1 Methods

Name Description
array Read an array by slash-separated Zarr path.
validate Validate row linkage, masks, and initial Q_H target availability.
manifest Read root attrs and the top-level sidecar manifest without payload arrays.
q_h_view Return the padded finite-candidate Q_H training view.

1.1.1 array

rollouts.zarr_store.RolloutZarrStoreReader.array(path)

Read an array by slash-separated Zarr path.

1.1.2 validate

rollouts.zarr_store.RolloutZarrStoreReader.validate()

Validate row linkage, masks, and initial Q_H target availability.

1.1.3 manifest

rollouts.zarr_store.RolloutZarrStoreReader.manifest()

Read root attrs and the top-level sidecar manifest without payload arrays.

1.1.4 q_h_view

rollouts.zarr_store.RolloutZarrStoreReader.q_h_view(discount_gamma=None)

Return the padded finite-candidate Q_H training view.

With default arguments this reads the persisted derived q_h/ group. Passing discount_gamma recomputes the view from the canonical factual tables for audits and ablations.