{"uid":"cap_Hv-gbnxeAavHN6-S1a_se","slug":"validation-rule-results-adjacent-row-changes-secondary-measure-333ea1c6","name":"Validation Rule Results — Adjacent Row Changes & Secondary-Measure Weighted Mean","description":"Validation rule results — Adjacent row changes + Secondary-measure weighted mean: Adjacent row changes + Secondary-measure weighted mean 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-159?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"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"}}},"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_4teJBK6ZwbBowAFkW91o8","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 adjacent row change analysis and secondary-measure weighted mean for validation rule result records (passed_rules, total_rules) on up to 200 supplied rows.","exampleAgentPrompt":"I have up to 200 rows of validation rule results with passed_rules and total_rules per dataset group and date — can you run the adjacent row changes and secondary-measure weighted mean reports on the passed_rules field for my data?","exampleUseCases":[{"title":"Data quality trend monitoring","prompt":"I have daily validation results for two dataset groups over the past month — each row has a date, passed_rules, and total_rules. Can you analyze the adjacent row changes and compute the weighted mean for passed_rules across all 150 rows?"},{"title":"Compliance audit statistical summary","prompt":"I need a weighted mean of our passed_rules values weighted by total_rules, plus a row-by-row change breakdown, for a compliance audit dataset I have with 80 records across three groups."},{"title":"Detecting validation anomalies over time","prompt":"Can you check my 60-row validation results dataset for adjacent row changes in total_rules by date and dataset group, so I can spot where the number of rules being evaluated jumped unexpectedly?"}],"resultDescription":"Returns two independent analytical reports for the supplied rows: (1) an adjacent row changes report showing delta values between consecutive rows for the selected field (passed_rules or total_rules), and (2) a secondary-measure weighted mean report computing the weighted average of the selected field using the other measure as the weight. Results are computed locally against the supplied data with no external lookups.","failureModes":["More than 200 rows supplied — request will be rejected or truncated","Missing required fields (row_id, dataset_group, date, passed_rules, total_rules) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null values in passed_rules or total_rules may affect weighted mean calculation","Invalid field selector (not 'passed_rules' or 'total_rules') causes enum validation failure","Empty rows array rejected (minItems: 1)"],"whenToPreferThis":"Choose this endpoint when you have tabular validation rule result data (with passed_rules and total_rules columns) and need both a row-by-row change analysis and a weighted mean statistic computed together in a single low-cost call. Ideal for data quality monitoring workflows, compliance audits, or pipeline health checks where you want local statistical analysis without external data lookups or predictions. Best suited for datasets up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:31.242Z","isFirstParty":false,"canonicalSlug":"validation-rule-results-adjacent-row-changes-secondary-measure-333ea1c6"}