{"uid":"cap_HMvpxqieoLETQQBMVmXtj","slug":"validation-rule-results-analytics-equal-width-histogram-missing-value-c3b7348d","name":"Validation Rule Results Analytics — Equal-Width Histogram & Missing-Value Fill","description":"Validation rule results — Equal-width histogram + Explicit missing-value fill: Equal-width histogram + Explicit missing-value fill for supplied validation rule results records (passed_rules, total_rules). 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-08-175?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","passed_rules","total_rules"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_rules":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"passed_rules":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","total_rules":1,"passed_rules":10,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","total_rules":2,"passed_rules":20,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","total_rules":3,"passed_rules":15,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","total_rules":4,"passed_rules":30,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["passed_rules","total_rules"],"type":"string","default":"passed_rules"},"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_ngZBN5vEacFhG1xMQQYvG","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":"Generates an equal-width histogram and explicit missing-value fill report for validation rule results data (passed_rules, total_rules) across up to 200 rows.","exampleAgentPrompt":"Can you run an equal-width histogram with 10 bins on the passed_rules field from my validation results dataset — using median to fill any missing values? I have about 50 rows with row_id, dataset_group, date, passed_rules, and total_rules.","exampleUseCases":[{"title":"Audit data quality rule pass rates","prompt":"I have 80 rows of validation rule results with passed_rules and total_rules per dataset group. Can you generate an equal-width histogram with 5 bins on the passed_rules field and fill any missing values with the mean, so I can audit how consistently rules are passing?"},{"title":"Explore total_rules distribution before reporting","prompt":"Before I write up my data quality report, can you build a 10-bin equal-width histogram of the total_rules field from my 120 validation records and use zero-fill for any nulls? I want to see how the rule counts are spread."},{"title":"Identify missing values in validation results","prompt":"I've got a CSV of validation rule results with some null passed_rules values — can you fill those missing values using median imputation and show me a histogram with 8 bins so I can understand the distribution before I do further analysis?"}],"resultDescription":"Returns two analytical reports: (1) an equal-width histogram showing the bin distribution of the selected field (passed_rules or total_rules) across submitted rows, and (2) a missing-value fill report showing how null values were replaced using the specified method (zero, mean, or median). Both reports are computed locally on the supplied data with no external lookups.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — request rejected","Invalid date format (not YYYY-MM-DD) — schema validation error","bins value outside 1–30 range — rejected","Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) — validation error","All values null in selected field — histogram may be degenerate or empty"],"whenToPreferThis":"Choose this endpoint when you need fast, local statistical analysis of validation rule result records — specifically equal-width histogram computation and missing-value imputation — without any external data lookups or predictions. Ideal for data quality auditing workflows where you want to understand the distribution of passed_rules or total_rules across dataset groups. Best suited for datasets of up to 200 rows where a low-cost ($0.01 USDC) dual-report output is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T00:37:15.857Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-analytics-equal-width-histogram-missing-value-c3b7348d"}