{"uid":"cap_9zeYkOgN56zKwhilK8It3","slug":"data-ingestion-batches-secondary-measure-weighted-mean-explicit-b18e4c65","name":"Data Ingestion Batches — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Data ingestion batches — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill 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-187?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"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_FegQ_0IfMc3hAoQu3ITRv","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 fills missing values for up to 200 data ingestion batch records (received_rows, accepted_rows), returning two analytical reports per call.","exampleAgentPrompt":"Can you compute a secondary-measure weighted mean for my data ingestion batches and fill any missing received_rows values using median imputation? I have up to 50 rows across two dataset groups — group-alpha and group-beta — dated from 2025-01-01 to 2025-01-10.","exampleUseCases":[{"title":"Pipeline acceptance rate weighted analysis","prompt":"I have 80 rows of daily ingestion batch data with received_rows and accepted_rows across three dataset groups. Can you compute the weighted mean for accepted_rows and fill any nulls using the mean method? Dates range from 2025-03-01 to 2025-03-30."},{"title":"Imputing missing received_rows for reporting","prompt":"Some of my ingestion batch records have missing received_rows values — can you fill them using zero imputation and also give me the weighted mean for received_rows across my dataset groups? I'll send you up to 120 rows."},{"title":"QA audit of ingestion batch statistics","prompt":"I want two analytical reports on my ingestion batch records — one weighted mean report and one showing how missing accepted_rows values are filled using median. I have about 40 rows from group-a and group-b from last quarter."}],"resultDescription":"Returns two analytical reports per call: (1) a secondary-measure weighted mean computed over the supplied received_rows or accepted_rows field, grouped by dataset_group and date, and (2) an explicit missing-value fill report showing how null or absent values in the chosen field were imputed using the selected method (zero, mean, or median). Results are derived entirely from the supplied data — no external lookups or live data.","failureModes":["More than 200 rows submitted — request exceeds maxItems limit and will be rejected","Missing required fields (row_id, dataset_group, date, received_rows, accepted_rows) cause validation errors","Invalid date format (must match YYYY-MM-DD pattern) results in schema validation failure","Numeric values outside the allowed range (±1,000,000,000,000) are rejected","Invalid enum value for 'field' or 'method' causes a bad request error","Empty rows array (minItems:1 not satisfied) returns an error"],"whenToPreferThis":"Choose this endpoint when you need both a weighted mean computation and explicit missing-value imputation on data ingestion batch records (received_rows/accepted_rows) in a single call. It is ideal for pipeline monitoring, data quality reporting, and batch analytics workflows where up to 200 rows need to be analyzed offline without external data lookups. Prefer this over general-purpose analytics tools when you want a low-cost ($0.01 USDC), deterministic, reproducible result from supplied data alone.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T00:47:29.203Z","isFirstParty":false,"canonicalSlug":"data-ingestion-batches-secondary-measure-weighted-mean-explicit-b18e4c65"}