{"uid":"cap_-XZ4-xDEVZ5IclRc1DpQR","slug":"token-supplied-rule-flag-fraction-target-gap-calculation-71c7194c","name":"Token Supplied Rule-Flag Fraction — Target Gap Calculation","description":"Token supplied rule-flag fraction — Target gap calculation: Target gap calculation 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 target gap calculation report.","url":"https://market.datapackvibe.com/x402/assistant-bx-token-flag-share-target-gap?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"number","default":100,"maximum":1000000000000000000,"minimum":-1000000000000000000},"values":{"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_xuobpqcwQRrzX5eJNxlOO","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":"Calculates the gap between the current flagged-rule fraction of supplied token observations and a specified target value, returning a deterministic report or threshold verdict.","exampleAgentPrompt":"Calculate the target gap for my token's rule-flag fraction — I have 3 flagged rules out of 15 evaluated, and my target is 50.","exampleUseCases":[{"title":"Compliance threshold gap check","prompt":"I have a token with 4 flagged rules out of 20 evaluated rules and I want to know how far that fraction is from a target of 75 — can you run the target gap calculation?"},{"title":"Monitoring flag rate against a KPI","prompt":"Our team tracks a target rule-flag fraction of 30 for token observations. Right now we have 6 flagged rules out of 25 evaluated. What's the gap to our target?"},{"title":"Automated rule audit verdict","prompt":"Run a target gap calculation for a token that has 1 flagged rule out of 10 evaluated rules, with a target of 20, and tell me whether it meets the threshold."}],"resultDescription":"A bounded target gap calculation report showing the current flagged-rule fraction derived from the supplied flagged_rules and evaluated_rules counts, the specified target value, and the computed gap between them. The result is a deterministic calculation or a caller-threshold verdict — not a live market scan, safety proof, or trade recommendation.","failureModes":["evaluated_rules is zero or missing (exclusiveMinimum enforced — will fail validation)","flagged_rules or evaluated_rules exceeds the maximum bound of 10,000,000,000,000,000","target value outside the allowed range (-1e18 to 1e18)","malformed JSON body or missing required nested properties","Payment not processed — x402 payment required before response is returned"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, single-call computation of the gap between a token's current rule-flag fraction and a specific numeric target. It is purpose-built for token-observation rule flagging analytics within a shared multi-profile engine, and is preferable to building custom fraction-gap logic when a cheap ($0.01 USDC), reproducible, bounded report is sufficient. Not suitable for live market scanning, predictive modeling, or safety auditing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:55:31.337Z","isFirstParty":false,"canonicalSlug":"token-supplied-rule-flag-fraction-target-gap-calculation-71c7194c"}