Repeatability
High
The task is structurally identical every time: aggregate revenue by customer, filter by date range, rank and limit. No unique judgment is required per instance.
Ambiguity Tolerance
High
Success criteria are crisp — the query must group by customer_id, sum revenue, filter to the last 90 days, and return 10 rows ordered descending. Minor schema assumptions (column names like 'amount', 'order_date') are the only loose ends.
Data & Tool Availability
High
No live database access is needed to write the query; the agent only needs the table/column names, which can be provided in the prompt. Execution and validation are separate concerns.
Error Cost
Low
A wrong query produces no data or obviously incorrect results, which a human reviewer catches immediately before any downstream action. No irreversible damage occurs.
Human Judgment Required
Low
SQL aggregation logic is deterministic and well-understood. No taste, ethics, or relationship context is involved — just correct syntax and logic.