Zum Inhalt
HALOWERK

Datenvertragswerk

proposer optimal stable matching audit

For two equally sized sides n1..6 with complete strict preference permutations, independently runs deferred acceptance from each side. Returns both entire left-indexed assignments and each side personal rank vectors, and whether the stable assignment is unique. Audit supplied entire proposer-optimal partners, not merely whether a supplied assignment has a blocking pair. Null preference row or claim yields unknown; every known malformed preference is rejected native400 before missingness and.

POST https://datenvertrag.halowerk.com/v1/proposer-optimal-stable-matching-audit

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
left_preferencesarrayJa
right_preferencesarrayJa
claimed_partnersSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "left_preferences": {
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "anyOf": [
          {
            "type": "array",
            "minItems": 1,
            "maxItems": 6,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 5
            },
            "uniqueItems": true
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "right_preferences": {
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "anyOf": [
          {
            "type": "array",
            "minItems": 1,
            "maxItems": 6,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 5
            },
            "uniqueItems": true
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "claimed_partners": {
      "anyOf": [
        {
          "type": "array",
          "minItems": 1,
          "maxItems": 6,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          }
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "left_preferences",
    "right_preferences",
    "claimed_partners"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

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

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →