{"uid":"cap_x3ok_XZ6w18A4_0KR7FA1","slug":"test-coverage-exact-row-deduplication-and-two-measure-correlation-fc8589d7","name":"Test Coverage Exact Row Deduplication and Two-Measure Correlation","description":"Test coverage — Exact row deduplication + Two-measure correlation: Exact row deduplication + Two-measure correlation 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-050?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}}},"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_9Nw-hwLDZFUIWI2BGzbzs","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":"Deduplicates exact rows and computes correlation between covered_lines and total_lines for up to 200 test coverage records.","exampleAgentPrompt":"Can you deduplicate my test coverage records and calculate the correlation between covered_lines and total_lines? I have rows like: row-1, component group-a, date 2025-01-15, covered_lines 80, total_lines 100; row-2, component group-b, date 2025-01-16, covered_lines 60, total_lines 120; row-3, component group-a, date 2025-01-17, covered_lines 90, total_lines 150.","exampleUseCases":[{"title":"Sprint coverage data deduplication","prompt":"I've got a batch of test coverage entries from our last sprint and I suspect there are duplicate rows — can you deduplicate them exactly and also tell me how strongly covered_lines correlates with total_lines across all entries? Here are the rows: row-1, auth-service, 2025-03-01, 340 covered, 400 total; row-2, payment-service, 2025-03-02, 210 covered, 300 total; row-3, auth-service, 2025-03-01, 340 covered, 400 total."},{"title":"Multi-component coverage correlation check","prompt":"We track coverage for several components daily. Can you analyze these 10 coverage records — strip out any exact duplicates and then run a correlation between covered_lines and total_lines so I know if the two measures move together? Components are frontend, backend, and db-layer with dates ranging 2025-04-01 to 2025-04-10."},{"title":"CI pipeline coverage report cleanup","prompt":"Our CI pipeline exports coverage CSVs and they sometimes contain repeated rows. Please deduplicate these coverage records exactly and compute the correlation between covered_lines and total_lines: row-1 api-gateway 2025-06-01 500 covered 800 total, row-2 worker-service 2025-06-02 300 covered 450 total, row-3 api-gateway 2025-06-01 500 covered 800 total, row-4 cache-layer 2025-06-03 120 covered 200 total."}],"resultDescription":"Returns two analytical reports: (1) an exact row deduplication report identifying and removing fully duplicate records from the supplied dataset, and (2) a two-measure correlation report quantifying the statistical relationship between covered_lines and total_lines across up to 200 submitted rows. Both reports are generated locally without external lookups.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — exceeds maximum item limit","Missing required fields (row_id, component, date, covered_lines, or total_lines) — schema validation failure","Date field not matching YYYY-MM-DD pattern — pattern validation error","Non-numeric values in covered_lines or total_lines — type error","Insufficient variance in measures prevents meaningful correlation computation"],"whenToPreferThis":"Choose this endpoint when you need both exact-duplicate detection and a two-measure Pearson/statistical correlation on software test coverage data (covered_lines vs total_lines) in a single low-cost call. It is ideal for CI/CD pipelines, sprint retrospectives, or data quality audits on coverage exports where you want to clean duplicates and understand metric relationships simultaneously without sending data to external prediction or lookup services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-25T12:32:41.444Z","isFirstParty":false,"canonicalSlug":"test-coverage-exact-row-deduplication-and-two-measure-correlation-fc8589d7"}