1 RolloutShardEntry

rollouts.RolloutShardEntry(
    shard_id,
    split,
    rows,
    writer_config_hash,
    source_manifest_hash,
    source_cache_version,
    split_manifest_hash,
    source_store_dir,
    manifest_version=ROLLOUT_SHARD_MANIFEST_VERSION,
)

One deterministic rollout generation shard entry.

1.1 Methods

Name Description
from_jsonable Decode one JSONL manifest entry.
to_jsonable Return a stable JSON-compatible shard payload.
validate Raise when the entry violates the shard-manifest contract.

1.1.1 from_jsonable

rollouts.RolloutShardEntry.from_jsonable(payload)

Decode one JSONL manifest entry.

1.1.2 to_jsonable

rollouts.RolloutShardEntry.to_jsonable()

Return a stable JSON-compatible shard payload.

1.1.3 validate

rollouts.RolloutShardEntry.validate()

Raise when the entry violates the shard-manifest contract.