{"uid":"cap_PrjhApYZoAgHt6yGQ9hbb","slug":"test-coverage-duplicate-key-report-trailing-mean-series-ee76e8c1","name":"Test Coverage Duplicate Key Report + Trailing Mean Series","description":"Test coverage — Duplicate key report + Trailing mean series: Duplicate key report + Trailing mean series 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-061?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},"field":{"enum":["covered_lines","total_lines"],"type":"string","default":"covered_lines"},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"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__AdmqRWLgTL3cYlg0QfE5","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 trailing mean series for covered_lines or total_lines.","exampleAgentPrompt":"Can you run a duplicate key report and a trailing mean series (window size 3) on my test coverage data — I have 10 rows with component, date, covered_lines, and total_lines — and analyze the covered_lines field?","exampleUseCases":[{"title":"CI pipeline coverage deduplication check","prompt":"I have 150 test coverage records from our CI runs with row_id, component, date, covered_lines, and total_lines. Can you run a duplicate key report on them and also compute a trailing mean series over a window of 5 for covered_lines so I can spot repeated entries and smooth out the trend?"},{"title":"Rolling average for total lines trend","prompt":"Can you compute a trailing mean series with a window of 4 for the total_lines field across my 80 test coverage records, and also give me a duplicate key report at the same time?"},{"title":"Sprint coverage data quality audit","prompt":"We just wrapped a sprint and I want to audit our test coverage records — about 60 rows with component, date, covered_lines, and total_lines. Please generate a duplicate key report and a trailing mean series on covered_lines using a window of 3 so we can catch any repeated entries and see the smoothed coverage trend."}],"resultDescription":"Returns two reports: (1) a duplicate key report identifying rows with repeated key combinations from the supplied test coverage records, and (2) a trailing mean series computed over the specified window for the chosen field (covered_lines or total_lines), both derived locally from the supplied data without any external lookups.","failureModes":["Input array exceeds 200 rows — request will be rejected","Missing required fields (row_id, component, date, covered_lines, total_lines) in any row","Invalid date format (must match YYYY-MM-DD pattern)","Window size outside allowed range (2–200)","Numeric field values outside allowed range","Empty rows array"],"whenToPreferThis":"Choose this endpoint when you have up to 200 test coverage records and need both duplicate key detection and a trailing moving average series in a single low-cost call. It is self-contained with no external data lookups, making it ideal for offline or batch data quality workflows on software test coverage metrics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:49:43.938Z","isFirstParty":false,"canonicalSlug":"test-coverage-duplicate-key-report-trailing-mean-series-ee76e8c1"}