RunStatus
PythonPublication status of a result bundle.
RunStatus()Publication status of a result bundle.
API tier: experimental
COMPLETE
PythonCOMPLETE = 'complete'INCOMPLETE
PythonINCOMPLETE = 'incomplete'FAILED
PythonFAILED = 'failed'The on-disk index of a run directory: the artifacts it holds, the issues raised against it, and whether its numbers may be used.
Every name on this page is imported from helia_profiler.
API tier: experimental
Generated from the src/helia_profiler tree fe269596788d6ab1604cf433559e96b5f48c1d13.
RunStatusclassPublication status of a result bundle.ResultValidityclassWhether measurements in a completed bundle are authoritative.ResultIssueclassOne stable machine-readable issue with optional open context.ResultArtifactclassOne content-addressed file in a result bundle.ResultManifestclassStable result envelope with open provenance and extension payloads.load_result_manifestfunctionLoad a result manifest and optionally verify its sibling artifacts.Publication status of a result bundle.
RunStatus()Publication status of a result bundle.
API tier: experimental
COMPLETE = 'complete'INCOMPLETE = 'incomplete'FAILED = 'failed'Whether measurements in a completed bundle are authoritative.
ResultValidity()One stable machine-readable issue with optional open context.
ResultIssue( code: str, severity: str, message: str, context: dict[str, Any] = dict(), extra: dict[str, Any] = dict(),) -> Nonedataclass
One stable machine-readable issue with optional open context.
API tier: experimental
code: strseverity: strmessage: strcontext: dict[str, Any] = field(default_factory=dict)extra: dict[str, Any] = field(default_factory=dict, repr=False)from_dict(data: dict[str, Any]) -> Selfclassmethod
to_dict() -> dict[str, Any]One content-addressed file in a result bundle.
ResultArtifact( path: str, media_type: str, size_bytes: int, sha256: str, role: str | None = None, name: str | None = None, schema: str | None = None, schema_version: int | None = None, producer: str | None = None, optional: bool | None = None, extra: dict[str, Any] = dict(),) -> Nonedataclass
One content-addressed file in a result bundle.
API tier: experimental
path: strmedia_type: strsize_bytes: intsha256: strrole: str | None = Nonename: str | None = Noneschema: str | None = Noneschema_version: int | None = Noneproducer: str | None = Noneoptional: bool | None = Noneextra: dict[str, Any] = field(default_factory=dict, repr=False)from_dict(data: dict[str, Any]) -> Selfclassmethod
to_dict() -> dict[str, Any]Stable result envelope with open provenance and extension payloads.
ResultManifest( schema: str, schema_version: int, run_id: str, timestamp: str, hpx_version: str, status: RunStatus, validity: ResultValidity, issues: tuple[ResultIssue, ...], provenance: dict[str, Any], comparability: dict[str, Any], artifacts: tuple[ResultArtifact, ...], bundle_type: str | None = None, extensions: dict[str, Any] = dict(), extra: dict[str, Any] = dict(),) -> Nonedataclass
Stable result envelope with open provenance and extension payloads.
API tier: experimental
schema: strschema_version: intrun_id: strtimestamp: strhpx_version: strstatus: RunStatusvalidity: ResultValidityissues: tuple[ResultIssue, ...]provenance: dict[str, Any]comparability: dict[str, Any]artifacts: tuple[ResultArtifact, ...]bundle_type: str | None = Noneextensions: dict[str, Any] = field(default_factory=dict)extra: dict[str, Any] = field(default_factory=dict, repr=False)from_dict(data: dict[str, Any]) -> Selfclassmethod
Load a manifest while preserving unknown fields.
load(path: str | Path) -> Selfclassmethod
Load a manifest while preserving unknown fields.
to_dict() -> dict[str, Any]Write the manifest without discarding unknown fields.
write(path: str | Path) -> PathWrite the manifest without discarding unknown fields.
Verify all declared artifact paths, sizes, and SHA-256 digests.
verify(bundle_dir: str | Path) -> NoneVerify all declared artifact paths, sizes, and SHA-256 digests.
Load a result manifest and optionally verify its sibling artifacts.
load_result_manifest(path: str | Path, *, verify: bool = False) -> ResultManifestLoad a result manifest and optionally verify its sibling artifacts.
API tier: experimental
Machine-readable: manifest.json · manifest.md, complete and lossless.