# Token Rule-Flag Fraction Two-Input Scenario Grid

> Token Rule-Flag Fraction Two-Input Scenario Grid 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 a grid of flagged-rules-to-evaluated-rules fraction values across two varying input dimensions for scenario analysis

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-token-flag-share-stress-grid?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-two-input-scenario-grid-99bb69ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fjZurGrRq2YFEr52fLwo3

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-two-input-scenario-grid-99bb69ee -d '<json body>'
```

Example prompt: Can you run a two-input scenario grid for our token rule-flag fraction? Use flagged_rules as the X axis with values [1, 2, 3] and evaluated_rules as the Y axis with values [10, 15, 20], with a baseline of 2 flagged rules out of 10 evaluated rules.

## When to prefer this

Choose this endpoint when you need a deterministic, precomputed grid of rule-flag fraction outcomes across two varying dimensions simultaneously — especially for compliance, audit, or risk planning scenarios where you have explicit flagged_rules and evaluated_rules counts and want to explore multiple combinations at once without running individual calculations. Not suitable for live scanning, real-time monitoring, or trade recommendations.

## Known failure modes

- evaluated_rules set to zero causes division by zero — schema enforces exclusiveMinimum:0 so this should be rejected at input
- values_x or values_y arrays exceeding 10 items are rejected
- missing required baseline fields returns a validation error
- non-numeric values in scenario arrays cause schema rejection
- negative evaluated_rules baseline value rejected by minimum:0 constraint

## How this service works

Token supplied rule-flag fraction — Two-input scenario grid: Two-input scenario grid 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 two-input scenario grid report.

## Output

Returns a two-dimensional scenario grid where each cell contains the computed flagged-rules fraction (flagged_rules / evaluated_rules) for the corresponding combination of X-axis and Y-axis input values, covering up to 10 values per axis (100 cells maximum) relative to a supplied baseline.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "field_x": {
   "enum": [
    "flagged_rules",
    "evaluated_rules"
   ],
   "type": "string",
   "default": "flagged_rules"
  },
  "field_y": {
   "enum": [
    "flagged_rules",
    "evaluated_rules"
   ],
   "type": "string",
   "default": "evaluated_rules"
  },
  "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
  },
  "values_x": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    2,
    2.2
   ],
   "maxItems": 10,
   "minItems": 1
  },
  "values_y": {
   "type": "array",
   "items": {
    "type": "number",
    "default": 1,
    "maximum": 10000000000000000,
    "minimum": -10000000000000000
   },
   "default": [
    10,
    11
   ],
   "maxItems": 10,
   "minItems": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-rule-flag-fraction-two-input-scenario-grid-99bb69ee/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)
