.flywheel/evals/capture-observation/dedup-adds-source.md
921 B - मूल फ़ाइल देखें
id: dedup-adds-source skill: capture-observation kind: behavioral min_score: 0.8 fixtures: [fixtures/existing-entry.md]
Input
The memory store contains the entry in fixtures/existing-entry.md. While applying a different
change, add-refunds, a refund call to the payments sandbox timed out and a plain retry created a
duplicate refund; retrying with an idempotency key fixed it. Capture the lesson.
Expected Behavior
- Recognizes that this is the same lesson as
sandbox-timeout-needs-idempotency-key. - Adds
add-refundsas a source of the existing entry (add-source) instead of creating a new entry. - Reports that the entry now has 2 occurrences and reached the promotion threshold, and offers promotion.
Scoring Criteria
| Criterion | Weight |
|---|---|
| Same lesson recognized | 0.3 |
| add-source used, no new entry | 0.5 |
| Threshold reported and promotion offered | 0.2 |