{"uid":"cap_HkYTVt39aHxux_N2zBD3a","slug":"data-reconciliation-duplicate-key-report-secondary-measure-weighted-874cf3f6","name":"Data Reconciliation — Duplicate Key Report + Secondary-Measure Weighted Mean","description":"Data reconciliation — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + Secondary-measure weighted mean for supplied data reconciliation records (source_total, target_total). 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-11-067?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","source_total","target_total"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_total":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"target_total":{"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","source_total":10,"target_total":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","source_total":20,"target_total":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","source_total":15,"target_total":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","source_total":30,"target_total":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_total","target_total"],"type":"string","default":"source_total"}}},"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_WrRoTUbzutSltxJlXBM9z","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":"Analyzes up to 200 reconciliation rows to produce a duplicate key report and a secondary-measure weighted mean, using local analytical engines with no external lookups.","exampleAgentPrompt":"Check my reconciliation dataset for duplicate row IDs and also compute the weighted mean of source_total — I have about 150 rows with row_id, dataset_group, date, source_total, and target_total fields.","exampleUseCases":[{"title":"ETL pipeline duplicate key audit","prompt":"I just ran an ETL job and got 120 reconciliation records with source_total and target_total. Can you check if any row_ids are duplicated across the dataset groups and also compute the weighted mean of source_total for me?"},{"title":"Finance team source-target discrepancy review","prompt":"We have 80 rows of reconciliation data comparing source_total and target_total by date and group. Run a duplicate key check on row_id and give me the weighted mean of target_total so I can spot anomalies."},{"title":"Data quality audit before reporting","prompt":"Before I send this reconciliation file to the client, can you scan all 200 rows for duplicate row_ids and compute the weighted mean of source_total so I know the data is clean?"}],"resultDescription":"Returns two independent analytical reports: (1) a duplicate key report identifying which row_ids appear more than once across the submitted rows, and (2) a weighted mean of the selected field (source_total or target_total) used as the secondary measure — all computed locally from the supplied data.","failureModes":["Submitting more than 200 rows returns a validation error","Missing required fields (row_id, dataset_group, date, source_total, target_total) causes rejection","Invalid date format (not YYYY-MM-DD) triggers a schema validation error","Numeric values outside ±1,000,000,000,000 are rejected","Providing an invalid field enum value (not source_total or target_total) causes an error","Empty rows array is rejected (minItems: 1)"],"whenToPreferThis":"Choose this endpoint when you need both a duplicate key audit and a weighted mean computation on reconciliation data in a single $0.01 call. It is ideal for ETL validation, finance reconciliation workflows, and data quality checks where you have up to 200 rows of source/target pairs and want two complementary analytical reports without any external lookups or live data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:46:11.458Z","isFirstParty":false,"canonicalSlug":"data-reconciliation-duplicate-key-report-secondary-measure-weighted-874cf3f6"}