{"uid":"cap_1XFvfOUeelrwRAkXpSgSU","slug":"manufacturing-output-secondary-measure-weighted-mean-6751627e","name":"Manufacturing Output – Secondary-Measure Weighted Mean","description":"Manufacturing output - Secondary-measure weighted mean: Secondary-measure weighted mean for Manufacturing output. 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-manufacturing-output-weighted-average?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","line","date","units","defects"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"line":{"type":"string","default":"","maxLength":80},"units":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"defects":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","line":"group-a","units":10,"row_id":"row-1","defects":1},{"date":"2026-10-02","line":"group-b","units":20,"row_id":"row-2","defects":2},{"date":"2026-10-03","line":"group-a","units":15,"row_id":"row-3","defects":3},{"date":"2026-10-04","line":"group-b","units":30,"row_id":"row-4","defects":4}],"maxItems":200,"minItems":1},"field":{"enum":["units","defects"],"type":"string","default":"units"}}},"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_b9H-3H80dtOYgiZaNx7Sv","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 (e.g. defects-weighted average of units, or vice versa) across up to 200 manufacturing output records, locally, with no external enrichment.","exampleAgentPrompt":"Calculate the defects-weighted mean of units produced for these 4 production records: line group-a on 2026-10-01 had 10 units and 1 defect, line group-b on 2026-10-02 had 20 units and 2 defects, line group-a on 2026-10-03 had 15 units and 3 defects, and line group-b on 2026-10-04 had 30 units and 4 defects — use 'units' as the target field.","exampleUseCases":[{"title":"Quality-adjusted daily output summary","prompt":"I have daily production data for two lines over the past week — each record has units produced and defects. Can you compute the defects-weighted mean of units so I can see which days had strong output relative to quality issues?"},{"title":"Comparing production lines by weighted performance","prompt":"We have output records for lines A and B across 50 shifts, each with unit counts and defect totals. Give me the defects-weighted mean of units produced so I can compare their quality-adjusted performance."},{"title":"Batch QA review for manufacturing audit","prompt":"For our monthly audit I need a secondary-measure weighted mean — weight the defect values by units produced for all 120 records I'm sending, and give me the result as a single weighted mean figure."}],"resultDescription":"Returns a single secondary-measure weighted mean value computed from the supplied manufacturing records, where one numeric field (units or defects) is weighted by the other, based on the selected target field. Processing is local with no external enrichment.","failureModes":["Empty or missing rows array returns a validation error","Records with null values for the selected weight or target field may be excluded or cause errors","Submitting more than 200 rows exceeds the maxItems limit and will be rejected","Invalid date format (not YYYY-MM-DD) will fail schema validation","Unknown field enum value other than 'units' or 'defects' will be rejected","Rows missing required fields (row_id, line, date, units, defects) will fail validation"],"whenToPreferThis":"Use this endpoint when you need a statistically rigorous weighted mean across manufacturing output records where one numeric dimension (units or defects) serves as the weighting factor for the other. Prefer it over simple averages when defect counts or unit volumes meaningfully vary across records and should influence the mean. It is not a forecasting or enrichment service — it performs deterministic local computation only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:40.691Z","isFirstParty":false,"canonicalSlug":"manufacturing-output-secondary-measure-weighted-mean-6751627e"}