Analysis — Assignment patterns
analysis_assignment_patternsDetect categories whose monthly assignment equals a fixed base plus that month's inflows, revealing possible double-funding of savings interest.
Instructions
[READ] Categories whose monthly assignment equals a fixed base plus the money that arrived in the category that month. This is the interest double-count: a savings category earns interest, the interest is categorised into it, and the assignment is then written as 'the usual $1,500 plus the $12.40 of interest' — funding it twice. Each month is individually plausible, which is why nobody notices; sixteen months of it came to about $841 on the plan this was written for. Narrow it with group_ids or category_ids. from_month and to_month: 'YYYY-MM', an ISO date, or 'current'. total_if_unintended is what the pattern would have double-funded. It is a signal, not a verdict: a category deliberately funded to cover its own activity produces the same shape, so the matching months are reported for checking. Costs one YNAB request per month in the range (limit 36 months); check overview_request_budget before a long range. Plus one for the inflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | No | ||
| to_month | No | ||
| group_ids | No | ||
| from_month | Yes | ||
| category_ids | No | ||
| include_hidden | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||