{"uid":"cap_ppGsoxLpzsCvcA0xBdrzb","slug":"contract-renewal-inventories-numeric-row-ordering-iqr-outlier-flags-2544bdde","name":"Contract Renewal Inventories — Numeric Row Ordering + IQR Outlier Flags","description":"Contract renewal inventories — Numeric row ordering + IQR outlier flags: Numeric row ordering + IQR outlier flags for supplied contract renewal inventories records (expiring_contracts, renewed_contracts). 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-company-20-119?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","company_group","date","expiring_contracts","renewed_contracts"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"company_group":{"type":"string","default":"","maxLength":80},"renewed_contracts":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"expiring_contracts":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","company_group":"group-a","renewed_contracts":1,"expiring_contracts":10},{"date":"2026-10-02","row_id":"row-2","company_group":"group-b","renewed_contracts":2,"expiring_contracts":20},{"date":"2026-10-03","row_id":"row-3","company_group":"group-a","renewed_contracts":3,"expiring_contracts":15},{"date":"2026-10-04","row_id":"row-4","company_group":"group-b","renewed_contracts":4,"expiring_contracts":30}],"maxItems":200,"minItems":1},"field":{"enum":["expiring_contracts","renewed_contracts"],"type":"string","default":"expiring_contracts"}}},"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_Mt7SR-ASVJaFCjmJA4VKb","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":"Sorts contract renewal inventory records by a chosen numeric field and flags statistical outliers using the interquartile range (IQR) method, producing two analytical reports per call.","exampleAgentPrompt":"Can you rank these contract renewal records by expiring_contracts and flag any IQR outliers? I have about 50 rows with fields: row_id, company_group, date, expiring_contracts, and renewed_contracts — I want both the ordering report and the outlier flags in one go.","exampleUseCases":[{"title":"Spotting anomalous contract expirations","prompt":"I have a dataset of 120 contract renewal records across our company groups for Q4 — can you sort them by expiring_contracts and use IQR to flag any rows that look statistically unusual?"},{"title":"Ranking renewals by volume for review","prompt":"Sort these 80 contract renewal inventory rows by renewed_contracts from highest to lowest and flag any outliers so I know which groups had unusually high or low renewal counts."},{"title":"Data quality check before pipeline ingestion","prompt":"Before I load this contract renewal data into our pipeline, can you run a numeric ordering and IQR outlier check on the expiring_contracts field across all 150 rows so I can catch bad data points?"}],"resultDescription":"Two analytical reports: (1) the submitted rows sorted/ranked by the chosen numeric field (expiring_contracts or renewed_contracts), and (2) an IQR-based outlier flag report identifying which rows contain values statistically outside the interquartile range. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Fewer than 1 or more than 200 rows submitted — request rejected","Invalid date format (not YYYY-MM-DD) — schema validation error","Missing required fields (row_id, company_group, date, expiring_contracts, renewed_contracts) — validation failure","Invalid field enum value (must be 'expiring_contracts' or 'renewed_contracts') — error","Numeric values outside ±1,000,000,000,000 range — schema rejection","Payment not provided or insufficient — x402 payment required error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 contract renewal records and need both a ranked ordering and IQR-based outlier detection on either expiring or renewed contract counts in a single low-cost call. It is ideal for data quality checks, pre-pipeline validation, or identifying anomalous renewal periods without needing a full analytics platform. Prefer this over general-purpose analytics tools when working specifically with contract renewal inventory data structured around company groups and dates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:48:38.313Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-numeric-row-ordering-iqr-outlier-flags-2544bdde"}