rank_projects
Rank capital project schedules or budgets by metrics like spend percentage or budget variance. Filter by program category, agency, or delay status to prioritize actions.
Instructions
Rank schedules (entity='schedule', rows=PIDs) or budgets (entity='budget', rows=FMS lines).
rank_by must be NATIVE to entity; the other domain is filter-only. Echoes ranked_entity.
Budget rank_by: total_budget | spend_to_date | spend_pct | budget_variance
(last-period delta) | cumulative_budget_change (latest - original budget).
Optional category (see list_categories) filters to one program type, e.g. 'Library'.
Optional agency scopes to one agency; agency_role ('auto'|'sponsor'|'managing') picks
the lens — 'auto' uses the owner (sponsor) view, except DDC/DCAS/EDC default to builder
(managing). Echoes agency_scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | ||
| rank_by | Yes | ||
| n | No | ||
| direction | No | top | |
| min_total_budget | No | ||
| max_total_budget | No | ||
| delayed_only | No | ||
| category | No | ||
| agency | No | ||
| agency_role | No | auto |