{"uid":"cap_lTFPZr6Xf9rWhj0_EolXo","slug":"structured-data-observations-two-measure-correlation-keyed-dataset-9213bd89","name":"Structured Data Observations — Two-Measure Correlation + Keyed Dataset Comparison","description":"Structured data observations — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison 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-183?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},"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}}},"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_KmmEavRkDu9gIzZb4_7Wc","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":"Computes Pearson/rank correlation between valid_items and total_items, then compares two keyed row datasets to identify differences — all offline, up to 200 rows, two reports per call.","exampleAgentPrompt":"I have two snapshots of our item tracking data (up to 200 rows each, with row_id, site_group, date, valid_items, and total_items) — can you run a correlation between valid_items and total_items on the first snapshot, and then compare the two snapshots row-by-row to find what changed?","exampleUseCases":[{"title":"Quality rate drift detection across snapshots","prompt":"I have this week's and last week's item records — each has row_id, site_group, date, valid_items, and total_items. Can you correlate valid_items with total_items in this week's data and compare the two weekly snapshots row-by-row to see what shifted?"},{"title":"Validating a data pipeline transformation","prompt":"We just ran a transformation on our item dataset. Here are the before and after tables (each under 200 rows, with row_id, site_group, date, valid_items, total_items). Please correlate valid_items and total_items in the original, and highlight every row that changed between the two versions."},{"title":"Site group performance comparison","prompt":"I've got two site group datasets — group-a and group-b daily item counts for October, each under 200 rows with row_id, site_group, date, valid_items, and total_items. Run me a correlation between valid_items and total_items on the primary dataset, then do a keyed comparison between the two groups to find the differences."}],"resultDescription":"Returns two analytical reports: (1) a two-measure correlation report quantifying the statistical relationship between valid_items and total_items across the supplied rows, and (2) a keyed dataset comparison report that identifies row-level differences between the primary (rows) and secondary (other) datasets matched by row_id. No external data is fetched; all computation is local.","failureModes":["Fewer than 1 row in primary dataset — validation error","Row count exceeds 200 in either dataset — request rejected","Missing required fields (row_id, date, valid_items, total_items) — schema validation error","Invalid date format (not YYYY-MM-DD) — pattern validation failure","Numeric values out of allowed range (±1,000,000,000,000) — validation error","Duplicate row_ids may cause ambiguous comparison results","Payment not included or insufficient — 402 response"],"whenToPreferThis":"Choose this endpoint when you need both a Pearson/rank correlation between two numeric measures and a row-keyed diff between two structured dataset snapshots in a single $0.01 call, without requiring any external data sources, live lookups, or ML predictions. Ideal for data quality monitoring, pipeline validation, and before/after comparisons on structured tabular data up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:33:18.370Z","isFirstParty":false,"canonicalSlug":"structured-data-observations-two-measure-correlation-keyed-dataset-9213bd89"}