{"uid":"cap_WEmW5Gd9kwIwCdkZ1lhAY","slug":"controller-sampling-two-measure-correlation-secondary-measure-c5cde185","name":"Controller Sampling — Two-Measure Correlation + Secondary-Measure Weighted Mean","description":"Controller sampling — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + 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-181?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_wQ8S4T1yHy93z3EO--moP","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 input_latency_ms and sample_count, plus a weighted mean for a chosen secondary measure, across up to 200 controller sampling records.","exampleAgentPrompt":"I have 4 rows of controller sampling data — row-1 on 2026-10-01 in group-a with input_latency_ms=10 and sample_count=1, row-2 on 2026-10-02 in group-b with latency=20 and sample_count=2, row-3 on 2026-10-03 in group-a with latency=15 and sample_count=3, row-4 on 2026-10-04 in group-b with latency=30 and sample_count=4 — can you compute the correlation between input_latency_ms and sample_count, and also give me the weighted mean for input_latency_ms?","exampleUseCases":[{"title":"Game area latency correlation check","prompt":"I've got controller sampling records for two game areas across 10 dates, each with input_latency_ms and sample_count values — can you compute the correlation between those two measures and give me the weighted mean of input_latency_ms across all rows?"},{"title":"Controller performance regression review","prompt":"We collected 50 rows of controller telemetry with input_latency_ms and sample_count per session — run the two-measure correlation and weighted mean for sample_count on this dataset so I can see if latency and sample volume are moving together."},{"title":"QA sampling data statistical summary","prompt":"Here are 20 QA controller sampling records with row IDs, dates, game areas, input_latency_ms, and sample_count — give me both the correlation report between the two numeric measures and the weighted mean for input_latency_ms."}],"resultDescription":"Returns two analytical reports: (1) a Pearson-style correlation coefficient between input_latency_ms and sample_count across all supplied rows, and (2) a weighted mean of the selected secondary measure (input_latency_ms or sample_count), computed locally with no external lookups. Results cover up to 200 input rows.","failureModes":["Empty or missing rows array returns validation error","More than 200 rows causes rejection due to maxItems limit","Null values in both numeric fields may reduce correlation validity","Invalid date format (not YYYY-MM-DD) causes schema rejection","Missing required fields (row_id, game_area, date, input_latency_ms, sample_count) causes row rejection","Field enum value not in ['input_latency_ms','sample_count'] causes error"],"whenToPreferThis":"Choose this endpoint when you have tabular controller sampling data with input_latency_ms and sample_count columns and need both a two-measure correlation and a weighted mean in a single cheap call ($0.01 USDC). Prefer it over general-purpose analytics when your dataset is under 200 rows and you want a bundled pair of statistical reports without setting up a full data pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:41:51.794Z","isFirstParty":false,"canonicalSlug":"controller-sampling-two-measure-correlation-secondary-measure-c5cde185"}