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 runinvocation in a segmented trial. - Segment
Plan - An immutable, bounded segmentation policy.
- Segmented
Objective - Runs a trial as a sequence of resumable
oniro runoperations.
Enums§
- Rung
Floor - 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.