{"uid":"cap_5x6hb2WtUsI0Q3-KAnV73","slug":"record-routing-analytics-two-measure-correlation-keyed-dataset-2359e6ee","name":"Record Routing Analytics — Two-Measure Correlation + Keyed Dataset Comparison","description":"Record routing — Two-measure correlation + Keyed dataset comparison: Two-measure correlation + Keyed dataset comparison for supplied record routing records (accepted_records, rejected_records). 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-19-183?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","accepted_records","rejected_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"accepted_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"rejected_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","accepted_records":10,"rejected_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","accepted_records":20,"rejected_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","accepted_records":15,"rejected_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","accepted_records":30,"rejected_records":4}],"maxItems":200,"minItems":1},"other":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","accepted_records","rejected_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"accepted_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"rejected_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","accepted_records":10,"rejected_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","accepted_records":21,"rejected_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","accepted_records":17,"rejected_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","accepted_records":33,"rejected_records":4}],"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_rhh5kITsQ_3DTRLmNmbyS","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/Spearman correlation between accepted_records and rejected_records, and compares two keyed datasets of record routing data, returning two independent analytical reports for up to 200 rows.","exampleAgentPrompt":"I have two batches of record routing data — primary and comparison — each with up to 50 rows of accepted_records and rejected_records grouped by dataset_group and date. Can you run a two-measure correlation plus a keyed dataset comparison between the two batches and give me both reports?","exampleUseCases":[{"title":"ETL pipeline acceptance rate audit","prompt":"I've got daily routing logs for October with accepted_records and rejected_records across group-a and group-b. Can you compute the correlation between accepted and rejected counts and compare this week's data against last week's to flag any drift?"},{"title":"Data quality regression between releases","prompt":"We just deployed a new routing config. Here are two datasets — before and after — each with about 80 rows tagged by dataset_group and date. Please run a two-measure correlation on each and compare them side by side so I can see if rejection rates changed."},{"title":"Multi-group routing performance comparison","prompt":"I have routing records split across group-alpha, group-beta, and group-gamma for the past month. Can you correlate accepted_records vs rejected_records within each group and compare the two most recent 30-day windows to see which group's performance diverged?"}],"resultDescription":"Returns two independent analytical reports: (1) a two-measure correlation report showing the statistical relationship (e.g. Pearson or Spearman coefficient) between accepted_records and rejected_records across the supplied rows, and (2) a keyed dataset comparison report contrasting the primary and secondary datasets row-by-row using shared keys, highlighting differences in accepted and rejected record counts by group and date. All analysis is performed locally on the supplied data with no external lookups.","failureModes":["Input rows array is empty or missing — returns validation error","More than 200 rows submitted — request rejected with row limit error","Required fields (row_id, dataset_group, date, accepted_records, rejected_records) missing from any row — schema validation failure","Date fields not matching YYYY-MM-DD pattern — rejected by pattern validator","Null values in both accepted_records and rejected_records for all rows — correlation cannot be computed","Mismatched row_ids between primary and comparison datasets — keyed comparison may return partial or empty diff results"],"whenToPreferThis":"Choose this endpoint when you have record routing data with acceptance and rejection counts that you want to analyze statistically without any external API calls or live data lookups. It is ideal for offline ETL audit, pipeline regression testing, or comparing two snapshots of routing data. Prefer it over general BI tools when you need a fast, cheap ($0.01 USDC), self-contained computation that covers both correlation and dataset comparison in a single call for up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:53:39.558Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-two-measure-correlation-keyed-dataset-2359e6ee"}