{"uid":"cap_CReVPBBVQQK8OgcXYtOPG","slug":"source-diversity-exact-row-deduplication-trailing-mean-series-f6308e91","name":"Source Diversity — Exact Row Deduplication + Trailing Mean Series","description":"Source diversity — Exact row deduplication + Trailing mean series: Exact row deduplication + Trailing mean series for supplied source diversity records (source_count, outlet_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-17-045?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","channel_group","date","source_count","outlet_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"outlet_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"source_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"channel_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","outlet_count":1,"source_count":10,"channel_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","outlet_count":2,"source_count":20,"channel_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","outlet_count":3,"source_count":15,"channel_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","outlet_count":4,"source_count":30,"channel_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_count","outlet_count"],"type":"string","default":"source_count"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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_hBjQ4MrKhWVUAKY7oUC4m","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":"Deduplicates rows and computes a trailing mean series for source diversity metrics (source_count, outlet_count) over up to 200 rows.","exampleAgentPrompt":"Take my source diversity data — 4 rows with row_id, date, channel_group, source_count, and outlet_count — deduplicate them exactly, then compute a trailing mean series for source_count using a window of 2.","exampleUseCases":[{"title":"News source diversity smoothing","prompt":"I have 50 rows of daily news source diversity records with source_count and outlet_count per channel group. Can you deduplicate them and compute a trailing mean series for source_count with a window of 7 days?"},{"title":"Outlet count deduplication for media audit","prompt":"I need to clean up my outlet_count data across 3 channel groups — can you remove any exact duplicate rows and give me a trailing mean series for outlet_count with a window of 5?"},{"title":"Channel group time series cleanup","prompt":"Here are 100 rows of source diversity records by date and channel_group. Please deduplicate them exactly and then calculate a rolling trailing mean for source_count using a window of 10."}],"resultDescription":"Two reports: (1) a deduplicated set of rows with exact duplicates removed, and (2) a trailing mean series for the specified field (source_count or outlet_count) computed over the given window size, applied to the supplied rows grouped by channel_group and date.","failureModes":["Fewer than 1 row supplied — request rejected","Window size exceeds number of rows — trailing mean may be undefined or partial","Rows missing required fields (row_id, date, channel_group) — validation error","More than 200 rows submitted — request rejected at limit","Malformed date strings not matching YYYY-MM-DD — schema validation failure","Null values in source_count or outlet_count may produce null entries in trailing mean"],"whenToPreferThis":"Choose this endpoint when you have up to 200 source diversity records (with source_count and outlet_count) and need both exact row deduplication and a trailing mean time series in a single low-cost call. Ideal for media analytics pipelines where data quality and smoothing are needed together before downstream analysis. Not suitable for live data fetching, prediction, or large-scale batch processing beyond 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:50:45.193Z","isFirstParty":false,"canonicalSlug":"source-diversity-exact-row-deduplication-trailing-mean-series-f6308e91"}