Skip to content
HALOWERK

Trade Operations

lot sampling two point risk

Acceptance plan risk reports producer rejection risk at the good quality point and consumer acceptance risk at the bad point. Use it when an agent needs checking a quality agreement.

POST https://handel.halowerk.com/v1/lot-sampling-two-point-risk

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
lotintegerYes
good_defectsintegerYes
bad_defectsintegerYes
sampleintegerYes
acceptintegerYes
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
    },
    "accept": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "lot",
    "good_defects",
    "bad_defects",
    "sample",
    "accept"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "lot": 1000,
  "good_defects": 10,
  "bad_defects": 80,
  "sample": 52,
  "accept": 3
}

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 โ†’