fhelium.benchmarks.v1.manifest
Deterministic resolution and hashing of the Benchmark v1 manifest.
DefinitionRegistry
class View source
python
DefinitionRegistry()1
Bases: Protocol
Minimum fixed-definition interface required by v1 resolution.
get
method
python
def get(name: str) -> BenchmarkDefinition: ...1
ResolvedCase
class View source
python
ResolvedCase(case: BenchmarkCase, definition: BenchmarkDefinition, profile: BenchmarkProfile)1
A Benchmark v1 case bound to its exact definition and parameters.
Attributes
| Name | Type | Default/value |
|---|---|---|
case | BenchmarkCase | |
definition | BenchmarkDefinition | |
profile | BenchmarkProfile |
parameters
property
python
parameters: Mapping[str, Any]1
to_manifest_dict
method
python
def to_manifest_dict() -> dict[str, Any]: ...1
ResolvedManifest
class View source
python
ResolvedManifest(specification: BenchmarkSpecification, cases: tuple[ResolvedCase, ...], sha256: str)1
Canonical Benchmark v1 description and its SHA-256 identity.
Attributes
| Name | Type | Default/value |
|---|---|---|
specification | BenchmarkSpecification | |
cases | tuple[ResolvedCase, ...] | |
sha256 | str |
manifest_dict
method
python
def manifest_dict() -> dict[str, Any]: ...1
Return the exact payload covered by sha256.
to_dict
method
python
def to_dict() -> dict[str, Any]: ...1
canonical_bytes
method
python
def canonical_bytes() -> bytes: ...1
Serialize the covered manifest in canonical UTF-8 JSON.
resolve_benchmark
function View source
python
def resolve_benchmark(specification: BenchmarkSpecification, definitions: DefinitionRegistry) -> ResolvedManifest: ...1
Bind the fixed Benchmark v1 cases to their exact leaf definitions.
validate_report_specification
function View source
python
def validate_report_specification(report: BenchmarkReport) -> None: ...1
Require the exact fixed manifest and five case identities of v1.