Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

commerce / commerce stable roommate assignment cardinality

An agent that pairs one unpartitioned pool of workers by strict preferences needs the claimed number of stable complete assignments checked rather than accepting a single supplied pairing.

POST https://detect.halowerk.com/v1/commerce/commerce-stable-roommate-assignment-cardinality

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "preferences": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 11
            },
            "minItems": 1,
            "maxItems": 11
          },
          "minItems": 2,
          "maxItems": 12
        },
        "claimed_count": {
          "type": "integer",
          "minimum": 0,
          "maximum": 10395
        }
      },
      "required": [
        "preferences",
        "claimed_count"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "preferences": [
      [
        5,
        3,
        4,
        2,
        1
      ],
      [
        2,
        4,
        5,
        0,
        3
      ],
      [
        1,
        5,
        4,
        0,
        3
      ],
      [
        0,
        4,
        2,
        1,
        5
      ],
      [
        3,
        1,
        0,
        2,
        5
      ],
      [
        1,
        2,
        3,
        4,
        0
      ]
    ],
    "claimed_count": 2
  }
}

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 →