{"uid":"cap_89PAA-nxvrmQexk8uqssd","slug":"test-coverage-numeric-interval-filter-and-secondary-measure-weighted-374765d6","name":"Test Coverage Numeric Interval Filter and Secondary-Measure Weighted Mean","description":"Test coverage — Numeric interval filter + Secondary-measure weighted mean: Numeric interval filter + Secondary-measure weighted mean 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-132?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"},"maximum":{"type":"number","default":100,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":0,"maximum":1000000000000,"minimum":-1000000000000}}},"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_gpwiOhBR7UJ4Ga8tR9z8i","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":"Filters test coverage records by a numeric interval on a chosen field and computes a weighted mean of a secondary measure, returning two analytical reports for up to 200 rows.","exampleAgentPrompt":"I have 4 test coverage records for components group-a and group-b with covered_lines and total_lines values — filter them where covered_lines is between 10 and 30, then compute the weighted mean on covered_lines, and give me both analytical reports.","exampleUseCases":[{"title":"CI pipeline coverage range audit","prompt":"I have a list of 50 test coverage rows with covered_lines and total_lines per component and date — filter to only the rows where covered_lines is between 5 and 50, then calculate the weighted mean of covered_lines across that filtered set and give me both reports."},{"title":"Identify low-coverage modules","prompt":"Here are 120 test coverage records from our repo — filter them where total_lines is between 100 and 5000, then run the weighted mean analysis on total_lines and return the two statistical reports."},{"title":"Sprint quality retrospective analysis","prompt":"I want to analyze our sprint's test coverage data — I have 80 rows each with a row_id, component, date, covered_lines, and total_lines. Filter where covered_lines is between 0 and 25, compute the secondary-measure weighted mean on covered_lines, and show me both reports."}],"resultDescription":"Returns two analytical reports: (1) the subset of input rows whose chosen field (covered_lines or total_lines) falls within the specified [minimum, maximum] interval, and (2) the weighted mean of the secondary measure computed over the full or filtered dataset — both produced by local analytical engines with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, covered_lines, total_lines) on any row — validation error","Date field does not match YYYY-MM-DD pattern — schema validation failure","minimum greater than maximum — may return empty filtered set","Null values in covered_lines or total_lines — may affect weighted mean computation","Payment of 0.01 USDC not completed — endpoint returns 402"],"whenToPreferThis":"Choose this endpoint when you have up to 200 test coverage records (with covered_lines and total_lines fields) and need both a numeric interval filter and a weighted mean computed in a single call for two bundled reports, without requiring any live data lookup or external computation service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:51:52.505Z","isFirstParty":false,"canonicalSlug":"test-coverage-numeric-interval-filter-and-secondary-measure-weighted-374765d6"}