Zum Inhalt
HALOWERK

Finopswerk

factorial block alias witness

Construct declared two-level factorial interaction columns and reference-coded block effects from run records, then expose exact dependencies and coefficient estimability of requested terms. Bounded caller-supplied synthetic records only; no experiment execution or real-world model certification. A schema-valid unknown is a successful result at the same fixed price. Invalid input raises native HTTP400 before settlement.

POST https://finops.halowerk.com/v1/factorial-block-alias-witness

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
factorsarrayJa
termsarrayJa
include_blocksbooleanJa
runsarrayJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "factors": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{1,16}$"
      },
      "minItems": 1,
      "maxItems": 6
    },
    "terms": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "factors": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_-]{1,16}$"
            },
            "minItems": 1,
            "maxItems": 6
          }
        },
        "required": [
          "id",
          "factors"
        ]
      },
      "minItems": 1,
      "maxItems": 8
    },
    "include_blocks": {
      "type": "boolean"
    },
    "runs": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{1,16}$"
          },
          "levels": {
            "type": "array",
            "items": {
              "enum": [
                -1,
                1,
                null
              ]
            },
            "minItems": 1,
            "maxItems": 6
          },
          "block": {
            "anyOf": [
              {
                "type": "string",
                "pattern": "^[A-Za-z0-9_-]{1,16}$"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "levels",
          "block"
        ]
      },
      "minItems": 1,
      "maxItems": 32
    }
  },
  "required": [
    "factors",
    "terms",
    "include_blocks",
    "runs"
  ]
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "factors": [
    "A",
    "B"
  ],
  "terms": [
    {
      "id": "A",
      "factors": [
        "A"
      ]
    },
    {
      "id": "B",
      "factors": [
        "B"
      ]
    },
    {
      "id": "AB",
      "factors": [
        "A",
        "B"
      ]
    }
  ],
  "include_blocks": false,
  "runs": [
    {
      "id": "R0",
      "levels": [
        -1,
        -1
      ],
      "block": null
    },
    {
      "id": "R1",
      "levels": [
        -1,
        1
      ],
      "block": null
    },
    {
      "id": "R2",
      "levels": [
        1,
        -1
      ],
      "block": null
    },
    {
      "id": "R3",
      "levels": [
        1,
        1
      ],
      "block": null
    }
  ]
}

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 →