{"uid":"cap_VN06fflAobCOalKCqGVPp","slug":"token-rule-flag-fraction-before-after-comparison-f9401a2f","name":"Token Rule-Flag Fraction Before/After Comparison","description":"Token supplied rule-flag fraction — Before and after comparison: Before and after comparison 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 before and after comparison report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-flag-share-compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"object","default":{"flagged_rules":2.2,"evaluated_rules":11},"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},"before":{"type":"object","default":{"flagged_rules":2,"evaluated_rules":10},"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}}},"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_jwLtTMbvTpmnRXASZa9fQ","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 and compares the fraction of flagged rules to evaluated rules for a token, returning a before-and-after delta report.","exampleAgentPrompt":"Compare my token's rule-flag fraction: before the update it had 2 flagged rules out of 10 evaluated, and after it has 2.2 flagged rules out of 11 evaluated — give me a before-and-after comparison report.","exampleUseCases":[{"title":"Post-remediation compliance check","prompt":"My token had 5 flagged rules out of 20 evaluated before we made changes, and now it has 3 flagged out of 20 — can you run the before-and-after rule-flag fraction comparison so I can see if we actually improved?"},{"title":"Token policy update impact assessment","prompt":"We updated our token's rule set and I want to see how the flag fraction changed: previously 8 rules were flagged out of 40 evaluated, now 6 are flagged out of 45 evaluated. Can you calculate the before and after comparison?"},{"title":"Monitoring flag ratio drift over time","prompt":"Check whether our token's flagged rule share has gotten worse — it used to have 1 flagged rule out of 15 evaluated, and the latest snapshot shows 4 flagged out of 15. Run a before-and-after comparison report for me."}],"resultDescription":"Returns a structured before-and-after comparison report containing the rule-flag fraction (flagged_rules / evaluated_rules) for both the before and after snapshots, the delta between them, and a deterministic verdict or threshold-based assessment indicating whether the fraction improved, worsened, or stayed the same.","failureModes":["evaluated_rules is 0 or missing — division by zero, request rejected","flagged_rules or evaluated_rules exceeds maximum bound (10^16) — validation error","Missing required before or after object — 400 bad request","Non-numeric values for rule counts — schema validation failure","Payment not included or insufficient — x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic, low-cost ($0.01 USDC) point-in-time comparison of a token's rule-flag fraction across two snapshots (before and after). It is not a live scan or safety proof — prefer it for auditing the impact of rule changes, policy updates, or remediation efforts on a token's flagged-rule ratio, rather than for real-time monitoring or comprehensive token security analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:57:18.286Z","isFirstParty":false,"canonicalSlug":"token-rule-flag-fraction-before-after-comparison-f9401a2f"}