credit
Update memory accuracy scores by providing real outcomes for recalled items. Improves future recall ranking based on past correctness.
Instructions
Close the accuracy loop: when the work some recalled memories fed gets a real verdict — a forecast
resolves, a claim is ruled correct/wrong, a plan succeeds/fails — call credit(those ids, outcome) so
each memory's track record updates. Future recall then ranks by WAS-IT-RIGHT (a Beta good/bad
posterior), not merely by being-recalled. outcome: 'good'/'right'/'correct' vs 'bad'/'wrong'/'failed'
(or pass a bool / a signed number). Counts only grow; raw text is never edited. Returns what updated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| weight | No | ||
| outcome | Yes |