{"uid":"cap_JB8ONFuM9lnXNtmAhFnx5","slug":"simulation-caches-duplicate-key-report-secondary-measure-weighted-mean-8a400d07","name":"Simulation Caches Duplicate Key Report + Secondary-Measure Weighted Mean","description":"Simulation caches — Duplicate key report + Secondary-measure weighted mean: Duplicate key report + 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-067?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_c3RTIOr48s-aJrpj8vPXe","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":"Analyzes up to 200 simulation cache records to produce two local reports: a duplicate key report and a secondary-measure weighted mean for cache_gb or simulation_seconds fields.","exampleAgentPrompt":"Check my simulation cache records for duplicate row IDs and calculate the weighted mean for cache_gb — here are my 4 rows: row-1 group-a 2026-10-01 cache_gb=10 sim_seconds=1, row-2 group-b 2026-10-02 cache_gb=20 sim_seconds=2, row-3 group-a 2026-10-03 cache_gb=15 sim_seconds=3, row-4 group-b 2026-10-04 cache_gb=30 sim_seconds=4.","exampleUseCases":[{"title":"Simulation pipeline data quality check","prompt":"I have 150 simulation cache records from last month's runs — can you find any duplicate row IDs and also compute the weighted mean for cache_gb across them?"},{"title":"Asset group cache storage analysis","prompt":"Run both a duplicate key report and a weighted mean for simulation_seconds on these simulation cache entries grouped by asset_group, I want to spot any data entry errors."},{"title":"Validate simulation dataset before reporting","prompt":"Before I submit my simulation report, check these 80 rows of cache data for duplicate keys and give me the weighted mean of cache_gb so I can flag anomalies."}],"resultDescription":"Returns two reports: (1) a duplicate key report identifying rows with repeated identifiers across the supplied simulation cache records, and (2) a weighted mean calculation for the selected numeric field (cache_gb or simulation_seconds) using a secondary-measure weighting. Both reports are computed locally from the supplied data with no external lookups.","failureModes":["Input array exceeds 200 rows — request rejected","Missing required fields (row_id, date, cache_gb, simulation_seconds, asset_group) on any row — validation error","Invalid date format (must be YYYY-MM-DD) — schema validation failure","Numeric values outside allowed range (-1e12 to 1e12) — rejected","All numeric values null for the selected field — weighted mean cannot be computed","Empty rows array — no data to process"],"whenToPreferThis":"Choose this endpoint when you need both duplicate key detection and weighted mean computation on simulation cache records (cache_gb, simulation_seconds) in a single low-cost call. Ideal when data is already on hand (no live lookup needed), the dataset is under 200 rows, and you want two analytical reports for $0.01 USDC without external API dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T00:49:08.690Z","isFirstParty":false,"canonicalSlug":"simulation-caches-duplicate-key-report-secondary-measure-weighted-mean-8a400d07"}