{"uid":"cap_5EhB3iKEPnCqzCfdseKnX","slug":"style-guide-audits-numeric-row-ordering-trailing-mean-series-1f9b185a","name":"Style Guide Audits — Numeric Row Ordering + Trailing Mean Series","description":"Style guide audits — Numeric row ordering + Trailing mean series: Numeric row ordering + Trailing mean series 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-115?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_uB7IkrN5KIL-Mh5Ok7Khy","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":"Sorts style guide audit rows numerically and computes a trailing moving average series for checked_items or flagged_items across up to 200 rows.","exampleAgentPrompt":"Sort my style guide audit records numerically by flagged_items and compute a trailing mean series with a window of 3 — I have rows for document groups like 'legal-docs' and 'marketing-copy' with dates and both checked_items and flagged_items counts, up to 50 rows total.","exampleUseCases":[{"title":"Track flagged item trends over time","prompt":"I have 60 rows of style guide audit data with dates, document groups, and flagged_items counts — can you sort them numerically by flagged_items and give me a trailing mean with a window of 5 so I can see the trend?"},{"title":"Rank document groups by checked items","prompt":"Order my style guide audit records by checked_items and show me a rolling average with a window of 4 — my data covers groups like 'product-docs' and 'blog-posts' across the last quarter."},{"title":"Monitor writing compliance drift","prompt":"I want to see if our style compliance is getting worse — take these 80 audit rows with checked_items and flagged_items, sort them numerically by flagged_items, and compute a trailing mean series using a window of 10."}],"resultDescription":"Two analytical reports: (1) the input rows sorted in numeric order by the chosen field (checked_items or flagged_items), and (2) a trailing moving average series for that field computed over the specified window size — both derived locally from the supplied data without any external lookups.","failureModes":["Fewer than 1 row supplied — minimum items validation error","More than 200 rows supplied — maxItems exceeded error","Window size larger than number of rows — insufficient data for trailing mean","Invalid date format (not YYYY-MM-DD) — pattern validation error","Missing required fields (row_id, document_group, date) — schema validation error","Non-numeric values in checked_items or flagged_items — type validation error"],"whenToPreferThis":"Choose this endpoint when you need two lightweight analytical reports — numeric ordering and a trailing mean series — on style guide audit records (checked_items, flagged_items) without any external data enrichment, predictions, or professional assessment. It is ideal for small to medium datasets (up to 200 rows) where local computation suffices and cost matters ($0.01 for both reports). Prefer alternatives if you need real-time lookups, ML-based predictions, or more than 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:56:56.409Z","isFirstParty":false,"canonicalSlug":"style-guide-audits-numeric-row-ordering-trailing-mean-series-1f9b185a"}