{"uid":"cap_fm4E6NqEs9dmJ7Yi-aOeX","slug":"publication-proofing-category-frequencies-trailing-mean-series-27f74642","name":"Publication Proofing — Category Frequencies + Trailing Mean Series","description":"Publication proofing — Category frequencies + Trailing mean series: Category frequencies + Trailing mean series for supplied publication proofing records (checked_pages, flagged_pages). 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-18-103?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","checked_pages","flagged_pages"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"checked_pages":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"flagged_pages":{"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_pages":10,"flagged_pages":1,"document_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","checked_pages":20,"flagged_pages":2,"document_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","checked_pages":15,"flagged_pages":3,"document_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","checked_pages":30,"flagged_pages":4,"document_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["checked_pages","flagged_pages"],"type":"string","default":"checked_pages"},"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_Nr6zys8vlURhIyzDSH82k","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 category frequency counts and a trailing moving-average series for publication proofing records (checked_pages, flagged_pages) supplied by the caller — no external lookups.","exampleAgentPrompt":"Run category frequency and trailing mean analysis on my publication proofing records — here are 4 rows with checked_pages and flagged_pages per document_group and date, and I want the trailing mean on checked_pages with a window of 2.","exampleUseCases":[{"title":"Editorial team proofing trend review","prompt":"I have weekly proofing data for two document groups over the past month — can you compute the category frequencies for each group and show me a trailing mean of flagged_pages with a window of 3 so I can spot quality trends?"},{"title":"Publisher QA dashboard data prep","prompt":"Take these 50 proofing session rows with checked_pages and flagged_pages, group them by document_group to get frequency counts, and also generate a trailing moving average of checked_pages using a window of 5 — I need both reports."},{"title":"Flagged page rate monitoring","prompt":"Here are my daily publication proofing records for October — give me category frequencies across document groups and a trailing mean series of flagged_pages with window 4 so I can see if the flagging rate is rising."}],"resultDescription":"Returns two analytical reports: (1) a category frequency table showing how often each document_group appears in the submitted rows, and (2) a trailing mean series for the selected field (checked_pages or flagged_pages) computed with the specified window size — both derived entirely from the supplied input data, up to 200 rows.","failureModes":["Empty or missing rows array returns validation error","More than 200 rows submitted exceeds the maximum and is rejected","Invalid date format (not YYYY-MM-DD) causes schema validation failure","Window size outside [2, 200] range is rejected","Null values in the chosen field may produce gaps or nulls in the trailing mean","Unknown field value not in enum causes validation error","Payment not included or insufficient USDC causes 402 response"],"whenToPreferThis":"Choose this endpoint when you have up to 200 publication proofing records with checked_pages and flagged_pages fields and need both a category frequency breakdown by document_group and a trailing moving-average series in one low-cost call ($0.01 USDC). Prefer it over general analytics services when you want a self-contained, offline computation with no external data lookups and deterministic results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:32:51.071Z","isFirstParty":false,"canonicalSlug":"publication-proofing-category-frequencies-trailing-mean-series-27f74642"}