{"uid":"cap_2Ki2PLyfG_i5zn36K8HiN","slug":"style-guide-audits-secondary-measure-weighted-mean-explicit-missing-f05389ac","name":"Style Guide Audits — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Style guide audits — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied style guide audits records (checked_items, flagged_items). 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-05-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","document_group","date","checked_items","flagged_items"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"checked_items":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"flagged_items":{"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_items":10,"flagged_items":1,"document_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","checked_items":20,"flagged_items":2,"document_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","checked_items":15,"flagged_items":3,"document_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","checked_items":30,"flagged_items":4,"document_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["checked_items","flagged_items"],"type":"string","default":"checked_items"},"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_RHjX5kLyZ18H7Ki8f6XWN","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 in style guide audit records (checked_items, flagged_items) for up to 200 rows, returning 2 independent analytical reports.","exampleAgentPrompt":"I have up to 200 rows of style guide audit records with checked_items and flagged_items counts — can you compute the secondary-measure weighted mean for flagged_items and fill any missing values using median imputation, then give me 2 analytical reports?","exampleUseCases":[{"title":"Style audit compliance weighted summary","prompt":"I have 150 rows of style guide audit data by document group with checked_items and flagged_items. Can you compute the weighted mean for flagged_items using checked_items as the secondary measure, fill any nulls using median, and give me the two analytical reports?"},{"title":"Missing value cleanup for audit dataset","prompt":"My writing audit dataset has some null entries in checked_items across about 80 rows. Can you fill those missing values using zero imputation and compute the weighted mean, then return the two reports?"},{"title":"Multi-group document style audit rollup","prompt":"I've got style guide audit records for two document groups — group-a and group-b — across Q4 dates. Please compute the secondary-measure weighted mean on checked_items with median fill for any missing values across all rows and give me both reports."}],"resultDescription":"Returns 2 independent analytical reports per call: one covering secondary-measure weighted mean calculations and one covering explicit missing-value fills for the chosen field (checked_items or flagged_items) across the supplied rows (up to 200). Results are derived purely from the submitted data using local statistical engines — no external data or predictions are involved.","failureModes":["More than 200 rows submitted — request will be rejected or truncated","Missing required fields (row_id, date, document_group) causing row-level validation errors","Invalid date format (must be YYYY-MM-DD) causing parse failure","All values for the selected field are null, making weighted mean computation undefined","Invalid enum value for 'field' or 'method' parameters causing schema validation error","Payment not completed (x402 protocol) resulting in 402 response and no report generated"],"whenToPreferThis":"Choose this endpoint when you have tabular style guide audit data (checked_items, flagged_items) and need both a secondary-measure weighted mean and systematic missing-value imputation in a single low-cost call. Ideal when your dataset is under 200 rows and you want two distinct analytical views without calling a general-purpose analytics platform. Prefer this over manual computation or heavier data pipelines when the audit domain is writing/document style compliance and cost-efficiency matters ($0.01 USDC for 2 reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T13:06:03.417Z","isFirstParty":false,"canonicalSlug":"style-guide-audits-secondary-measure-weighted-mean-explicit-missing-f05389ac"}