{"inputSchema":{"type":"object","properties":{"lot":{"type":"integer","minimum":1,"maximum":1000000},"defects":{"type":"integer","minimum":0,"maximum":1000000},"sample":{"type":"integer","minimum":1,"maximum":1000},"accept":{"type":"integer","minimum":0,"maximum":1000}},"required":["lot","defects","sample","accept"],"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":{"expected_draws":{"type":"number"},"saved_draws":{"type":"number"}},"required":["expected_draws","saved_draws"]},"limitations":{"type":"string"}}},"requestExample":{"lot":1000,"defects":10,"sample":52,"accept":3},"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.197Z","source":{"reference":"Caller-supplied lot and random sampling plan","retrieved_at":"2026-11-24T15:31:58.197Z"},"data":{"expected_draws":49.4824037884,"saved_draws":2.51759621161},"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"}