{"uid":"cap_1mPcwvBfZFQsCu8MbGu1f","slug":"alert-triage-secondary-measure-weighted-mean-explicit-missing-value-8e9fcf73","name":"Alert Triage — Secondary-Measure Weighted Mean + Explicit Missing-Value Fill","description":"Alert triage — Secondary-measure weighted mean + Explicit missing-value fill: Secondary-measure weighted mean + Explicit missing-value fill for supplied alert triage records (alert_count, confirmed_events). 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-security-18-187?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","control_group","date","alert_count","confirmed_events"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"alert_count":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"control_group":{"type":"string","default":"","maxLength":80},"confirmed_events":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","alert_count":10,"control_group":"group-a","confirmed_events":1},{"date":"2026-10-02","row_id":"row-2","alert_count":20,"control_group":"group-b","confirmed_events":2},{"date":"2026-10-03","row_id":"row-3","alert_count":15,"control_group":"group-a","confirmed_events":3},{"date":"2026-10-04","row_id":"row-4","alert_count":30,"control_group":"group-b","confirmed_events":4}],"maxItems":200,"minItems":1},"field":{"enum":["alert_count","confirmed_events"],"type":"string","default":"alert_count"},"method":{"enum":["zero","mean","median"],"type":"string","default":"median"}}},"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_1YIupnCoNucSeD-jJbhe-","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 fills missing values for alert triage records (alert_count, confirmed_events) across up to 200 rows, returning two analytical reports.","exampleAgentPrompt":"I have a batch of alert triage records with alert_count and confirmed_events — some rows have nulls in alert_count. Can you fill missing values using median imputation and then compute a secondary-measure weighted mean across all rows? Here's my dataset of about 50 rows across two control groups.","exampleUseCases":[{"title":"SOC alert volume weighted analysis","prompt":"I have 120 rows of daily security alert triage data with alert_count and confirmed_events per control group, and some alert_count values are missing. Fill those missing values using the mean method and compute the weighted mean of alert_count weighted by confirmed_events."},{"title":"Missing confirmed_events imputation before reporting","prompt":"My alert triage export has nulls scattered through the confirmed_events column. Can you fill those with zero and then run the weighted mean calculation so I get two clean analytical reports back?"},{"title":"Control group comparison with weighted aggregation","prompt":"I've got alert triage records for group-a and group-b over the past quarter — about 90 rows total. Some alert counts are null. Fill missing values using median and give me the secondary-measure weighted mean on confirmed_events so I can compare the two groups."}],"resultDescription":"Two analytical reports computed locally from the supplied data: (1) a secondary-measure weighted mean of the chosen field (alert_count or confirmed_events), weighted by the complementary measure, and (2) explicit missing-value fill results showing how nulls were replaced using the selected method (zero, mean, or median). No external lookups or predictions are included; results are based solely on the input rows.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — rejected with maxItems error","Invalid date format (not YYYY-MM-DD) — schema validation failure","Both target measures entirely null — weighted mean undefined or returns NaN","Invalid fill method enum value — schema rejection","Numeric values outside ±1,000,000,000,000 range — schema validation failure"],"whenToPreferThis":"Choose this endpoint when you have tabular alert triage data with alert_count and confirmed_events columns, need to handle missing values explicitly before aggregation, and want a weighted mean that uses one measure to weight the other. It is ideal for lightweight, offline statistical processing of up to 200 rows without requiring a live analytics platform. Prefer it over general analytics APIs when you need both missing-value imputation and weighted aggregation delivered together in a single low-cost call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:53:26.611Z","isFirstParty":false,"canonicalSlug":"alert-triage-secondary-measure-weighted-mean-explicit-missing-value-8e9fcf73"}