# Minimum Weighted Tardiness Order Verifier

> Minimum Weighted Tardiness Order Verifier is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-18).

Verifies whether a claimed job execution order on a single non-preemptive machine minimizes total weighted tardiness (weighted lateness loss) given job durations, deadlines, and weights.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/workflow/workflow-minimum-weighted-tardiness?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minimum-weighted-tardiness-order-verifier-2573f3c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fCJmwcYOrlOpG2lQkfKhY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability minimum-weighted-tardiness-order-verifier-2573f3c7 -d '<json body>'
```

Example prompt: I have 4 jobs to run on a single machine with durations [3, 2, 5, 1], deadlines [6, 4, 10, 3], and weights [2, 3, 1, 4]. My scheduler claims the optimal order is [3, 1, 0, 2] — can you verify that this order actually minimizes total weighted tardiness?

## When to prefer this

Use this endpoint when you need to certify correctness of a computed minimum-weighted-tardiness schedule on a single non-preemptive machine, rather than merely checking deadline feasibility. Prefer this over hard-deadline checkers when the objective is to minimize weighted lateness loss, not just avoid missed deadlines. Ideal for validating outputs of scheduling solvers, heuristics, or student submissions against the true optimal.

## Known failure modes

- Invalid claimed_order indices (out of range 0–15 or referencing non-existent jobs) return a validation error
- Mismatched array lengths between jobs and claimed_order entries cause rejection
- Jobs exceeding maximum duration (1,000,000) or deadline (16,000,000) violate schema constraints
- Empty jobs array with non-empty claimed_order returns inconsistency error
- Negative duration, deadline, or weight values are rejected by schema validation

## How this service works

An agent that orders one nonpreemptive autonomous worker queue needs whether its claimed complete order minimizes the supplied weighted lateness loss rather than merely meeting hard deadlines.

## Output

Returns whether the claimed job execution order truly minimizes total weighted tardiness (sum of weight × max(0, completion_time − deadline)) across all jobs on a single non-preemptive machine, along with the computed weighted tardiness for the claimed order and potentially the optimal weighted tardiness value for comparison.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "jobs",
    "claimed_order"
   ],
   "properties": {
    "jobs": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "duration",
       "deadline",
       "weight"
      ],
      "properties": {
       "weight": {
        "type": "integer",
        "maximum": 1000000,
        "minimum": 0
       },
       "deadline": {
        "type": "integer",
        "maximum": 16000000,
        "minimum": 0
       },
       "duration": {
        "type": "integer",
        "maximum": 1000000,
        "minimum": 0
       }
      },
      "additionalProperties": false
     },
     "maxItems": 16,
     "minItems": 0
    },
    "claimed_order": {
     "type": "array",
     "items": {
      "type": "integer",
      "maximum": 15,
      "minimum": 0
     },
     "maxItems": 16,
     "minItems": 0
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minimum-weighted-tardiness-order-verifier-2573f3c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
