{"uid":"cap_YtlN4HGbKmET5vY0m2Sp8","slug":"document-readability-inputs-secondary-measure-weighted-mean-explicit-f076ca73","name":"Document Readability Inputs — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Document readability inputs — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied document readability inputs records (sentence_count, word_count). 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-07-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","sentence_count","word_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"word_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"document_group":{"type":"string","default":"","maxLength":80},"sentence_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","word_count":1,"document_group":"group-a","sentence_count":10},{"date":"2026-10-02","row_id":"row-2","word_count":2,"document_group":"group-b","sentence_count":20},{"date":"2026-10-03","row_id":"row-3","word_count":3,"document_group":"group-a","sentence_count":15},{"date":"2026-10-04","row_id":"row-4","word_count":4,"document_group":"group-b","sentence_count":30}],"maxItems":200,"minItems":1},"field":{"enum":["sentence_count","word_count"],"type":"string","default":"sentence_count"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_UPOKvtCn6FKjMkK6Z2RSS","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 fills missing values for document readability inputs (sentence_count, word_count) across up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"I have a dataset of 50 documents with sentence_count and word_count per row — can you compute the secondary-measure weighted mean for word_count across all rows, filling any missing values with the median, and give me 2 analytical reports?","exampleUseCases":[{"title":"Content audit weighted readability summary","prompt":"I've got 120 rows of content records with sentence_count and word_count by document group and date — compute the weighted mean for sentence_count using mean imputation for any missing values and give me both analytical reports."},{"title":"Null-safe word count aggregation","prompt":"My document dataset has some null word_count entries across 80 rows — can you fill those nulls with zero and then compute the secondary-measure weighted mean for word_count across all rows?"},{"title":"Readability trend analysis by group","prompt":"I have readability data for 30 documents split into two groups from October 2026 — run the weighted mean calculation on sentence_count with median fill for missing values and return the two reports."}],"resultDescription":"Returns 2 independent analytical reports containing the secondary-measure weighted mean and explicit missing-value filled results for the selected field (sentence_count or word_count) across up to 200 input rows, computed locally without external data lookups.","failureModes":["Missing required fields (row_id, date, document_group) causes validation error","More than 200 rows submitted exceeds maxItems limit","Invalid date format (not YYYY-MM-DD) causes schema rejection","Invalid field or method enum value causes parameter error","Empty rows array (minItems:1 not met) causes rejection"],"whenToPreferThis":"Choose this endpoint when you have a batch of up to 200 document readability records (sentence_count, word_count) and need both a weighted mean aggregation and explicit missing-value imputation in a single cost-effective call ($0.01 USDC for 2 reports). Ideal for preprocessing readability metrics before downstream analysis when null handling is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T12:49:45.342Z","isFirstParty":false,"canonicalSlug":"document-readability-inputs-secondary-measure-weighted-mean-explicit-f076ca73"}