{"uid":"cap_qZOxZ2UgFqkNCOcDcwRUo","slug":"data-ingestion-batches-secondary-measure-weighted-mean-keyed-dataset-4f62ba71","name":"Data Ingestion Batches — Secondary-Measure Weighted Mean + Keyed Dataset Comparison","description":"Data ingestion batches — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied data ingestion batches records (received_rows, accepted_rows). 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-01-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","received_rows","accepted_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"accepted_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"received_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","accepted_rows":1,"dataset_group":"group-a","received_rows":10},{"date":"2026-10-02","row_id":"row-2","accepted_rows":2,"dataset_group":"group-b","received_rows":20},{"date":"2026-10-03","row_id":"row-3","accepted_rows":3,"dataset_group":"group-a","received_rows":15},{"date":"2026-10-04","row_id":"row-4","accepted_rows":4,"dataset_group":"group-b","received_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["received_rows","accepted_rows"],"type":"string","default":"received_rows"},"other":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","received_rows","accepted_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"accepted_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"received_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","accepted_rows":1,"dataset_group":"group-a","received_rows":10},{"date":"2026-10-02","row_id":"row-2","accepted_rows":2,"dataset_group":"group-b","received_rows":21},{"date":"2026-10-03","row_id":"row-3","accepted_rows":3,"dataset_group":"group-a","received_rows":17},{"date":"2026-10-04","row_id":"row-4","accepted_rows":4,"dataset_group":"group-b","received_rows":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_Rgg2oNAQhMOS_L2IBcK8l","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 across up to 200 data ingestion batch records (received_rows, accepted_rows).","exampleAgentPrompt":"Can you run a weighted mean and keyed comparison on my data ingestion batch records? I have two datasets — the primary rows have groups like 'group-a' and 'group-b' with received_rows and accepted_rows values, and I want to analyze the accepted_rows field weighted by received_rows across both datasets.","exampleUseCases":[{"title":"ETL Pipeline Acceptance Rate Analysis","prompt":"I have 150 rows from last week's ingestion runs across 5 dataset groups, each with received_rows and accepted_rows counts. Can you compute the weighted mean of accepted_rows and compare the primary batch against our reference baseline batch using the row IDs as keys?"},{"title":"Before-and-After Ingestion Run Comparison","prompt":"We ran our ingestion pipeline twice — once before the schema migration and once after. Can you do a keyed comparison between the two batch result sets on the accepted_rows field, using row_id as the key, so I can see where acceptance counts shifted?"},{"title":"Multi-Group Ingestion Volume Weighted Average","prompt":"I've got ingestion batch data for 4 dataset groups over the past month, up to 200 rows total. Please calculate the received_rows weighted mean for the secondary measure and compare it against our benchmark dataset to flag any groups with notable divergence."}],"resultDescription":"Returns two independent analytical reports: (1) a secondary-measure weighted mean of the chosen field (received_rows or accepted_rows) across the supplied batch rows, and (2) a keyed dataset comparison between the primary and secondary (other) datasets, matched by row_id. Results are computed locally with no external lookups.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, dataset_group, date, received_rows, accepted_rows) on any row — validation error","Date field does not match YYYY-MM-DD pattern — schema validation failure","Numeric values outside allowed range (±1,000,000,000,000) — rejected","Empty rows array — minItems:1 constraint violated","other dataset not provided or mismatched keys — comparison report may be incomplete"],"whenToPreferThis":"Choose this endpoint when you need both a weighted mean calculation and a keyed dataset comparison for data ingestion batch metrics (received_rows, accepted_rows) in a single $0.01 call, with up to 200 rows and no need for external data lookups or predictions. Ideal for ETL pipeline QA, ingestion auditing, and before/after batch comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:46:56.451Z","isFirstParty":false,"canonicalSlug":"data-ingestion-batches-secondary-measure-weighted-mean-keyed-dataset-4f62ba71"}