Skip to main content

Module segment

Module segment 

Expand description

Compatibility surface for segmented Oniro trials.

The implementation is deliberately split into private plan, configuration, runtime-command, and orchestration layers. These re-exports retain the established atune_oniro::segment::* paths for existing callers.

Structs§

Segment
One oniro run invocation in a segmented trial.
SegmentPlan
An immutable, bounded segmentation policy.
SegmentedObjective
Runs a trial as a sequence of resumable oniro run operations.

Enums§

RungFloor
Policy for refusing segments below an algorithm’s learn floor.

Constants§

DEFAULT_FIDELITY_KEY
The dotted config key carrying a trial’s total fidelity.
DESCRIPTORS_PER_PROCESS
Descriptor units charged for one process’s pipes and cancellation sockets.
FLOOR_GATED_ALGOS
Algorithms for which the config exposes an env-step learn gate.
MAX_SEGMENTS
The maximum number of processes one segmented trial may spawn.
MAX_TOTAL_DESCRIPTORS
Maximum descriptor units admitted by one objective lifetime.
MAX_TOTAL_OPERATIONS
Maximum train/eval operations admitted by one objective lifetime.
MAX_TOTAL_PROCESSES
Maximum process invocations admitted by one objective lifetime.
MAX_TRIALS
Maximum logical trials admitted by one objective lifetime.
MAX_TRIAL_DURATION
The default ceiling on the wall clock one segmented trial may consume.
RESUME_BLOCKED_SUFFIXES
Shape-like config leaves that must remain fixed across checkpoint resumes.

Functions§

fork_safe_pbt
Builds a PBT scheduler that cannot perturb checkpoint shape parameters.
learn_floor
Finds the SAC env-step learn floor in a complete config.
render_param
Renders one sampled value using the executor’s stable textual convention.
resume_blocked_params
Returns numeric parameters that must not change across a checkpoint fork.