Skip to main content
Glama

WAI Quantum job service

Measure logical failure rates over distances

qec_threshold
Read-onlyIdempotent

Measure logical failure rates over distances and physical error rates: family surface at circuit level (decoders matching, correlated or union_find; the code model P(d) = a·(p/p*)^((d+1)/2) per round fitted to the points), or color, toric or surface_capacity at code capacity. Each point gives its shots, failures, rate and standard error; below_threshold says, at each p, whether every larger distance failed less. Sealed with the service's key. Report rates with their errors: a crossing measured on few shots is not a threshold.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "qec_threshold"
  }
}

Input Schema

NameRequiredDescriptionDefault
pNoPhysical error rates.
seedNo
shotsNoShots at each point (default 10000).
familyNosurface (circuit level, the default) or a code at code capacity.
roundsNosurface: rounds (default the distance).
decoderNosurface: the decoder (default matching).
distancesNoOdd distances (default 3, 5, 7).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "An error-correction answer as every host gives it (engine::qec: qec_code, qec_decode and qec_threshold on both servers, wai-quantum qec, POST /v1/qec/*, the Studio and Python): the request, and the result sealed in a job's form. A code with its distance certificate (or a given certificate checked); a syndrome, an error or a circuit's detectors decoded, or shots sampled and decoded; logical failure rates over distances and physical rates. A result names the engine that made it and this schema (engine and schema). docs/qec.md explains each.",
      -    "properties": {
      -      "request": {
      -        "description": "The call's request, as given.",
      -        "type": "object"
      -      },
      -      "result": {
      -        "anyOf": [
      -          {
      -            "description": "A code: its checks and stabilizers, k, its layout, the decoders it takes, and its distance certificate (or a given one's check).",
      -            "properties": {
      -              "certificate": {
      -                "description": "A code's distance certificate (quantum_distance): in each sector, a witness logical of the least weight found and every lighter support ruled out by an exhaustive search over connected supports, re-checkable node for node; the code's families hash, the search's bound, the symmetries checked and used, and its reading. Given back to qec_code, it is checked against the code.",
      -                "properties": {
      -                  "bound": {
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  },
      -                  "code": {
      -                    "type": "string"
      -                  },
      -                  "distance": {
      -                    "description": "The distance, when both sectors settle it; null when the search stopped at its bound first.",
      -                    "type": [
      -                      "integer",
      -                      "null"
      -                    ]
      -                  },
      -                  "families": {
      -                    "description": "BLAKE3 of the code's check families, in hex.",
      -                    "type": "string"
      -                  },
      -                  "format": {
      -                    "const": "wai.quantum.distance/1"
      -                  },
      -                  "k": {
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "method": {
      -                    "type": "string"
      -                  },
      -                  "n": {
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  },
      -                  "orbits": {
      -                    "type": [
      -                      "integer",
      -                      "array",
      -                      "null"
      -                    ]
      -                  },
      -                  "reading": {
      -                    "type": "string"
      -                  },
      -                  "symmetries": {
      -                    "type": [
      -                      "integer",
      -                      "array",
      -                      "null"
      -                    ]
      -                  },
      -                  "x": {
      -                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      -                    "properties": {
      -                      "distance": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "no_logical_below": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "nodes": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "witness": {
      -                        "items": {
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "type": [
      -                          "array",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "z": {
      -                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      -                    "properties": {
      -                      "distance": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "no_logical_below": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "nodes": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "witness": {
      -                        "items": {
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "type": [
      -                          "array",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  }
      -                },
      -                "required": [
      -                  "format",
      -                  "code",
      -                  "n",
      -                  "k",
      -                  "distance",
      -                  "x",
      -                  "z"
      -                ],
      -                "title": "wai.quantum.distance/1",
      -                "type": "object"
      -              },
      -              "check": {
      -                "description": "A given certificate's check: its witnesses, and the search run again.",
      -                "properties": {
      -                  "search_reproduced": {
      -                    "type": "boolean"
      -                  },
      -                  "verified": {
      -                    "type": "boolean"
      -                  },
      -                  "why": {
      -                    "type": "string"
      -                  },
      -                  "witnesses": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "code": {
      -                "properties": {
      -                  "checks": {
      -                    "type": "array"
      -                  },
      -                  "colors": {
      -                    "type": "array"
      -                  },
      -                  "decoders": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "families_hash": {
      -                    "type": "string"
      -                  },
      -                  "family": {
      -                    "type": "string"
      -                  },
      -                  "k": {
      -                    "type": "integer"
      -                  },
      -                  "layout": {
      -                    "type": "object"
      -                  },
      -                  "n": {
      -                    "type": "integer"
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  },
      -                  "nominal_distance": {
      -                    "type": "integer"
      -                  },
      -                  "sectors": {
      -                    "type": "string"
      -                  },
      -                  "stabs": {
      -                    "type": "array"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "engine": {
      -                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -                "properties": {
      -                  "name": {
      -                    "const": "wai-quantum"
      -                  },
      -                  "version": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "version"
      -                ],
      -                "type": "object"
      -              },
      -              "ok": {
      -                "const": true
      -              },
      -              "receipt": {
      -                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      -                "properties": {
      -                  "alg": {
      -                    "const": "ed25519"
      -                  },
      -                  "canon": {
      -                    "const": "rfc8785",
      -                    "description": "The canonical form the digest is taken over."
      -                  },
      -                  "digest": {
      -                    "description": "The digest signed, 32 bytes in lower-case hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "pattern": "^[0-9a-f]{64}$",
      -                    "type": "string"
      -                  },
      -                  "key": {
      -                    "description": "The signing key, 32 bytes in lower-case hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "pattern": "^[0-9a-f]{64}$",
      -                    "type": "string"
      -                  },
      -                  "signature": {
      -                    "description": "The signature, 64 bytes in lower-case hex.",
      -                    "maxLength": 128,
      -                    "minLength": 128,
      -                    "pattern": "^[0-9a-f]{128}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "alg",
      -                  "canon",
      -                  "key",
      -                  "digest",
      -                  "signature"
      -                ],
      -                "title": "wai.quantum.receipt/2",
      -                "type": "object"
      -              },
      -              "schema": {
      -                "const": "wai.quantum.qec/1"
      -              }
      -            },
      -            "required": [
      -              "ok",
      -              "code"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "description": "A decode: at code capacity the syndrome, the correction and whether it explains the syndrome (and with an error, its residual); at circuit level the model's size, the fired detectors and the observables predicted, or the shots sampled and their failure rate.",
      -            "properties": {
      -              "code": {
      -                "type": "string"
      -              },
      -              "correction": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "decoder": {
      -                "type": "string"
      -              },
      -              "detail": {
      -                "additionalProperties": true,
      -                "description": "The decoder's own: its passes, its convergence, its windows.",
      -                "type": "object"
      -              },
      -              "detectors": {
      -                "type": "integer"
      -              },
      -              "engine": {
      -                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -                "properties": {
      -                  "name": {
      -                    "const": "wai-quantum"
      -                  },
      -                  "version": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "version"
      -                ],
      -                "type": "object"
      -              },
      -              "error": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "explains": {
      -                "type": "boolean"
      -              },
      -              "failures": {
      -                "type": "integer"
      -              },
      -              "fired": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "mechanisms": {
      -                "type": "integer"
      -              },
      -              "observables": {
      -                "type": "integer"
      -              },
      -              "predicted": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "rate": {
      -                "type": "number"
      -              },
      -              "receipt": {
      -                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      -                "properties": {
      -                  "alg": {
      -                    "const": "ed25519"
      -                  },
      -                  "canon": {
      -                    "const": "rfc8785",
      -                    "description": "The canonical form the digest is taken over."
      -                  },
      -                  "digest": {
      -                    "description": "The digest signed, 32 bytes in lower-case hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "pattern": "^[0-9a-f]{64}$",
      -                    "type": "string"
      -                  },
      -                  "key": {
      -                    "description": "The signing key, 32 bytes in lower-case hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "pattern": "^[0-9a-f]{64}$",
      -                    "type": "string"
      -                  },
      -                  "signature": {
      -                    "description": "The signature, 64 bytes in lower-case hex.",
      -                    "maxLength": 128,
      -                    "minLength": 128,
      -                    "pattern": "^[0-9a-f]{128}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "alg",
      -                  "canon",
      -                  "key",
      -                  "digest",
      -                  "signature"
      -                ],
      -                "title": "wai.quantum.receipt/2",
      -                "type": "object"
      -              },
      -              "residual": {
      -                "properties": {
      -                  "logical": {
      -                    "type": "boolean"
      -                  },
      -                  "qubits": {
      -                    "items": {
      -                      "type": "integer"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "reading": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "schema": {
      -                "const": "wai.quantum.qec/1"
      -              },
      -              "seed": {
      -                "type": "integer"
      -              },
      -              "shots": {
      -                "type": "integer"
      -              },
      -              "stderr": {
      -                "type": "number"
      -              },
      -              "syndrome": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "weight": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "decoder"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "description": "Logical failure rates: each point's shots, failures, rate and standard error, the code model fitted at circuit level, and at each physical rate whether every larger distance failed less.",
      -            "properties": {
      -              "below_threshold": {
      -                "items": {
      -                  "properties": {
      -                    "distance_helps": {
      -                      "type": "boolean"
      -                    },
      -                    "p": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "decoder": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "engine": {
      -                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -                "properties": {
      -                  "name": {
      -                    "const": "wai-quantum"
      -                  },
      -                  "version": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "version"
      -                ],
      -                "type": "object"
      -              },
      -              "family": {
      -                "type": "string"
      -              },
      -              "fit": {
      -                "properties": {
      -                  "model": {
      -                    "type": "string"
      -                  },
      -                  "prefactor": {
      -                    "type": "number"
      -                  },
      -                  "threshold": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": [
      -                  "object",
      -                  "null"
      -                ]
      -              },
      -              "noise": {
      -                "type": [
      -                  "string",
      -                  "object",
      -                  "null"
      -                ]
      -              },
      -              "points": {
      -                "items": {
      -                  "properties": {
      -                    "distance": {
      -                      "type": "integer"
      -                    },
      -                    "failures": {
      -                      "type": "integer"
      -                    },
      -                    "p": {
      -                      "type": "number"
      -                    },
      -                    "per_round": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "rate": {
      -                      "type": "number"
      -                    },
      -                    "rounds": {
      -                      "type": "integer"
      -                    },
      -                    "shots": {
      -                      "type": "integer"
      -                    },
      -                    "stderr": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "reading": {
      -                "type": "string"
      -              },
      -              "receipt": {
      -                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      -                "properties": {
      -                  "alg": {
      -                    "const": "ed25519"
      -                  },
      -                  "canon": {
      -                    "const": "rfc8785",
      -                    "description": "The canonical form the digest is taken over."
      -                  },
      -                  "digest": {
      -                    "description": "The digest signed, 32 bytes in lower-case hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "pattern": "^[0-9a-f]{64}$",
      -                    "type": "string"
      -                  },
      -                  "key": {
      -                    "description": "The signing key, 32 bytes in lower-case hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "pattern": "^[0-9a-f]{64}$",
      -                    "type": "string"
      -                  },
      -                  "signature": {
      -                    "description": "The signature, 64 bytes in lower-case hex.",
      -                    "maxLength": 128,
      -                    "minLength": 128,
      -                    "pattern": "^[0-9a-f]{128}$",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "alg",
      -                  "canon",
      -                  "key",
      -                  "digest",
      -                  "signature"
      -                ],
      -                "title": "wai.quantum.receipt/2",
      -                "type": "object"
      -              },
      -              "schema": {
      -                "const": "wai.quantum.qec/1"
      -              },
      -              "seed": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "points",
      -              "below_threshold"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "A code, a decode or a threshold, with its receipt."
      -      }
      -    },
      -    "required": [
      -      "request",
      -      "result"
      -    ],
      -    "title": "wai.quantum.qec/1",
      -    "type": "object"
      -  },
      -  {
      -    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      -    "properties": {
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "codes": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "meaning": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "enum": [
      -          "refused",
      -          "retry",
      -          "failed",
      -          "lowered",
      -          "carried",
      -          "preserved",
      -          "warned",
      -          "dropped",
      -          "defaulted"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "An error-correction answer as every host gives it (engine::qec: qec_code, qec_decode and qec_threshold on both servers, wai-quantum qec, POST /v1/qec/*, the Studio and Python): the request, and the result sealed in a job's form. A code with its distance certificate (or a given certificate checked); a syndrome, an error or a circuit's detectors decoded, or shots sampled and decoded; logical failure rates over distances and physical rates. A result names the engine that made it and this schema (engine and schema). docs/qec.md explains each.",
      +    "properties": {
      +      "request": {
      +        "description": "The call's request, as given.",
      +        "type": "object"
      +      },
      +      "result": {
      +        "anyOf": [
      +          {
      +            "description": "A code: its checks and stabilizers, k, its layout, the decoders it takes, and its distance certificate (or a given one's check).",
      +            "properties": {
      +              "certificate": {
      +                "description": "A code's distance certificate (quantum_distance): in each sector, a witness logical of the least weight found and every lighter support ruled out by an exhaustive search over connected supports, re-checkable node for node; the code's families hash, the search's bound, the symmetries checked and used, and its reading. Given back to qec_code, it is checked against the code.",
      +                "properties": {
      +                  "bound": {
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  },
      +                  "code": {
      +                    "type": "string"
      +                  },
      +                  "distance": {
      +                    "description": "The distance, when both sectors settle it; null when the search stopped at its bound first.",
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  },
      +                  "families": {
      +                    "description": "BLAKE3 of the code's check families, in hex.",
      +                    "type": "string"
      +                  },
      +                  "format": {
      +                    "const": "wai.quantum.distance/1"
      +                  },
      +                  "k": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "method": {
      +                    "type": "string"
      +                  },
      +                  "n": {
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  },
      +                  "orbits": {
      +                    "type": [
      +                      "integer",
      +                      "array",
      +                      "null"
      +                    ]
      +                  },
      +                  "reading": {
      +                    "type": "string"
      +                  },
      +                  "symmetries": {
      +                    "type": [
      +                      "integer",
      +                      "array",
      +                      "null"
      +                    ]
      +                  },
      +                  "x": {
      +                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      +                    "properties": {
      +                      "distance": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "no_logical_below": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "nodes": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "witness": {
      +                        "items": {
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "type": [
      +                          "array",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "z": {
      +                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      +                    "properties": {
      +                      "distance": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "no_logical_below": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "nodes": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "witness": {
      +                        "items": {
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "type": [
      +                          "array",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  }
      +                },
      +                "required": [
      +                  "format",
      +                  "code",
      +                  "n",
      +                  "k",
      +                  "distance",
      +                  "x",
      +                  "z"
      +                ],
      +                "title": "wai.quantum.distance/1",
      +                "type": "object"
      +              },
      +              "check": {
      +                "description": "A given certificate's check: its witnesses, and the search run again.",
      +                "properties": {
      +                  "search_reproduced": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  },
      +                  "why": {
      +                    "type": "string"
      +                  },
      +                  "witnesses": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "code": {
      +                "properties": {
      +                  "checks": {
      +                    "type": "array"
      +                  },
      +                  "colors": {
      +                    "type": "array"
      +                  },
      +                  "decoders": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "families_hash": {
      +                    "type": "string"
      +                  },
      +                  "family": {
      +                    "type": "string"
      +                  },
      +                  "k": {
      +                    "type": "integer"
      +                  },
      +                  "layout": {
      +                    "type": "object"
      +                  },
      +                  "n": {
      +                    "type": "integer"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "nominal_distance": {
      +                    "type": "integer"
      +                  },
      +                  "sectors": {
      +                    "type": "string"
      +                  },
      +                  "stabs": {
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "engine": {
      +                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +                "properties": {
      +                  "name": {
      +                    "const": "wai-quantum"
      +                  },
      +                  "version": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "version"
      +                ],
      +                "type": "object"
      +              },
      +              "ok": {
      +                "const": true
      +              },
      +              "receipt": {
      +                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +                "properties": {
      +                  "alg": {
      +                    "const": "ed25519"
      +                  },
      +                  "canon": {
      +                    "const": "rfc8785",
      +                    "description": "The canonical form the digest is taken over."
      +                  },
      +                  "digest": {
      +                    "description": "The digest signed, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "key": {
      +                    "description": "The signing key, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "signature": {
      +                    "description": "The signature, 64 bytes in lower-case hex.",
      +                    "maxLength": 128,
      +                    "minLength": 128,
      +                    "pattern": "^[0-9a-f]{128}$",
      +                    "type": "string"
      +                  },
      +                  "time": {
      +                    "additionalProperties": false,
      +                    "description": "When the receipt was issued and, where it states one, until when it is offered, by the signer's clock, in milliseconds since 1970-01-01T00:00:00Z. Absent on a receipt that seals no time (one from a host with no clock, or sealed before receipts stated one). With it, the digest is taken under the domain ending \\x03 and ends with len ‖ the canonical text of this member, so the time cannot be changed or taken off (section 8.2).",
      +                    "properties": {
      +                      "issued_ms": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "not_after_ms": {
      +                        "description": "The first moment the receipt is no longer offered: after issued_ms.",
      +                        "maximum": 9007199254740991,
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "issued_ms"
      +                    ],
      +                    "type": "object"
      +                  }
      +                },
      +                "required": [
      +                  "alg",
      +                  "canon",
      +                  "key",
      +                  "digest",
      +                  "signature"
      +                ],
      +                "title": "wai.quantum.receipt/2",
      +                "type": "object"
      +              },
      +              "schema": {
      +                "const": "wai.quantum.qec/1"
      +              }
      +            },
      +            "required": [
      +              "ok",
      +              "code"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "description": "A decode: at code capacity the syndrome, the correction and whether it explains the syndrome (and with an error, its residual); at circuit level the model's size, the fired detectors and the observables predicted, or the shots sampled and their failure rate.",
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "correction": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "decoder": {
      +                "type": "string"
      +              },
      +              "detail": {
      +                "additionalProperties": true,
      +                "description": "The decoder's own: its passes, its convergence, its windows.",
      +                "type": "object"
      +              },
      +              "detectors": {
      +                "type": "integer"
      +              },
      +              "engine": {
      +                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +                "properties": {
      +                  "name": {
      +                    "const": "wai-quantum"
      +                  },
      +                  "version": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "version"
      +                ],
      +                "type": "object"
      +              },
      +              "error": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "explains": {
      +                "type": "boolean"
      +              },
      +              "failures": {
      +                "type": "integer"
      +              },
      +              "fired": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "mechanisms": {
      +                "type": "integer"
      +              },
      +              "observables": {
      +                "type": "integer"
      +              },
      +              "predicted": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "rate": {
      +                "type": "number"
      +              },
      +              "receipt": {
      +                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +                "properties": {
      +                  "alg": {
      +                    "const": "ed25519"
      +                  },
      +                  "canon": {
      +                    "const": "rfc8785",
      +                    "description": "The canonical form the digest is taken over."
      +                  },
      +                  "digest": {
      +                    "description": "The digest signed, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "key": {
      +                    "description": "The signing key, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "signature": {
      +                    "description": "The signature, 64 bytes in lower-case hex.",
      +                    "maxLength": 128,
      +                    "minLength": 128,
      +                    "pattern": "^[0-9a-f]{128}$",
      +                    "type": "string"
      +                  },
      +                  "time": {
      +                    "additionalProperties": false,
      +                    "description": "When the receipt was issued and, where it states one, until when it is offered, by the signer's clock, in milliseconds since 1970-01-01T00:00:00Z. Absent on a receipt that seals no time (one from a host with no clock, or sealed before receipts stated one). With it, the digest is taken under the domain ending \\x03 and ends with len ‖ the canonical text of this member, so the time cannot be changed or taken off (section 8.2).",
      +                    "properties": {
      +                      "issued_ms": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "not_after_ms": {
      +                        "description": "The first moment the receipt is no longer offered: after issued_ms.",
      +                        "maximum": 9007199254740991,
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "issued_ms"
      +                    ],
      +                    "type": "object"
      +                  }
      +                },
      +                "required": [
      +                  "alg",
      +                  "canon",
      +                  "key",
      +                  "digest",
      +                  "signature"
      +                ],
      +                "title": "wai.quantum.receipt/2",
      +                "type": "object"
      +              },
      +              "residual": {
      +                "properties": {
      +                  "logical": {
      +                    "type": "boolean"
      +                  },
      +                  "qubits": {
      +                    "items": {
      +                      "type": "integer"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "reading": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "schema": {
      +                "const": "wai.quantum.qec/1"
      +              },
      +              "seed": {
      +                "type": "integer"
      +              },
      +              "shots": {
      +                "type": "integer"
      +              },
      +              "stderr": {
      +                "type": "number"
      +              },
      +              "syndrome": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "weight": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "decoder"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "description": "Logical failure rates: each point's shots, failures, rate and standard error, the code model fitted at circuit level, and at each physical rate whether every larger distance failed less.",
      +            "properties": {
      +              "below_threshold": {
      +                "items": {
      +                  "properties": {
      +                    "distance_helps": {
      +                      "type": "boolean"
      +                    },
      +                    "p": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "decoder": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "engine": {
      +                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +                "properties": {
      +                  "name": {
      +                    "const": "wai-quantum"
      +                  },
      +                  "version": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "version"
      +                ],
      +                "type": "object"
      +              },
      +              "family": {
      +                "type": "string"
      +              },
      +              "fit": {
      +                "properties": {
      +                  "model": {
      +                    "type": "string"
      +                  },
      +                  "prefactor": {
      +                    "type": "number"
      +                  },
      +                  "threshold": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "noise": {
      +                "type": [
      +                  "string",
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "points": {
      +                "items": {
      +                  "properties": {
      +                    "distance": {
      +                      "type": "integer"
      +                    },
      +                    "failures": {
      +                      "type": "integer"
      +                    },
      +                    "p": {
      +                      "type": "number"
      +                    },
      +                    "per_round": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "rate": {
      +                      "type": "number"
      +                    },
      +                    "rounds": {
      +                      "type": "integer"
      +                    },
      +                    "shots": {
      +                      "type": "integer"
      +                    },
      +                    "stderr": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "reading": {
      +                "type": "string"
      +              },
      +              "receipt": {
      +                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +                "properties": {
      +                  "alg": {
      +                    "const": "ed25519"
      +                  },
      +                  "canon": {
      +                    "const": "rfc8785",
      +                    "description": "The canonical form the digest is taken over."
      +                  },
      +                  "digest": {
      +                    "description": "The digest signed, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "key": {
      +                    "description": "The signing key, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "signature": {
      +                    "description": "The signature, 64 bytes in lower-case hex.",
      +                    "maxLength": 128,
      +                    "minLength": 128,
      +                    "pattern": "^[0-9a-f]{128}$",
      +                    "type": "string"
      +                  },
      +                  "time": {
      +                    "additionalProperties": false,
      +                    "description": "When the receipt was issued and, where it states one, until when it is offered, by the signer's clock, in milliseconds since 1970-01-01T00:00:00Z. Absent on a receipt that seals no time (one from a host with no clock, or sealed before receipts stated one). With it, the digest is taken under the domain ending \\x03 and ends with len ‖ the canonical text of this member, so the time cannot be changed or taken off (section 8.2).",
      +                    "properties": {
      +                      "issued_ms": {
      +                        "maximum": 9007199254740991,
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "not_after_ms": {
      +                        "description": "The first moment the receipt is no longer offered: after issued_ms.",
      +                        "maximum": 9007199254740991,
      +                        "minimum": 1,
      +                        "type": "integer"
      +                      }
      +                    },
      +                    "required": [
      +                      "issued_ms"
      +                    ],
      +                    "type": "object"
      +                  }
      +                },
      +                "required": [
      +                  "alg",
      +                  "canon",
      +                  "key",
      +                  "digest",
      +                  "signature"
      +                ],
      +                "title": "wai.quantum.receipt/2",
      +                "type": "object"
      +              },
      +              "schema": {
      +                "const": "wai.quantum.qec/1"
      +              },
      +              "seed": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "points",
      +              "below_threshold"
      +            ],
      +            "type": "object"
      +          }
      +        ],
      +        "description": "A code, a decode or a threshold, with its receipt."
      +      }
      +    },
      +    "required": [
      +      "request",
      +      "result"
      +    ],
      +    "title": "wai.quantum.qec/1",
      +    "type": "object"
      +  },
      +  {
      +    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      +    "properties": {
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "codes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "meaning": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "enum": [
      +          "refused",
      +          "retry",
      +          "failed",
      +          "lowered",
      +          "carried",
      +          "preserved",
      +          "warned",
      +          "dropped",
      +          "defaulted"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "An error-correction answer as every host gives it (engine::qec: qec_code, qec_decode and qec_threshold on both servers, wai-quantum qec, POST /v1/qec/*, the Studio and Python): the request, and the result sealed in a job's form. A code with its distance certificate (or a given certificate checked); a syndrome, an error or a circuit's detectors decoded, or shots sampled and decoded; logical failure rates over distances and physical rates. A result names the engine that made it and this schema (engine and schema). docs/qec.md explains each.",
      -    "properties": {
      -      "request": {
      -        "description": "The call's request, as given.",
      -        "type": "object"
      -      },
      -      "result": {
      -        "anyOf": [
      -          {
      -            "description": "A code: its checks and stabilizers, k, its layout, the decoders it takes, and its distance certificate (or a given one's check).",
      -            "properties": {
      -              "certificate": {
      -                "description": "A code's distance certificate (quantum_distance): in each sector, a witness logical of the least weight found and every lighter support ruled out by an exhaustive search over connected supports, re-checkable node for node; the code's families hash, the search's bound, the symmetries checked and used, and its reading. Given back to qec_code, it is checked against the code.",
      -                "properties": {
      -                  "bound": {
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  },
      -                  "code": {
      -                    "type": "string"
      -                  },
      -                  "distance": {
      -                    "description": "The distance, when both sectors settle it; null when the search stopped at its bound first.",
      -                    "type": [
      -                      "integer",
      -                      "null"
      -                    ]
      -                  },
      -                  "families": {
      -                    "description": "BLAKE3 of the code's check families, in hex.",
      -                    "type": "string"
      -                  },
      -                  "format": {
      -                    "const": "wai.quantum.distance/1"
      -                  },
      -                  "k": {
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "method": {
      -                    "type": "string"
      -                  },
      -                  "n": {
      -                    "minimum": 1,
      -                    "type": "integer"
      -                  },
      -                  "orbits": {
      -                    "type": [
      -                      "integer",
      -                      "array",
      -                      "null"
      -                    ]
      -                  },
      -                  "reading": {
      -                    "type": "string"
      -                  },
      -                  "symmetries": {
      -                    "type": [
      -                      "integer",
      -                      "array",
      -                      "null"
      -                    ]
      -                  },
      -                  "x": {
      -                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      -                    "properties": {
      -                      "distance": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "no_logical_below": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "nodes": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "witness": {
      -                        "items": {
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "type": [
      -                          "array",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "z": {
      -                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      -                    "properties": {
      -                      "distance": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "no_logical_below": {
      -                        "type": [
      -                          "integer",
      -                          "null"
      -                        ]
      -                      },
      -                      "nodes": {
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "witness": {
      -                        "items": {
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "type": [
      -                          "array",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  }
      -                },
      -                "required": [
      -                  "format",
      -                  "code",
      -                  "n",
      -                  "k",
      -                  "distance",
      -                  "x",
      -                  "z"
      -                ],
      -                "title": "wai.quantum.distance/1",
      -                "type": "object"
      -              },
      -              "check": {
      -                "description": "A given certificate's check: its witnesses, and the search run again.",
      -                "properties": {
      -                  "search_reproduced": {
      -                    "type": "boolean"
      -                  },
      -                  "verified": {
      -                    "type": "boolean"
      -                  },
      -                  "why": {
      -                    "type": "string"
      -                  },
      -                  "witnesses": {
      -                    "type": "boolean"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "code": {
      -                "properties": {
      -                  "checks": {
      -                    "type": "array"
      -                  },
      -                  "colors": {
      -                    "type": "array"
      -                  },
      -                  "decoders": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "families_hash": {
      -                    "type": "string"
      -                  },
      -                  "family": {
      -                    "type": "string"
      -                  },
      -                  "k": {
      -                    "type": "integer"
      -                  },
      -                  "layout": {
      -                    "type": "object"
      -                  },
      -                  "n": {
      -                    "type": "integer"
      -                  },
      -                  "name": {
      -                    "type": "string"
      -                  },
      -                  "nominal_distance": {
      -                    "type": "integer"
      -                  },
      -                  "sectors": {
      -                    "type": "string"
      -                  },
      -                  "stabs": {
      -                    "type": "array"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "engine": {
      -                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -                "properties": {
      -                  "name": {
      -                    "const": "wai-quantum"
      -                  },
      -                  "version": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "version"
      -                ],
      -                "type": "object"
      -              },
      -              "ok": {
      -                "const": true
      -              },
      -              "receipt": {
      -                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) signed serde_json's own text under the domain ending \\x01; they still verify.",
      -                "properties": {
      -                  "alg": {
      -                    "const": "ed25519"
      -                  },
      -                  "canon": {
      -                    "const": "rfc8785",
      -                    "description": "The canonical form the digest is taken over."
      -                  },
      -                  "digest": {
      -                    "description": "The digest signed, 32 bytes in hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "type": "string"
      -                  },
      -                  "key": {
      -                    "description": "The signing key, 32 bytes in hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "type": "string"
      -                  },
      -                  "signature": {
      -                    "description": "The signature, 64 bytes in hex.",
      -                    "maxLength": 128,
      -                    "minLength": 128,
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "alg",
      -                  "canon",
      -                  "key",
      -                  "digest",
      -                  "signature"
      -                ],
      -                "title": "wai.quantum.receipt/2",
      -                "type": "object"
      -              },
      -              "schema": {
      -                "const": "wai.quantum.qec/1"
      -              }
      -            },
      -            "required": [
      -              "ok",
      -              "code"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "description": "A decode: at code capacity the syndrome, the correction and whether it explains the syndrome (and with an error, its residual); at circuit level the model's size, the fired detectors and the observables predicted, or the shots sampled and their failure rate.",
      -            "properties": {
      -              "code": {
      -                "type": "string"
      -              },
      -              "correction": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "decoder": {
      -                "type": "string"
      -              },
      -              "detail": {
      -                "additionalProperties": true,
      -                "description": "The decoder's own: its passes, its convergence, its windows.",
      -                "type": "object"
      -              },
      -              "detectors": {
      -                "type": "integer"
      -              },
      -              "engine": {
      -                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -                "properties": {
      -                  "name": {
      -                    "const": "wai-quantum"
      -                  },
      -                  "version": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "version"
      -                ],
      -                "type": "object"
      -              },
      -              "error": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "explains": {
      -                "type": "boolean"
      -              },
      -              "failures": {
      -                "type": "integer"
      -              },
      -              "fired": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "mechanisms": {
      -                "type": "integer"
      -              },
      -              "observables": {
      -                "type": "integer"
      -              },
      -              "predicted": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "rate": {
      -                "type": "number"
      -              },
      -              "receipt": {
      -                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) signed serde_json's own text under the domain ending \\x01; they still verify.",
      -                "properties": {
      -                  "alg": {
      -                    "const": "ed25519"
      -                  },
      -                  "canon": {
      -                    "const": "rfc8785",
      -                    "description": "The canonical form the digest is taken over."
      -                  },
      -                  "digest": {
      -                    "description": "The digest signed, 32 bytes in hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "type": "string"
      -                  },
      -                  "key": {
      -                    "description": "The signing key, 32 bytes in hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "type": "string"
      -                  },
      -                  "signature": {
      -                    "description": "The signature, 64 bytes in hex.",
      -                    "maxLength": 128,
      -                    "minLength": 128,
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "alg",
      -                  "canon",
      -                  "key",
      -                  "digest",
      -                  "signature"
      -                ],
      -                "title": "wai.quantum.receipt/2",
      -                "type": "object"
      -              },
      -              "residual": {
      -                "properties": {
      -                  "logical": {
      -                    "type": "boolean"
      -                  },
      -                  "qubits": {
      -                    "items": {
      -                      "type": "integer"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "reading": {
      -                    "type": "string"
      -                  }
      -                },
      -                "type": "object"
      -              },
      -              "schema": {
      -                "const": "wai.quantum.qec/1"
      -              },
      -              "seed": {
      -                "type": "integer"
      -              },
      -              "shots": {
      -                "type": "integer"
      -              },
      -              "stderr": {
      -                "type": "number"
      -              },
      -              "syndrome": {
      -                "items": {
      -                  "type": "integer"
      -                },
      -                "type": "array"
      -              },
      -              "weight": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "decoder"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "description": "Logical failure rates: each point's shots, failures, rate and standard error, the code model fitted at circuit level, and at each physical rate whether every larger distance failed less.",
      -            "properties": {
      -              "below_threshold": {
      -                "items": {
      -                  "properties": {
      -                    "distance_helps": {
      -                      "type": "boolean"
      -                    },
      -                    "p": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "decoder": {
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "engine": {
      -                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      -                "properties": {
      -                  "name": {
      -                    "const": "wai-quantum"
      -                  },
      -                  "version": {
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "version"
      -                ],
      -                "type": "object"
      -              },
      -              "family": {
      -                "type": "string"
      -              },
      -              "fit": {
      -                "properties": {
      -                  "model": {
      -                    "type": "string"
      -                  },
      -                  "prefactor": {
      -                    "type": "number"
      -                  },
      -                  "threshold": {
      -                    "type": "number"
      -                  }
      -                },
      -                "type": [
      -                  "object",
      -                  "null"
      -                ]
      -              },
      -              "noise": {
      -                "type": [
      -                  "string",
      -                  "object",
      -                  "null"
      -                ]
      -              },
      -              "points": {
      -                "items": {
      -                  "properties": {
      -                    "distance": {
      -                      "type": "integer"
      -                    },
      -                    "failures": {
      -                      "type": "integer"
      -                    },
      -                    "p": {
      -                      "type": "number"
      -                    },
      -                    "per_round": {
      -                      "type": [
      -                        "number",
      -                        "null"
      -                      ]
      -                    },
      -                    "rate": {
      -                      "type": "number"
      -                    },
      -                    "rounds": {
      -                      "type": "integer"
      -                    },
      -                    "shots": {
      -                      "type": "integer"
      -                    },
      -                    "stderr": {
      -                      "type": "number"
      -                    }
      -                  },
      -                  "type": "object"
      -                },
      -                "type": "array"
      -              },
      -              "reading": {
      -                "type": "string"
      -              },
      -              "receipt": {
      -                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) signed serde_json's own text under the domain ending \\x01; they still verify.",
      -                "properties": {
      -                  "alg": {
      -                    "const": "ed25519"
      -                  },
      -                  "canon": {
      -                    "const": "rfc8785",
      -                    "description": "The canonical form the digest is taken over."
      -                  },
      -                  "digest": {
      -                    "description": "The digest signed, 32 bytes in hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "type": "string"
      -                  },
      -                  "key": {
      -                    "description": "The signing key, 32 bytes in hex.",
      -                    "maxLength": 64,
      -                    "minLength": 64,
      -                    "type": "string"
      -                  },
      -                  "signature": {
      -                    "description": "The signature, 64 bytes in hex.",
      -                    "maxLength": 128,
      -                    "minLength": 128,
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "alg",
      -                  "canon",
      -                  "key",
      -                  "digest",
      -                  "signature"
      -                ],
      -                "title": "wai.quantum.receipt/2",
      -                "type": "object"
      -              },
      -              "schema": {
      -                "const": "wai.quantum.qec/1"
      -              },
      -              "seed": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "points",
      -              "below_threshold"
      -            ],
      -            "type": "object"
      -          }
      -        ],
      -        "description": "A code, a decode or a threshold, with its receipt."
      -      }
      -    },
      -    "required": [
      -      "request",
      -      "result"
      -    ],
      -    "title": "wai.quantum.qec/1",
      -    "type": "object"
      -  },
      -  {
      -    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      -    "properties": {
      -      "code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "codes": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "error": {
      -        "type": "string"
      -      },
      -      "meaning": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "outcome": {
      -        "enum": [
      -          "refused",
      -          "retry",
      -          "failed",
      -          "lowered",
      -          "carried",
      -          "preserved",
      -          "warned",
      -          "dropped",
      -          "defaulted"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "error"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "An error-correction answer as every host gives it (engine::qec: qec_code, qec_decode and qec_threshold on both servers, wai-quantum qec, POST /v1/qec/*, the Studio and Python): the request, and the result sealed in a job's form. A code with its distance certificate (or a given certificate checked); a syndrome, an error or a circuit's detectors decoded, or shots sampled and decoded; logical failure rates over distances and physical rates. A result names the engine that made it and this schema (engine and schema). docs/qec.md explains each.",
      +    "properties": {
      +      "request": {
      +        "description": "The call's request, as given.",
      +        "type": "object"
      +      },
      +      "result": {
      +        "anyOf": [
      +          {
      +            "description": "A code: its checks and stabilizers, k, its layout, the decoders it takes, and its distance certificate (or a given one's check).",
      +            "properties": {
      +              "certificate": {
      +                "description": "A code's distance certificate (quantum_distance): in each sector, a witness logical of the least weight found and every lighter support ruled out by an exhaustive search over connected supports, re-checkable node for node; the code's families hash, the search's bound, the symmetries checked and used, and its reading. Given back to qec_code, it is checked against the code.",
      +                "properties": {
      +                  "bound": {
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  },
      +                  "code": {
      +                    "type": "string"
      +                  },
      +                  "distance": {
      +                    "description": "The distance, when both sectors settle it; null when the search stopped at its bound first.",
      +                    "type": [
      +                      "integer",
      +                      "null"
      +                    ]
      +                  },
      +                  "families": {
      +                    "description": "BLAKE3 of the code's check families, in hex.",
      +                    "type": "string"
      +                  },
      +                  "format": {
      +                    "const": "wai.quantum.distance/1"
      +                  },
      +                  "k": {
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "method": {
      +                    "type": "string"
      +                  },
      +                  "n": {
      +                    "minimum": 1,
      +                    "type": "integer"
      +                  },
      +                  "orbits": {
      +                    "type": [
      +                      "integer",
      +                      "array",
      +                      "null"
      +                    ]
      +                  },
      +                  "reading": {
      +                    "type": "string"
      +                  },
      +                  "symmetries": {
      +                    "type": [
      +                      "integer",
      +                      "array",
      +                      "null"
      +                    ]
      +                  },
      +                  "x": {
      +                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      +                    "properties": {
      +                      "distance": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "no_logical_below": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "nodes": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "witness": {
      +                        "items": {
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "type": [
      +                          "array",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  },
      +                  "z": {
      +                    "description": "One sector: the least weight of a logical found, a witness of that weight, and the weight below which the search ruled every support out.",
      +                    "properties": {
      +                      "distance": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "no_logical_below": {
      +                        "type": [
      +                          "integer",
      +                          "null"
      +                        ]
      +                      },
      +                      "nodes": {
      +                        "minimum": 0,
      +                        "type": "integer"
      +                      },
      +                      "witness": {
      +                        "items": {
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "type": [
      +                          "array",
      +                          "null"
      +                        ]
      +                      }
      +                    },
      +                    "type": "object"
      +                  }
      +                },
      +                "required": [
      +                  "format",
      +                  "code",
      +                  "n",
      +                  "k",
      +                  "distance",
      +                  "x",
      +                  "z"
      +                ],
      +                "title": "wai.quantum.distance/1",
      +                "type": "object"
      +              },
      +              "check": {
      +                "description": "A given certificate's check: its witnesses, and the search run again.",
      +                "properties": {
      +                  "search_reproduced": {
      +                    "type": "boolean"
      +                  },
      +                  "verified": {
      +                    "type": "boolean"
      +                  },
      +                  "why": {
      +                    "type": "string"
      +                  },
      +                  "witnesses": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "code": {
      +                "properties": {
      +                  "checks": {
      +                    "type": "array"
      +                  },
      +                  "colors": {
      +                    "type": "array"
      +                  },
      +                  "decoders": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "families_hash": {
      +                    "type": "string"
      +                  },
      +                  "family": {
      +                    "type": "string"
      +                  },
      +                  "k": {
      +                    "type": "integer"
      +                  },
      +                  "layout": {
      +                    "type": "object"
      +                  },
      +                  "n": {
      +                    "type": "integer"
      +                  },
      +                  "name": {
      +                    "type": "string"
      +                  },
      +                  "nominal_distance": {
      +                    "type": "integer"
      +                  },
      +                  "sectors": {
      +                    "type": "string"
      +                  },
      +                  "stabs": {
      +                    "type": "array"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "engine": {
      +                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +                "properties": {
      +                  "name": {
      +                    "const": "wai-quantum"
      +                  },
      +                  "version": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "version"
      +                ],
      +                "type": "object"
      +              },
      +              "ok": {
      +                "const": true
      +              },
      +              "receipt": {
      +                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +                "properties": {
      +                  "alg": {
      +                    "const": "ed25519"
      +                  },
      +                  "canon": {
      +                    "const": "rfc8785",
      +                    "description": "The canonical form the digest is taken over."
      +                  },
      +                  "digest": {
      +                    "description": "The digest signed, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "key": {
      +                    "description": "The signing key, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "signature": {
      +                    "description": "The signature, 64 bytes in lower-case hex.",
      +                    "maxLength": 128,
      +                    "minLength": 128,
      +                    "pattern": "^[0-9a-f]{128}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "alg",
      +                  "canon",
      +                  "key",
      +                  "digest",
      +                  "signature"
      +                ],
      +                "title": "wai.quantum.receipt/2",
      +                "type": "object"
      +              },
      +              "schema": {
      +                "const": "wai.quantum.qec/1"
      +              }
      +            },
      +            "required": [
      +              "ok",
      +              "code"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "description": "A decode: at code capacity the syndrome, the correction and whether it explains the syndrome (and with an error, its residual); at circuit level the model's size, the fired detectors and the observables predicted, or the shots sampled and their failure rate.",
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "correction": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "decoder": {
      +                "type": "string"
      +              },
      +              "detail": {
      +                "additionalProperties": true,
      +                "description": "The decoder's own: its passes, its convergence, its windows.",
      +                "type": "object"
      +              },
      +              "detectors": {
      +                "type": "integer"
      +              },
      +              "engine": {
      +                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +                "properties": {
      +                  "name": {
      +                    "const": "wai-quantum"
      +                  },
      +                  "version": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "version"
      +                ],
      +                "type": "object"
      +              },
      +              "error": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "explains": {
      +                "type": "boolean"
      +              },
      +              "failures": {
      +                "type": "integer"
      +              },
      +              "fired": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "mechanisms": {
      +                "type": "integer"
      +              },
      +              "observables": {
      +                "type": "integer"
      +              },
      +              "predicted": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "rate": {
      +                "type": "number"
      +              },
      +              "receipt": {
      +                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +                "properties": {
      +                  "alg": {
      +                    "const": "ed25519"
      +                  },
      +                  "canon": {
      +                    "const": "rfc8785",
      +                    "description": "The canonical form the digest is taken over."
      +                  },
      +                  "digest": {
      +                    "description": "The digest signed, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "key": {
      +                    "description": "The signing key, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "signature": {
      +                    "description": "The signature, 64 bytes in lower-case hex.",
      +                    "maxLength": 128,
      +                    "minLength": 128,
      +                    "pattern": "^[0-9a-f]{128}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "alg",
      +                  "canon",
      +                  "key",
      +                  "digest",
      +                  "signature"
      +                ],
      +                "title": "wai.quantum.receipt/2",
      +                "type": "object"
      +              },
      +              "residual": {
      +                "properties": {
      +                  "logical": {
      +                    "type": "boolean"
      +                  },
      +                  "qubits": {
      +                    "items": {
      +                      "type": "integer"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "reading": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "schema": {
      +                "const": "wai.quantum.qec/1"
      +              },
      +              "seed": {
      +                "type": "integer"
      +              },
      +              "shots": {
      +                "type": "integer"
      +              },
      +              "stderr": {
      +                "type": "number"
      +              },
      +              "syndrome": {
      +                "items": {
      +                  "type": "integer"
      +                },
      +                "type": "array"
      +              },
      +              "weight": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "decoder"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "description": "Logical failure rates: each point's shots, failures, rate and standard error, the code model fitted at circuit level, and at each physical rate whether every larger distance failed less.",
      +            "properties": {
      +              "below_threshold": {
      +                "items": {
      +                  "properties": {
      +                    "distance_helps": {
      +                      "type": "boolean"
      +                    },
      +                    "p": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "decoder": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "engine": {
      +                "description": "The engine that made the result: the wai-quantum crate's name and version.",
      +                "properties": {
      +                  "name": {
      +                    "const": "wai-quantum"
      +                  },
      +                  "version": {
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "version"
      +                ],
      +                "type": "object"
      +              },
      +              "family": {
      +                "type": "string"
      +              },
      +              "fit": {
      +                "properties": {
      +                  "model": {
      +                    "type": "string"
      +                  },
      +                  "prefactor": {
      +                    "type": "number"
      +                  },
      +                  "threshold": {
      +                    "type": "number"
      +                  }
      +                },
      +                "type": [
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "noise": {
      +                "type": [
      +                  "string",
      +                  "object",
      +                  "null"
      +                ]
      +              },
      +              "points": {
      +                "items": {
      +                  "properties": {
      +                    "distance": {
      +                      "type": "integer"
      +                    },
      +                    "failures": {
      +                      "type": "integer"
      +                    },
      +                    "p": {
      +                      "type": "number"
      +                    },
      +                    "per_round": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "rate": {
      +                      "type": "number"
      +                    },
      +                    "rounds": {
      +                      "type": "integer"
      +                    },
      +                    "shots": {
      +                      "type": "integer"
      +                    },
      +                    "stderr": {
      +                      "type": "number"
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "reading": {
      +                "type": "string"
      +              },
      +              "receipt": {
      +                "description": "A result's receipt: an Ed25519 signature, by the key it names, over digest = BLAKE3(\"wai:quantum-service-receipt\\x02\" ‖ len ‖ request ‖ len ‖ result), each of request and result in its RFC 8785 canonical text (the result without its receipt member), each length 8 bytes big-endian. Whatever members the request and the result hold are sealed, the result's engine and schema among them. The first receipts (no canon member, $defs/first) sealed their writer's compact text under the domain ending \\x01; they still verify. wai/extensions/quantum-providers.md section 8.2 states the seal in full, and section 8.4 what a verifier checks.",
      +                "properties": {
      +                  "alg": {
      +                    "const": "ed25519"
      +                  },
      +                  "canon": {
      +                    "const": "rfc8785",
      +                    "description": "The canonical form the digest is taken over."
      +                  },
      +                  "digest": {
      +                    "description": "The digest signed, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "key": {
      +                    "description": "The signing key, 32 bytes in lower-case hex.",
      +                    "maxLength": 64,
      +                    "minLength": 64,
      +                    "pattern": "^[0-9a-f]{64}$",
      +                    "type": "string"
      +                  },
      +                  "signature": {
      +                    "description": "The signature, 64 bytes in lower-case hex.",
      +                    "maxLength": 128,
      +                    "minLength": 128,
      +                    "pattern": "^[0-9a-f]{128}$",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "alg",
      +                  "canon",
      +                  "key",
      +                  "digest",
      +                  "signature"
      +                ],
      +                "title": "wai.quantum.receipt/2",
      +                "type": "object"
      +              },
      +              "schema": {
      +                "const": "wai.quantum.qec/1"
      +              },
      +              "seed": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "points",
      +              "below_threshold"
      +            ],
      +            "type": "object"
      +          }
      +        ],
      +        "description": "A code, a decode or a threshold, with its receipt."
      +      }
      +    },
      +    "required": [
      +      "request",
      +      "result"
      +    ],
      +    "title": "wai.quantum.qec/1",
      +    "type": "object"
      +  },
      +  {
      +    "description": "A refusal as data: the message, every code in it (the last is the code), its outcome and meaning as the code's table gives them. A host that refuses for its own reasons gives the error alone.",
      +    "properties": {
      +      "code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "codes": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "error": {
      +        "type": "string"
      +      },
      +      "meaning": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "outcome": {
      +        "enum": [
      +          "refused",
      +          "retry",
      +          "failed",
      +          "lowered",
      +          "carried",
      +          "preserved",
      +          "warned",
      +          "dropped",
      +          "defaulted"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "error"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnlyHint=true, idempotentHint=true, and openWorldHint=false. The description adds useful behavioral context beyond those fields: each point returns shots, failures, rate, and standard error; below_threshold reports whether larger distances failed less; and results are sealed with the service's key. It does not discuss computational cost or limits, so it is not fully complete.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the purpose and major options, then adds output and cautionary context. It is dense but mostly earns its length; the formula and sealing detail are useful, though the opening sentence is long enough to reduce readability slightly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a seven-parameter simulation tool with an output schema, the description covers the core purpose, family/decoder mapping, output fields, below_threshold semantics, and threshold interpretation. It is missing explicit computational-cost guidance and an explicit relationship to sibling QEC tools, which keeps it from being complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 86%, so the baseline is 3. The description adds interpretive meaning beyond the schema by explaining the circuit-level surface family, the decoder options, the per-round threshold model, and the distinction between circuit-level and code-capacity families, though it does not add much for seed or defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: measure logical failure rates over distances and physical error rates. It differentiates the operation by naming the supported families, circuit-level surface-code decoding, and threshold fitting context, which is enough to distinguish it from sibling QEC tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies use for threshold estimation and advises reporting rates with errors, but it never explicitly says when to choose this over qec_code or qec_decode, nor does it give prerequisites or exclusions. The family and decoder clauses guide parameter choices rather than tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources