{"uid":"cap_2TekVZY1mPQgRwq0cbi4D","slug":"duplicate-observations-numeric-distribution-secondary-measure-ecffaa90","name":"Duplicate Observations — Numeric Distribution + Secondary-Measure Weighted Mean","description":"Duplicate observations — Numeric distribution + Secondary-measure weighted mean: Numeric distribution + Secondary-measure weighted mean for supplied duplicate observations records (duplicate_rows, total_rows). 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-04-082?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","duplicate_rows","total_rows"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"total_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80},"duplicate_rows":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","total_rows":1,"dataset_group":"group-a","duplicate_rows":10},{"date":"2026-10-02","row_id":"row-2","total_rows":2,"dataset_group":"group-b","duplicate_rows":20},{"date":"2026-10-03","row_id":"row-3","total_rows":3,"dataset_group":"group-a","duplicate_rows":15},{"date":"2026-10-04","row_id":"row-4","total_rows":4,"dataset_group":"group-b","duplicate_rows":30}],"maxItems":200,"minItems":1},"field":{"enum":["duplicate_rows","total_rows"],"type":"string","default":"duplicate_rows"}}},"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_eJ2ai5qEsBe7ewscTv5yf","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 numeric distribution statistics and a secondary-measure weighted mean for supplied duplicate-observation records (duplicate_rows, total_rows) across up to 200 rows in two independent analytical reports.","exampleAgentPrompt":"Analyze the numeric distribution and weighted mean of duplicate_rows for these dataset records — I have 4 rows across groups 'group-a' and 'group-b' with dates from 2026-10-01 to 2026-10-04, duplicate_rows values of 10, 20, 15, 30 and total_rows of 1, 2, 3, 4 — run both the distribution and the secondary-measure weighted mean report using 'duplicate_rows' as the primary field.","exampleUseCases":[{"title":"Data quality audit across pipeline stages","prompt":"I have 50 records from my ETL pipeline with duplicate_rows and total_rows counts per dataset group and date — can you run the numeric distribution and total_rows-weighted mean on the duplicate_rows field so I can see how duplication is spread across my pipeline?"},{"title":"Monthly duplicate trend report for two groups","prompt":"Here are 120 daily observations from January through April across 'group-alpha' and 'group-beta', each with duplicate_rows and total_rows counts — give me the numeric distribution and the secondary-measure weighted mean for duplicate_rows so I can report on monthly duplication trends."},{"title":"Comparing duplicate rates before and after dedup job","prompt":"I ran a deduplication job and I want to compare duplicate_rows stats before and after — I have 80 rows with dataset_group set to either 'pre-dedup' or 'post-dedup', plus total_rows. Can you compute the numeric distribution and the weighted mean for duplicate_rows so I can quantify the improvement?"}],"resultDescription":"Returns two independent analytical reports for the supplied rows: (1) a numeric distribution of the chosen field (duplicate_rows or total_rows) across up to 200 observations, and (2) a secondary-measure weighted mean where one field is weighted by the other. No live lookups or external data are used — analysis is local and deterministic.","failureModes":["Fewer than 1 row supplied returns a validation error","More than 200 rows causes rejection (maxItems constraint)","Null or missing required fields (row_id, dataset_group, date, duplicate_rows, total_rows) cause schema validation failure","Date values not matching YYYY-MM-DD pattern are rejected","Numeric values outside ±1 trillion bounds are rejected","Invalid 'field' enum value (anything other than 'duplicate_rows' or 'total_rows') causes a validation error"],"whenToPreferThis":"Choose this endpoint when you have pre-collected duplicate observation records (with duplicate_rows and total_rows counts) and need fast, local statistical analysis — specifically a numeric distribution AND a secondary-measure weighted mean — without making any external calls. Ideal for data quality pipelines, ETL audits, or deduplication assessments where you want both a distributional view and a weighted aggregate in one $0.01 call covering up to 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T07:19:41.099Z","isFirstParty":false,"canonicalSlug":"duplicate-observations-numeric-distribution-secondary-measure-ecffaa90"}