{"uid":"cap_D6MASBjTuddDsP1bAvL7v","slug":"dwell-release-comparison-maha-strategies-e713fbe6","name":"Dwell-Release Comparison (Maha Strategies)","description":"Paired finite-state replay of onset/dwell and hysteretic release settings over at most 512 labelled offline scores. Timers and state carry across contiguous trials. At equal timestamps score changes precede timers; no event fires at the final endpoint. Reports paired false-event, miss and latency metrics. No hardware or live control.","url":"https://www.mahastrategies.com/api/v1/micro/dwell-release-comparison?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","trials","a","b","scoreUnits","evaluationSplit"],"properties":{"a":{"type":"object"},"b":{"type":"object"},"trials":{"type":"array","maxItems":16,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"scoreUnits":{"enum":["unit-interval"],"type":"string"},"evaluationSplit":{"enum":["declared-held-out-offline"],"type":"string"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["dwell-release-comparison"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["96000"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.096","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.096/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.096","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.096","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_I435vugV5o3IfPolkWY52","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.096","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a paired finite-state replay simulation comparing onset/dwell and hysteretic release settings across up to 512 labelled offline scoring trials, reporting false-event, miss, and latency metrics.","exampleAgentPrompt":"Compare my two detector configs — config A uses onset/dwell settings and config B uses hysteretic release — across these 8 public trial sequences scored in unit-interval units on a declared-held-out-offline split, and give me false-event rates, miss rates, and latency metrics for each.","exampleUseCases":[{"title":"Hysteresis threshold tuning for event detector","prompt":"I have two versions of my event detector: version A with dwell onset parameters and version B with hysteretic release parameters. Run them both over my 12 synthetic scored trials (unit-interval scores, declared-held-out-offline split) and tell me which one has fewer false alarms and lower miss rate."},{"title":"Auditing paired detector configs on public data","prompt":"Can you replay my pair of finite-state detector configs over 6 labelled public trial sequences and report the paired miss, false-event, and latency metrics? Scores are in unit-interval units and I want a declared-held-out-offline evaluation."},{"title":"Pre-deployment validation of release thresholds","prompt":"Before I deploy, I want to validate my onset/dwell config against my hysteretic release config on 10 synthetic offline trials. Use unit-interval scoring and declared-held-out-offline split, and show me boundary annotations along with the latency and false-event numbers."}],"resultDescription":"Returns a structured result object containing paired false-event rates, miss rates, and latency metrics for configs A and B across the supplied trials, along with boundary annotations (up to 128), an offer ID, version tag, input digest, and receipt digest for auditability.","failureModes":["More than 16 trials supplied (maxItems violation)","More than 512 labelled scores total causing truncation or rejection","Invalid dataClass or scoreUnits enum values","Missing required fields (dataClass, trials, a, b, scoreUnits, evaluationSplit)","Malformed trial data causing state replay failure","Payment not attached or insufficient (x402 protocol failure)"],"whenToPreferThis":"Use this endpoint when you need a deterministic, reproducible offline comparison of two finite-state detector configurations (onset/dwell vs hysteretic release) on pre-labelled trial data, with paired statistical metrics (false events, misses, latency). Prefer it over manual simulation when you need auditable digests and boundary annotations. Not suitable for live/real-time hardware control or datasets exceeding 512 scored events or 16 trials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:53:27.509Z","isFirstParty":false,"canonicalSlug":"dwell-release-comparison-maha-strategies-e713fbe6"}