struct

MemoryBudget::ScenarioMemoryEvidence

Inherits JSON::Serializable::Strict < JSON::Serializable < Struct < Value < Object

Carries typed measurements and the identity of the workload that produced them.

Constructors

new(run_id : String, source_commit : String, executable_sha256 : String, policy_sha256 : String, compiler_version : String, instrumentation_mode : String, list_of_measurements : Array(ObservedMemoryMeasurement), list_of_capabilities : Array(AvailableMemoryCapability))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

compiler_version
Source
executable_sha256
Source
instrumentation_mode
Source
list_of_capabilities
Source
list_of_measurements
Source
policy_sha256
Source
run_id
Source
schema_version
Source
source_commit
Source
validate_evidence(policy_content : String) : Array(String)

Checks source, executable, and policy identities before enforcing measurements.

Source