# Token Rule-Flag Fraction — Named Scenario Comparison

> Token Rule-Flag Fraction — Named Scenario Comparison is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Computes and compares the fraction of flagged rules to evaluated rules for a token across named what-if scenarios against a baseline, returning deterministic verdicts.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-flag-share-scenario?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-rule-flag-fraction-named-scenario-comparison-bb3b6946
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f-vIPGHVYkj4CC63f4N-J

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability token-rule-flag-fraction-named-scenario-comparison-bb3b6946 -d '<json body>'
```

Example prompt: Compare my token's rule-flag fraction across two named scenarios: baseline has 3 flagged rules out of 15 evaluated, then scenario 'Higher Flags' with 5 flagged rules and scenario 'Fewer Rules' with 10 evaluated rules — give me a named scenario comparison report.

## When to prefer this

Choose this endpoint when you need a deterministic, reproducible calculation of a token's rule-flag fraction across multiple named what-if scenarios compared to a known baseline — especially when you want labelled scenario reports rather than a single-point calculation. Prefer this over generic compliance scanners when you need offline, non-live, caller-defined scenario comparisons at low cost ($0.01 USDC per report).

## Known failure modes

- evaluated_rules set to 0 (violates exclusiveMinimum constraint, returns validation error)
- scenarios array empty or exceeding 20 items
- scenario label exceeds 80 characters or is empty
- overrides object has no properties (minProperties:1 violated)
- flagged_rules or evaluated_rules values exceed maximum threshold
- missing required baseline fields
- payment failure or insufficient USDC balance

## How this service works

Token supplied rule-flag fraction — Named scenario comparison: Named scenario 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 named scenario comparison report.

## Output

A bounded named scenario comparison report showing the rule-flag fraction (flagged_rules / evaluated_rules) for the baseline and each named scenario, along with delta values and deterministic verdicts indicating how each scenario compares to the baseline. Not a live scan, safety proof, or trade recommendation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "baseline": {
   "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
  },
  "scenarios": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "label",
     "overrides"
    ],
    "properties": {
     "label": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "overrides": {
      "type": "object",
      "properties": {
       "flagged_rules": {
        "type": "number",
        "default": 2,
        "maximum": 10000000000000000,
        "minimum": 0
       },
       "evaluated_rules": {
        "type": "number",
        "default": 10,
        "maximum": 10000000000000000,
        "minimum": 0,
        "exclusiveMinimum": 0
       }
      },
      "minProperties": 1,
      "additionalProperties": false
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "label": "Supplied alternative",
     "overrides": {
      "flagged_rules": 2.2
     }
    }
   ],
   "maxItems": 20,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-rule-flag-fraction-named-scenario-comparison-bb3b6946/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
