← Market

Experimentation · Sample Ratio Mismatch

Chi-square goodness-of-fit test of observed arm counts against expected traffic shares, with an exact binomial p-value for tiny two-arm counts and generic causes when a mismatch is flagged. Docs: https://www.brainiac.software/api/experimentation/sample-ratio-mismatch

POST https://www.brainiac.software/api/v1/experimentation/sample-ratio-mismatch

0.01 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.01 USDC · payTo 0x6428665E83F503904571104311bB78CBb29b975c · via cdp · settles direct
{
  "arms": [
    {
      "expectedShare": 0.5,
      "name": "control",
      "observed": 50000
    },
    {
      "expectedShare": 0.5,
      "name": "treatment",
      "observed": 49000
    }
  ],
  "threshold": 0.0005
}
{
  "arms": [
    {
      "deviationPct": 1.01,
      "expected": 49500,
      "name": "control",
      "observed": 50000
    },
    {
      "deviationPct": -1.01,
      "expected": 49500,
      "name": "treatment",
      "observed": 49000
    }
  ],
  "chiSquare": 10.1010101,
  "df": 1,
  "hints": [],
  "limitations": [
    "A non-significant result does not prove assignment is balanced; the default threshold 0.0005 is conservative on purpose.",
    "Pure computation on the supplied input: no events are stored and no network is called. Results are statistical calculations for human review."
  ],
  "pValue": 0.001481880775,
  "sources": [
    {
      "retrievedAt": "2026-11-14T00:00:00.000Z",
      "source": "NIST/SEMATECH e-Handbook: chi-square goodness-of-fit test",
      "status": "ok",
      "url": "https://www.itl.nist.gov/div898/handbook/eda/section3/eda35f.htm"
    }
  ],
  "srm": false,
  "threshold": 0.0005
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://www.brainiac.software/api/v1/experimentation/sample-ratio-mismatch · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "arms": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "arms supplied by the caller for this operation.",
      "example": [
        {
          "name": "control",
          "observed": 50000,
          "expectedShare": 0.5
        },
        {
          "name": "treatment",
          "observed": 49000,
          "expectedShare": 0.5
        }
      ]
    },
    "threshold": {
      "type": "number",
      "description": "threshold supplied by the caller for this operation.",
      "example": 0.0005
    }
  },
  "required": [
    "arms"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://www.brainiac.software/api/v1/experimentation/sample-ratio-mismatch' \
  -H 'content-type: application/json' -d '{"arms":[{"name":"control","observed":50000,"expectedShare":0.5},{"name":"treatment","observed":49000,"expectedShare":0.5}],"threshold":0.0005}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)