{"uid":"cap_0sgnEAjwuo6yjVu2YOLXf","slug":"controller-sampling-exact-row-deduplication-secondary-measure-84ee852d","name":"Controller Sampling — Exact Row Deduplication + Secondary-Measure Weighted Mean","description":"Controller sampling — Exact row deduplication + Secondary-measure weighted mean: Exact row deduplication + Secondary-measure weighted mean for supplied controller sampling records (input_latency_ms, sample_count). 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-game-15-051?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","game_area","date","input_latency_ms","sample_count"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"game_area":{"type":"string","default":"","maxLength":80},"sample_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"input_latency_ms":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","game_area":"group-a","sample_count":1,"input_latency_ms":10},{"date":"2026-10-02","row_id":"row-2","game_area":"group-b","sample_count":2,"input_latency_ms":20},{"date":"2026-10-03","row_id":"row-3","game_area":"group-a","sample_count":3,"input_latency_ms":15},{"date":"2026-10-04","row_id":"row-4","game_area":"group-b","sample_count":4,"input_latency_ms":30}],"maxItems":200,"minItems":1},"field":{"enum":["input_latency_ms","sample_count"],"type":"string","default":"input_latency_ms"}}},"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_GtYC95ZdBxX8wWRi45a1H","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":"Deduplicates controller sampling rows and computes a sample-count-weighted mean of input latency (or another numeric measure) across up to 200 records.","exampleAgentPrompt":"I have controller sampling records with input latency and sample counts across a few game areas — can you deduplicate the rows exactly and then compute the sample-count weighted mean of input_latency_ms? Here are the rows: row-1, 2026-10-01, group-a, latency 10ms, 1 sample; row-2, 2026-10-02, group-b, latency 20ms, 2 samples; row-3, 2026-10-03, group-a, latency 15ms, 3 samples.","exampleUseCases":[{"title":"Latency QA for game controller pipeline","prompt":"I've got 150 controller sampling records from our game's input pipeline — some rows are exact duplicates. Can you deduplicate them and give me the sample-count weighted mean of input_latency_ms so I know the true average latency across all game areas?"},{"title":"Comparing input latency across game zones","prompt":"Here are our controller sampling records across group-a and group-b game areas with input_latency_ms and sample_count fields. Remove any exact duplicate rows and compute the weighted mean of input_latency_ms using sample_count as the weight."},{"title":"Cleaning raw controller data before reporting","prompt":"Before I build my weekly controller performance report, I need to deduplicate this batch of up to 200 raw controller sampling rows and get a weighted average of sample_count using input_latency_ms as the secondary measure — can you run both analyses?"}],"resultDescription":"Returns two analytical reports: (1) an exact row deduplication report identifying and removing duplicate controller sampling records, and (2) a secondary-measure weighted mean computation of the selected field (input_latency_ms or sample_count) weighted by the other measure — both derived from the supplied rows using local analytical engines, with no external lookups.","failureModes":["More than 200 rows submitted — exceeds maxItems limit, request rejected","Missing required fields (row_id, game_area, date, input_latency_ms, sample_count) cause validation errors","Invalid date format (not YYYY-MM-DD) causes schema rejection","Null or out-of-range numeric values for input_latency_ms or sample_count may affect weighted mean computation","Empty rows array (minItems: 1 not met) causes rejection","Invalid field enum value (must be input_latency_ms or sample_count)"],"whenToPreferThis":"Choose this endpoint when you have raw controller sampling data (with input_latency_ms and sample_count fields) that may contain exact duplicate rows and you need both a cleaned dataset and a weighted mean statistic in a single $0.01 call. It is best suited for game performance analytics pipelines where input latency records are collected across multiple game areas and dates. Prefer this over general-purpose deduplication tools when you specifically need the secondary-measure weighted mean computed alongside deduplication without any external data enrichment or live lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:31:43.654Z","isFirstParty":false,"canonicalSlug":"controller-sampling-exact-row-deduplication-secondary-measure-84ee852d"}