{"uid":"cap_mltLmwpRaGSZ0r4DExJur","slug":"style-guide-audits-equal-width-histogram-secondary-measure-weighted-eeb952fa","name":"Style Guide Audits — Equal-Width Histogram + Secondary-Measure Weighted Mean","description":"Style guide audits — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean 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-172?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bins":{"type":"integer","default":5,"maximum":30,"minimum":1},"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"}}},"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_Y9rwi2VB7QNw4aLy12d2Z","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 an equal-width histogram and a secondary-measure weighted mean for style guide audit records (checked_items, flagged_items) over up to 200 rows.","exampleAgentPrompt":"Run a histogram and weighted mean analysis on my style guide audit data — here are 4 records: row-1 on 2026-10-01 in group-a had 10 checked and 1 flagged, row-2 on 2026-10-02 in group-b had 20 checked and 2 flagged, row-3 on 2026-10-03 in group-a had 15 checked and 3 flagged, row-4 on 2026-10-04 in group-b had 30 checked and 4 flagged. Use 5 bins and analyze the checked_items field.","exampleUseCases":[{"title":"Style compliance distribution for editorial team","prompt":"I have 50 style guide audit records from our editorial team across two document groups — can you bucket the checked_items into 8 equal-width bins and also give me the weighted mean of flagged_items? Each row has a date, document group, checked count, and flagged count."},{"title":"Writing quality trend histogram for content audit","prompt":"We ran a style guide audit over 120 documents last quarter. I want to see how the flagged_items are distributed — please compute a 10-bin equal-width histogram and the secondary weighted mean for flagged_items across all those rows."},{"title":"Compliance summary across document groups","prompt":"Can you analyze my style audit results? I've got about 80 records with checked_items and flagged_items per document group. Give me a histogram with 5 bins on checked_items and include the weighted mean report too."}],"resultDescription":"Returns two statistical reports: (1) an equal-width histogram showing the frequency distribution of the selected field (checked_items or flagged_items) divided into the specified number of bins, and (2) a secondary-measure weighted mean computed across the audit rows. Both reports are generated locally from the supplied data with no external lookups.","failureModes":["Rows array is empty or exceeds 200 items — request rejected","Invalid date format (not YYYY-MM-DD) — validation error","Bins value outside 1–30 range — rejected with schema error","Null values in checked_items or flagged_items may affect weighted mean computation","Field enum value not 'checked_items' or 'flagged_items' — validation error","row_id missing or exceeds 80 characters — schema rejection"],"whenToPreferThis":"Choose this endpoint when you need both a distributional histogram and a weighted mean summary for style guide audit data (checked_items and flagged_items) in a single low-cost call. It is ideal for offline, self-contained statistical analysis of up to 200 audit rows with no need for external data enrichment, prediction, or live lookups. Prefer it over general-purpose analytics tools when your data is already structured with document_group, date, checked_items, and flagged_items fields.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:53:23.554Z","isFirstParty":false,"canonicalSlug":"style-guide-audits-equal-width-histogram-secondary-measure-weighted-eeb952fa"}