Dsxir. Predictor. Refine. Feedback
(dsxir v0.4.0)
Copy Markdown
Runs the OfferFeedback signature for Dsxir.Predictor.Refine and folds the
result into a %{predictor_name => advice} map, keeping only keys that match
real predictors in the program. Any failure yields %{} so a flaky feedback
call degrades refinement to plain resampling rather than crashing the loop.
Summary
Functions
Produce per-predictor corrective advice for a sub-threshold attempt. Returns
%{} (degrade, never raise) on any feedback-generation failure.
Functions
@spec advise( Dsxir.Program.t(), map(), Dsxir.Prediction.t(), number(), [Dsxir.Trace.entry()], keyword() ) :: %{required(atom()) => String.t()}
Produce per-predictor corrective advice for a sub-threshold attempt. Returns
%{} (degrade, never raise) on any feedback-generation failure.