Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

workflow / workflow dominant resource fair allocation

An agent that divides a fixed multi-resource build pool needs its claimed weighted dominant-resource-fair continuous allocation checked across all capacity bottlenecks.

POST https://detect.halowerk.com/v1/workflow/workflow-dominant-resource-fair-allocation

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "capacities": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000000
          },
          "minItems": 1,
          "maxItems": 8
        },
        "demands": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1000000
            },
            "minItems": 1,
            "maxItems": 8
          },
          "minItems": 1,
          "maxItems": 16
        },
        "weights": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 16
          },
          "minItems": 1,
          "maxItems": 16
        },
        "claimed_allocations": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "numerator": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512
              },
              "denominator": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512
              }
            },
            "required": [
              "numerator",
              "denominator"
            ],
            "additionalProperties": false
          },
          "minItems": 1,
          "maxItems": 16
        }
      },
      "required": [
        "capacities",
        "demands",
        "weights",
        "claimed_allocations"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "capacities": [
      4,
      4
    ],
    "demands": [
      [
        2,
        3
      ],
      [
        3,
        2
      ],
      [
        1,
        3
      ]
    ],
    "weights": [
      2,
      1,
      2
    ],
    "claimed_allocations": [
      {
        "numerator": "4",
        "denominator": "7"
      },
      {
        "numerator": "2",
        "denominator": "7"
      },
      {
        "numerator": "4",
        "denominator": "7"
      }
    ]
  }
}

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 →