{"uid":"cap_oOUutWERFyTDnSs95_m_F","slug":"simulation-caches-secondary-measure-weighted-mean-keyed-dataset-e28ca2c2","name":"Simulation Caches — Secondary-Measure Weighted Mean + Keyed Dataset Comparison","description":"Simulation caches — Secondary-measure weighted mean + Keyed dataset comparison: Secondary-measure weighted mean + Keyed dataset comparison for supplied simulation caches records (cache_gb, simulation_seconds). 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-creative-08-186?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","asset_group","date","cache_gb","simulation_seconds"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"cache_gb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"asset_group":{"type":"string","default":"","maxLength":80},"simulation_seconds":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","cache_gb":10,"asset_group":"group-a","simulation_seconds":1},{"date":"2026-10-02","row_id":"row-2","cache_gb":20,"asset_group":"group-b","simulation_seconds":2},{"date":"2026-10-03","row_id":"row-3","cache_gb":15,"asset_group":"group-a","simulation_seconds":3},{"date":"2026-10-04","row_id":"row-4","cache_gb":30,"asset_group":"group-b","simulation_seconds":4}],"maxItems":200,"minItems":1},"field":{"enum":["cache_gb","simulation_seconds"],"type":"string","default":"cache_gb"},"other":{"type":"array","items":{"type":"object","required":["row_id","asset_group","date","cache_gb","simulation_seconds"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"cache_gb":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"asset_group":{"type":"string","default":"","maxLength":80},"simulation_seconds":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","cache_gb":10,"asset_group":"group-a","simulation_seconds":1},{"date":"2026-10-02","row_id":"row-2","cache_gb":21,"asset_group":"group-b","simulation_seconds":2},{"date":"2026-10-03","row_id":"row-3","cache_gb":17,"asset_group":"group-a","simulation_seconds":3},{"date":"2026-10-04","row_id":"row-4","cache_gb":33,"asset_group":"group-b","simulation_seconds":4}],"maxItems":200,"minItems":0}}},"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_vyB-c4Kt7Z-cuIIIC2iTO","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 performs a keyed dataset comparison on user-supplied simulation cache records (cache_gb, simulation_seconds) for up to 200 rows.","exampleAgentPrompt":"I have two sets of simulation cache records with cache_gb and simulation_seconds columns — can you compute the weighted mean of cache_gb (weighted by simulation_seconds) across these rows, and also compare the two datasets row-by-row using the row_id as the key? Here's dataset one: group-a had 10 GB and 1s on 2026-10-01, group-b had 20 GB and 2s on 2026-10-02; and dataset two: group-a had 10 GB and 1s on 2026-10-01, group-b had 21 GB and 2s on 2026-10-02.","exampleUseCases":[{"title":"Weighted cache usage across simulation runs","prompt":"I have 50 simulation cache records with cache_gb and simulation_seconds for each run — compute the weighted mean of cache_gb using simulation_seconds as the weight, and compare them against last month's baseline dataset using the row_id as the key."},{"title":"Comparing two simulation environments by cache footprint","prompt":"Can you compare two sets of simulation cache data side by side? The first set is our staging environment and the second is production, both with the same row IDs — I want the weighted mean of simulation_seconds and a keyed comparison showing any differences."},{"title":"Asset group performance delta analysis","prompt":"I've got simulation cache records across two asset groups (group-a and group-b) for October 2026 — please compute the secondary-measure weighted mean for cache_gb and compare this week's dataset to last week's using row_id as the key to spot any changes."}],"resultDescription":"Returns two analytical reports: (1) a secondary-measure weighted mean computed over the selected field (cache_gb or simulation_seconds) across the supplied rows, and (2) a keyed dataset comparison highlighting differences between the primary and secondary datasets, matched on row_id. No external data is fetched; all computation is performed locally on the supplied data.","failureModes":["Rows array exceeds 200 items — request rejected","Missing required fields (row_id, asset_group, date, cache_gb, simulation_seconds) — validation error","Invalid date format (must match YYYY-MM-DD) — schema validation failure","Null values in cache_gb or simulation_seconds may affect weighted mean calculation","Mismatched row_ids between primary and secondary datasets may reduce comparison coverage","Numeric values outside allowed range trigger schema rejection"],"whenToPreferThis":"Choose this endpoint when you have pre-collected simulation cache records (cache_gb, simulation_seconds) and need both a weighted mean computation and a keyed comparison between two datasets in a single call, at low cost ($0.01 USDC for both reports). Ideal for batch offline analytics on up to 200 rows where no live data lookup or external enrichment is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:49:10.656Z","isFirstParty":false,"canonicalSlug":"simulation-caches-secondary-measure-weighted-mean-keyed-dataset-e28ca2c2"}