{"uid":"cap_fCJmwcYOrlOpG2lQkfKhY","slug":"minimum-weighted-tardiness-order-verifier-2573f3c7","name":"Minimum Weighted Tardiness Order Verifier","description":"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.","url":"https://detect.halowerk.com/v1/workflow/workflow-minimum-weighted-tardiness?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bA16kW3GkZolNuiSSjsUx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Validate automated scheduler output","prompt":"My scheduling algorithm just produced this job order [0, 2, 1, 3] for 4 jobs with durations [2, 4, 3, 1], deadlines [5, 9, 7, 3], and weights [3, 1, 2, 4]. Can you confirm whether this sequence truly minimizes total weighted tardiness or if the scheduler got it wrong?"},{"title":"Certify optimization solver solution","prompt":"I'm running a mixed-integer solver to minimize weighted tardiness on a single non-preemptive machine. It returned order [1, 0, 3, 2] for jobs with durations [5, 2, 4, 3], deadlines [8, 4, 12, 7], and weights [1, 5, 2, 3]. Please verify this claimed optimal sequence is actually correct."},{"title":"Audit student scheduling homework","prompt":"A student submitted job order [2, 0, 1, 3] as the weighted-tardiness-minimizing schedule for jobs with durations [3, 1, 4, 2], deadlines [6, 3, 10, 5], and weights [2, 4, 1, 3] on a single machine. Can you check whether their answer is truly optimal?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:41:17.980Z","isFirstParty":false,"canonicalSlug":"minimum-weighted-tardiness-order-verifier-2573f3c7"}