{"uid":"cap_H5rvnA7OUQoc-ChwfCrhC","slug":"savings-ledger-secondary-measure-weighted-mean-explicit-missing-value-37ac0fea","name":"Savings Ledger — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Savings ledger — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied savings ledger records (deposit_amount, withdrawal_amount). 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-finance-23-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","instrument_group","date","deposit_amount","withdrawal_amount"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"deposit_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"instrument_group":{"type":"string","default":"","maxLength":80},"withdrawal_amount":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","deposit_amount":10,"instrument_group":"group-a","withdrawal_amount":1},{"date":"2026-10-02","row_id":"row-2","deposit_amount":20,"instrument_group":"group-b","withdrawal_amount":2},{"date":"2026-10-03","row_id":"row-3","deposit_amount":15,"instrument_group":"group-a","withdrawal_amount":3},{"date":"2026-10-04","row_id":"row-4","deposit_amount":30,"instrument_group":"group-b","withdrawal_amount":4}],"maxItems":200,"minItems":1},"field":{"enum":["deposit_amount","withdrawal_amount"],"type":"string","default":"deposit_amount"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_Zc9V4KI0omdibwYPxEMuw","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 and fills missing values in savings ledger records (deposit_amount, withdrawal_amount) for up to 200 rows, returning 2 analytical reports.","exampleAgentPrompt":"I have a savings ledger with up to 200 rows including deposit_amount and withdrawal_amount fields — some values are missing. Can you fill the missing deposit_amount values using median imputation and then compute a secondary-measure weighted mean across the rows, grouped by instrument_group?","exampleUseCases":[{"title":"Monthly savings deposit analysis","prompt":"I have my savings ledger for October with rows across group-a and group-b — some deposit_amount entries are null. Please fill those missing deposits using the median method and then compute a weighted mean of deposit_amount across all 150 rows."},{"title":"Withdrawal data gap filling","prompt":"My savings ledger has about 80 rows but several withdrawal_amount values are missing. Can you fill them in using zero imputation and then run a secondary-measure weighted mean on withdrawal_amount so I can see the weighted average across instrument groups?"},{"title":"Multi-group savings performance summary","prompt":"I've got 200 savings ledger records across multiple instrument groups with some null deposit amounts. Use mean fill for the missing values and give me a weighted mean report on deposit_amount — I need 2 reports from the same data."}],"resultDescription":"Returns 2 analytical reports per call: a secondary-measure weighted mean calculation and an explicit missing-value fill result for the specified field (deposit_amount or withdrawal_amount), computed locally across up to 200 supplied savings ledger rows. No external data is fetched or predicted.","failureModes":["More than 200 rows submitted — exceeds maxItems limit","Missing required fields (row_id, instrument_group, date) in any row — validation error","Invalid date format (not YYYY-MM-DD) — schema rejection","Invalid enum value for field or method parameters","All values for the target field are null — weighted mean may be undefined","Numeric values outside the allowed range (±1,000,000,000,000) — validation error"],"whenToPreferThis":"Choose this endpoint when you have savings ledger data (deposit/withdrawal records) with missing numeric values and need both missing-value imputation and a secondary-measure weighted mean in a single call. It is ideal for offline/batch statistical analysis of up to 200 rows at low cost ($0.01 USDC for 2 reports). Prefer this over general-purpose analytics tools when you specifically need weighted mean computation paired with structured missing-value fill on financial ledger data without any live lookup or external data dependency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:38:55.639Z","isFirstParty":false,"canonicalSlug":"savings-ledger-secondary-measure-weighted-mean-explicit-missing-value-37ac0fea"}