record_outcome
Record a decision's real-world outcome to compute the delta from the expected value, measuring prediction accuracy and surfacing systematic biases over time.
Instructions
Close the feedback loop: record what actually happened after a decision was made. Sets actual_outcome and computes outcome_delta = actual - expected. Over time this data measures prediction accuracy and reveals systematic biases. Recording updates the persisted decision record in place; repeat calls with the same value converge. Returns decision_id, chosen_action, expected_value, actual_outcome, outcome_delta, and a summary line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision_id | Yes | Decision ID from log_decision or list_decisions. | |
| outcome_notes | No | Optional explanation of what happened and why. | |
| actual_outcome | Yes | The observed real-world outcome value. |