Zum Inhalt
HALOWERK

Gamingwerk

gacha rng verify

Counts supplied outcomes, computes Pearson’s chi-square statistic, and estimates an upper-tail p-value with the Wilson-Hilferty normal approximation. It tests aggregate frequencies only; it cannot prove draw independence, seed fairness, code integrity, or manipulation, especially when expected counts are small.

POST https://gaming.halowerk.com/v1/gacha-rng-verify

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
outcomesarrayJa
drawsarrayJa
alphanumberNein
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "outcomes",
    "draws"
  ],
  "additionalProperties": false,
  "properties": {
    "outcomes": {
      "type": "array",
      "minItems": 2,
      "maxItems": 100,
      "items": {
        "type": "object",
        "required": [
          "outcome",
          "probability"
        ],
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "probability": {
            "type": "number",
            "minimum": 1e-09,
            "maximum": 1
          }
        }
      }
    },
    "draws": {
      "type": "array",
      "minItems": 10,
      "maxItems": 100000,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 128
      }
    },
    "alpha": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 0.5
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "outcomes": [
    {
      "outcome": "common",
      "probability": 0.8
    },
    {
      "outcome": "rare",
      "probability": 0.18
    },
    {
      "outcome": "legendary",
      "probability": 0.02
    }
  ],
  "draws": [
    "common",
    "common",
    "rare",
    "common",
    "common",
    "common",
    "rare",
    "common",
    "common",
    "legendary",
    "common",
    "common",
    "rare",
    "common",
    "common",
    "common",
    "rare",
    "common",
    "common",
    "common"
  ],
  "alpha": 0.05
}

Ergebnis & Dokumentation

Veröffentlichtes Ergebnisschema anzeigen
{
  "$ref": "https://gaming.halowerk.com/v1/gacha-rng-verify/schema#/outputSchema"
}

Veröffentlichtes Ergebnisbeispiel öffnen

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 →