{"uid":"cap_hjkWMkbdRxVogXcugog4m","slug":"token-rule-flag-fraction-weighted-result-mean-c63b3597","name":"Token Rule-Flag Fraction — Weighted Result Mean","description":"Token supplied rule-flag fraction — Weighted result mean: Weighted result mean for Token supplied rule-flag fraction. Supplied token observations only. Deterministic calculation or caller-threshold verdict, not a live scan, safety proof or trade recommendation. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-flag-share-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["flagged_rules","evaluated_rules"],"properties":{"flagged_rules":{"type":"number","default":2,"maximum":10000000000000000,"minimum":0},"evaluated_rules":{"type":"number","default":10,"maximum":10000000000000000,"minimum":0,"exclusiveMinimum":0}},"additionalProperties":false},"default":[{"flagged_rules":2,"evaluated_rules":10},{"flagged_rules":2.2,"evaluated_rules":11},{"flagged_rules":2,"evaluated_rules":10},{"flagged_rules":2.2,"evaluated_rules":11}],"maxItems":200,"minItems":2},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":2}}},"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_ofwadBm1quDTwmH3sWZaG","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 the weighted mean of the flagged-rules fraction (flagged_rules / evaluated_rules) across multiple token observations supplied by the caller.","exampleAgentPrompt":"Calculate the weighted mean of my token rule-flag fractions across these four observations: rows with (2 flagged out of 10), (2.2 flagged out of 11), (2 flagged out of 10), (2.2 flagged out of 11), using weights 1, 2, 1, 2.","exampleUseCases":[{"title":"Compliance dashboard aggregate score","prompt":"I have 5 token batches with different numbers of flagged and evaluated rules — weights are 3, 1, 2, 4, 2 — can you give me the single weighted mean flag-rate across all of them?"},{"title":"Risk-weighted rule audit summary","prompt":"Here are 3 audit periods with flagged rule counts and total evaluated rules. Period 1 has 5 flagged out of 50, period 2 has 8 out of 40, period 3 has 2 out of 30. Weight them 1, 3, 2 and give me the weighted average flag fraction."},{"title":"Comparing token cohort compliance","prompt":"I want to compare how compliant two token cohorts are on average — cohort A had 10 flagged out of 100 rules and cohort B had 15 flagged out of 120, weighted equally. What's the weighted mean flag share?"}],"resultDescription":"A single weighted mean value representing the average fraction of flagged rules out of evaluated rules across all supplied observation rows, computed deterministically using the provided weights. The report reflects a bounded statistical summary, not a live scan or safety verdict.","failureModes":["Fewer than 2 rows supplied — minItems validation error","Weight array length does not match rows array length — schema mismatch error","evaluated_rules value of 0 in any row — violates exclusiveMinimum constraint and causes rejection","Row count exceeds 200 — maxItems validation error","Non-numeric or negative values in flagged_rules or evaluated_rules — schema validation error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, weighted average of rule-flag fractions across multiple token or compliance observations and want a single aggregated mean rather than per-row results. Prefer it when you already have structured rows of (flagged_rules, evaluated_rules) counts and custom weights to apply. It is not suitable for live scanning, real-time safety assessment, or trade recommendations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:55:33.566Z","isFirstParty":false,"canonicalSlug":"token-rule-flag-fraction-weighted-result-mean-c63b3597"}