{"uid":"cap_rg1cHC3mYlPIh7YhHIgdr","slug":"test-coverage-numeric-row-ordering-secondary-measure-weighted-mean-cf81025e","name":"Test Coverage Numeric Row Ordering + Secondary-Measure Weighted Mean","description":"Test coverage — Numeric row ordering + Secondary-measure weighted mean: Numeric row ordering + 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-121?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"}}},"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_lSJiFdac2bDmlMI6A6PwW","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":"Computes numeric row ordering and secondary-measure weighted mean analytics on supplied software test coverage records (covered_lines, total_lines) for up to 200 rows.","exampleAgentPrompt":"Can you run numeric row ordering and a weighted mean analysis on my test coverage data — I have 4 records for components group-a and group-b with covered_lines and total_lines values — and use covered_lines as the primary field?","exampleUseCases":[{"title":"Coverage ranking across sprint components","prompt":"I have test coverage records for 10 components this week — each with a date, covered_lines, and total_lines — can you order them numerically by covered_lines and give me a weighted mean so I know which components are dragging down our coverage?"},{"title":"QA report for release readiness review","prompt":"Before our release tomorrow, can you take our 50 test coverage rows and compute a numeric row ordering plus a weighted mean on total_lines, grouped by component, so the team can see where we stand?"},{"title":"Trend analysis on nightly coverage snapshots","prompt":"We collect nightly test coverage snapshots with covered_lines and total_lines for each module — can you analyze the last 200 rows, order them numerically, and give me a secondary-measure weighted mean using total_lines as the weight field?"}],"resultDescription":"Returns two analytical reports: (1) a numerically ordered ranking of the supplied test coverage rows by the chosen field, and (2) a secondary-measure weighted mean computed across the dataset, both derived locally from the supplied covered_lines and total_lines values with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, component, date, covered_lines, total_lines) — validation error","Invalid date format (not YYYY-MM-DD) — schema validation failure","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 need both a numeric row ordering and a weighted mean computed together on test coverage data in a single call at low cost ($0.01 USDC for 2 reports). Ideal for CI/CD pipelines, QA dashboards, or sprint retrospectives where you want fast, offline analytical results without external API dependencies or live predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:51:58.393Z","isFirstParty":false,"canonicalSlug":"test-coverage-numeric-row-ordering-secondary-measure-weighted-mean-cf81025e"}