{"uid":"cap_ZC7RkdQiS_Z53Punb4Oz-","slug":"document-retrieval-analytics-weighted-mean-missing-value-fill-ca000d68","name":"Document Retrieval Analytics — Weighted Mean & Missing-Value Fill","description":"Document retrieval — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied document retrieval records (retrieved_bytes, request_ms). 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-web-09-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","site_group","date","retrieved_bytes","request_ms"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"request_ms":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"site_group":{"type":"string","default":"","maxLength":80},"retrieved_bytes":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","request_ms":1,"site_group":"group-a","retrieved_bytes":10},{"date":"2026-10-02","row_id":"row-2","request_ms":2,"site_group":"group-b","retrieved_bytes":20},{"date":"2026-10-03","row_id":"row-3","request_ms":3,"site_group":"group-a","retrieved_bytes":15},{"date":"2026-10-04","row_id":"row-4","request_ms":4,"site_group":"group-b","retrieved_bytes":30}],"maxItems":200,"minItems":1},"field":{"enum":["retrieved_bytes","request_ms"],"type":"string","default":"retrieved_bytes"},"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_hrnOSsRP8PTqRLf5GgoIX","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 document retrieval records (retrieved_bytes, request_ms) across up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"I have 4 document retrieval records with site groups and dates — can you compute a secondary-measure weighted mean on retrieved_bytes, filling any missing values using median, and give me both analytical reports? Rows: row-1 group-a 2026-10-01 bytes=10 ms=1, row-2 group-b 2026-10-02 bytes=20 ms=2, row-3 group-a 2026-10-03 bytes=15 ms=null, row-4 group-b 2026-10-04 bytes=30 ms=4.","exampleUseCases":[{"title":"Latency outlier imputation for CDN logs","prompt":"I have 150 CDN retrieval log rows with site_group, date, retrieved_bytes, and request_ms — some request_ms values are null. Can you fill the missing latency values using mean imputation and then compute the weighted mean of request_ms across all rows? Give me both analytical reports."},{"title":"Bytes-retrieved summary by site group","prompt":"Here are 80 document retrieval records across two site groups with dates ranging through Q4 2026. Some retrieved_bytes entries are missing — please fill them with zero and calculate the secondary-measure weighted mean on retrieved_bytes, returning both reports."},{"title":"Daily retrieval performance audit","prompt":"I need to audit daily document retrieval performance for group-a and group-b over October 2026. I have 200 rows with retrieved_bytes and request_ms, a few nulls scattered in both columns. Fill the nulls using median and run the weighted mean analysis on retrieved_bytes — I want both of the analytical reports you produce."}],"resultDescription":"Returns 2 independent analytical reports: (1) a secondary-measure weighted mean of the chosen field (retrieved_bytes or request_ms) and (2) an explicit missing-value fill result for the same dataset, both computed locally on the supplied rows (up to 200) without any external lookups or live data.","failureModes":["More than 200 rows submitted — request rejected with validation error","Missing required fields (row_id, site_group, date) on any row — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern validation error","Numeric values outside allowed range (-1e12 to 1e12) — schema rejection","Empty rows array — minItems:1 violation","Invalid enum value for field or method parameters — schema error"],"whenToPreferThis":"Choose this endpoint when you have up to 200 tabular document retrieval records with retrieved_bytes and request_ms columns, need a secondary-measure weighted mean, and require explicit null/missing-value handling (zero, mean, or median fill) — all without any live data lookups or external connections. It is ideal for lightweight, self-contained batch analytics on retrieval log snapshots at very low cost ($0.01 USDC for 2 reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:07:59.551Z","isFirstParty":false,"canonicalSlug":"document-retrieval-analytics-weighted-mean-missing-value-fill-ca000d68"}