{"uid":"cap_OY8YBwpZB4iiiOIzvZy_G","slug":"style-guide-audits-trailing-mean-series-secondary-measure-weighted-mean-3ce5e96a","name":"Style Guide Audits — Trailing Mean Series + Secondary-Measure Weighted Mean","description":"Style guide audits — Trailing mean series + Secondary-measure weighted mean: Trailing mean series + Secondary-measure weighted mean for supplied style guide audits records (checked_items, flagged_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-writing-05-151?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","checked_items","flagged_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"checked_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"flagged_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"document_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","checked_items":10,"flagged_items":1,"document_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","checked_items":20,"flagged_items":2,"document_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","checked_items":15,"flagged_items":3,"document_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","checked_items":30,"flagged_items":4,"document_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["checked_items","flagged_items"],"type":"string","default":"checked_items"},"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_w6bQ_IhFrFg1vSvfJFyAv","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 trailing moving-average time series and a secondary-measure weighted mean over supplied style guide audit records (checked_items, flagged_items) for up to 200 rows, returning two independent analytical reports.","exampleAgentPrompt":"Run a trailing mean series and secondary-measure weighted mean on my style guide audit data — I have 4 rows with checked_items and flagged_items per document group, using a window of 2, and I want results for checked_items.","exampleUseCases":[{"title":"Monthly writing compliance trend analysis","prompt":"I have 50 rows of style guide audit results by date and document group, with checked_items and flagged_items columns. Can you compute a rolling 7-day trailing mean series for flagged_items and also give me a weighted mean across groups?"},{"title":"Editorial team audit dashboard metric","prompt":"Our editorial team runs daily style checks across two document groups. I've got 30 daily audit records — can you calculate the trailing mean series with a window of 5 and the secondary-measure weighted mean for checked_items so we can spot compliance trends?"},{"title":"Content governance quality report","prompt":"I need to analyze 100 rows of style guide audit data covering multiple document groups over the past quarter. Please compute the trailing mean series and weighted mean for flagged_items using a window of 10 so I can see where violations are clustering."}],"resultDescription":"Two independent analytical reports: (1) a trailing moving-average time series over the selected field (checked_items or flagged_items) using the specified window size, and (2) a secondary-measure weighted mean across the supplied rows grouped by document_group. Both reports are computed locally from the submitted data with no external lookups.","failureModes":["Fewer than 1 or more than 200 rows submitted — request rejected","Invalid date format (must be YYYY-MM-DD) causes row validation failure","Window size smaller than 2 or larger than 200 returns an error","checked_items or flagged_items values outside ±1,000,000,000,000 are rejected","Missing required fields (row_id, document_group, date) cause schema validation errors","Field enum value not 'checked_items' or 'flagged_items' causes rejection"],"whenToPreferThis":"Choose this endpoint when you need both a rolling/trailing mean time series and a weighted mean summary computed together from user-supplied style guide audit data in a single call. It is well-suited for document compliance tracking, editorial quality monitoring, or any scenario where checked_items and flagged_items are the core metrics. Prefer it over generic analytics tools when you want a bundled two-report result at low cost ($0.01 USDC) without any live data lookups or external dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:47:15.535Z","isFirstParty":false,"canonicalSlug":"style-guide-audits-trailing-mean-series-secondary-measure-weighted-mean-3ce5e96a"}