Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

commerce / commerce stable matching blocking pairs

An agent that matches two finite participant sets needs whether a proposed complete assignment has any pair that both prefer one another to their assigned counterpart.

POST https://detect.halowerk.com/v1/commerce/commerce-stable-matching-blocking-pairs

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "left_preferences": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 31
            },
            "minItems": 1,
            "maxItems": 32
          },
          "minItems": 1,
          "maxItems": 32
        },
        "right_preferences": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 31
            },
            "minItems": 1,
            "maxItems": 32
          },
          "minItems": 1,
          "maxItems": 32
        },
        "claimed_partners": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 31
          },
          "minItems": 1,
          "maxItems": 32
        }
      },
      "required": [
        "left_preferences",
        "right_preferences",
        "claimed_partners"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "left_preferences": [
      [
        0,
        1
      ],
      [
        1,
        0
      ]
    ],
    "right_preferences": [
      [
        0,
        1
      ],
      [
        1,
        0
      ]
    ],
    "claimed_partners": [
      0,
      1
    ]
  }
}

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 →