{"uid":"cap_d_SIFbdIPEE51u8mr2A37","slug":"simulation-caches-two-measure-correlation-secondary-measure-weighted-63010e7f","name":"Simulation Caches Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Simulation caches — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean 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-181?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"}}},"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_LuTQnT6Hti9Ik61ZJKZIZ","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 Pearson correlation between cache_gb and simulation_seconds, plus a weighted mean of a secondary measure, for up to 200 simulation cache records.","exampleAgentPrompt":"I have a set of simulation cache records with cache_gb and simulation_seconds values — can you run a correlation between those two measures and also compute a weighted mean of cache_gb for up to 4 rows: row-1 on 2026-10-01 group-a with cache_gb=10 simulation_seconds=1, row-2 on 2026-10-02 group-b with cache_gb=20 simulation_seconds=2, row-3 on 2026-10-03 group-a with cache_gb=15 simulation_seconds=3, and row-4 on 2026-10-04 group-b with cache_gb=30 simulation_seconds=4?","exampleUseCases":[{"title":"Simulation performance correlation check","prompt":"I've got 50 rows of simulation cache logs with cache sizes in GB and run times in seconds — can you calculate the correlation between cache_gb and simulation_seconds and give me the weighted mean of cache_gb across all rows?"},{"title":"Asset group cache efficiency analysis","prompt":"Here are 120 simulation cache records grouped by asset_group across several dates, each with cache_gb and simulation_seconds — please compute the correlation between those two measures and the weighted mean of simulation_seconds so I can see if bigger caches actually speed things up."},{"title":"Spot-check two metrics on small cache sample","prompt":"I have 8 simulation cache entries from this week for group-a and group-b — run the two-measure correlation between cache_gb and simulation_seconds and give me the weighted mean for cache_gb so I can sanity-check the numbers before our review."}],"resultDescription":"Returns two analytical reports: (1) the Pearson correlation coefficient between cache_gb and simulation_seconds across the submitted rows, and (2) the weighted mean of the selected secondary measure (cache_gb or simulation_seconds). Both computed locally using shared analytical engines, no external lookups.","failureModes":["Empty rows array returns validation error","More than 200 rows triggers maxItems constraint rejection","Null values in both cache_gb and simulation_seconds may reduce correlation sample size","Invalid date format (not YYYY-MM-DD) causes schema validation failure","row_id missing or empty string triggers required field error","field enum value other than 'cache_gb' or 'simulation_seconds' rejected","Payment of 0.01 USDC required; missing x402 payment header returns 402"],"whenToPreferThis":"Choose this endpoint when you need two simultaneous statistical reports — correlation and weighted mean — on simulation cache data (cache_gb vs simulation_seconds) without any external data enrichment or prediction. Ideal for batch statistical summarization of up to 200 in-memory simulation records at minimal cost ($0.01 USDC for both reports). Prefer this over general-purpose analytics APIs when your data is already structured with the exact row schema and you want fast, local computation with no side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:57:39.451Z","isFirstParty":false,"canonicalSlug":"simulation-caches-two-measure-correlation-secondary-measure-weighted-63010e7f"}