{"uid":"cap_IqtTKW611BqbCNNdpH_5i","slug":"newsroom-assignments-weighted-mean-missing-value-fill-a650c881","name":"Newsroom Assignments Weighted Mean & Missing-Value Fill","description":"Newsroom assignments — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied newsroom assignments records (assigned_items, completed_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-news-03-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","channel_group","date","assigned_items","completed_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"channel_group":{"type":"string","default":"","maxLength":80},"assigned_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completed_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","channel_group":"group-a","assigned_items":10,"completed_items":1},{"date":"2026-10-02","row_id":"row-2","channel_group":"group-b","assigned_items":20,"completed_items":2},{"date":"2026-10-03","row_id":"row-3","channel_group":"group-a","assigned_items":15,"completed_items":3},{"date":"2026-10-04","row_id":"row-4","channel_group":"group-b","assigned_items":30,"completed_items":4}],"maxItems":200,"minItems":1},"field":{"enum":["assigned_items","completed_items"],"type":"string","default":"assigned_items"},"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_ySqW48Qs3dpN6x19Xh5gN","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 newsroom assignment records (assigned_items, completed_items) across up to 200 rows, producing 2 analytical reports.","exampleAgentPrompt":"Can you calculate the secondary-measure weighted mean and fill any missing values for my newsroom assignment data — I have 4 rows with channel groups 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, assigned_items and completed_items values, and I want to analyze the assigned_items field using median fill for nulls?","exampleUseCases":[{"title":"Editorial team completion rate analysis","prompt":"I have daily newsroom assignment records for two editorial teams across a week — some completed_items values are missing. Can you compute the weighted mean for completed_items and fill the nulls using the mean method? Here are my 10 rows with row IDs, dates, channel groups, and both assigned and completed counts."},{"title":"Assignment backlog audit by channel","prompt":"Run a weighted mean analysis on my assigned_items data across these 50 newsroom rows — channel groups are 'breaking-news', 'features', and 'sports', dates span last month, and some assigned_items are null. Use zero fill for the missing values."},{"title":"Cross-group newsroom performance report","prompt":"I need two analytical reports on this set of 30 newsroom assignment records grouped by 'print' and 'digital' channels. Compute the secondary-measure weighted mean for completed_items and handle any missing values with median imputation."}],"resultDescription":"Returns 2 analytical reports covering: (1) secondary-measure weighted mean computed over the specified field (assigned_items or completed_items) across all provided rows, and (2) explicit missing-value fill results using the chosen method (zero, mean, or median), applied to the same dataset of up to 200 rows.","failureModes":["Rows array empty or exceeds 200-item limit — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Field value not in enum ['assigned_items','completed_items'] — rejected","Method value not in enum ['zero','mean','median'] — rejected","Numeric values outside ±1,000,000,000,000 range — rejected","Missing required fields (row_id, channel_group, date) — validation error","Payment of 0.01 USDC not provided — 402 response"],"whenToPreferThis":"Choose this endpoint when you have structured newsroom assignment data (up to 200 rows) and need both a weighted mean computation and missing-value imputation in a single $0.01 call. Ideal for editorial analytics pipelines where assigned_items or completed_items contain nulls and you need clean aggregated statistics. Prefer over general-purpose computation tools when working specifically with channel-grouped, date-indexed newsroom assignment records and need two bundled reports at minimal cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:34:53.655Z","isFirstParty":false,"canonicalSlug":"newsroom-assignments-weighted-mean-missing-value-fill-a650c881"}