Documentation
¶
Overview ¶
Package evidence defines the separate, non-executable manifest that binds empirical benchmark profiles to exact plans, elements, implementations, hardware, and load definitions. It never contains credentials or runtime service handles. An empty Profiles list truthfully states that a shipped graph makes no empirical performance claims.
Index ¶
Constants ¶
const (
APIVersion = "openrealtime.ai/evidence/v1alpha1"
)
Variables ¶
This section is empty.
Functions ¶
func Fingerprint ¶
Fingerprint identifies the canonical evidence manifest. It covers profile references and applicability axes, never benchmark payloads or secrets.
func MarshalJSON ¶
func MarshalYAML ¶
Types ¶
type Document ¶
type Document struct {
APIVersion string `json:"apiVersion" yaml:"apiVersion"`
Graph string `json:"graph" yaml:"graph"`
Profiles []Profile `json:"profiles" yaml:"profiles"`
}
Document is one graph-scoped manifest of empirical profile artifacts.
func Bind ¶
func Bind(plan *graphconfig.Plan, document Document) (Document, error)
Bind validates that every empirical claim applies to the exact prepared plan. Hardware and load identities remain claim axes rather than deployment selectors, while graph, plan, node, element, and implementation must match the immutable launch plan exactly. Empty Profiles is an explicit no-claims manifest and still binds to one graph.
type Profile ¶
type Profile struct {
Name string `json:"name" yaml:"name"`
Artifact inspect.ArtifactIdentity `json:"artifact" yaml:"artifact"`
PlanFingerprint string `json:"plan_fingerprint" yaml:"plan_fingerprint"`
NodeID string `json:"node_id" yaml:"node_id"`
Element element.Identity `json:"element" yaml:"element"`
Implementation inspect.ArtifactIdentity `json:"implementation" yaml:"implementation"`
Hardware inspect.ArtifactIdentity `json:"hardware" yaml:"hardware"`
Load inspect.ArtifactIdentity `json:"load" yaml:"load"`
}
Profile points at one immutable empirical result and records every axis needed to decide whether that result applies to a deployment. Metrics stay in Artifact; this manifest cannot turn an unmeasured graph into a claim.