{"uid":"cap_eLh1wuknkNR3CYQBmfrIW","slug":"public-spending-budgets-numeric-interval-filter-iqr-outlier-flags-7ed2b87d","name":"Public Spending Budgets — Numeric Interval Filter + IQR Outlier Flags","description":"Public spending budgets — Numeric interval filter + IQR outlier flags: Numeric interval filter + IQR outlier flags for supplied public spending budgets records (planned_amount, actual_amount). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.","url":"https://market.datapackvibe.com/x402/assistant-ib26-economics-01-130?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","region","date","planned_amount","actual_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"region":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"actual_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"planned_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","region":"group-a","row_id":"row-1","actual_amount":1,"planned_amount":10},{"date":"2026-10-02","region":"group-b","row_id":"row-2","actual_amount":2,"planned_amount":20},{"date":"2026-10-03","region":"group-a","row_id":"row-3","actual_amount":3,"planned_amount":15},{"date":"2026-10-04","region":"group-b","row_id":"row-4","actual_amount":4,"planned_amount":30}],"maxItems":200,"minItems":1},"field":{"enum":["planned_amount","actual_amount"],"type":"string","default":"planned_amount"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PLjVAyVkwARgJu4llTyqO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes user-supplied public spending budget records by filtering rows within a numeric interval and flagging IQR-based outliers for planned_amount or actual_amount fields.","exampleAgentPrompt":"I have up to 200 rows of public spending budget data with planned and actual amounts — can you filter them to only show records where planned_amount is between 0 and 100, and also flag any IQR outliers in that field?","exampleUseCases":[{"title":"Outlier detection in regional budgets","prompt":"I've got a dataset of 150 regional budget records with planned_amount and actual_amount columns — can you flag which rows are IQR outliers in the actual_amount field and also filter to rows where actual_amount falls between 500 and 50000?"},{"title":"Audit of overspent budget lines","prompt":"Here are 80 rows of public spending records — run both an IQR outlier check and a numeric interval filter on planned_amount between 1000 and 200000 so I can spot which budget lines look suspicious."},{"title":"Sanity check on submitted budget data","prompt":"Before I submit this batch of 60 budget records to the finance committee, can you check planned_amount values between 0 and 5000000 for interval violations and flag any that are statistical outliers using IQR?"}],"resultDescription":"Returns two analytical reports for up to 200 submitted rows: (1) a numeric interval filter report listing rows where the selected field (planned_amount or actual_amount) falls within the specified minimum/maximum range, and (2) an IQR outlier flag report identifying which rows contain statistically extreme values based on the interquartile range method. No external data is fetched; all analysis is performed locally on the supplied records.","failureModes":["Fewer than 1 row supplied — schema minimum not met","More than 200 rows supplied — exceeds maxItems limit","Missing required fields (row_id, region, date, planned_amount, actual_amount) on any row","Invalid date format (must match YYYY-MM-DD pattern)","Numeric values outside allowed range (-1,000,000,000,000 to 1,000,000,000,000)","Invalid field enum value (must be 'planned_amount' or 'actual_amount')","Minimum greater than maximum — may yield empty interval filter result","All-null values in selected field — IQR cannot be computed"],"whenToPreferThis":"Choose this endpoint when you have a batch of up to 200 public spending budget records (with planned_amount and actual_amount fields) and need both a numeric range filter and IQR-based outlier detection in a single low-cost call. It is ideal for budget auditing, data quality checks, and anomaly screening on pre-collected data without needing live lookups or external enrichment. Prefer this over general statistical tools when the data is already structured per the required schema and you want two complementary reports — interval filtering plus outlier flagging — for a flat $0.01 USDC fee.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T00:33:58.922Z","isFirstParty":false,"canonicalSlug":"public-spending-budgets-numeric-interval-filter-iqr-outlier-flags-7ed2b87d"}