{"uid":"cap_h8r1xnagVAoPkg1AnC5U7","slug":"proposal-preparation-duplicate-key-report-trailing-mean-series-69f7279d","name":"Proposal Preparation — Duplicate Key Report + Trailing Mean Series","description":"Proposal preparation — Duplicate key report + Trailing mean series: Duplicate key report + Trailing mean series for supplied proposal preparation records (completed_sections, planned_sections). 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-08-061?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","completed_sections","planned_sections"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"document_group":{"type":"string","default":"","maxLength":80},"planned_sections":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"completed_sections":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","document_group":"group-a","planned_sections":1,"completed_sections":10},{"date":"2026-10-02","row_id":"row-2","document_group":"group-b","planned_sections":2,"completed_sections":20},{"date":"2026-10-03","row_id":"row-3","document_group":"group-a","planned_sections":3,"completed_sections":15},{"date":"2026-10-04","row_id":"row-4","document_group":"group-b","planned_sections":4,"completed_sections":30}],"maxItems":200,"minItems":1},"field":{"enum":["completed_sections","planned_sections"],"type":"string","default":"completed_sections"},"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_ohkIPIgq45nj53oOsXPGS","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":"Runs two local analytical reports on proposal preparation data: a duplicate key report and a trailing mean series for completed_sections or planned_sections fields.","exampleAgentPrompt":"Can you run a duplicate key report and a trailing mean series on my proposal preparation data? I have rows with row_id, document_group, date, completed_sections, and planned_sections — use a window of 3 and compute the trailing mean for completed_sections.","exampleUseCases":[{"title":"Audit proposal records for duplicates","prompt":"I have a batch of proposal preparation records with row IDs and document groups — can you check them for any duplicate keys and also compute a trailing mean over a window of 2 for completed_sections so I can spot trends?"},{"title":"Track planned sections rolling average","prompt":"Run a trailing mean series with a window of 5 on the planned_sections field in my proposal dataset — I want to see the rolling average alongside any duplicate key issues across my document groups."},{"title":"Data quality check before proposal submission","prompt":"Before I finalize my proposal, can you scan these 50 rows for duplicate row IDs and give me a trailing mean of completed_sections over a 4-row window to make sure everything looks consistent?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying rows with repeated key values across the supplied proposal preparation records, and (2) a trailing mean series showing rolling averages of the selected field (completed_sections or planned_sections) over the specified window size. Both reports operate on the supplied data only, with no external lookups.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Window value outside allowed range (2–200) — validation error","Missing required fields (row_id, date, etc.) — schema validation failure","Field enum value not one of completed_sections or planned_sections — rejection"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key audit and a trailing mean series on proposal preparation data (completed_sections / planned_sections) in a single $0.01 call, without requiring any external data lookup or live prediction. Ideal for data quality checks before proposal submission or for spotting trends in section completion rates using local computation only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:45:11.524Z","isFirstParty":false,"canonicalSlug":"proposal-preparation-duplicate-key-report-trailing-mean-series-69f7279d"}