Dsxir. Optimizer. COPRO. Proposer. Basic
(dsxir v0.3.0)
Copy Markdown
Round-zero COPRO proposer. Asks the proposer LM for improved instructions for
a single predictor, grounded in that predictor's signature and the current
instruction. The current instruction always occupies one of the returned
slots so the baseline survives the search; the rest are padded with it on a
parse shortfall. Returns exactly n instructions.
Summary
Types
Functions
@spec run(ctx()) :: {:ok, [String.t()]} | {:error, Exception.t()}
Generate exactly ctx.n candidate instructions. See the module doc.