{"uid":"cap_TDoYyvHWwsnjwKJ-XcPEz","slug":"contract-renewal-inventories-numeric-row-ordering-explicit-missing-8824a5da","name":"Contract Renewal Inventories — Numeric Row Ordering + Explicit Missing-Value Fill","description":"Contract renewal inventories — Numeric row ordering + Explicit missing-value fill: Numeric row ordering + Explicit missing-value fill 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-124?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"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_UA2KZtWVO4SnAdi-jFWFU","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 rows numerically and fills missing values in expiring_contracts or renewed_contracts fields using zero, mean, or median imputation, returning 2 analytical reports for up to 200 rows.","exampleAgentPrompt":"I have 4 contract renewal records for two company groups from October 2026 — some rows have null values in expiring_contracts. Can you sort them numerically by row and fill the missing expiring_contracts values using median imputation? Here are the rows: row-1/group-a/2026-10-01 with 10 expiring and 1 renewed, row-2/group-b/2026-10-02 with null expiring and 2 renewed, row-3/group-a/2026-10-03 with 15 expiring and 3 renewed, row-4/group-b/2026-10-04 with 30 expiring and null renewed.","exampleUseCases":[{"title":"Quarterly contract renewal data cleanup","prompt":"I have a batch of 50 contract renewal records from Q3 — several rows have missing expiring_contracts values. Can you sort them by row number and fill those gaps using the median of the existing values? The field I want filled is expiring_contracts."},{"title":"Zero-fill for end-of-month renewal report","prompt":"Before I run my end-of-month report, I need to order these 120 contract renewal inventory rows numerically and replace any null renewed_contracts entries with zero so there are no gaps in the data."},{"title":"Mean imputation for multi-group contract analysis","prompt":"I'm comparing contract renewal performance across group-a and group-b for 2026. Can you take my 80 rows, sort them by row ID, and fill any missing expiring_contracts values with the column mean so both groups have complete data?"}],"resultDescription":"Returns 2 analytical reports covering both expiring_contracts and renewed_contracts fields: rows are reordered numerically by row_id, and any null or missing values in the specified field are replaced using the chosen method (zero, mean, or median). Output is scoped to the supplied data only — no external lookups or predictions.","failureModes":["Exceeding 200 rows returns a validation error","Rows missing required fields (row_id, date, company_group) are rejected","Invalid date format (non-YYYY-MM-DD) causes schema validation failure","Values outside ±1,000,000,000,000 range are rejected","Invalid method enum value (not zero/mean/median) causes a bad request error","Empty rows array returns an error"],"whenToPreferThis":"Choose this endpoint when you have contract renewal inventory data (expiring_contracts and/or renewed_contracts columns) with up to 200 rows that need numeric row ordering combined with missing-value imputation in a single step. It is purpose-built for contract renewal domain data and returns two domain-specific reports simultaneously, making it more efficient than a general-purpose data cleaning service when both sorting and null-filling are needed together on this schema.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:41:44.496Z","isFirstParty":false,"canonicalSlug":"contract-renewal-inventories-numeric-row-ordering-explicit-missing-8824a5da"}