Skip to main content

apply_feedback

Function apply_feedback 

Source
pub fn apply_feedback(receipt: &ContextReceiptV1)
Expand description

Update the bandit-learned FieldWeights based on a receipt outcome.

Accepted outcomes reinforce the balanced arm, rejected outcomes penalize the aggressive arm, and partial outcomes inform the conservative arm.