Skip to content
HALOWERK

Trade Operations

lot sampling feasible cutoffs

Acceptance cutoff selection finds all consecutive cutoffs satisfying the two risk limits for a fixed sample size. Use it when an agent needs negotiating an acceptance criterion.

POST https://handel.halowerk.com/v1/lot-sampling-feasible-cutoffs

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
lotintegerYes
good_defectsintegerYes
bad_defectsintegerYes
sampleintegerYes
alphanumberYes
betanumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "lot": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000
    },
    "good_defects": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "bad_defects": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000
    },
    "sample": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000
    },
    "alpha": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 0.999999
    },
    "beta": {
      "type": "number",
      "minimum": 1e-06,
      "maximum": 0.999999
    }
  },
  "required": [
    "lot",
    "good_defects",
    "bad_defects",
    "sample",
    "alpha",
    "beta"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lot": 1000,
  "good_defects": 10,
  "bad_defects": 80,
  "alpha": 0.05,
  "beta": 0.1,
  "sample": 100
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’