{"uid":"cap_XRShQZe8962bSH3dPaxZg","slug":"structured-data-observations-keyed-dataset-comparison-explicit-a47a363f","name":"Structured Data Observations — Keyed Dataset Comparison + Explicit Missing-Value Fill","description":"Structured data observations — Keyed dataset comparison + Explicit missing-value fill: Keyed dataset comparison + Explicit missing-value fill for supplied structured data observations records (valid_items, total_items). 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-web-08-190?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","site_group","date","valid_items","total_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"site_group":{"type":"string","default":"","maxLength":80},"total_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"valid_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","site_group":"group-a","total_items":1,"valid_items":10},{"date":"2026-10-02","row_id":"row-2","site_group":"group-b","total_items":2,"valid_items":20},{"date":"2026-10-03","row_id":"row-3","site_group":"group-a","total_items":3,"valid_items":15},{"date":"2026-10-04","row_id":"row-4","site_group":"group-b","total_items":4,"valid_items":30}],"maxItems":200,"minItems":1},"field":{"enum":["valid_items","total_items"],"type":"string","default":"valid_items"},"other":{"type":"array","items":{"type":"object","required":["row_id","site_group","date","valid_items","total_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"site_group":{"type":"string","default":"","maxLength":80},"total_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"valid_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","site_group":"group-a","total_items":1,"valid_items":10},{"date":"2026-10-02","row_id":"row-2","site_group":"group-b","total_items":2,"valid_items":21},{"date":"2026-10-03","row_id":"row-3","site_group":"group-a","total_items":3,"valid_items":17},{"date":"2026-10-04","row_id":"row-4","site_group":"group-b","total_items":4,"valid_items":33}],"maxItems":200,"minItems":0},"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_OquxqIoy2KF39LKsg3Cds","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":"Compares two keyed datasets of structured observations (valid_items, total_items) and fills missing values, producing two analytical reports for up to 200 rows.","exampleAgentPrompt":"Compare these two datasets of structured observations — each with row_id, site_group, date, valid_items, and total_items — and fill any missing values in the valid_items field; I have up to 80 rows in each set and need both a keyed comparison and a missing-value fill report.","exampleUseCases":[{"title":"Reconcile two inventory snapshots","prompt":"I have two snapshots of our inventory validation data — each row has a row_id, site_group, date, valid_items, and total_items. Can you compare them side by side and fill any missing valid_items values? Both snapshots have about 50 rows."},{"title":"Audit site group data quality","prompt":"We pulled two exports from different systems for the same site groups and dates. Run a keyed comparison on valid_items across both datasets and flag any rows where values are missing or differ — I've got around 120 rows per dataset."},{"title":"Detect changes between reporting periods","prompt":"Here are two sets of structured observation records — one from last month and one from this month — each with row_id, site_group, date, valid_items, and total_items. Compare them by key and fill in any nulls in the total_items field, then give me both reports."}],"resultDescription":"Two analytical reports: (1) a keyed dataset comparison highlighting row-level differences between the two supplied datasets on the selected field (valid_items or total_items), and (2) an explicit missing-value fill report replacing nulls in that field with imputed values — all computed locally without external lookups, covering up to 200 rows.","failureModes":["Missing required fields (row_id, site_group, date, valid_items, total_items) cause validation errors","Exceeding 200 rows per array results in rejection","Invalid date format (non-YYYY-MM-DD) triggers schema validation failure","Numeric values outside ±1,000,000,000,000 are rejected","Empty rows array returns an error","Mismatched row_ids between datasets may produce sparse comparison output"],"whenToPreferThis":"Choose this endpoint when you have two structured datasets with keyed rows (identified by row_id, site_group, and date) containing valid_items and total_items fields, and you need both a side-by-side comparison of differences and explicit missing-value filling — all in a single $0.01 call without any external data lookup or ML prediction. Best suited for data reconciliation, audit, and quality-fill workflows on batches up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:31:47.941Z","isFirstParty":false,"canonicalSlug":"structured-data-observations-keyed-dataset-comparison-explicit-a47a363f"}