Zum Inhalt
HALOWERK

Datenvertragswerk

integer histogram bucket audit

Own bounded numeric width_bucket evaluator from PostgreSQL18 public rules: equal-width ascending or mirror-descending bins, or strictly increasing integer threshold bins. Returns every row bucket and rational interval boundaries and compares whole claimed vector. Missing supplied evidence is null/unknown, not a SQLNULL execution claim. No SQL,PostgreSQL,float,time-zone or data-source execution. Strict-threshold specialization rejects duplicate bounds without claiming PostgreSQL itself.

POST https://datenvertrag.halowerk.com/v1/integer-histogram-bucket-audit

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
claimed_bucketsSiehe SchemaJa
profileSiehe SchemaJa
valuesarrayJa
Vollständiges Eingabeschema anzeigen
{
  "additionalProperties": false,
  "properties": {
    "claimed_buckets": {
      "anyOf": [
        {
          "items": {
            "maximum": 33,
            "minimum": 0,
            "type": "integer"
          },
          "maxItems": 64,
          "type": "array"
        },
        {
          "type": "null"
        }
      ]
    },
    "profile": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "count": {
              "maximum": 32,
              "minimum": 1,
              "type": "integer"
            },
            "high": {
              "anyOf": [
                {
                  "maximum": 1000000,
                  "minimum": -1000000,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "kind": {
              "const": "uniform"
            },
            "low": {
              "anyOf": [
                {
                  "maximum": 1000000,
                  "minimum": -1000000,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "kind",
            "low",
            "high",
            "count"
          ],
          "type": "object"
        },
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "const": "thresholds"
            },
            "thresholds": {
              "items": {
                "anyOf": [
                  {
                    "maximum": 1000000,
                    "minimum": -1000000,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "maxItems": 32,
              "type": "array"
            }
          },
          "required": [
            "kind",
            "thresholds"
          ],
          "type": "object"
        }
      ]
    },
    "values": {
      "items": {
        "anyOf": [
          {
            "maximum": 1000000,
            "minimum": -1000000,
            "type": "integer"
          },
          {
            "type": "null"
          }
        ]
      },
      "maxItems": 64,
      "type": "array"
    }
  },
  "required": [
    "profile",
    "values",
    "claimed_buckets"
  ],
  "type": "object"
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "claimed_buckets": [
    0,
    1,
    2,
    4
  ],
  "profile": {
    "count": 3,
    "high": 6,
    "kind": "uniform",
    "low": 0
  },
  "values": [
    -1,
    0,
    2,
    6
  ]
}

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 →