{"uid":"cap_ztj60UMPaHPbdHVeqHVOV","slug":"test-coverage-string-normalisation-and-secondary-measure-weighted-mean-8266b116","name":"Test Coverage String Normalisation and Secondary-Measure Weighted Mean","description":"Test coverage — String normalisation + Secondary-measure weighted mean: String normalisation + 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-034?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_uWxy09NSuj5Az2lQg6P-p","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":"Normalises string fields and computes a secondary-measure weighted mean for up to 200 test coverage records (covered_lines, total_lines) using local analytical engines.","exampleAgentPrompt":"I have test coverage data for 4 components — can you normalize the component name strings and compute the secondary-measure weighted mean of covered_lines weighted by total_lines across these rows?","exampleUseCases":[{"title":"Sprint coverage quality audit","prompt":"I have 150 test coverage records from our last sprint with component names, dates, covered_lines, and total_lines — can you normalize the component strings and compute the weighted mean of covered_lines weighted by total_lines so I can see overall coverage quality?"},{"title":"Multi-team coverage comparison","prompt":"I've got coverage data for group-a and group-b components across 8 dates. Normalize the component labels and give me a secondary-measure weighted mean of total_lines weighted by covered_lines so I can compare teams fairly."},{"title":"CI pipeline coverage rollup","prompt":"After each CI run I collect covered_lines and total_lines per module. Can you normalize the module name strings and compute a weighted mean of covered_lines (weighted by total_lines) across all 200 rows so I have a single rollup metric?"}],"resultDescription":"Returns two independent analytical reports: (1) normalised string values for the component and related string fields across all submitted rows, and (2) a secondary-measure weighted mean for the selected field (covered_lines or total_lines), computed using shared local analytical engines. No external lookups or predictions are included.","failureModes":["Submitting more than 200 rows returns a validation error","Missing required fields (row_id, component, date, covered_lines, total_lines) causes row rejection","Dates not matching YYYY-MM-DD pattern fail schema validation","Null or non-numeric values for covered_lines or total_lines may affect weighted mean computation","Payment failure or insufficient USDC balance prevents processing"],"whenToPreferThis":"Choose this endpoint when you need both string normalisation and a secondary-measure weighted mean on test coverage data (covered_lines/total_lines) in a single call, for up to 200 rows, without requiring any external data lookups or live predictions. It is ideal for offline or batch CI/CD pipeline analytics where local computation suffices and cost must be kept minimal ($0.01 USDC for two reports).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:50:10.144Z","isFirstParty":false,"canonicalSlug":"test-coverage-string-normalisation-and-secondary-measure-weighted-mean-8266b116"}