{"uid":"cap_SHv--FUQ9DQ8xkTkInAVS","slug":"record-routing-analytics-secondary-measure-weighted-mean-keyed-a5cf1f53","name":"Record Routing Analytics — Secondary-Measure Weighted Mean + Keyed Dataset Comparison","description":"Record routing — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + 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-186?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},"field":{"enum":["accepted_records","rejected_records"],"type":"string","default":"accepted_records"},"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_MeVAT5RdupZYmFzAahJcz","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 a secondary-measure weighted mean and performs a keyed dataset comparison on two supplied record routing datasets (accepted_records, rejected_records) for up to 200 rows.","exampleAgentPrompt":"Can you run a weighted mean analysis on my accepted_records field and compare two record routing datasets — here's the primary dataset with 4 rows (group-a and group-b entries from 2026-10-01 to 2026-10-04) and a second dataset to compare against?","exampleUseCases":[{"title":"ETL pipeline acceptance rate audit","prompt":"I have two snapshots of our ETL pipeline routing results — one from last week and one from this week — each with accepted_records and rejected_records by date and group. Can you compute the weighted mean of accepted_records across groups and compare the two snapshots to highlight any differences?"},{"title":"Routing group quality comparison","prompt":"We have two versions of our data routing output for group-a and group-b over October — can you compute the secondary-measure weighted mean for rejected_records and do a side-by-side keyed comparison of the two datasets to see where they diverge?"},{"title":"Data ingestion batch review","prompt":"I want to review two batches of record routing data from our ingestion pipeline — up to 200 rows each — and get a weighted mean report on accepted_records plus a keyed comparison of the two batches. Can you run both reports at once?"}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean calculation over the selected field (accepted_records or rejected_records), grouped by dataset_group and date; and (2) a keyed dataset comparison highlighting differences between the primary (rows) and secondary (other) datasets, matched by row_id. No external lookups or predictions are made — all computation uses the supplied data only.","failureModes":["More than 200 rows submitted — request exceeds maxItems limit","Missing required fields (row_id, dataset_group, date, accepted_records, rejected_records) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values in both accepted_records and rejected_records may produce undefined weighted mean","Mismatched row_ids between primary and comparison dataset may result in empty or partial comparison output","Payment of 0.01 USDC not confirmed — x402 payment required before processing"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously compute a group-weighted mean on a secondary measure and compare two keyed record routing datasets in a single API call. It is purpose-built for record routing data with accepted_records and rejected_records fields, covers up to 200 rows, and delivers two reports for a flat $0.01 USDC. Prefer it over general-purpose analytics tools when your data fits the routing schema and you want a fast, cost-effective dual-report without external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:52:21.483Z","isFirstParty":false,"canonicalSlug":"record-routing-analytics-secondary-measure-weighted-mean-keyed-a5cf1f53"}