{"uid":"cap_FdTVeb4u9Ugn3b_lE154K","slug":"rqm-compare-controller-responses-fd0f9fc0","name":"RQM Compare Controller Responses","description":"Problem: Compare these bounded controller responses on identical traces using the supplied objective rules. Input: JSON with baseline, candidate, rules. Result: metric values, threshold verdicts, difference series. Limits: Software/model evidence only; 65536 request bytes; 5 s execution.","url":"https://jobs.rqmtechnologies.com/x402/buyer-jobs/robotics.compare-controller-responses.v1","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","title":"ControllerComparisonRequest","required":["baseline","candidate","rules"],"properties":{"rules":{"type":"array","items":{"type":"object","title":"MetricRule","required":["metric","maximum"],"properties":{"metric":{"enum":["rmse","maximum_absolute_error","mean_absolute_error"],"type":"string","title":"Metric"},"maximum":{"type":"number","title":"Maximum","maximum":1000000000000,"minimum":0}},"additionalProperties":false},"title":"Rules","maxItems":3,"minItems":1},"baseline":{"type":"object","title":"ResponseTrace","required":["trace_id","samples"],"properties":{"samples":{"type":"array","items":{"type":"object","title":"TimedVector","required":["timestamp_s","values"],"properties":{"values":{"type":"array","items":{"type":"number"},"title":"Values","maxItems":12,"minItems":1},"timestamp_s":{"type":"number","title":"Timestamp S","maximum":86400,"minimum":0}},"additionalProperties":false},"title":"Samples","maxItems":4096,"minItems":2},"trace_id":{"type":"string","title":"Trace Id","pattern":"^[A-Za-z0-9._-]{1,64}$"}},"additionalProperties":false},"candidate":{"type":"object","title":"ResponseTrace","required":["trace_id","samples"],"properties":{"samples":{"type":"array","items":{"type":"object","title":"TimedVector","required":["timestamp_s","values"],"properties":{"values":{"type":"array","items":{"type":"number"},"title":"Values","maxItems":12,"minItems":1},"timestamp_s":{"type":"number","title":"Timestamp S","maximum":86400,"minimum":0}},"additionalProperties":false},"title":"Samples","maxItems":4096,"minItems":2},"trace_id":{"type":"string","title":"Trace Id","pattern":"^[A-Za-z0-9._-]{1,64}$"}},"additionalProperties":false}},"additionalProperties":false},"schema_version":{"const":"rqm.jobs.bazaar-buyer-job-request.v1"},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]*$","maxLength":128,"minLength":1},"max_total_price":{"type":"string","pattern":"^(?:0|[1-9]\\d{0,13})(?:\\.\\d{1,6})?$"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_N0_krcxg-LyckWUfXL3vM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two bounded controller response traces (baseline vs candidate) on identical inputs using caller-specified numeric error rules (RMSE, MAE, max absolute error).","exampleAgentPrompt":"Compare my baseline controller trace (trace ID 'ctrl-baseline-001', with 500 timestamped samples) against my candidate trace (trace ID 'ctrl-candidate-002', same 500 samples) and check whether the RMSE stays below 0.05 and the maximum absolute error stays below 0.2.","exampleUseCases":[{"title":"Robotics controller upgrade validation","prompt":"I've tuned a new PID controller for our robot arm and I need to check whether it's actually better than the old one — can you compare the candidate trace (trace ID 'arm-pid-v2') against the baseline trace ('arm-pid-v1') using an RMSE limit of 0.01 and a max absolute error limit of 0.05?"},{"title":"Automated regression test for control software","prompt":"Before I merge this controller change, run a regression comparison of the new controller trace ('ctrl-PR-4821') against the approved baseline ('ctrl-main-stable') with mean absolute error capped at 0.03 and RMSE capped at 0.02, so I know if anything broke."},{"title":"Multi-axis drone stabilization comparison","prompt":"I have two stabilization controller traces from the same flight test — baseline is 'drone-stab-ref' and candidate is 'drone-stab-exp' — compare them with an RMSE limit of 0.08 and a maximum absolute error limit of 0.15 across all axes."}],"resultDescription":"Returns a structured comparison result indicating whether the candidate controller trace passes or fails each supplied metric rule (RMSE, mean absolute error, maximum absolute error), along with the computed numeric error values for each metric and trace metadata.","failureModes":["Mismatched sample counts or timestamps between baseline and candidate traces causing interpolation or alignment errors","Trace IDs that do not match the required alphanumeric pattern (^[A-Za-z0-9._-]{1,64}$) returning validation errors","Rules array empty or exceeding 3 items causing request rejection","Sample arrays below minimum of 2 or exceeding 4096 entries causing schema validation failure","Maximum threshold values outside [0, 1e12] range causing rejection","Values vectors of differing dimensions between baseline and candidate samples","Payment failure or insufficient USDC balance blocking execution"],"whenToPreferThis":"Use this endpoint when you need deterministic, rule-based comparison of two controller response traces on identical test inputs with caller-defined numeric error thresholds (RMSE, MAE, max absolute error). Prefer this over general analytics tools when working in robotics or control systems contexts where structured pass/fail verdicts against declared error limits are required. Do not use for universal controller ranking, undeclared safety decisions, or comparisons requiring more than 3 metric rules simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:43:39.586Z","isFirstParty":false}