Dsxir. Optimizer. GEPA. Delta
(dsxir v0.2.0)
Copy Markdown
Per-individual delta against the seed program. apply_to/3 materializes a
%Dsxir.Program{} from the seed by overriding each predictor's instruction
and slotting the referenced demo bundle.
Summary
Functions
Apply this delta to seed, looking up each predictor's demo bundle in
demo_table keyed by {predictor_name, bundle_ref}.
Types
@type bundle_ref() :: %{seed: non_neg_integer(), kind: :labeled | :bootstrap}
@type t() :: %Dsxir.Optimizer.GEPA.Delta{ demo_bundle_refs: %{required(atom()) => bundle_ref()}, instructions: %{required(atom()) => String.t()} }
Functions
@spec apply_to(Dsxir.Program.t(), t(), %{ required(atom()) => %{required(bundle_ref()) => [Dsxir.Demo.t()]} }) :: Dsxir.Program.t()
Apply this delta to seed, looking up each predictor's demo bundle in
demo_table keyed by {predictor_name, bundle_ref}.