Skip to main content
Glama

WAI Quantum job service

Show an error-correcting code and certify its distance

qec_code
Read-onlyIdempotent

Show an error-correcting code and certify its distance: its checks (Z-type: they see X errors) and stabilizers (X-type), k counted by rank, a layout to draw it, the decoders it admits, and its distance certificate. In each sector the certificate gives the least weight of a logical found, a witness of that weight, and every lighter support ruled out by an exhaustive search over connected supports (a bivariate-bicycle code's translations checked as symmetries before use), re-checkable node for node. Give certificate to check one: its witnesses and the search run again. Sealed with the service's key. Quote the certificate's distance and its reading; a search stopped by bound settles nothing past it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "code": "<code>"
    },
    "name": "qec_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesA code by name: surface:D (the rotated surface code, odd D from 3 to 15), toric:L (2 to 12), steane, color:D (the triangular 6.6.6 colour code, odd D from 3 to 15), bb:72, bb:90, bb:108, bb:144 (or gross) or bb:288 (bivariate-bicycle codes); or {"family", "distance" | "size" | "n"}.
boundNoThe heaviest support to search (default the code's nominal distance).
certifyNoCertify the distance (default true).
certificateNoA certificate (wai.quantum.distance/1) to check against the code.

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

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, but the description adds real behavioral context beyond them: the certificate is produced by exhaustive search over connected supports, symmetry reductions (bivariate-bicycle translations) are applied before use, results are sealed with the service's key, and `bound` truncates the guarantee. That materially informs how much trust to place in the output.

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

Conciseness3/5

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

The purpose is front-loaded, which is good, but the prose is dense and jargon-heavy, packing parenthetical asides ('Z-type: they see X errors', 'a bivariate-bicycle code's translations checked as symmetries before use') into long run-on sentences. Most content earns its place, yet readability suffers for an agent parsing intent quickly.

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 tool of notable complexity with nested certificate objects, the description covers the certificate's structure, the checking path, the symmetry handling, and the bound limitation. With an output schema present, the absence of explicit return-value documentation is not a gap, and what remains is adequately covered.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters are already documented, establishing a baseline of 3. The description does sharpen meaning for `bound` (what it truncates) and `certificate` (checking a prior certificate by re-running witnesses and search), but adds little for `code` and `certify` beyond the schema.

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?

States a specific verb and resource ('Show an error-correcting code and certify its distance') and enumerates exactly what is returned: checks, stabilizers, k by rank, layout, admitted decoders, and distance certificate. This is distinguishable from qec_decode, which acts on a code rather than displaying its structure.

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 explains an internal usage mode ('Give `certificate` to check one') and warns that a search stopped by `bound` settles nothing past it, which is genuine operational guidance. However, it never states when to prefer this tool over qec_decode or qec_threshold, nor any prerequisites, leaving selection to inference.

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