{"uid":"cap_5PWWT5dUv9J4OM9Tw1DU-","slug":"test-coverage-duplicate-key-report-and-keyed-dataset-comparison-ba344449","name":"Test Coverage Duplicate Key Report and Keyed Dataset Comparison","description":"Test coverage — Duplicate key report + Keyed dataset comparison: Duplicate key report + Keyed dataset comparison for supplied test coverage records (covered_lines, total_lines). 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-10-069?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","component","date","covered_lines","total_lines"],"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},"total_lines":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"covered_lines":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","component":"group-a","total_lines":1,"covered_lines":10},{"date":"2026-10-02","row_id":"row-2","component":"group-b","total_lines":2,"covered_lines":20},{"date":"2026-10-03","row_id":"row-3","component":"group-a","total_lines":3,"covered_lines":15},{"date":"2026-10-04","row_id":"row-4","component":"group-b","total_lines":4,"covered_lines":30}],"maxItems":200,"minItems":1},"other":{"type":"array","items":{"type":"object","required":["row_id","component","date","covered_lines","total_lines"],"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},"total_lines":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"covered_lines":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","component":"group-a","total_lines":1,"covered_lines":10},{"date":"2026-10-02","row_id":"row-2","component":"group-b","total_lines":2,"covered_lines":21},{"date":"2026-10-03","row_id":"row-3","component":"group-a","total_lines":3,"covered_lines":17},{"date":"2026-10-04","row_id":"row-4","component":"group-b","total_lines":4,"covered_lines":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_Gxn9AUawbffRaLhHE2DYe","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 test coverage records to produce a duplicate key report and a keyed dataset comparison between two supplied datasets.","exampleAgentPrompt":"Can you check these two sets of test coverage records for duplicate row IDs and also compare them side by side to show where covered_lines or total_lines differ? I have up to 50 rows in each dataset organized by row_id, component, and date.","exampleUseCases":[{"title":"Pre-merge coverage data audit","prompt":"I have two CSV exports of test coverage data from before and after a refactor — each has row_id, component, date, covered_lines, and total_lines. Can you check both for duplicate row keys and compare them to highlight which rows changed?"},{"title":"CI pipeline duplicate key check","prompt":"Our CI pipeline produced 80 test coverage records today. Can you scan them for any duplicate row IDs and also compare this run against yesterday's records to see what shifted in covered_lines?"},{"title":"Cross-team coverage dataset reconciliation","prompt":"I have coverage data from two different teams for the same components and dates — up to 150 rows each. Can you flag any duplicate keys within each dataset and compare the two to show discrepancies in total_lines and covered_lines?"}],"resultDescription":"Returns two analytical reports: (1) a duplicate key report identifying any rows with repeated row_id values within the supplied dataset, and (2) a keyed dataset comparison showing row-level differences between the primary and secondary datasets based on matching keys, covering covered_lines and total_lines fields. No external data is fetched; all analysis is performed locally on the submitted records.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — request rejected or truncated","Missing required fields (row_id, component, date, covered_lines, total_lines) — schema validation error","Invalid date format (not YYYY-MM-DD) — pattern validation failure","Numeric values out of allowed range — validation error","Empty or whitespace-only row_id — minLength validation error"],"whenToPreferThis":"Choose this endpoint when you need to simultaneously detect duplicate keys and compare two test coverage datasets (by covered_lines and total_lines) in a single call at minimal cost. It is ideal for CI/CD pipelines auditing coverage data integrity, reconciling coverage snapshots from different teams or time periods, or validating data before ingestion. It is not suitable for live coverage measurement, prediction, professional code review, or datasets exceeding 200 rows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:15.464Z","isFirstParty":false,"canonicalSlug":"test-coverage-duplicate-key-report-and-keyed-dataset-comparison-ba344449"}