Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

api / api polynomial unknown error correction

An agent that restores a polynomial-coded artifact block needs its claimed unique recovered coefficient vector checked when up to the declared number of observation positions may contain unknown errors.

POST https://detect.halowerk.com/v1/api/api-polynomial-unknown-error-correction

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "prime": {
          "type": "integer",
          "minimum": 2,
          "maximum": 257
        },
        "coefficients": {
          "type": "integer",
          "minimum": 1,
          "maximum": 12
        },
        "errors": {
          "type": "integer",
          "minimum": 0,
          "maximum": 8
        },
        "points": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "x": {
                "type": "integer",
                "minimum": 0,
                "maximum": 256
              },
              "y": {
                "type": "integer",
                "minimum": 0,
                "maximum": 256
              }
            },
            "required": [
              "x",
              "y"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 32
        },
        "claimed_decodable": {
          "type": "boolean"
        },
        "claimed_coefficients": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 256
          },
          "minItems": 0,
          "maxItems": 12
        }
      },
      "required": [
        "prime",
        "coefficients",
        "errors",
        "points",
        "claimed_decodable",
        "claimed_coefficients"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "prime": 5,
    "coefficients": 3,
    "errors": 1,
    "points": [
      {
        "x": 0,
        "y": 1
      },
      {
        "x": 1,
        "y": 2
      },
      {
        "x": 2,
        "y": 4
      },
      {
        "x": 3,
        "y": 0
      },
      {
        "x": 4,
        "y": 4
      }
    ],
    "claimed_decodable": true,
    "claimed_coefficients": [
      1,
      1,
      4
    ]
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →