{"uid":"cap_aze6SkUEzcv0LuFaWFujK","slug":"document-approvals-string-normalisation-secondary-measure-weighted-mean-2d2f966f","name":"Document Approvals — String Normalisation + Secondary-Measure Weighted Mean","description":"Document approvals — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied document approvals records (submitted_documents, approved_documents). 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-operations-17-034?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","team_group","date","submitted_documents","approved_documents"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"team_group":{"type":"string","default":"","maxLength":80},"approved_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"submitted_documents":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","team_group":"group-a","approved_documents":1,"submitted_documents":10},{"date":"2026-10-02","row_id":"row-2","team_group":"group-b","approved_documents":2,"submitted_documents":20},{"date":"2026-10-03","row_id":"row-3","team_group":"group-a","approved_documents":3,"submitted_documents":15},{"date":"2026-10-04","row_id":"row-4","team_group":"group-b","approved_documents":4,"submitted_documents":30}],"maxItems":200,"minItems":1},"field":{"enum":["submitted_documents","approved_documents"],"type":"string","default":"submitted_documents"}}},"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_V-sXHmzZz8FvQNuGra2mB","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 string normalisation and a secondary-measure weighted mean over supplied document approval records (submitted_documents, approved_documents) for up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"Run string normalisation and secondary-measure weighted mean analysis on my document approvals data — I have 4 rows with team groups group-a and group-b, dates from 2026-10-01 to 2026-10-04, submitted_documents counts of 10, 20, 15, and 30, and approved_documents of 1, 2, 3, and 4 respectively; use submitted_documents as the primary field.","exampleUseCases":[{"title":"Team approval rate normalisation","prompt":"I have weekly document approval records for two teams — group-a had 15 submitted and 3 approved on 2026-10-03, and group-b had 30 submitted and 4 approved on 2026-10-04. Can you normalise the string values and compute a weighted mean on the approved_documents field across these rows?"},{"title":"Monthly ops pipeline stats","prompt":"Run the string normalisation and weighted mean reports on my document approvals for October 2026 — I've got 8 rows across team groups ops-north and ops-south with submitted_documents ranging from 5 to 50 and approved_documents from 1 to 20. Use approved_documents as the field for the secondary-measure weighted mean."},{"title":"Cross-team document throughput analysis","prompt":"I need two analytical reports on our document processing data: string normalisation plus a secondary-measure weighted mean. Here are my 5 rows: team alpha submitted 12 docs and approved 4 on 2026-11-01, team beta submitted 25 and approved 10 on 2026-11-02 — can you run the computation on submitted_documents?"}],"resultDescription":"Returns 2 structured analytical reports per call: one covering string normalisation of the supplied document approval records and one covering the secondary-measure weighted mean for the selected field (submitted_documents or approved_documents), computed locally across up to 200 input rows. No external data is fetched or predicted.","failureModes":["Fewer than 1 row supplied returns a validation error","More than 200 rows causes a maxItems schema violation","Invalid date format (not YYYY-MM-DD) fails pattern validation","Null values in both submitted_documents and approved_documents may produce undefined weighted mean","Unrecognised field enum value causes schema rejection","Missing required row fields (row_id, team_group, date) causes request failure"],"whenToPreferThis":"Choose this endpoint when you have tabular document approval records (submitted vs approved counts by team and date) and need two specific offline analytical outputs — string normalisation and a secondary-measure weighted mean — without requiring live data lookup, prediction, or external integrations. It is well-suited for lightweight, low-cost batch analysis of up to 200 rows at $0.01 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:36:28.646Z","isFirstParty":false,"canonicalSlug":"document-approvals-string-normalisation-secondary-measure-weighted-mean-2d2f966f"}