bench

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 42 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package bench is the measurement program's harness.

The claim this project wants to make is not that four voice stacks are supported - that is a release gate - but what each one is worth, measured the same way. This package is the "same way".

Its rules are not conveniences. Every one of them exists because a measurement program without it produces numbers that look like evidence and are not:

  • No incomplete cell is reported. A partially executed cell is not a smaller result, it is a different one.
  • Every cell declares its source revision and executable hash. A number that cannot be traced to a build is a number that will eventually be wrong about which build it describes.
  • Latency claims carry distributions. A mean without its tail describes a system nobody is using.
  • Negative results publish. Suppressing them is how a measured claim becomes a marketing claim.
  • No cross-suite synthesis. Two suites measuring different things do not average into one number.

Index

Constants

View Source
const (
	MomentSpeechStarted = "user_speech_started"
	MomentSpeechStopped = "user_speech_stopped"
	MomentTranscript    = "transcript"
	MomentAgentText     = "agent_text"
	MomentAgentAudio    = "agent_audio"
	MomentResponseDone  = "response_done"
	MomentToolCall      = "tool_call"
	MomentToolResult    = "tool_result"
	MomentVideoFrame    = "video_frame_sent"
	MomentObservation   = "observation"
	MomentReady         = "environment_ready"
	// MomentScheduled marks a non-audio event the harness injected, so a
	// transcript shows why the agent spoke when nobody had said anything.
	MomentScheduled = "scheduled"
	// MomentPlaybackStopped is a SessionConfig.Player client stopping a
	// cancelled response it was still playing: AtMS is the stop, AudioMS how
	// much of the item had played, ItemID the item it truncated.
	MomentPlaybackStopped = "playback_stopped"
	// MomentPlaybackTruncated is the server confirming that truncation
	// (conversation.item.truncated); AudioMS is its audio_end_ms.
	MomentPlaybackTruncated = "playback_truncated"
	// MomentPlaybackTruncateRefused is the server rejecting it. The receipt is
	// recorded as refused rather than failing the conversation.
	MomentPlaybackTruncateRefused = "playback_truncate_refused"
	MomentError                   = "error"
)

Moment kinds.

View Source
const (
	// TransportWebSocket sends protocol audio and events over one WebSocket.
	TransportWebSocket = "websocket"
	// TransportWebRTC sends audio over RTP and protocol/video/tool events over
	// the WebRTC data channel, matching the repository browser surface.
	TransportWebRTC = "webrtc"
)
View Source
const AttestationFormatVersion uint64 = 1

AttestationFormatVersion is the current execution-evidence schema.

Benchmark result versions and Graph IR versions have independent lifetimes. Keeping this version at the evidence boundary lets an old result remain inspectable without accidentally granting it the guarantees of a newer attestation contract.

View Source
const ExpectedResolutionFormatVersion uint64 = 1

ExpectedResolutionFormatVersion is the standalone authoring schema for an expected live graph resolution. It is intentionally independent of Graph IR and result schema versions.

Variables

View Source
var ErrConversationTimeout = errors.New("the conversation did not finish before the timeout")

ErrConversationTimeout means a connected session continued working beyond its configured conversation horizon. Suites with a deterministic evaluator may score the state reached at that horizon as a completed negative outcome; setup, transport, and capture errors remain distinct infrastructure errors.

View Source
var ErrSessionFailure = errors.New("the session reported a failure")

ErrSessionFailure means the connected endpoint emitted a protocol error. Unlike ErrConversationTimeout, this is not an agent reaching a scoring horizon: ASR, model, engine, or transport work failed, so a suite must leave the task incomplete rather than publish the outage as a capability result.

Functions

func DecodePCM24k

func DecodePCM24k(raw []byte) ([]int16, error)

DecodePCM24k decodes an in-memory WAV into the format the Realtime protocol uses. Benchmark suites embed their audio so an installed binary owns every task asset and does not depend on a source checkout at runtime.

func Fingerprint

func Fingerprint(value any) string

Fingerprint is a short, stable identity for a configuration, so two runs of the same cell can be recognised as the same cell.

func LoadPCM24k

func LoadPCM24k(path string) ([]int16, error)

loadPCM24k reads a WAV file as 24 kHz mono PCM16, resampling if needed. LoadPCM24k reads a recording as the samples a session would play.

Suites that judge a recording against its own annotations need the audio the harness sends, not the file as it sits on disk: the rate conversion is part of what the endpoint hears.

func MarshalExecutionEvidence

func MarshalExecutionEvidence(evidence ExecutionEvidence) ([]byte, error)

MarshalExecutionEvidence returns deterministic, newline-terminated JSON.

func MarshalExecutionRequirement

func MarshalExecutionRequirement(requirement ExecutionRequirement) ([]byte, error)

MarshalExecutionRequirement returns one deterministic, newline-terminated execution-requirement artifact. The zero value is reserved for local diagnostics and is not a useful standalone artifact: an explicitly supplied file must select graph-native execution.

func MarshalExpectedResolution

func MarshalExpectedResolution(resolution LiveResolution) ([]byte, error)

MarshalExpectedResolution returns deterministic, newline-terminated JSON for a reviewed expected-resolution artifact.

func SpeechActivity

func SpeechActivity(chunks []TimedAudioChunk, atMS, lookbackMS, recentMS int) (activeMS, recentActiveMS float64)

SpeechActivity measures only the bounded window ending at atMS. It uses 20 ms RMS frames at PCM16 128, the same audible proxy as scenario holds. Recent activity must include non-silent samples in the recent subwindow.

func TranscriptFileName

func TranscriptFileName(caseID string) string

TranscriptFileName turns a case identifier into one path segment.

Identifiers carry slashes, and repeated runs add a trial suffix: "user_interruption/1#2". Written unaltered the slash would scatter attempts into directories and the hash would need quoting at every shell that later reads them, so every character that is not a letter, a digit, a dash, or an underscore becomes a dash.

func UnitOf

func UnitOf(metric string) string

UnitOf infers a metric's unit from its name.

Naming is the convention the suites already follow - a duration ends in _ms - so the unit is derived from it rather than declared twice and allowed to disagree with itself.

func ValidateExpectedResolution

func ValidateExpectedResolution(resolution LiveResolution) error

ValidateExpectedResolution verifies the deployment identities and path declarations that can be checked without the target Graph IR. RequireGraph performs the graph-relative node, implementation, and edge checks later.

func WriteExecutionRequirement

func WriteExecutionRequirement(path string, requirement ExecutionRequirement) error

WriteExecutionRequirement writes one validated standalone requirement.

func WriteExpectedResolution

func WriteExpectedResolution(path string, resolution LiveResolution) error

func WriteRetainedTranscript

func WriteRetainedTranscript(dir, caseID string, record any) error

WriteRetainedTranscript records one attempt under dir, named after its case.

A failed write is returned rather than swallowed. A diagnostic directory that silently holds less than the run produced is worse than no directory at all: the absent attempt is the one that would have been looked at.

Types

type Applicability

type Applicability string

Applicability records whether a completed task presented the behavior the suite is judging. NotApplicable is neither a behavioral pass nor a failure.

const (
	Applicable    Applicability = "applicable"
	NotApplicable Applicability = "not_applicable"
)

type ArtifactIdentity

type ArtifactIdentity struct {
	ID       string `json:"id"`
	Revision string `json:"revision,omitempty"`
	Digest   string `json:"digest,omitempty"`
}

ArtifactIdentity names immutable configuration, code, model, or adapter material. ID is the human/runtime spelling. At least one immutable revision or digest is required; configuration identities require a digest.

type AttestationRequest

type AttestationRequest struct {
	Scope      string
	Status     binding.Status
	Inspection *openrealtime.InspectionAccess
}

AttestationRequest binds the live status and server-issued inspection capability to the benchmark task. Scope labels resulting evidence and route attribution; it is never authority for selecting a mounted session.

type CapabilityIdentity

type CapabilityIdentity struct {
	Name     string            `json:"name"`
	Contract string            `json:"contract,omitempty"`
	Provider ArtifactIdentity  `json:"provider"`
	Adapter  *ArtifactIdentity `json:"adapter,omitempty"`
}

CapabilityIdentity is one provider capability selected by a live element. Provider can identify a model, service, device, or code artifact. Adapter is separate because changing an adapter while retaining a model is still a changed benchmark treatment.

type Cell

type Cell struct {
	// Name is how the cell appears in a report.
	Name string `json:"name"`
	// Levels is the complete configuration, including the factors that did not
	// change. A cell that recorded only its differences could not be compared
	// against a reference that later moved.
	Levels map[Factor]string `json:"levels"`
	// Varies names the factors that differ from the reference. It is derived
	// rather than declared, so it cannot disagree with the levels.
	Varies []Factor `json:"varies,omitempty"`
	// Execution is the independently attested runtime contract. Historical
	// cells leave it empty and remain inspectable, but only an explicit
	// graph-native requirement can support a graph-native benchmark claim.
	Execution ExecutionRequirement `json:"execution,omitzero"`
}

Cell is one measured configuration.

func Reference

func Reference() Cell

Reference is the configuration every paired cell is measured against.

A full cross-product of the factors is both infeasible and uninterpretable. Paired cells that change exactly one factor are what make a difference attributable to that factor rather than to the others that also moved.

func Vary

func Vary(factor Factor, level string) (Cell, error)

Vary produces a paired cell that changes exactly one factor.

func VaryFrom

func VaryFrom(reference Cell, factor Factor, level string) (Cell, error)

VaryFrom produces a paired cell against a suite-specific reference. A video suite must not label its baseline as the voice-only global reference merely to reuse comparison plumbing.

func (Cell) Describe

func (cell Cell) Describe() string

Describe renders the cell for a person.

func (Cell) ID

func (cell Cell) ID() string

ID is a stable identity for the cell's configuration.

type Comparison

type Comparison struct {
	Suite        string  `json:"suite"`
	Factor       Factor  `json:"factor"`
	Baseline     string  `json:"baseline"`
	Variant      string  `json:"variant"`
	BaselineRate float64 `json:"baseline_pass_rate"`
	VariantRate  float64 `json:"variant_pass_rate"`
	Difference   float64 `json:"difference"`
	// Reportable is false when either cell was incomplete or unreproducible.
	Reportable bool   `json:"reportable"`
	Refusal    string `json:"refusal,omitempty"`
}

Comparison is a paired reading of two cells.

func Pair

func Pair(baseline, variant Result) Comparison

Pair compares two cells, refusing when the comparison would not mean anything.

Refusing is the point. Two cells that differ in three factors do not measure any one of them, an incomplete cell is a different experiment rather than a smaller one, and a comparison across suites is two things that do not average. All three are refused here rather than left to whoever reads the numbers.

type Distribution

type Distribution struct {
	Count int     `json:"count"`
	Unit  string  `json:"unit"`
	Min   float64 `json:"min"`
	P50   float64 `json:"p50"`
	P90   float64 `json:"p90"`
	P95   float64 `json:"p95"`
	P99   float64 `json:"p99"`
	Max   float64 `json:"max"`
	Mean  float64 `json:"mean"`
}

Distribution summarises a sample.

It exists because a mean is not a latency claim. A system with a 200 ms mean and a 4 s ninety-ninth percentile is a system people notice being slow, and reporting the mean alone describes something nobody is using.

The unit is carried rather than assumed. Suites report counts alongside durations - turns taken, turns missed, calls made - and a percentile of a count rendered as "2 ms" is not a smaller mistake than a wrong number, it is a number that means nothing and looks like it means something.

func Summarise

func Summarise(values []float64) Distribution

Summarise builds a distribution from milliseconds.

func (Distribution) Format

func (distribution Distribution) Format(value float64) string

Format renders one value with its unit, for a report a person reads.

type EdgeEndpoint

type EdgeEndpoint struct {
	Node string `json:"node"`
	Port string `json:"port"`
	Lane string `json:"lane,omitempty"`
}

EdgeEndpoint is a concrete graph port lane retained in a selected path.

type ElementResolution

type ElementResolution struct {
	Node           string               `json:"node"`
	Element        element.Identity     `json:"element"`
	Implementation string               `json:"implementation"`
	Runtime        ArtifactIdentity     `json:"runtime"`
	Capabilities   []CapabilityIdentity `json:"capabilities,omitempty"`
}

ElementResolution is the live resolution reported for one graph node. The selected descriptor and implementation are repeated deliberately: the attestor verifies them against immutable Graph IR before evidence is accepted, while Runtime identifies the mounted implementation artifact.

type ExecutionEvidence

type ExecutionEvidence struct {
	FormatVersion uint64        `json:"format_version"`
	Kind          ExecutionKind `json:"kind"`
	// Scope is the benchmark task/session identity supplied to the attestor.
	// It is optional for independently captured cell-wide evidence (such as an
	// external tau-Voice preflight), and otherwise binds selected paths to the
	// row whose execution produced them.
	Scope       string         `json:"scope,omitempty"`
	Fingerprint string         `json:"fingerprint"`
	Graph       *GraphEvidence `json:"graph,omitempty"`
}

ExecutionEvidence is one immutable, fingerprinted live-session proof.

func FreezeExecutionEvidence

func FreezeExecutionEvidence(evidence ExecutionEvidence) (ExecutionEvidence, error)

FreezeExecutionEvidence clones, canonicalizes, validates, and fingerprints evidence. The input and all of its slices remain owned by the caller.

func ParseExecutionEvidence

func ParseExecutionEvidence(source []byte) (ExecutionEvidence, error)

ParseExecutionEvidence strictly decodes and verifies one evidence artifact.

func (ExecutionEvidence) Clone

func (evidence ExecutionEvidence) Clone() ExecutionEvidence

Clone returns evidence with recursively independent slices and pointers.

func (ExecutionEvidence) Validate

func (evidence ExecutionEvidence) Validate() error

Validate verifies structure and the stored evidence fingerprint.

type ExecutionKind

type ExecutionKind string

ExecutionKind identifies the execution-proof contract. An empty kind is reserved for local diagnostic cells and can never satisfy a reportable graph-native requirement.

const (
	ExecutionGraphNative ExecutionKind = "graph-native"
)

type ExecutionRequirement

type ExecutionRequirement struct {
	FormatVersion uint64         `json:"format_version,omitempty"`
	Kind          ExecutionKind  `json:"kind,omitempty"`
	Graph         *GraphEvidence `json:"graph,omitempty"`
}

ExecutionRequirement is the immutable execution contract carried by a benchmark cell. For graph-native cells, Paths are required selections while extra observed paths remain valid task evidence.

func ParseExecutionRequirement

func ParseExecutionRequirement(source []byte) (ExecutionRequirement, error)

ParseExecutionRequirement strictly decodes one standalone execution requirement. It rejects unknown or duplicate fields, trailing values, and the unattested diagnostic zero value.

func ReadExecutionRequirement

func ReadExecutionRequirement(path string) (ExecutionRequirement, error)

ReadExecutionRequirement reads and verifies one reviewable requirement artifact. It contains expected identities only; observed task evidence uses ParseExecutionEvidence and remains a separate artifact kind.

func RequireGraph

func RequireGraph(
	graph ir.Graph, configuration ArtifactIdentity, expected LiveResolution,
) (ExecutionRequirement, error)

RequireGraph constructs a canonical graph-native cell requirement. Expected contains the exact live element/capability identities the deployment is meant to resolve and any route selections every task must report.

func (ExecutionRequirement) IsZero

func (requirement ExecutionRequirement) IsZero() bool

IsZero lets diagnostic result and manifest JSON omit an unattested default. A production execution requirement always serializes its graph-native contract explicitly.

func (ExecutionRequirement) Match

func (requirement ExecutionRequirement) Match(evidence *ExecutionEvidence) error

Match verifies one task's evidence against its cell requirement.

func (ExecutionRequirement) MatchStatus

func (requirement ExecutionRequirement) MatchStatus(status binding.Status) error

MatchStatus verifies the status fields available at handshake time. A graph result still needs full ExecutionEvidence; this check only rejects a wrong endpoint early.

func (ExecutionRequirement) Required

func (requirement ExecutionRequirement) Required() bool

Required reports whether this cell demands per-task execution evidence.

func (ExecutionRequirement) Validate

func (requirement ExecutionRequirement) Validate() error

Validate checks an execution requirement independently of any result.

type Factor

type Factor string

Factor names one axis the measurement program varies.

const (
	FactorBinding    Factor = "F1"
	FactorCognition  Factor = "F2"
	FactorObservers  Factor = "F3"
	FactorCadence    Factor = "F4"
	FactorFloor      Factor = "F5"
	FactorSlowModel  Factor = "F6"
	FactorComponents Factor = "F7"
	FactorPolicy     Factor = "F8"
	FactorFastModel  Factor = "F9"
	FactorFastAction Factor = "F10"
	FactorVideoRate  Factor = "F11"
	FactorRecognizer Factor = "F12"
	// FactorTransport records whether the evaluated sensor/executor reached the
	// same protocol over WebSocket or WebRTC. Meeting cells use it because RTP
	// pacing, data-channel ordering, and media codecs are part of the deployed
	// system rather than invisible harness plumbing.
	FactorTransport Factor = "F13"
	// FactorInteractionArchitecture selects who makes interaction decisions and
	// from what evidence: shipped predicates (P), an external text-policy model
	// (T), or a model-native interaction head (N). The level is only the compact
	// column used by the generic report machinery. A reportable F52 comparison
	// also carries the structured architecture identity in bench/architecture;
	// this string by itself is never sufficient evidence.
	FactorInteractionArchitecture Factor = "F52"
)

func Compare

func Compare(left, right Cell) []Factor

Compare reports which factors differ between two cells.

It is what a report uses to say what a comparison is actually comparing. Two cells that differ in three factors are not a measurement of any one of them, and this is what makes that visible rather than assumed.

func Paired

func Paired(left, right Cell) (Factor, bool)

Paired reports whether two cells differ in exactly one factor.

func (Factor) Description

func (factor Factor) Description() string

Description is what a factor varies, for reports that a person reads.

type GraphAttestor

type GraphAttestor struct {
	Graph         ir.Graph
	Configuration ArtifactIdentity
	Resolve       func(context.Context, AttestationRequest) (LiveResolution, error)
}

GraphAttestor verifies the live graph identity and combines the immutable IR with a deployment-backed resolution callback. The shared driver invokes it at the task completion boundary, so Resolve can observe routes selected during execution. Resolve is intentionally required: binding.Status alone proves the mounted graph fingerprint but does not expose exact dynamic provider revisions or selected routes.

func (GraphAttestor) Attest

func (attestor GraphAttestor) Attest(
	ctx context.Context, request AttestationRequest,
) (ExecutionEvidence, error)

Attest captures one graph-native execution proof.

type GraphEvidence

type GraphEvidence struct {
	Graph         GraphIdentity               `json:"graph"`
	Configuration ArtifactIdentity            `json:"configuration"`
	Deployment    *inspect.DeploymentEvidence `json:"deployment,omitempty"`
	Nodes         []GraphNodeEvidence         `json:"nodes"`
	Paths         []GraphPath                 `json:"selected_paths,omitempty"`
}

GraphEvidence is a self-contained, human-inspectable execution proof. The graph fingerprint remains the authority; the expanded nodes, config digests, resolutions, and paths make that authority reviewable without guessing what a compact fingerprint contained.

type GraphIdentity

type GraphIdentity struct {
	FormatVersion uint64 `json:"format_version"`
	ID            string `json:"id"`
	Revision      uint64 `json:"revision"`
	Fingerprint   string `json:"fingerprint"`
}

GraphIdentity is the exact frozen Graph IR mounted for a session.

type GraphNodeEvidence

type GraphNodeEvidence struct {
	Node           string               `json:"node"`
	Element        element.Identity     `json:"element"`
	Implementation string               `json:"implementation"`
	Config         ArtifactIdentity     `json:"config"`
	Runtime        ArtifactIdentity     `json:"runtime"`
	Capabilities   []CapabilityIdentity `json:"capabilities,omitempty"`
}

GraphNodeEvidence combines immutable graph selection, per-node config identity, and the live runtime/capability resolution for one node.

type GraphPath

type GraphPath struct {
	Name  string     `json:"name"`
	Edges []PathEdge `json:"edges"`
}

GraphPath is one ordered route observed or required for a task.

type LiveInspectionClient

type LiveInspectionClient struct {
	Endpoint   string
	HTTPClient *http.Client
	Now        func() time.Time
}

LiveInspectionClient reads the authenticated, session-scoped management snapshot negotiated on the Realtime connection. Endpoint supplies only the deployment origin; the server-issued access path selects the exact session. Scope is never used as a session lookup key.

func (LiveInspectionClient) Resolver

func (client LiveInspectionClient) Resolver(
	graph ir.Graph, configuration ArtifactIdentity, expected LiveResolution,
) (func(context.Context, AttestationRequest) (LiveResolution, error), error)

Resolver returns the strict live-resolution callback consumed by GraphAttestor. Construction validates and freezes all reviewed inputs so a caller cannot mutate the expected treatment after wiring the attestor.

func (LiveInspectionClient) Snapshot

Snapshot retrieves one payload-free live view. Credentials are sent only to the deployment origin and redirects are never followed.

type LiveResolution

type LiveResolution struct {
	Deployment *inspect.DeploymentEvidence `json:"deployment,omitempty"`
	Elements   []ElementResolution         `json:"elements"`
	Paths      []SelectedPath              `json:"paths,omitempty"`
}

LiveResolution is what the deployment-specific inspector learned after the session was mounted. Every element must be present. Paths are optional because not every graph makes a runtime route choice and not every current runtime exports route traces yet.

func AuthorExpectedResolutionFromInspection

func AuthorExpectedResolutionFromInspection(
	graph ir.Graph,
	configuration ArtifactIdentity,
	snapshot inspect.Live,
) (LiveResolution, error)

AuthorExpectedResolutionFromInspection freezes the complete task-independent identity contract reported by one deployment probe. It is intentionally stricter than ordinary per-task conversion: every graph node must have crossed its live runtime and capability-reporting boundary, and the mount must expose exact public/private deployment evidence. Registered or declared startup metadata cannot be promoted into a reviewed benchmark requirement.

Selected paths are deliberately absent. A resource-free probe has not run a benchmark task, so it has no authority to infer semantic route selections from incidental startup traffic. Callers that require a task path must add a separately reviewed path contract before RequireGraph.

func ParseExpectedResolution

func ParseExpectedResolution(source []byte) (LiveResolution, error)

ParseExpectedResolution strictly decodes a reviewed expected deployment resolution. Unknown and duplicate fields or trailing JSON are rejected.

func ReadExpectedResolution

func ReadExpectedResolution(path string) (LiveResolution, error)

func ResolutionFromInspection

func ResolutionFromInspection(
	graph ir.Graph,
	configuration ArtifactIdentity,
	expected LiveResolution,
	snapshot inspect.Live,
) (LiveResolution, error)

ResolutionFromInspection converts one management-plane snapshot into the deployment resolution consumed by GraphAttestor. The expected resolution is the reviewed contract used to author the benchmark cell: its capabilities determine which nodes need a live provider handshake, and its path names give observed edge sequences their semantic meaning.

The conversion is intentionally strict and pure. It never promotes Graph IR declarations to observed identities, and it never uses correlation IDs as selected-path names. Callers may therefore retain the snapshot separately without giving mutable inspection data a second interpretation later.

type Machine

type Machine struct {
	CPU       string `json:"cpu,omitempty"`
	Cores     int    `json:"cores"`
	GPU       string `json:"gpu,omitempty"`
	OS        string `json:"os"`
	Arch      string `json:"arch"`
	GoVersion string `json:"go_version"`
	Hostname  string `json:"hostname,omitempty"`
}

Machine describes the host.

type Moment

type Moment struct {
	// AtMS is milliseconds from the start of playback, so a moment can be
	// compared against a recording's own annotations.
	AtMS float64 `json:"at_ms"`
	Kind string  `json:"kind"`
	Text string  `json:"text,omitempty"`
	// AudioMS is how much audio a speech moment carried.
	AudioMS float64 `json:"audio_ms,omitempty"`
	// PlayoutAtMS is the start of this audio delta in the captured waveform.
	// AtMS remains its arrival time; a prefetched response may finish on the
	// wire before its queued audio has played. Historical moments omit this.
	PlayoutAtMS float64 `json:"playout_at_ms,omitempty"`
	// ItemID is the conversation item an audio delta or a playback receipt
	// belongs to.
	ItemID string `json:"item_id,omitempty"`
	// Discarded marks agent audio a SessionConfig.Player client never played:
	// it arrived for a response the player had already stopped.
	Discarded bool `json:"discarded,omitempty"`
	// StreamAtMS is where in the input audio the endpoint says this happened.
	//
	// A speech_started event carries audio_start_ms, which is the endpoint's
	// own position in the stream it was fed - not when the notice reached the
	// client. Keeping only the arrival time confuses two different questions:
	// how long the detector took to hear speech, and how long the notice took
	// to come back. Subtracting one from the other separates them. Endpoints
	// that omit the field leave this zero.
	StreamAtMS float64 `json:"stream_at_ms,omitempty"`
	// Response fields preserve protocol evidence without inferring why a
	// response ended. Empty fields mean that the endpoint did not supply them.
	ResponseID           string `json:"response_id,omitempty"`
	ResponseStatus       string `json:"response_status,omitempty"`
	ResponseStatusReason string `json:"response_status_reason,omitempty"`
	Name                 string `json:"name,omitempty"`
	CallID               string `json:"call_id,omitempty"`
	// Arguments preserves the action the model actually grounded. Accuracy
	// cannot be reconstructed from a tool name alone.
	Arguments string `json:"arguments,omitempty"`
	Source    string `json:"source,omitempty"`
	Observer  string `json:"observer,omitempty"`
}

Moment is one thing that happened, with when it happened.

A suite judges a conversation from this record rather than from the wire, which is what lets the same recording be scored for endpointing, overlap, and tool use without three different clients.

func (Moment) PlayoutSpan added in v0.2.0

func (moment Moment) PlayoutSpan(stops map[string]float64) (float64, float64)

PlayoutSpan is when this agent audio sounded on the playout clock, cut at its response's playback stop when a Player client stopped it.

type PathEdge

type PathEdge struct {
	ID       string       `json:"id"`
	From     EdgeEndpoint `json:"from"`
	To       EdgeEndpoint `json:"to"`
	Type     string       `json:"type"`
	Delivery string       `json:"delivery"`
	Ordering string       `json:"ordering"`
	Depth    int          `json:"depth"`
}

PathEdge is the immutable edge identity behind a selected edge ID.

type Provenance

type Provenance struct {
	// Revision is the source revision the executable was built from.
	Revision string `json:"revision"`
	// Modified reports that the working tree had uncommitted changes. A result
	// from a modified tree is not reproducible and says so rather than
	// pretending its revision describes it.
	Modified bool `json:"modified"`
	// ExecutableSHA256 identifies the binary itself, which is what actually
	// ran. Two builds of one revision can differ.
	ExecutableSHA256 string `json:"executable_sha256"`
	// Machine is where it ran. An efficiency or latency number without one is
	// not a number.
	Machine Machine `json:"machine"`
	// StartedAt and FinishedAt bound the run.
	StartedAt  string `json:"started_at"`
	FinishedAt string `json:"finished_at,omitempty"`
}

Provenance identifies what produced a result.

func Capture

func Capture() Provenance

Capture reads the provenance of the running process.

func (Provenance) Complete

func (provenance Provenance) Complete() Provenance

Complete stamps the finish time.

func (Provenance) Reproducible

func (provenance Provenance) Reproducible() error

Reproducible reports whether a result can be traced to a build.

A run from a modified tree, or one whose executable could not be hashed, is still useful while developing and must not be published as evidence. Saying so here is cheaper than discovering it later from a number that will not reproduce.

func (Provenance) String

func (provenance Provenance) String() string

String renders provenance for a log line.

type Result

type Result struct {
	Suite      string     `json:"suite"`
	Cell       Cell       `json:"cell"`
	Provenance Provenance `json:"provenance"`

	// Expected is how many tasks the suite declared. A cell is complete only
	// when every one of them ran.
	Expected int `json:"expected_tasks"`

	Tasks []TaskOutcome `json:"tasks"`

	// Summary is derived. It is populated by Finish so a report cannot carry a
	// summary that disagrees with its rows.
	Summary Summary `json:"summary"`
}

Result is one completed cell of one suite.

func (*Result) Finish

func (result *Result) Finish()

Finish derives the summary and states whether the cell is reportable.

This is where the first reporting rule is enforced rather than remembered. A cell that did not run every task is marked incomplete and says why; nothing downstream has to decide whether a partial result counts.

func (Result) Reportable

func (result Result) Reportable() error

Reportable reports whether this cell may be published.

Two independent conditions, and both are refusals rather than warnings: the cell ran completely, and the build it ran on can be traced.

func (Result) Write

func (result Result) Write(path string) error

Write saves a result as JSON.

type RuntimeAttestor

type RuntimeAttestor interface {
	Attest(context.Context, AttestationRequest) (ExecutionEvidence, error)
}

RuntimeAttestor turns a post-handshake live status into versioned execution evidence. Implementations may query an inspector, trace store, or local management plane; intended launch flags are not a valid substitute.

type RuntimeAttestorFunc

type RuntimeAttestorFunc func(context.Context, AttestationRequest) (ExecutionEvidence, error)

RuntimeAttestorFunc adapts a function to RuntimeAttestor.

func (RuntimeAttestorFunc) Attest

func (function RuntimeAttestorFunc) Attest(
	ctx context.Context, request AttestationRequest,
) (ExecutionEvidence, error)

type ScheduledEvent

type ScheduledEvent struct {
	// AtMS is measured from the start of playback, like everything else in a
	// transcript, so a scheduled event and an utterance can be placed against
	// each other.
	AtMS int
	// Name is a stable harness-local identity copied onto MomentScheduled.
	// Review consumers use it to distinguish authored media from other
	// protocol events without inferring event kind from a generic moment count.
	Name  string
	Event map[string]any
}

ScheduledEvent is one protocol event and when to send it.

type SelectedPath

type SelectedPath struct {
	Name  string   `json:"name"`
	Edges []string `json:"edges"`
}

SelectedPath is the compact output of a live inspector or trace collector. Edge IDs are expanded and verified against Graph IR by GraphAttestor. One fork is represented as two named paths rather than as an ambiguous edge bag.

type SessionAudioCapture

type SessionAudioCapture struct {
	SampleRateHz uint32
	RoomPCM16    []int16
	Agent        []TimedAudioChunk
}

SessionAudioCapture is the PCM heard and produced during one benchmark episode. It is deliberately separate from Transcript: benchmark records stay compact and review audio is retained only when a caller opts in.

RoomPCM16 contains the exact mono 24 kHz PCM16 samples sent to the session, including harness trailing silence. Agent contains output chunks positioned on the same episode clock. All slices passed to CaptureAudio are owned by the recipient and may be retained after PlaySamples returns.

type SessionConfig

type SessionConfig struct {
	// Endpoint is the WebSocket protocol endpoint or WebRTC SDP endpoint.
	Endpoint string
	// Transport selects websocket or webrtc. Empty preserves websocket.
	Transport string
	Token     string
	Model     string
	// Instructions is the agent instruction for this task.
	Instructions string
	// Tools are declared to the session. Their results come from Respond.
	Tools []json.RawMessage
	// Respond answers a tool call. Returning an error ends the task; a nil
	// function refuses every call, which is correct for a suite with no tools.
	Respond func(name string, arguments json.RawMessage) (json.RawMessage, error)
	// HandleTool is the context-aware form used by interactive environments.
	// It takes precedence over Respond and receives the call identity so an
	// evaluator can retain an exact action trace and propagate idempotency.
	HandleTool func(context.Context, ToolRequest) (json.RawMessage, error)
	// ConcurrentTools runs HandleTool outside the protocol event collector.
	//
	// Meeting and agent evaluations use this when a knowledge tool deliberately
	// remains outstanding while more audio and video arrive. The collector
	// continues recording those events and does not declare the conversation
	// quiet until every tool result has returned. Ordinary suites retain the
	// historical synchronous behavior by leaving this false.
	ConcurrentTools bool
	// Observers selects the named OpenRealtime perception plug-ins for this
	// session. Empty delegates to the binding's documented default set. Names
	// are sent only when the OpenRealtime extension is otherwise negotiated.
	Observers []string
	// Realtime plays audio at its own rate. Turning it off makes a suite
	// faster and its timing numbers meaningless, so it stays on for anything
	// that reports latency.
	Realtime bool
	// TrailingSilence is appended so server endpointing fires on the last
	// utterance. Zero selects 1200 ms.
	TrailingSilence time.Duration
	// WorkingTimeout bounds silence while the agent still owes a response, as
	// distinct from the short quiet that means it has finished. Zero selects
	// thirty seconds.
	WorkingTimeout time.Duration
	// PostPlaybackQuiet is how long a session with no protocol work visibly
	// outstanding must remain quiet after playback before collection ends.
	// Passive observation and debug traffic is recorded but does not extend
	// this interval; continuing video cannot keep a completed task alive.
	// Zero selects three seconds. Suites with an asynchronous slow lane may
	// raise this without weakening their action deadlines; Timeout remains the
	// hard conversation horizon.
	PostPlaybackQuiet time.Duration
	// Timeout bounds one conversation.
	Timeout time.Duration
	// WaitConfigured holds WebSocket replay until session.updated arrives, as
	// WebRTC always does. A native model that configures for seconds otherwise
	// queues, and may drop, the recording's opening audio. The wait is outside
	// the episode clock and reported as Transcript.ConfigurationWaitMS. Off
	// preserves the WebSocket conditions of earlier campaigns.
	WaitConfigured bool
	// Player makes the client behave like a device that plays received audio
	// in order at realtime. When the server cancels the response it is playing
	// (response.done, status cancelled), the player stops at once, discards the
	// rest, and sends conversation.item.truncate with how much it played. It
	// never stops on its own guess; backchannels are the server's call. Off
	// keeps the historical client, which never truncates.
	Player bool
	// Quiet suppresses per-task progress.
	Quiet bool
	// CaptureAudio receives a copy of the exact room/input PCM and timed agent
	// output after the attempt ends. It is called once on every return path,
	// including connection, protocol, and timeout failures. Audio is not added
	// to Transcript or its JSON representation. A capture error is joined to
	// the attempt error so a requested review artifact cannot fail silently.
	CaptureAudio func(SessionAudioCapture) error
	// CaptureVideo receives each non-empty video frame after it has been
	// successfully sent. Calls are synchronous and serialized across every
	// configured stream; a sink error terminates the attempt. Frame bytes are
	// owned by the recipient and are not added to Transcript or its JSON.
	CaptureVideo func(SessionVideoCapture) error
	// CaptureScheduled receives an immutable owned copy of each authored event
	// only after the exact canonical JSON value was successfully submitted to
	// the transport. Calls are synchronous and ordered by cue time. A callback
	// error terminates the attempt and the event is not recorded as a successful
	// MomentScheduled. Scheduled metadata and encoded bytes are validated and
	// bounded before the session connection is opened.
	CaptureScheduled func(SessionScheduledCapture) error
	// CaptureRuntimeEvidence negotiates the session debug category and retains
	// the live binding status. Architecture experiments set it for every task;
	// it is opt-in because the developer trace is not application behavior.
	CaptureRuntimeEvidence bool
	// RuntimeAttestor resolves exact element/capability identities after the
	// live status arrives. Setting it automatically enables runtime evidence
	// negotiation. Graph-native cells use GraphAttestor; non-graph runtime
	// claims are deliberately not promoted to equivalent execution evidence.
	RuntimeAttestor RuntimeAttestor
	// AttestationScope identifies this task/session to a live inspector. Suites
	// set it to their task ID so selected paths cannot be attributed to a
	// different concurrent session.
	AttestationScope string
	// Scheduled are protocol events to send at points in the playback.
	//
	// A conversation is not only speech. A screen changes, a camera sees
	// something, a system event lands - and each of those has a moment,
	// exactly as an utterance does. Scheduling them on the same timeline is
	// what lets a scenario ask whether the agent spoke because of something it
	// saw while nobody was talking, which no amount of audio can express.
	Scheduled []ScheduledEvent
	// SpeechCues insert pre-authored PCM into reserved silence after observed
	// agent speech. They require Realtime and preserve actual cue positions.
	SpeechCues []SpeechCue
	// Video streams live frames until the conversation finishes. Unlike a
	// Scheduled event, a stream keeps observing while the agent acts, which is
	// necessary for multi-step computer use and transient visual tasks.
	Video []VideoStream
	// Ready runs after session configuration and video-source declarations but
	// before audio playback and frame capture. Browser tasks reset their clock
	// here so cue-to-action latency excludes connection setup.
	Ready func(context.Context) error
}

SessionConfig configures one conversation.

type SessionScheduledCapture

type SessionScheduledCapture struct {
	AtMS      int
	Name      string
	EventType string
	EventJSON []byte
}

SessionScheduledCapture is one authored event after it was successfully submitted to the session transport. EventJSON is the immutable canonical JSON value handed to that same Send call, not a later reconstruction of the source map. The callback owns EventJSON and may retain or mutate it without changing the already-sent event.

AtMS and Name are the closed harness cue identity copied from ScheduledEvent. EventType is the exact top-level protocol event type decoded during preflight. EventJSON is bounded to maximumScheduledEventBytes before a connection or session is opened.

type SessionVideoCapture

type SessionVideoCapture struct {
	Source        string
	Width         int
	Height        int
	MediaType     string
	WireTimestamp int64
	EpisodeAtMS   float64
	Data          []byte
}

SessionVideoCapture is one encoded frame successfully sent by the benchmark session driver. Data is an owned copy and may be retained or mutated by the callback without changing the protocol payload.

WireTimestamp is the Unix millisecond timestamp placed in the frame's timestamp_ms wire field. EpisodeAtMS is measured from the environment-ready episode clock immediately after the successful wire send. MediaType is sniffed from Data and is currently restricted to image/jpeg or image/png.

type SpeechCue

type SpeechCue struct {
	Name                                                string
	PCM16                                               []int16
	EarliestMS, LatestMS                                int
	LookbackMS, MinimumActiveMS, RecentMS, MinimumGapMS int
}

SpeechCue reserves a bounded, initially silent input interval for speech that starts only after audible agent output has played. PCM16 is mono 24 kHz. Cues execute in declaration order, with MinimumGapMS after the previous cue. Packet arrival and queued future audio cannot satisfy the opportunity.

type SpeechCueObservation

type SpeechCueObservation struct {
	Name            string  `json:"name"`
	Status          string  `json:"status"`
	PCM16SHA256     string  `json:"pcm16_sha256"`
	EarliestMS      int     `json:"earliest_ms"`
	LatestMS        int     `json:"latest_ms"`
	LookbackMS      int     `json:"lookback_ms"`
	MinimumActiveMS int     `json:"minimum_active_ms"`
	RecentMS        int     `json:"recent_ms"`
	MinimumGapMS    int     `json:"minimum_gap_ms"`
	StartMS         int     `json:"start_ms,omitempty"`
	EndMS           float64 `json:"end_ms,omitempty"`
	ActiveMS        float64 `json:"active_ms,omitempty"`
	RecentActiveMS  float64 `json:"recent_active_ms,omitempty"`
	ExpectedSamples int     `json:"expected_samples"`
	SentSamples     int     `json:"sent_samples"`
}

SpeechCueObservation records the actual input clock and the observation that released one authored cue. SentSamples is updated only after transport send succeeds. Missed opportunities are behavioral evidence, never silent passes.

type Summary

type Summary struct {
	Completed     int `json:"completed"`
	Failed        int `json:"failed"`
	Passed        int `json:"passed"`
	NotApplicable int `json:"not_applicable,omitempty"`
	// PassRate is over Completed-NotApplicable, and is meaningful only when
	// the cell is complete and that denominator is positive.
	PassRate       float64                 `json:"pass_rate"`
	Complete       bool                    `json:"complete"`
	Incompleteness string                  `json:"incompleteness,omitempty"`
	Distributions  map[string]Distribution `json:"distributions,omitempty"`
}

Summary is the derived view of a cell.

type TaskOutcome

type TaskOutcome struct {
	ID string `json:"id"`
	// Completed reports whether the task ran to a conclusion. A task that
	// errored is recorded, not dropped: an incomplete cell must be visible.
	Completed bool `json:"completed"`
	// Passed is the suite's own judgement. It is meaningful only when the task
	// completed.
	Passed bool `json:"passed"`
	// Applicability separates a completed recording from an opportunity to
	// evaluate behavior. Empty preserves historical/ordinary scored outcomes;
	// suites with conditional scoring explicitly declare either value.
	Applicability Applicability `json:"applicability,omitempty"`
	// Error is why an incomplete task did not finish.
	Error string `json:"error,omitempty"`
	// Metrics are suite-specific numbers, in milliseconds where they are
	// durations.
	Metrics map[string]float64 `json:"metrics,omitempty"`
	// Notes carry anything a person would want when reading a surprising row.
	Notes map[string]string `json:"notes,omitempty"`
	// Execution is the live, immutable runtime proof captured for this task.
	// It belongs to the row rather than only the cell because a long benchmark
	// can cross a restart or a failed rollout between tasks.
	Execution *ExecutionEvidence `json:"execution_evidence,omitempty"`
	// ExecutionError retains why an explicitly requested attestation could not
	// be produced. Dropping it would make missing evidence look accidental.
	ExecutionError string `json:"execution_evidence_error,omitempty"`
}

TaskOutcome is one unit of work in a suite.

func (*TaskOutcome) AttachExecution

func (outcome *TaskOutcome) AttachExecution(transcript Transcript)

AttachExecution copies the shared session driver's evidence into a task. The copy prevents a scorer or later session from mutating the transcript's immutable proof through an aliased slice.

func (TaskOutcome) Validate

func (outcome TaskOutcome) Validate() error

Validate rejects outcome states which no deterministic benchmark scorer can truthfully produce. It deliberately does not require an error on an incomplete row: setup can fail before a suite has enough context to provide one, and those rows remain useful diagnostics. The enclosing Result decides whether execution evidence is required for this cell.

type TimedAudioChunk

type TimedAudioChunk struct {
	AtMS  float64
	PCM16 []int16
}

TimedAudioChunk is one mono PCM16 output chunk and its playout position. AtMS is measured from the same zero point as Transcript.Moments. Consecutive wire deltas are serialized onto one playout clock, as a speaker would play them, even when a server delivers them faster than realtime.

type ToolRequest

type ToolRequest struct {
	CallID    string
	Name      string
	Arguments json.RawMessage
	Received  time.Time
}

ToolRequest is one complete model action received over the protocol.

type Transcript

type Transcript struct {
	Moments []Moment `json:"moments"`
	// PlaybackMS is how long the input recording was.
	PlaybackMS float64                `json:"playback_ms"`
	SpeechCues []SpeechCueObservation `json:"speech_cues,omitempty"`
	Failure    string                 `json:"failure,omitempty"`
	// NegotiatedObservers is the authoritative observer set returned by the
	// session.updated OpenRealtime negotiation response. A nil slice means the
	// endpoint returned no OpenRealtime response; a non-nil empty slice means
	// the extension negotiated successfully but selected no observers.
	//
	// This deliberately does not come from Runtime. Graph-native runtime status
	// describes execution identity, while observer selection is wire-negotiated
	// session state.
	NegotiatedObservers []string `json:"negotiated_observers,omitempty"`
	// Runtime is the handshake-resolved architecture evidence emitted after
	// session.update. It is present only when CaptureRuntimeEvidence was set;
	// ordinary benchmark clients retain their existing wire behavior.
	Runtime *binding.Status `json:"runtime,omitempty"`
	// Execution is the versioned graph-native or explicitly legacy proof
	// produced by RuntimeAttestor from the live post-handshake status.
	Execution *ExecutionEvidence `json:"execution_evidence,omitempty"`
	// ExecutionError retains attestor/refusal details without turning a model
	// behavior row into an infrastructure score. Result.Reportable is the
	// publication gate.
	ExecutionError string `json:"execution_evidence_error,omitempty"`
	// ConfigurationWaitMS is how long a gated WebSocket replay waited for
	// session.updated before its episode began. Absent when not gated.
	ConfigurationWaitMS *float64 `json:"configuration_wait_ms,omitempty"`
	// Player is set when a SessionConfig.Player client produced this record,
	// so its playout numbers are what was heard rather than an upper bound.
	Player bool `json:"player,omitempty"`
	// Outstanding lifecycle counts are normally zero. They are retained so a
	// timeout distinguishes an agent still synthesising/responding from a
	// harness that merely waited too little after playback.
	OutstandingResponses int `json:"outstanding_responses,omitempty"`
	OutstandingTools     int `json:"outstanding_tools,omitempty"`
	// contains filtered or unexported fields
}

Transcript is the complete timed record of one conversation.

func Play

func Play(ctx context.Context, config SessionConfig, wavPath string) (Transcript, error)

Play drives one recording through a session and returns the timed record.

func PlaySamples

func PlaySamples(
	ctx context.Context, config SessionConfig, samples []int16,
) (transcript Transcript, runErr error)

PlaySamples drives 24 kHz PCM16 samples through a session.

func (Transcript) AgentTurns

func (transcript Transcript) AgentTurns() []string

AgentTurns returns what the agent said, one entry per response.

func (Transcript) AudioBetween

func (transcript Transcript) AudioBetween(fromMS, toMS float64) float64

AudioBetween totals the agent audio emitted in a window, which is how overlap and barge-in are judged: whether the agent was making sound while the user was talking, and how quickly it stopped.

func (Transcript) AudioStartedBetween

func (transcript Transcript) AudioStartedBetween(fromMS, toMS float64) float64

AudioStartedBetween is agent audio from turns that began inside the window.

A silence check asks whether something in the window made the agent speak, and audio still playing from a turn that began before it cannot have. The distinction is not academic: an agent asked to report a build finishing says briefly that it will, and the tail of that sentence was being counted as a reaction to the first screen it saw three seconds later. Counting it that way also contradicts the scenario next to it, where the agent keeping the floor through somebody's "mhm" is the behaviour being asked for.

A turn's audio begins at its first frame after the last response, which is the protocol's own boundary rather than a gap this has to guess at.

func (Transcript) FirstAudioAfter

func (transcript Transcript) FirstAudioAfter(fromMS float64) (float64, bool)

FirstAudioAfter is the latency from a moment in the recording to the next audio the agent produced.

func (Transcript) FirstToolCallAfter

func (transcript Transcript) FirstToolCallAfter(name string, fromMS float64) (float64, bool)

FirstToolCallAfter is the wait from a moment in the recording to the next time a named tool was called.

A silent act is still an answer. Measuring how soon it happened as a wait for speech asks an agent whose right move is to press a key and say nothing to fail either the latency check or the silence one beside it.

func (Transcript) PlaybackStops added in v0.2.0

func (transcript Transcript) PlaybackStops() map[string]float64

PlaybackStops maps each response a Player client stopped to the stop time.

func (Transcript) PlayoutAudioBetween added in v0.2.0

func (transcript Transcript) PlayoutAudioBetween(fromMS, toMS float64) (float64, bool)

PlayoutAudioBetween is how much agent audio a speaker was playing inside the window: each delta occupies [PlayoutAtMS, PlayoutAtMS+AudioMS) on the recorder's serialized playout clock, and only the overlap counts. It reports false when any agent audio lacks a playout position, because mixing arrival and playout times would measure neither.

func (Transcript) ToolCalls

func (transcript Transcript) ToolCalls() []string

ToolCalls returns the names of calls handed to the client.

func (Transcript) UserTurns

func (transcript Transcript) UserTurns() []string

UserTurns returns what the user was heard to say, in order.

type VideoStream

type VideoStream struct {
	Source   string
	Width    int
	Height   int
	Interval time.Duration
	Capture  func(context.Context) ([]byte, error)
}

VideoStream is one declared source sampled for the duration of a task. Capture returns encoded JPEG or PNG bytes. A nil frame skips this tick.

Directories

Path Synopsis
Package architecture makes interaction-architecture experiments explicit.
Package architecture makes interaction-architecture experiments explicit.
Package capability runs the interaction-capability study: how far an agent gets from a sparse, time-aligned representation of a conversation, and which behaviours need richer acoustic evidence or tighter language/speech coupling.
Package capability runs the interaction-capability study: how far an agent gets from a sparse, time-aligned representation of a conversation, and which behaviours need richer acoustic evidence or tighter language/speech coupling.
Package dynacu runs DynaCU-Bench against an OpenRealtime endpoint.
Package dynacu runs DynaCU-Bench against an OpenRealtime endpoint.
Package fdb runs the Full-Duplex Bench overlap suite.
Package fdb runs the Full-Duplex Bench overlap suite.
Package fdbench runs FD-Bench, the endpointing and timing suite.
Package fdbench runs FD-Bench, the endpointing and timing suite.
Package fdbv3 runs the Full-Duplex Bench tool-use suite.
Package fdbv3 runs the Full-Duplex Bench tool-use suite.
Package meeting owns the deterministic OpenRealtime meeting-assistant evaluation.
Package meeting owns the deterministic OpenRealtime meeting-assistant evaluation.
Package realtimecu owns OpenRealtime's audiovisual computer-use benchmark.
Package realtimecu owns OpenRealtime's audiovisual computer-use benchmark.
Package review defines the provider-neutral, offline multimodal review boundary for benchmark artifacts.
Package review defines the provider-neutral, offline multimodal review boundary for benchmark artifacts.
candidate
Package candidate defines the suite-neutral evidence plug-in boundary for new benchmark attempts.
Package candidate defines the suite-neutral evidence plug-in boundary for new benchmark attempts.
candidate/campaign
Package campaign composes a sealed candidate source bundle with one selected offline review provider.
Package campaign composes a sealed candidate source bundle with one selected offline review provider.
candidate/sourcebundle
Package sourcebundle implements the provider-neutral recording half of the candidate evidence plug-in.
Package sourcebundle implements the provider-neutral recording half of the candidate evidence plug-in.
gemini
Package gemini implements the Google Gemini Interactions API as one replaceable offline benchmark-review plugin.
Package gemini implements the Google Gemini Interactions API as one replaceable offline benchmark-review plugin.
media
Package media retains the exact audio and video delivered during one benchmark attempt.
Package media retains the exact audio and video delivered during one benchmark attempt.
media/ffmpeg
Package ffmpeg provides independently claimable, sandboxed encoder and full-decode attestor plug-ins for retained benchmark review media.
Package ffmpeg provides independently claimable, sandboxed encoder and full-decode attestor plug-ins for retained benchmark review media.
Package scenario is the end-to-end layer for interaction behaviour.
Package scenario is the end-to-end layer for interaction behaviour.
graphnative
Package graphnative binds the owned interaction-scenario suite to an exact graph-native Realtime adapter contract.
Package graphnative binds the owned interaction-scenario suite to an exact graph-native Realtime adapter contract.
Package tauvoice runs the tau-Voice suite against an OpenRealtime endpoint.
Package tauvoice runs the tau-Voice suite against an OpenRealtime endpoint.
Package toolcall is a small tool-correctness suite for voice agents.
Package toolcall is a small tool-correctness suite for voice agents.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL