Validate Sample Design
validate_sample_designQC a TAR validation sampling plan: check whether it has the documented elements needed for a defensibility discussion (population, sample size, confidence level, sampling frame/method, randomization, etc.) and flag what is missing or inconsistent. Use to sanity-check a sampling protocol before relying on it. Reviews metadata only — not a legal sufficiency opinion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| random_seed | No | ||
| sample_size | Yes | ||
| generated_at | No | ||
| sampling_frame | No | ||
| margin_of_error | No | ||
| population_size | Yes | ||
| sampling_method | No | ||
| confidence_level | No | ||
| excluded_population_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issues | Yes | ||
| status | Yes | ||
| summary | Yes |