{"uid":"cap_9ec6wuEivg7swC6Hhgt-P","slug":"schema-conformity-analytics-equal-width-histogram-weighted-mean-57428e3d","name":"Schema Conformity Analytics: Equal-Width Histogram + Weighted Mean","description":"Schema conformity — Equal-width histogram + Secondary-measure weighted mean: Equal-width histogram + Secondary-measure weighted mean for supplied schema conformity records (valid_records, checked_records). 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-analytics-02-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","dataset_group","date","valid_records","checked_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"dataset_group":{"type":"string","default":"","maxLength":80},"valid_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"checked_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","valid_records":10,"checked_records":1},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","valid_records":20,"checked_records":2},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","valid_records":15,"checked_records":3},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","valid_records":30,"checked_records":4}],"maxItems":200,"minItems":1},"field":{"enum":["valid_records","checked_records"],"type":"string","default":"valid_records"}}},"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_A_mZ0V801nRzF7lc3_u3e","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 schema conformity data (valid_records, checked_records) over up to 200 rows, returning two independent analytical reports.","exampleAgentPrompt":"Can you run an equal-width histogram with 10 bins on the valid_records field and compute the checked_records weighted mean for my conformity data — here are the rows: row-1, 2024-01-01, group-a, valid=850, checked=1000; row-2, 2024-01-02, group-b, valid=600, checked=950; row-3, 2024-01-03, group-a, valid=920, checked=1000?","exampleUseCases":[{"title":"Daily data quality distribution check","prompt":"I have 50 rows of schema conformity data from our pipeline runs this month — can you build a histogram with 8 bins on valid_records and also give me the weighted mean using checked_records as the weight? Here are the rows with row_id, date, dataset_group, valid_records, and checked_records."},{"title":"Comparing conformity across dataset groups","prompt":"Run the equal-width histogram and weighted mean analysis on my checked_records field using 5 bins — I want to understand how record checks are distributed across our group-a and group-b datasets over the last quarter. I'll supply up to 120 rows."},{"title":"Monthly schema audit summary report","prompt":"Generate two analytical reports for our monthly schema audit: an equal-width histogram (using 15 bins) and a secondary-measure weighted mean for the valid_records field across these 200 conformity rows covering all our dataset groups in November 2024."}],"resultDescription":"Returns two independent analytical reports: (1) an equal-width histogram partitioning the selected measure (valid_records or checked_records) into the specified number of bins with frequency counts per bin, and (2) a weighted mean of the secondary measure using the primary measure as weights — all computed locally from the supplied row data without external lookups.","failureModes":["Rows array empty or missing — validation error returned","bins value outside 1–30 range — rejected with schema error","Row missing required fields (row_id, date, valid_records, checked_records) — row rejected or error","More than 200 rows submitted — request rejected","Null values in valid_records or checked_records — may affect computation or be excluded","Invalid date format (not YYYY-MM-DD) — row or request rejected","Payment of 0.01 USDC not fulfilled — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need fast, offline statistical summarization of schema conformity metrics — specifically an equal-width histogram plus weighted mean — on up to 200 rows without any external data lookup, ML prediction, or third-party enrichment. Ideal for data quality pipelines, audit workflows, or BI dashboards that need lightweight descriptive statistics on valid/checked record counts grouped by dataset and date.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:13.062Z","isFirstParty":false,"canonicalSlug":"schema-conformity-analytics-equal-width-histogram-weighted-mean-57428e3d"}