{"inputSchema":{"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":0.000001,"maximum":0.999999},"beta":{"type":"number","minimum":0.000001,"maximum":0.999999}},"required":["lot","good_defects","bad_defects","sample","alpha","beta"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"feasible":{"type":"boolean"},"lowest":{"type":"integer"},"highest":{"type":"integer"}},"required":["feasible","lowest","highest"]},"limitations":{"type":"string"}}},"requestExample":{"lot":1000,"good_defects":10,"bad_defects":80,"alpha":0.05,"beta":0.1,"sample":100},"usageGuide":["Simple random sampling without replacement. Each unit is either defective or good. Perfect inspection and like-for-like replacement where stated. Negative cutoff denotes no feasible plan."],"outputExample":{"measured_at":"2026-11-24T15:31:58.175Z","source":{"reference":"Caller-supplied lot and random sampling plan","retrieved_at":"2026-11-24T15:31:58.175Z"},"data":{"feasible":true,"lowest":3,"highest":4},"limitations":"Simple random sampling without replacement. Each unit is either defective or good. Perfect inspection and like-for-like replacement where stated. Negative cutoff denotes no feasible plan."},"tags":["acceptance sampling","quality control","lot inspection","hypergeometric"],"price_usdc":"0.005"}