← Market

Exact Treedepth Parent Witness

For an original labelled simple undirected graph n0..5, connected when nonempty, derive exact treedepth: minimum root-leaf NODEcount among rooted trees whose ancestor closure contains every inputedge. Return lexicographically least parentvector among ALL minimum-height valid rooted trees, pervertex depth and complete ancestor-closure edges. Parents use vertexlabels0..n-1 and root-1; parent edges need not be graph edges.

POST https://datenvertrag.halowerk.com/v1/exact-treedepth-parent-witness

0.003 USDC on Base · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.003 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "claimed_parent": [
    1,
    -1,
    3,
    1,
    3
  ],
  "graph": {
    "edges": [
      [
        0,
        1
      ],
      [
        1,
        2
      ],
      [
        2,
        3
      ],
      [
        3,
        4
      ]
    ],
    "n": 5
  }
}
{
  "data": {
    "state": "observed",
    "value": {
      "claimed_matches": true,
      "closure_edges": [
        [
          0,
          1
        ],
        [
          1,
          2
        ],
        [
          1,
          3
        ],
        [
          1,
          4
        ],
        [
          2,
          3
        ],
        [
          3,
          4
        ]
      ],
      "complete": true,
      "missing": [],
      "n": 5,
      "parent": [
        1,
        -1,
        3,
        1,
        3
      ],
      "treedepth": 3,
      "vertex_depths": [
        2,
        1,
        3,
        2,
        3
      ]
    }
  }
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://datenvertrag.halowerk.com/v1/exact-treedepth-parent-witness · input in body · spec from live-challenge (schema inferred from example)

Input schema
{
  "type": "object",
  "properties": {
    "graph": {
      "type": "object",
      "properties": {
        "n": {
          "type": "integer"
        },
        "edges": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    "claimed_parent": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    }
  }
}
Output schema
{}
curl -i -X POST 'https://datenvertrag.halowerk.com/v1/exact-treedepth-parent-witness' \
  -H 'content-type: application/json' -d '{"graph":{"n":5,"edges":[[0,1],[1,2],[2,3],[3,4]]},"claimed_parent":[1,-1,3,1,3]}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)