{"uid":"cap_t2qcrlxZ8sPNICthK_jEo","slug":"api-contracts-secondary-measure-weighted-mean-and-keyed-dataset-cbf35bd5","name":"API Contracts Secondary-Measure Weighted Mean and Keyed Dataset Comparison","description":"API contracts — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied api contracts records (fields_checked, incompatible_fields). 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-software-19-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","component","date","fields_checked","incompatible_fields"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"component":{"type":"string","default":"","maxLength":80},"fields_checked":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"incompatible_fields":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","component":"group-a","fields_checked":10,"incompatible_fields":1},{"date":"2026-10-02","row_id":"row-2","component":"group-b","fields_checked":20,"incompatible_fields":2},{"date":"2026-10-03","row_id":"row-3","component":"group-a","fields_checked":15,"incompatible_fields":3},{"date":"2026-10-04","row_id":"row-4","component":"group-b","fields_checked":30,"incompatible_fields":4}],"maxItems":200,"minItems":1},"field":{"enum":["fields_checked","incompatible_fields"],"type":"string","default":"fields_checked"},"other":{"type":"array","items":{"type":"object","required":["row_id","component","date","fields_checked","incompatible_fields"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"component":{"type":"string","default":"","maxLength":80},"fields_checked":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"incompatible_fields":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","component":"group-a","fields_checked":10,"incompatible_fields":1},{"date":"2026-10-02","row_id":"row-2","component":"group-b","fields_checked":21,"incompatible_fields":2},{"date":"2026-10-03","row_id":"row-3","component":"group-a","fields_checked":17,"incompatible_fields":3},{"date":"2026-10-04","row_id":"row-4","component":"group-b","fields_checked":33,"incompatible_fields":4}],"maxItems":200,"minItems":0}}},"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_RKglDOHitFRmLgZ8aNrAe","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 and performs a keyed dataset comparison on up to 200 API contract records with fields_checked and incompatible_fields metrics.","exampleAgentPrompt":"I have two sets of API contract records — a primary set and a comparison set — each with up to 200 rows including component names, dates, fields_checked, and incompatible_fields. Can you run a weighted mean on fields_checked and also compare the two datasets by key to highlight differences?","exampleUseCases":[{"title":"API version compatibility audit","prompt":"I have 150 rows of API contract data from our v1 and v2 services, each row has a component name, date, fields_checked, and incompatible_fields. Can you compute the weighted mean of incompatible_fields across both datasets and show me a keyed comparison of where v1 and v2 diverge?"},{"title":"Monthly contract quality trend comparison","prompt":"Here are two months of API contract records — October and November — each with component, date, fields_checked, and incompatible_fields. Please calculate the weighted mean of fields_checked and compare the two months row-by-row to surface any components that worsened."},{"title":"Cross-team API contract benchmarking","prompt":"Our platform team and integrations team both submitted API contract datasets with fields_checked and incompatible_fields per component. Can you run a weighted mean on fields_checked and do a keyed comparison between the two teams' datasets to see where they differ?"}],"resultDescription":"Returns two analytical reports: (1) a weighted mean calculation for the selected secondary measure (fields_checked or incompatible_fields) across the supplied rows, and (2) a keyed dataset comparison highlighting differences between the primary and secondary datasets by row key, including per-component breakdowns.","failureModes":["Missing required fields (row_id, component, date, fields_checked, or incompatible_fields) causes validation error","Exceeding 200 rows in either dataset returns an error","Invalid date format (not YYYY-MM-DD) causes rejection","Null values in numeric fields may affect weighted mean accuracy","Mismatched row_ids between primary and comparison datasets may reduce comparison coverage"],"whenToPreferThis":"Choose this endpoint when you need simultaneous weighted mean computation and dataset comparison on API contract records in a single call. It is ideal for software teams tracking field compatibility across API versions, comparing two datasets of up to 200 rows each, and needing two analytical outputs (weighted mean + keyed diff) without external data lookups or predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:34:17.689Z","isFirstParty":false,"canonicalSlug":"api-contracts-secondary-measure-weighted-mean-and-keyed-dataset-cbf35bd5"}