{"uid":"cap_vz_W6Bw4S6oIggbfrDW4K","slug":"software-quality-secondary-measure-weighted-mean-5f58d03a","name":"Software Quality Secondary-Measure Weighted Mean","description":"Software quality - Secondary-measure weighted mean: Secondary-measure weighted mean for Software quality. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded secondary-measure weighted mean deliverable.","url":"https://market.datapackvibe.com/x402/assistant-sector-analytics-software-quality-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","component","date","issues_opened","issues_closed"],"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},"issues_closed":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"issues_opened":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","component":"group-a","issues_closed":1,"issues_opened":10},{"date":"2026-10-02","row_id":"row-2","component":"group-b","issues_closed":2,"issues_opened":20},{"date":"2026-10-03","row_id":"row-3","component":"group-a","issues_closed":3,"issues_opened":15},{"date":"2026-10-04","row_id":"row-4","component":"group-b","issues_closed":4,"issues_opened":30}],"maxItems":200,"minItems":1},"field":{"enum":["issues_opened","issues_closed"],"type":"string","default":"issues_opened"}}},"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_6bfu6j95tICEnrqCLBBCu","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 a secondary-measure weighted mean for software quality issue metrics (opened/closed) across up to 200 dated component records.","exampleAgentPrompt":"Can you compute the secondary-measure weighted mean for issues_opened across these software quality records — I have 4 rows: row-1 group-a 2026-10-01 opened=10 closed=1, row-2 group-b 2026-10-02 opened=20 closed=2, row-3 group-a 2026-10-03 opened=15 closed=3, row-4 group-b 2026-10-04 opened=30 closed=4?","exampleUseCases":[{"title":"Sprint defect volume trend analysis","prompt":"I've got daily issue counts for two components over a two-week sprint — can you compute the weighted mean for issues_closed across all those rows so I can see which component is resolving defects most efficiently?"},{"title":"Release quality gate scoring","prompt":"Before we cut the release, I need a secondary-measure weighted mean on issues_opened for our three main modules using this month's tracking data — can you run that calculation for me?"},{"title":"Cross-team software quality benchmarking","prompt":"We have issue records from four different engineering teams tagged by component and date, and I want to compare them using a weighted mean on issues_opened — can you process these 50 rows and give me the result?"}],"resultDescription":"A single bounded secondary-measure weighted mean value computed locally from the submitted rows, reflecting the weighted average of the selected field (issues_opened or issues_closed) across all provided dated component records, with no external enrichment applied.","failureModes":["More than 200 rows submitted — request rejected due to maxItems constraint","Missing required fields (row_id, component, date, issues_opened, issues_closed) cause validation error","Date field does not match YYYY-MM-DD pattern — schema validation failure","Numeric values outside allowed range (-1e12 to 1e12) cause rejection","All numeric values are null — may result in undefined or empty weighted mean output"],"whenToPreferThis":"Choose this endpoint when you need a statistically weighted mean of software issue metrics (opened or closed) across multiple dated component records with local computation only, no external data fetching, and a low fixed cost per call. Ideal for CI/CD pipelines, sprint analytics dashboards, or quality gate automation where deterministic, reproducible aggregation is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:40.690Z","isFirstParty":false,"canonicalSlug":"software-quality-secondary-measure-weighted-mean-5f58d03a"}