Calibration Court · Calibrate Labels
Paid (x402, USDC on Base). Fit isotonic calibration on YOUR labelled outcomes ({p,y} pairs) and recalibrate the given probabilities. Statele
price
0.050 USDC
rail
Base
facilitator
OMNIGATE
method
POST
endpoint https://mcp-x402.onrender.com/gate/calibration-court/api/v1/calibrate-labels
payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2
asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
indexed 2026-10-25T20:10:49.000Z
Live 402 challenge
Hits the real endpoint without paying and shows exactly what it demands. Nothing is charged.
Pay from your agent
import { wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.BUYER_PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, { schemes: [{ network: "eip155:8453", client: new ExactEvmScheme(signer) }] });
const res = await pay("https://mcp-x402.onrender.com/gate/calibration-court/api/v1/calibrate-labels", { method: "POST", headers: { "content-type": "application/json" }, body: JSON.stringify([ { "p": 0.9, "y": 1 }, { "p": 0.2, "y": 0 } ]) });
console.log(await res.json(), res.headers.get("PAYMENT-RESPONSE"));Example input
[
{
"p": 0.9,
"y": 1
},
{
"p": 0.2,
"y": 0
}
]Example output
{
"sample": {
"n": 250,
"status": "ok",
"base_rate": 0.42,
"brier": 0.18,
"ece": 0.03
},
"results": [
{
"p_raw": 0.65,
"p_calibrated": 0.57,
"ci95": [
0.5,
0.64
],
"support_n": 48,
"sample_n": 250,
"status": "ok"
}
],
"note": "Calibration is fitted on the supplied labelled examples only and does not transfer to other distributions."
}