experiment

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package experiment contains readiness data shared by hosts and guests without dependencies on host protocol implementations.

Index

Constants

View Source
const (
	MaxExperimentMetadata     = 4096
	MaxExperimentParticipants = 128
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Experiment

type Experiment struct {
	ID           string                  `json:"experiment_id"`
	StartTimeNS  int64                   `json:"start_time_ns"`
	Participants []ExperimentParticipant `json:"participants"`
}

Experiment is a one-shot readiness result for one admitted batch. Metadata is opaque application data and grants no permission to contact a peer.

type ExperimentParticipant

type ExperimentParticipant struct {
	ID         string `json:"id"`
	ExecutorID string `json:"executor_id"`
	Metadata   []byte `json:"metadata"`
	ReadyAtNS  int64  `json:"ready_at_ns"`
}

Jump to

Keyboard shortcuts

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