{"uid":"cap_8XiZftZj6k2UlL1Yadhbg","slug":"label-review-analytics-duplicate-key-report-secondary-measure-5a5fc435","name":"Label Review Analytics — Duplicate Key Report & Secondary-Measure Weighted Mean","description":"Label review — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied label review records (reviewed_records, changed_labels). 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-12-067?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","reviewed_records","changed_labels"],"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},"changed_labels":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"reviewed_records":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","dataset_group":"group-a","changed_labels":1,"reviewed_records":10},{"date":"2026-10-02","row_id":"row-2","dataset_group":"group-b","changed_labels":2,"reviewed_records":20},{"date":"2026-10-03","row_id":"row-3","dataset_group":"group-a","changed_labels":3,"reviewed_records":15},{"date":"2026-10-04","row_id":"row-4","dataset_group":"group-b","changed_labels":4,"reviewed_records":30}],"maxItems":200,"minItems":1},"field":{"enum":["reviewed_records","changed_labels"],"type":"string","default":"reviewed_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_H51YZcAdIoF7J_XaqRE0Q","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":"Runs two analytical reports on label review data: a duplicate key detection report and a secondary-measure weighted mean, for up to 200 rows of reviewed_records and changed_labels data.","exampleAgentPrompt":"Run both the duplicate key report and the secondary-measure weighted mean on my label review data — here are the rows with date, row_id, dataset_group, reviewed_records, and changed_labels — and use reviewed_records as the primary field.","exampleUseCases":[{"title":"Detecting duplicate row IDs in annotation batches","prompt":"I have 150 rows from our label review pipeline with row_id, dataset_group, date, reviewed_records, and changed_labels — can you check for any duplicate keys and also compute the weighted mean of reviewed_records across the groups?"},{"title":"Weighted mean of label changes by dataset group","prompt":"Can you compute the secondary-measure weighted mean for changed_labels across these label review records? I have about 80 rows with row_id, date, dataset_group, reviewed_records, and changed_labels that I want to analyze."},{"title":"QA audit before annotation pipeline handoff","prompt":"Before we hand off this batch to the next stage, run a duplicate key check and a weighted mean analysis on our label review records — I've got 200 rows with reviewed_records and changed_labels per dataset group and date."}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying any repeated row_id values within the submitted rows, and (2) a secondary-measure weighted mean for the selected field (reviewed_records or changed_labels), both computed locally on the supplied data with no external lookups.","failureModes":["Rows array is empty or exceeds 200 items — request rejected","Invalid date format (must be YYYY-MM-DD) — validation error","Missing required fields (row_id, dataset_group, date, reviewed_records, changed_labels) — schema validation failure","Non-numeric values in reviewed_records or changed_labels — parsing error","Invalid field enum value (must be 'reviewed_records' or 'changed_labels') — rejected"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key audit and a weighted mean computation on label review data in a single $0.01 call, with no need for external lookups or live predictions. Ideal for ML annotation pipelines, label quality audits, or dataset preprocessing steps where you want to catch duplicate row IDs and summarize a numeric metric weighted by a secondary measure, all within a 200-row batch.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:53:23.374Z","isFirstParty":false,"canonicalSlug":"label-review-analytics-duplicate-key-report-secondary-measure-5a5fc435"}