{"uid":"cap_pmN6BrmaynTlr9adDtHAu","slug":"aggregation-checks-string-normalisation-secondary-measure-weighted-mean-5ecccc5e","name":"Aggregation Checks — String Normalisation + Secondary-Measure Weighted Mean","description":"Aggregation checks — String normalisation + Secondary-measure weighted mean: String normalisation + 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-034?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_0mpEN_ASE_cd3X4c83VN2","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 string normalisation and secondary-measure weighted mean calculations on up to 200 supplied aggregation check records containing source_sum and aggregate_sum fields, returning 2 independent analytical reports.","exampleAgentPrompt":"Can you run string normalisation and a secondary-measure weighted mean on these aggregation check rows? I have 4 records — group-a on 2026-10-01 with source_sum 10 and aggregate_sum 1, group-b on 2026-10-02 with source_sum 20 and aggregate_sum 2, group-a on 2026-10-03 with source_sum 15 and aggregate_sum 3, and group-b on 2026-10-04 with source_sum 30 and aggregate_sum 4 — and I want the analysis run on the source_sum field.","exampleUseCases":[{"title":"Reconcile monthly revenue aggregation data","prompt":"I have 50 rows of monthly revenue data with source_sum and aggregate_sum values across two dataset groups — can you run string normalisation and a weighted mean on the source_sum field to spot any aggregation inconsistencies?"},{"title":"Data quality audit for BI pipeline","prompt":"Before I push these 120 aggregation check records into our BI pipeline, can you normalise the string fields and compute a secondary-measure weighted mean on aggregate_sum so I have two clean analytical reports to review?"},{"title":"Compare group-level weighted averages","prompt":"I've got audit records from group-alpha and group-beta across Q3 dates with source_sum and aggregate_sum columns — run the string normalisation and weighted mean reports on source_sum so I can compare weighted averages between the two groups."}],"resultDescription":"Returns 2 independent analytical reports: one covering string normalisation results across the supplied rows and one covering the secondary-measure weighted mean calculation for the selected field (source_sum or aggregate_sum), computed locally without any external lookups or predictions. Covers up to 200 input rows per call.","failureModes":["Input array is empty or exceeds 200 rows — validation error returned","Required fields (row_id, dataset_group, date, source_sum, aggregate_sum) missing from any row — schema validation failure","Date field does not match YYYY-MM-DD pattern — rejected with pattern error","Numeric values outside ±1,000,000,000,000 range — rejected","Invalid field enum value (not source_sum or aggregate_sum) — rejected","Payment not included or insufficient USDC — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to apply both string normalisation and weighted mean analytics together on batch aggregation check data (up to 200 rows) in a single low-cost call. It is ideal for reconciliation workflows comparing source_sum against aggregate_sum across date-grouped records where no external data lookups or predictions are needed. Prefer this over general-purpose analytics services when you specifically need the dual-report output (normalisation + weighted mean) in one transaction for under $0.01 USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:45:58.841Z","isFirstParty":false,"canonicalSlug":"aggregation-checks-string-normalisation-secondary-measure-weighted-mean-5ecccc5e"}