{"uid":"cap_PjyvTg_7QHpVaKYhy0A1E","slug":"feed-observations-secondary-measure-weighted-mean-and-explicit-8723acf2","name":"Feed Observations Secondary-Measure Weighted Mean and Explicit Missing-Value Fill","description":"Feed observations — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied feed observations records (item_count, duplicate_items). 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-11-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","site_group","date","item_count","duplicate_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"item_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"site_group":{"type":"string","default":"","maxLength":80},"duplicate_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","item_count":10,"site_group":"group-a","duplicate_items":1},{"date":"2026-10-02","row_id":"row-2","item_count":20,"site_group":"group-b","duplicate_items":2},{"date":"2026-10-03","row_id":"row-3","item_count":15,"site_group":"group-a","duplicate_items":3},{"date":"2026-10-04","row_id":"row-4","item_count":30,"site_group":"group-b","duplicate_items":4}],"maxItems":200,"minItems":1},"field":{"enum":["item_count","duplicate_items"],"type":"string","default":"item_count"},"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_EPNTub4f3WdfYEKP9_Qdx","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 in feed observation records (item_count, duplicate_items) for up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"I have feed observation records for groups 'group-a' and 'group-b' with item_count and duplicate_items values across several dates — can you compute the weighted mean for item_count using duplicate_items as the weight, and fill in any missing values using median imputation?","exampleUseCases":[{"title":"Missing value imputation for feed data","prompt":"I have 50 rows of daily feed observations for site groups across October, some item_count values are null — can you fill those missing values using median imputation and also compute the weighted mean of item_count weighted by duplicate_items?"},{"title":"Duplicate item ratio analysis by site group","prompt":"Here are 120 feed observation records across multiple site groups — can you compute the secondary-measure weighted mean for duplicate_items, using item_count as the weight, and fill any missing duplicate_items values with zero?"},{"title":"Feed quality audit with aggregated statistics","prompt":"I need to audit my feed pipeline data: I have up to 200 rows with item_count and duplicate_items by date and site group — run the weighted mean and missing-value fill analysis using mean imputation so I can spot anomalies."}],"resultDescription":"Returns 2 local analytical reports: (1) a secondary-measure weighted mean computed over the specified field (item_count or duplicate_items) across submitted rows, and (2) an explicit missing-value fill report replacing nulls using the chosen method (zero, mean, or median). No external lookups or predictions are made; all computation is performed on the supplied data.","failureModes":["Rows array empty or exceeds 200 items — validation error returned","Invalid date format (not YYYY-MM-DD) — schema validation failure","Null row_id or row_id exceeding 80 characters — rejected row","Field enum value not 'item_count' or 'duplicate_items' — invalid input error","Method enum value not 'zero', 'mean', or 'median' — invalid input error","Numeric values outside ±1,000,000,000,000 range — boundary violation error","Payment not provided or insufficient USDC — x402 payment required response"],"whenToPreferThis":"Choose this endpoint when you need both weighted mean computation and missing-value imputation on feed observation data (item_count, duplicate_items) in a single $0.01 call for up to 200 rows. It is ideal when your data already exists locally and you need two analytical reports simultaneously without external data lookups, predictions, or live integrations. Prefer alternatives if you need more than 200 rows, real-time predictions, or reports beyond weighted mean and missing-value fill.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T00:41:02.801Z","isFirstParty":false,"canonicalSlug":"feed-observations-secondary-measure-weighted-mean-and-explicit-8723acf2"}