{"uid":"cap_WFX5cJYv9PyLHdf0QrK8p","slug":"data-validation-results-secondary-measure-weighted-mean-045a7224","name":"Data Validation Results – Secondary-Measure Weighted Mean","description":"Data validation results - Secondary-measure weighted mean: Secondary-measure weighted mean for Data validation results. Up to 200 supplied typed records. Local descriptive analytics; no enrichment or forecast. One of 25 new profiles across 20 shared operations in this industry. 0.01 USDC includes one bounded secondary-measure weighted mean report.","url":"https://market.datapackvibe.com/x402/assistant-ar-analytics-validation-results-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","rule","date","checked_records","failed_records"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"rule":{"type":"string","default":"","maxLength":80},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"failed_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"checked_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","rule":"group-a","row_id":"row-1","failed_records":1,"checked_records":10},{"date":"2026-10-02","rule":"group-b","row_id":"row-2","failed_records":2,"checked_records":20},{"date":"2026-10-03","rule":"group-a","row_id":"row-3","failed_records":3,"checked_records":15},{"date":"2026-10-04","rule":"group-b","row_id":"row-4","failed_records":4,"checked_records":30}],"maxItems":200,"minItems":1},"field":{"enum":["checked_records","failed_records"],"type":"string","default":"checked_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_IWiqdwGLde-CRIS3ZS1X6","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 over up to 200 data validation result records (checked/failed records per rule and date), returning a local descriptive analytics report.","exampleAgentPrompt":"Can you compute the secondary-measure weighted mean for these data validation results? I have 4 rows: row-1 on 2026-10-01 with rule group-a, 1 failed out of 10 checked; row-2 on 2026-10-02 with rule group-b, 2 failed out of 20 checked; row-3 on 2026-10-03 with rule group-a, 3 failed out of 15 checked; row-4 on 2026-10-04 with rule group-b, 4 failed out of 30 checked — use failed_records as the primary field.","exampleUseCases":[{"title":"QA pipeline failure rate summary","prompt":"I have a week's worth of data validation runs across two rules — group-a and group-b — with checked and failed record counts per day. Can you compute the secondary-measure weighted mean of failed_records so I can see an aggregate quality signal?"},{"title":"Compliance audit weighted check coverage","prompt":"For our monthly compliance audit, I need a weighted mean of checked_records across all our validation rules and dates. Here are 50 rows of validation results — can you give me the weighted mean report?"},{"title":"Rule-level anomaly baseline computation","prompt":"Before flagging anomalies in our validation pipeline, I want to establish a baseline weighted mean for failed_records across these 30 rule-date combinations. Can you run the secondary-measure weighted mean calculation on this dataset?"}],"resultDescription":"A bounded secondary-measure weighted mean report summarizing the chosen numeric field (checked_records or failed_records) across the supplied validation rows, weighted by the secondary measure. Includes a single descriptive analytics result with no external enrichment or forecasting.","failureModes":["Fewer than 1 row supplied — request rejected","More than 200 rows supplied — exceeds maxItems limit","Invalid date format (non-YYYY-MM-DD) — schema validation error","Missing required fields (row_id, rule, date, checked_records, failed_records) — validation error","Null values in both checked_records and failed_records may yield undefined or null weighted mean","Payment failure (insufficient USDC) — 402 response, computation not performed"],"whenToPreferThis":"Choose this endpoint when you need a local, self-contained weighted mean computation over data validation result records (rule-level checked/failed counts) without any external data enrichment or forecasting. Ideal for QA pipelines, compliance dashboards, or anomaly-baseline workflows where you already have structured validation row data and need a fast, affordable ($0.01) descriptive statistic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:42.201Z","isFirstParty":false,"canonicalSlug":"data-validation-results-secondary-measure-weighted-mean-045a7224"}