{"uid":"cap_sjyPwS9o72WEbcCyxkvbS","slug":"covariance-uncertainty-propagation-c698c41d","name":"Covariance Uncertainty Propagation","description":"Propagate declared correlated measurement uncertainty for 1-8 sensitivities using c-transpose C c. Requires exact symmetric positive-semidefinite covariance; returns exact variance and a rational square-root enclosure. First-order only; no empirical covariance validation.","url":"https://www.mahastrategies.com/api/v1/micro/covariance-uncertainty","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","sensitivities","covariance","outputUnit"],"properties":{"dataClass":{"enum":["public","synthetic"],"type":"string"},"covariance":{"type":"array","maxItems":8,"minItems":1},"outputUnit":{"type":"string","maxLength":32,"minLength":1},"sensitivities":{"type":"array","maxItems":8,"minItems":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["covariance-uncertainty"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["13000"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.013","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.013/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PJ_K4o5HR10Qm8NyLvPGQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.013","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Propagates declared correlated measurement uncertainty through 1–8 sensitivities using the quadratic form c^T C c, returning exact variance and a rational square-root enclosure.","exampleAgentPrompt":"Propagate the correlated measurement uncertainty for my 3-sensitivity vector [0.5, 1.2, -0.8] through a 3×3 symmetric positive-semidefinite covariance matrix [[0.01,0.002,0],[0.002,0.04,0.001],[0,0.001,0.009]] using public data, and give me the exact variance and rational square-root enclosure in meters.","exampleUseCases":[{"title":"Sensor fusion uncertainty propagation","prompt":"I have a 2-sensor fusion model with sensitivities [1.0, -0.5] and covariance matrix [[0.02, 0.005],[0.005, 0.03]] — both public data. Propagate the correlated uncertainty and give me the exact output variance and a certified rational square-root bound in volts."},{"title":"Metrology calibration output uncertainty","prompt":"For my calibration result, I need to propagate uncertainty through 4 sensitivities [0.1, 0.3, -0.2, 0.05] with a 4×4 symmetric positive-semidefinite covariance matrix I'll provide. Data class is synthetic. Return the exact variance and rational square-root enclosure in Newtons."},{"title":"Derived quantity uncertainty in a physics experiment","prompt":"I computed partial derivatives of my derived quantity with respect to 5 input measurements — sensitivities are [2.1, -0.7, 0.4, 1.3, -1.0] — and I have the full 5×5 covariance matrix for those inputs marked as public. Can you propagate the correlated first-order uncertainty and give me the variance and a rational enclosure of the standard deviation in kilograms?"}],"resultDescription":"Returns a JSON object with version, offerId (covariance-uncertainty), amountBaseUnits (13000), an inputDigest and receiptDigest for auditability, a result object containing the exact computed variance and rational square-root enclosure, and a boundaries array (up to 128 elements) representing interval enclosure data.","failureModes":["Covariance matrix not symmetric or not positive-semidefinite — request rejected with validation error","Sensitivity array or covariance dimensions mismatched — schema validation failure","More than 8 sensitivities provided — exceeds maxItems constraint","Output unit string missing or too long (>32 chars) — validation error","Payment of 13000 base units USDC not received — x402 payment required error","Data class not 'public' or 'synthetic' — enum validation failure"],"whenToPreferThis":"Choose this endpoint when you need a mathematically rigorous, first-order correlated uncertainty propagation with an exact rational square-root enclosure (not just a floating-point approximation) for 1–8 sensitivities. It is ideal when your covariance matrix is known exactly (declared, not empirically estimated) and you need certified interval bounds rather than Monte Carlo or empirical estimates. Prefer this over generic statistics libraries when auditability (via input/receipt digests) and exact arithmetic enclosures are required for metrology, calibration, or governance reporting workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:40:02.825Z","isFirstParty":false}