{"uid":"cap_KFl5uDTnD1Js52J12Qn2a","slug":"time-series-completeness-secondary-measure-weighted-mean-keyed-626db122","name":"Time Series Completeness — Secondary-Measure Weighted Mean & Keyed Dataset Comparison","description":"Time series completeness — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied time series completeness records (observed_points, expected_points). 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-16-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","observed_points","expected_points"],"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},"expected_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"observed_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","expected_points":1,"observed_points":10},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","expected_points":2,"observed_points":20},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","expected_points":3,"observed_points":15},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","expected_points":4,"observed_points":30}],"maxItems":200,"minItems":1},"field":{"enum":["observed_points","expected_points"],"type":"string","default":"observed_points"},"other":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","observed_points","expected_points"],"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},"expected_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"observed_points":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","expected_points":1,"observed_points":10},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","expected_points":2,"observed_points":21},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","expected_points":3,"observed_points":17},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","expected_points":4,"observed_points":33}],"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_rNg4EK4LEn8Vuv_N1Wxwz","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 secondary-measure weighted mean and performs keyed dataset comparison on up to 200 rows of time series completeness records (observed_points vs expected_points), returning two independent analytical reports.","exampleAgentPrompt":"I have two datasets of daily completeness records for groups A and B from October 2026 — each row has a row_id, dataset_group, date, observed_points, and expected_points. Can you run a secondary-measure weighted mean on observed_points and compare the two datasets key-by-key to spot differences?","exampleUseCases":[{"title":"Pipeline completeness drift detection","prompt":"I have daily observed_points and expected_points for my ETL pipeline split into group-a and group-b from last quarter. Can you compute the weighted mean of observed_points across those groups and then compare my baseline dataset against my current dataset row by row to see where completeness has drifted?"},{"title":"Sensor network coverage audit","prompt":"I'm auditing two snapshots of sensor coverage — each row has a date, sensor group, observed readings, and expected readings. Run the secondary-measure weighted mean on expected_points and do a keyed comparison between last month's snapshot and this month's to flag any coverage changes."},{"title":"Data quality report for two ingestion groups","prompt":"Here are up to 150 rows split across ingestion-group-x and ingestion-group-y with daily observed_points and expected_points. Please give me both a weighted mean report and a keyed dataset comparison between my pre-migration and post-migration completeness records."}],"resultDescription":"Returns two independent analytical reports: (1) a secondary-measure weighted mean computed over the primary rows using the selected field (observed_points or expected_points) weighted by the secondary measure, and (2) a keyed dataset comparison between the primary rows and the 'other' dataset, identifying matching, differing, and missing row keys — all computed locally with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, dataset_group, date, observed_points, expected_points) — validation error","Date strings not matching YYYY-MM-DD pattern — schema rejection","Null values in numeric fields may affect weighted mean calculation","'other' dataset missing or malformed — comparison report may be incomplete or error","Payment not completed via x402 protocol — request not processed"],"whenToPreferThis":"Choose this endpoint when you need two complementary analytical reports on time series completeness data in a single low-cost call ($0.01 USDC): a weighted mean that uses one completeness measure to weight the other, and a side-by-side keyed comparison between two dataset versions. It is ideal for data quality auditing, pipeline health checks, or before/after completeness comparisons across named groups, with up to 200 rows per call. It does not perform predictions, live lookups, or external actions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T19:41:53.606Z","isFirstParty":false,"canonicalSlug":"time-series-completeness-secondary-measure-weighted-mean-keyed-626db122"}