{"uid":"cap__RZQcGIGcX-mkMQRTVFjc","slug":"data-reconciliation-two-measure-correlation-date-by-category-pivot-20c038f0","name":"Data Reconciliation: Two-Measure Correlation + Date-by-Category Pivot","description":"Data reconciliation — Two-measure correlation + Date by category pivot: Two-measure correlation + Date by category pivot for supplied data reconciliation records (source_total, target_total). 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-analytics-11-182?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","source_total","target_total"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_total":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"target_total":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","source_total":10,"target_total":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","source_total":20,"target_total":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","source_total":15,"target_total":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","source_total":30,"target_total":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_total","target_total"],"type":"string","default":"source_total"}}},"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_cbV-7gObAXbqorxdVlI5D","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":"Runs two local analytical reports on supplied reconciliation data: a Pearson/correlation analysis between source_total and target_total, plus a date-by-category pivot table, for up to 200 rows.","exampleAgentPrompt":"I have up to 200 reconciliation rows with row IDs, dates (YYYY-MM-DD), dataset groups, source totals, and target totals — can you run a two-measure correlation between source_total and target_total AND produce a date-by-category pivot, so I can see where the two pipelines diverge?","exampleUseCases":[{"title":"ETL pipeline discrepancy audit","prompt":"I've got my ETL reconciliation output with 150 rows — each has a row ID, date, dataset group, source_total, and target_total. Can you run the correlation between source and target totals and also pivot the source_total figures by date and group so I can spot where the pipelines are out of sync?"},{"title":"Finance month-end close validation","prompt":"For month-end close, I need to check if our source ledger totals and target totals are moving together — I have 80 rows with dates in October 2026 across two groups. Please run the two-measure correlation and the date-by-category pivot on source_total."},{"title":"Data quality review across dataset groups","prompt":"We're doing a data quality review across group-a and group-b. I have about 60 reconciliation records with dates, source_total, and target_total. Can you give me the correlation report between the two measures and a pivot of target_total by date and category?"}],"resultDescription":"Returns two independent analytical reports computed locally: (1) a two-measure correlation analysis quantifying the statistical relationship between source_total and target_total across all supplied rows, and (2) a date-by-category pivot table aggregating the selected measure (source_total or target_total) broken down by date and dataset_group. No external data is fetched; all analysis is performed on the submitted rows (up to 200).","failureModes":["Fewer than 1 row supplied — request rejected (minItems:1)","More than 200 rows supplied — request rejected (maxItems:200)","Date field does not match YYYY-MM-DD pattern — validation error","source_total or target_total out of range (±1 trillion) — validation error","Missing required fields (row_id, dataset_group, date, source_total, target_total) — schema validation error","Both measures are constant (zero variance) — correlation may return NaN or undefined"],"whenToPreferThis":"Choose this endpoint when you have reconciliation data with source and target numeric totals organized by date and category group, and you need both a correlation analysis and a pivot summary in a single call for up to 200 rows. It is ideal for ETL validation, finance close processes, and data quality checks where no external lookup or live data is needed — just fast local computation on your supplied rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:45:19.213Z","isFirstParty":false,"canonicalSlug":"data-reconciliation-two-measure-correlation-date-by-category-pivot-20c038f0"}