Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

feed / feed fenwick rank transcript

An agent that maintains a weighted feed sampling index needs whether supplied one-based rank selections follow all prior point mass changes in the finite index.

POST https://detect.halowerk.com/v1/feed/feed-fenwick-rank-transcript

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "initial_weights": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1000000
          },
          "minItems": 1,
          "maxItems": 256
        },
        "events": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 32,
                "enum": [
                  "add",
                  "select"
                ]
              },
              "index": {
                "type": "integer",
                "minimum": 0,
                "maximum": 255
              },
              "delta": {
                "type": "integer",
                "minimum": -1000000,
                "maximum": 1000000
              },
              "rank": {
                "type": "integer",
                "minimum": 1,
                "maximum": 256000000
              },
              "claimed_index": {
                "type": "integer",
                "minimum": 0,
                "maximum": 255
              }
            },
            "required": [
              "kind",
              "index",
              "delta",
              "rank",
              "claimed_index"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 1024
        }
      },
      "required": [
        "initial_weights",
        "events"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "initial_weights": [
      1,
      2
    ],
    "events": [
      {
        "kind": "select",
        "index": 0,
        "delta": 0,
        "rank": 2,
        "claimed_index": 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 →