{"uid":"cap_vqR3dxu-yQdFk29F1i5jY","slug":"document-section-coverage-secondary-measure-weighted-mean-keyed-be5c7441","name":"Document Section Coverage — Secondary-Measure Weighted Mean + Keyed Dataset Comparison","description":"Document section coverage — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied document section coverage records (present_sections, required_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-01-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","present_sections","required_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},"present_sections":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"required_sections":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","document_group":"group-a","present_sections":10,"required_sections":1},{"date":"2026-10-02","row_id":"row-2","document_group":"group-b","present_sections":20,"required_sections":2},{"date":"2026-10-03","row_id":"row-3","document_group":"group-a","present_sections":15,"required_sections":3},{"date":"2026-10-04","row_id":"row-4","document_group":"group-b","present_sections":30,"required_sections":4}],"maxItems":200,"minItems":1},"field":{"enum":["present_sections","required_sections"],"type":"string","default":"present_sections"},"other":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","present_sections","required_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},"present_sections":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"required_sections":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","document_group":"group-a","present_sections":10,"required_sections":1},{"date":"2026-10-02","row_id":"row-2","document_group":"group-b","present_sections":21,"required_sections":2},{"date":"2026-10-03","row_id":"row-3","document_group":"group-a","present_sections":17,"required_sections":3},{"date":"2026-10-04","row_id":"row-4","document_group":"group-b","present_sections":33,"required_sections":4}],"maxItems":200,"minItems":0}}},"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_PY853PciBNmPIBmRxDGCE","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 secondary-measure weighted mean and performs a keyed dataset comparison on document section coverage records (present_sections, required_sections) for up to 200 rows.","exampleAgentPrompt":"I have two sets of document section coverage records — each row has a document group, date, present_sections, and required_sections — and I want to compute the secondary-measure weighted mean on present_sections and then compare the two datasets side-by-side using keyed comparison. Can you run both reports on my data?","exampleUseCases":[{"title":"Document compliance audit across groups","prompt":"I have 150 document coverage records across groups A and B, each with a date, present_sections count, and required_sections count. Can you compute the secondary-measure weighted mean for present_sections and also run a keyed dataset comparison against our baseline dataset so I can see where compliance gaps exist?"},{"title":"Before-and-after coverage improvement analysis","prompt":"I want to compare our document section coverage from Q1 versus Q2 — I have two datasets, each up to 100 rows with row_id, document_group, date, present_sections, and required_sections. Please compute the weighted mean on required_sections and do a keyed comparison between the two periods."},{"title":"Multi-group document completeness reporting","prompt":"Can you run two reports on these document coverage records for groups 'legal', 'hr', and 'finance'? I need the secondary-measure weighted mean for present_sections and a keyed comparison against our target dataset to see which groups are underperforming."}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean calculation over the selected field (present_sections or required_sections) using the other field as the weight, grouped by document_group or date; and (2) a keyed dataset comparison between the primary rows input and a secondary rows dataset, highlighting differences per key. Both reports are computed locally with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, document_group, date, present_sections, required_sections) — validation error","Invalid date format (must match YYYY-MM-DD) — schema validation failure","Null values in both present_sections and required_sections may cause weighted mean to be undefined","row_id values not unique across datasets may produce unexpected keyed comparison results","Payment not provided or insufficient (requires 0.01 USDC via x402) — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you have structured document section coverage data (present vs required sections) and need both a weighted mean aggregation and a keyed dataset comparison in a single low-cost call. It is ideal for document compliance workflows, coverage gap analysis, or before-and-after comparisons where you already have the data locally and do not need live data retrieval or external predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T18:49:58.876Z","isFirstParty":false,"canonicalSlug":"document-section-coverage-secondary-measure-weighted-mean-keyed-be5c7441"}