Zum Inhalt
HALOWERK

Datenvertragswerk

bounded rational nearest audit

Own bounded exact rational bracketing, maxdenominator1024. Return all minimizing reduced fractions sorted numerically, exact absolute errors, greatest allowed lower and least allowed upper inclusive neighbors; compare whole claimlist by rational equivalence preserving duplicates. No Pythonlimit_denominator/float conversion/modular residue/Pade/library execution. Missing supplied target/bound remainsunknown. Fixed0.003USDC also for schema-valid unknown; invalid profile native400 before.

POST https://datenvertrag.halowerk.com/v1/bounded-rational-nearest-audit

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
claimed_bestSiehe SchemaJa
denominatorSiehe SchemaJa
max_denominatorSiehe SchemaJa
numeratorSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "additionalProperties": false,
  "properties": {
    "claimed_best": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": false,
            "properties": {
              "denominator": {
                "maximum": 1024,
                "minimum": 1,
                "type": "integer"
              },
              "numerator": {
                "maximum": 1024000001,
                "minimum": -1024000001,
                "type": "integer"
              }
            },
            "required": [
              "numerator",
              "denominator"
            ],
            "type": "object"
          },
          "maxItems": 2,
          "type": "array"
        },
        {
          "type": "null"
        }
      ]
    },
    "denominator": {
      "anyOf": [
        {
          "maximum": 1000000,
          "minimum": 1,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "max_denominator": {
      "anyOf": [
        {
          "maximum": 1024,
          "minimum": 1,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "numerator": {
      "anyOf": [
        {
          "maximum": 1000000,
          "minimum": -1000000,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "numerator",
    "denominator",
    "max_denominator",
    "claimed_best"
  ],
  "type": "object"
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "claimed_best": [
    {
      "denominator": 1,
      "numerator": -1
    },
    {
      "denominator": 1,
      "numerator": 0
    }
  ],
  "denominator": 2,
  "max_denominator": 1,
  "numerator": -1
}

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 →