Skip to main content
Feedback Driven variation selection turns objective ratings into evidence for future traffic. The selected variation is snapshotted when each objective is created. Feedback on that objective updates the variation’s sampling parameters for objectives created later.

What feedback changes

Each variation starts at Beta(1, 1), a uniform prior with a posterior mean of 0.5. On every unpinned objective, Cadenya draws one sample from each variation’s Beta posterior and selects the highest. Strong candidates run more often, while uncertain candidates retain a chance to be explored.
The dashboard label is Feedback Driven. The API enum remains VARIATION_SELECTION_MODE_WEIGHTED for compatibility.
Agent Details card with Feedback Driven variation selection and two variations

Feedback Driven selection is configured on the agent, not on either variation

Create controlled evaluation runs

Open Objectives, click New Objective, select the agent, and optionally choose a specific Variation. The variation field overrides automatic selection and is useful when you need comparable samples from every candidate. Create one run pinned to Default and another pinned to Detailed, using the same message:
Open each completed objective and confirm the Variation value in its Details card. That value comes from the objective’s immutable configuration snapshot.

Submit feedback in the dashboard

Open an objective and select its Feedback tab. Under Submit Feedback, choose a rating and optionally explain the decision. Click Submit Feedback. The entry appears under Previous Feedback and is also visible on the agent’s Feedback tab.
Objective Feedback tab showing one Excellent rating and its comment under Previous Feedback

Submitted ratings remain attached to the objective

Submit feedback from code

Feedback appends. Multiple reviewers can submit separate records for the same objective, and every record contributes evidence to the variation that ran it.

Inspect the updated variation

Retrieve a variation with info to see its current posterior mean and feedback count:
info.score is the posterior mean on a 0 to 1 scale. It is not the average of the original -1 to 1 feedback values.

Verify a future sampled selection

Create another objective without variationId and inspect the snapshot:
One run does not prove a probability distribution. Use the agent’s Analytics tab or a representative batch of objectives to compare selection counts and outcomes over time.
Do not use production feedback to force a deterministic route. Thompson Sampling always preserves exploration. Pass variationId when the caller must choose exactly one variation.