Expand description
Shared policy parser/compiler for online LLM backends.
Structs§
- Compiled
Policy - Compiled, position-resolved policy ready for runtime evaluation.
- LlmPolicy
- Parsed policy specification for online LLM adaptation.
- Optimizer
Hyper Params - Hyper-parameters attached to a training action.
- Policy
Rule - Interval schedule rule (
start..end:action). - Policy
Runtime - Stateful cursor over a
CompiledPolicy. - Repeat
Rule - Repeat schedule rule with cycle period and inner pattern.
- Repeat
Segment - One segment inside a repeating pattern.
- Train
Action - Concrete training directive.
- Train
Scope Set - Canonical set of train scopes (
all,none, or sorted named scopes).
Enums§
- Optimizer
Kind - Optimizer family selected by a train action.
- Policy
Action - Action emitted by the policy at each stream position.
- Position
Expr - Position expression used in policy schedules.
- Schedule
Rule - Top-level schedule rule.
Functions§
- parse_
policy_ segment - Parse a
policy:...string intoLlmPolicy. - policy_
can_ train - Returns
trueif any schedule branch can emit a training action. - split_
method_ policy_ segments - Split
methodinto base method segment and optionalpolicy:...segment.