{"uid":"cap_4Ysc-G988qe7zkk5e9e6C","slug":"aggregation-checks-iqr-outlier-flags-secondary-measure-weighted-mean-52460d16","name":"Aggregation Checks — IQR Outlier Flags + Secondary-Measure Weighted Mean","description":"Aggregation checks — IQR outlier flags + Secondary-measure weighted mean: IQR outlier flags + Secondary-measure weighted mean for supplied aggregation checks records (source_sum, aggregate_sum). 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-analytics-17-177?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["row_id","dataset_group","date","source_sum","aggregate_sum"],"properties":{"date":{"type":"string","default":"","pattern":"^\\d{4}-\\d{2}-\\d{2}$","maxLength":10},"row_id":{"type":"string","default":"","maxLength":80,"minLength":1},"source_sum":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"aggregate_sum":{"type":["number","null"],"maximum":1000000000000,"minimum":-1000000000000},"dataset_group":{"type":"string","default":"","maxLength":80}},"additionalProperties":false},"default":[{"date":"2026-10-01","row_id":"row-1","source_sum":10,"aggregate_sum":1,"dataset_group":"group-a"},{"date":"2026-10-02","row_id":"row-2","source_sum":20,"aggregate_sum":2,"dataset_group":"group-b"},{"date":"2026-10-03","row_id":"row-3","source_sum":15,"aggregate_sum":3,"dataset_group":"group-a"},{"date":"2026-10-04","row_id":"row-4","source_sum":30,"aggregate_sum":4,"dataset_group":"group-b"}],"maxItems":200,"minItems":1},"field":{"enum":["source_sum","aggregate_sum"],"type":"string","default":"source_sum"}}},"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_TchcctyQLr3aEn6nhSH8R","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":"Performs IQR-based outlier detection and secondary-measure weighted mean analysis on up to 200 aggregation check records with source_sum and aggregate_sum fields.","exampleAgentPrompt":"Can you run IQR outlier detection and secondary-measure weighted mean analysis on my aggregation check records — I have about 50 rows with dataset_group, date, source_sum, and aggregate_sum fields — and flag anything that looks like an outlier in the source_sum field?","exampleUseCases":[{"title":"Flagging outliers in financial reconciliation data","prompt":"I have 80 rows of daily reconciliation data with source_sum and aggregate_sum values across two groups. Can you run IQR outlier flagging plus a weighted mean report on the source_sum field to see which rows are anomalous?"},{"title":"QA check on ETL aggregation pipeline output","prompt":"We just ran our ETL pipeline and I have 150 rows of aggregation check results by dataset_group and date. Please run IQR outlier flags and a secondary-measure weighted mean on the aggregate_sum field so I can spot anything suspicious before sign-off."},{"title":"Statistical summary of multi-group dataset aggregates","prompt":"I've got 40 aggregation check records across three groups with source_sum and aggregate_sum columns. Can you give me both an IQR outlier report and a weighted mean breakdown on source_sum?"}],"resultDescription":"Returns two independent analytical reports: (1) IQR outlier flags identifying which rows have source_sum or aggregate_sum values outside the interquartile range, and (2) a secondary-measure weighted mean computed across the supplied rows — both derived from the submitted data using local analytical engines, with no external lookups.","failureModes":["Fewer than 1 row submitted — validation error","More than 200 rows submitted — exceeds max item limit","Missing required fields (row_id, dataset_group, date, source_sum, or aggregate_sum) — schema validation failure","Invalid date format (not YYYY-MM-DD) — pattern validation error","Numeric values outside ±1,000,000,000,000 range — schema validation failure","Invalid field enum value — must be 'source_sum' or 'aggregate_sum'"],"whenToPreferThis":"Choose this endpoint when you need both IQR-based outlier flagging AND a weighted mean in a single paid call for aggregation check data (source_sum/aggregate_sum pairs), especially when your dataset is up to 200 rows and you want two reports for $0.01 USDC without any external lookups or live data dependencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:54:23.563Z","isFirstParty":false,"canonicalSlug":"aggregation-checks-iqr-outlier-flags-secondary-measure-weighted-mean-52460d16"}