sddb.SplitManifest

sddb.SplitManifest#

class sddb.SplitManifest(parent_hash: str, by: str, seed: int, ratios: dict[str, float], mode: str, assignments: dict[str, str])#

Per-uid fold assignment, pinned to the parent cohort hash, by key, seed and ratios.

__init__(parent_hash: str, by: str, seed: int, ratios: dict[str, float], mode: str, assignments: dict[str, str]) → None#

Methods

__init__(parent_hash, by, seed, ratios, ...)

load(path)

Load a manifest written by write().

write(path)

Write the manifest as JSON; return the path.

Attributes

parent_hash

by

seed

ratios

mode

assignments