ToolAssay

Reconstruct the exact Calkin-Wilf positive rational tree bijection

Reconstruct the exact Calkin-Wilf positive rational tree bijection. Root1/1; left child a/(a+b), right(a+b)/b. Own heap-index convention root1,left2n,right2n+1. Reduce supplied positive numerator/denominator1..128 by gcd; return exact decimal-string index, complete root-to-target ancestors and L/R path. Independently decode supplied index1..65535 and return its same complete artifact, plus equality of the two reduced rational nodes.

Answeringour last check, 2026-11-26
3 of 3checks answered this week
1199 msmedian answer time
$0.003listed price per call
$0.003price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://datenvertrag.halowerk.com/v1/calkin-wilf-rational-index-audit

CategoryCode and developer
Provider hostdatenvertrag.halowerk.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.003 1176 ms
2026-11-25 valid payment request 402$0.003 1227 ms
2026-11-24 valid payment request 402$0.003 1199 ms

Example input (from the provider)

{
  "body": {
    "claimed_value": {
      "fraction_index": {
        "ancestors": [
          [
            1,
            1
          ],
          [
            2,
            1
          ],
          [
            2,
            3
          ]
        ],
        "index_decimal": "6",
        "path": "RL",
        "reduced": [
          2,
          3
        ]
      },
      "index_fraction": {
        "ancestors": [
          [
            1,
            1
          ],
          [
            2,
            1
          ],
          [
            2,
            3
          ]
        ],
        "index_decimal": "6",
        "path": "RL",
        "reduced": [
          2,
          3
        ]
      },
      "same_node": true
    },
    "fraction": [
      2,
      3
    ],
    "index": 6
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "claimed_value": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "fraction_index": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "ancestors": {
                              "items": {
                                "items": {
                                  "maximum": 65536,
                                  "minimum": 1,
                                  "type": "integer"
                                },
                                "maxItems": 2,
                                "minItems": 2,
                                "type": "array"
                              },
                              "maxItems": 128,
                              "minItems": 1,
                              "type": "array"
                            },
                            "index_decimal": {
                              "maxLength": 39,
                              "pattern": "^[1-9][0-9]*$",
                              "type": "string"
                            },
                            "path": {
                              "maxLength": 127,
                              "pattern": "^[LR]*$",
                              "type": "string"
                            },
                            "reduced": {
                              "items": {
                                "maximum": 65536,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "maxItems": 2,
                              "minItems": 2,
                              "type": "array"
                            }
                          },
                          "required": [
                            "reduced",
                            "path",
                            "index_decimal",
                            "ancestors"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "index_fraction": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "ancestors": {
                              "items": {
                                "items": {
                                  "maximum": 65536,
                                  "minimum": 1,
                                  "type": "integer"
                                },
                                "maxItems": 2,
                                "minItems": 2,
                                "type": "array"
                              },
                              "maxItems": 128,
                              "minItems": 1,
                              "type": "array"
                            },
                            "index_decimal": {
                              "maxLength": 39,
                              "pattern": "^[1-9][0-9]*$",
                              "type": "string"
                            },
                            "path": {
                              "maxLength": 127,
                              "pattern": "^[LR]*$",
                              "type": "string"
                            },
                            "reduced": {
                              "items": {
                                "maximum": 65536,
                                "minimum": 1,
                                "type": "integer"
                              },
                              "maxItems": 2,
                              "minItems": 2,
                              "type": "array"
                            }
                          },
                          "required": [
                            "reduced",
                            "path",
                            "index_decimal",
                            "ancestors"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "same_node": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "fraction_index",
                    "index_fraction",
                    "same_node"
                  ],
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "fraction": {
              "anyOf": [
                {
                  "items": {
                    "maximum": 128,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "maxItems": 2,
                  "minItems": 2,
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ]
            },
            "index": {
              "anyOf": [
                {
                  "maximum": 65535,
                  "minimum": 1,
                  "type": "integer"
                },
                {
                  "type": "null"
        

This page as JSON