Dsxir.Predictor.Refine.OfferFeedback (dsxir v0.4.0)

Copy Markdown

Internal signature and trace-rendering helpers for Dsxir.Predictor.Refine. Given a failed attempt's trajectory, the active LM proposes per-predictor corrective advice that the next attempt injects through the :hints channel. Not a user-facing signature.

Summary

Functions

Unique predictor names from the trace, in first-seen order, as strings.

Render a captured trace into a per-module trajectory string.

The internal OfferFeedback signature run after a sub-threshold attempt.

Functions

module_names(trace)

@spec module_names([Dsxir.Trace.Entry.t()]) :: [String.t()]

Unique predictor names from the trace, in first-seen order, as strings.

render_trajectory(trace)

@spec render_trajectory([Dsxir.Trace.Entry.t()]) :: String.t()

Render a captured trace into a per-module trajectory string.

signature()

@spec signature() :: Dsxir.Signature.Compiled.t()

The internal OfferFeedback signature run after a sub-threshold attempt.