{"uid":"cap_8Gdzvso95szQmS6k6AM8C","slug":"duplicate-observations-analytics-category-frequencies-trailing-mean-1f432b5c","name":"Duplicate Observations Analytics: Category Frequencies + Trailing Mean Series","description":"Duplicate observations — Category frequencies + Trailing mean series: Category frequencies + Trailing mean series for supplied duplicate observations records (duplicate_rows, total_rows). 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-analytics-04-103?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","duplicate_rows","total_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"duplicate_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","total_rows":1,"dataset_group":"group-a","duplicate_rows":10},{"date":"2026-10-02","row_id":"row-2","total_rows":2,"dataset_group":"group-b","duplicate_rows":20},{"date":"2026-10-03","row_id":"row-3","total_rows":3,"dataset_group":"group-a","duplicate_rows":15},{"date":"2026-10-04","row_id":"row-4","total_rows":4,"dataset_group":"group-b","duplicate_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["duplicate_rows","total_rows"],"type":"string","default":"duplicate_rows"},"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_jCWps196Zd0Vz_7d4MYVO","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":"Analyzes duplicate observation records to produce two reports: category frequency distributions by dataset_group and a trailing mean time series for a chosen numeric field.","exampleAgentPrompt":"I have up to 200 rows of duplicate observation records with fields like date, dataset_group, duplicate_rows, and total_rows — can you run both the category frequency report and the trailing mean series for the duplicate_rows field using a window of 3?","exampleUseCases":[{"title":"Data quality audit by dataset group","prompt":"I have 150 rows of duplicate tracking records across groups 'transactions', 'users', and 'events' with dates and duplicate_rows counts — can you generate the category frequency breakdown by group and also compute the trailing mean of duplicate_rows with a window of 5?"},{"title":"Rolling average trend for duplicate rates","prompt":"Here are my daily duplicate observation records for the past quarter, with dataset_group and total_rows filled in — please compute the trailing mean series for total_rows over a window of 7 and also show me the frequency distribution across the groups."},{"title":"Sanity check on pipeline duplicate counts","prompt":"My ETL pipeline logs 80 rows of duplicate_rows and total_rows per dataset group per day — can you run both the category frequencies report and the rolling mean for duplicate_rows with a window of 2 to help me spot anomalies?"}],"resultDescription":"Two independent analytical reports: (1) a category frequency table showing how often each dataset_group appears in the supplied records, and (2) a trailing mean time series computed over the chosen field (duplicate_rows or total_rows) using the specified rolling window size, covering up to 200 input rows.","failureModes":["Input array is empty or missing — returns validation error","More than 200 rows supplied — exceeds max item limit","Invalid date format (not YYYY-MM-DD) — schema validation failure","duplicate_rows or total_rows values outside allowed numeric range","window value less than 2 or greater than 200 — schema rejection","Null values in numeric fields may affect trailing mean calculation"],"whenToPreferThis":"Choose this endpoint when you have pre-collected duplicate observation records (with duplicate_rows and total_rows) and need both a categorical frequency breakdown and a rolling mean trend in a single call for under $0.01 USDC — especially when no external data lookup or prediction is needed, just local statistical computation on supplied data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T07:19:37.352Z","isFirstParty":false,"canonicalSlug":"duplicate-observations-analytics-category-frequencies-trailing-mean-1f432b5c"}