← Market

Service Queue Shortest First

Queue scheduling comparison measures changes in total and maximum wait if free workers select the shortest available job. Use it when an agent needs comparing nonpreemptive dispatch policies.

POST https://rechen.halowerk.com/v1/service-queue-shortest-first

0.005 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.005 USDC · payTo 0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E · via cdp · settles direct
{
  "arrivals_s": [
    0,
    0,
    0,
    0,
    0
  ],
  "service_s": [
    34,
    15,
    13,
    15,
    19
  ],
  "workers": 1
}
{
  "data": {
    "fifo_total_wait_s": 222,
    "shortest_total_wait_s": 146,
    "worst_wait_change_s": -15
  },
  "limitations": "Times in integer seconds on one clock. Empty system initially. Equal arrivals follow input order; equal free times use lowest worker ID. No service preemption.",
  "measured_at": "2026-11-24T16:34:50.352Z",
  "source": {
    "reference": "Caller-supplied arrivals and service durations",
    "retrieved_at": "2026-11-24T16:34:50.352Z"
  }
}

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://rechen.halowerk.com/v1/service-queue-shortest-first · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "arrivals_s": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 2592000
      },
      "maxItems": 200,
      "minItems": 1
    },
    "service_s": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 604800
      },
      "maxItems": 200,
      "minItems": 1
    },
    "workers": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32
    }
  },
  "required": [
    "arrivals_s",
    "service_s",
    "workers"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://rechen.halowerk.com/v1/service-queue-shortest-first' \
  -H 'content-type: application/json' -d '{"arrivals_s":[0,0,0,0,0],"service_s":[34,15,13,15,19],"workers":1}'

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

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