{"uid":"cap_BEMW57k4lwJ3NNkod-Nwj","slug":"article-publication-analytics-weighted-mean-missing-value-fill-1233c37c","name":"Article Publication Analytics — Weighted Mean & Missing-Value Fill","description":"Article publication — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied article publication records (published_articles, word_count). 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-01-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","channel_group","date","published_articles","word_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"word_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"channel_group":{"type":"string","default":"","maxLength":80},"published_articles":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","word_count":1,"channel_group":"group-a","published_articles":10},{"date":"2026-10-02","row_id":"row-2","word_count":2,"channel_group":"group-b","published_articles":20},{"date":"2026-10-03","row_id":"row-3","word_count":3,"channel_group":"group-a","published_articles":15},{"date":"2026-10-04","row_id":"row-4","word_count":4,"channel_group":"group-b","published_articles":30}],"maxItems":200,"minItems":1},"field":{"enum":["published_articles","word_count"],"type":"string","default":"published_articles"},"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_7pZo0tpXtdTKux5ksJBEZ","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 article publication data (published_articles, word_count) across up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"I have 4 rows of article publication data — channel groups A and B across dates 2026-10-01 to 2026-10-04 with published_articles counts of 10, 20, 15, 30 and word_counts of 1, 2, 3, 4 — can you compute the weighted mean for published_articles and fill any missing values using median?","exampleUseCases":[{"title":"Imputing missing article counts by channel","prompt":"I have a dataset of 150 article publication records across several channel groups but some entries are missing their published_articles values — can you fill those nulls using the mean of the existing values and also give me the weighted mean for the whole dataset?"},{"title":"Word count weighted average for editorial report","prompt":"I need to compute a secondary-measure weighted mean on word_count across my 80 publication rows, with any missing word_count values filled using zero — the data spans multiple channel groups and dates in 2026."},{"title":"Publication metrics audit with null remediation","prompt":"Our CMS export has gaps in both published_articles and word_count fields across about 120 rows — can you run a weighted mean calculation on published_articles and fill the missing entries using median so I can hand this off to the editorial team?"}],"resultDescription":"Returns 2 analytical reports: (1) a secondary-measure weighted mean computed over the specified field (published_articles or word_count), and (2) the dataset with missing values explicitly filled using the chosen method (zero, mean, or median), covering up to 200 input rows per call.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, channel_group, date, published_articles, word_count) on any row — validation error","Invalid date format (must match YYYY-MM-DD pattern) — schema validation failure","Invalid enum value for field or method parameters — rejected","All rows contain null for the target field — weighted mean undefined","Empty rows array — minimum 1 item required"],"whenToPreferThis":"Choose this endpoint when you have tabular article publication data (published_articles, word_count) up to 200 rows and need both a weighted mean computation and explicit missing-value imputation in a single low-cost call. Prefer this over general-purpose analytics tools when working specifically with channel-grouped publication metrics and needing two bundled reports for $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:37:44.040Z","isFirstParty":false,"canonicalSlug":"article-publication-analytics-weighted-mean-missing-value-fill-1233c37c"}