load_sample_dataset is a module-level function:
Parameters
Each dataset’s SHA-256 digest is pinned in the SDK and verified both after download and on every cache read, so a tampered download or cache file is rejected and re-fetched rather than trusted.
Returns
SampleDataset: A dataclass combining dataset metadata, upsert-ready convenience fields, the raw parallel arrays, and ground-truth fixture data:
Exceptions
ValueError
ValueError
- Throws if the dataset name is unknown.
RuntimeError
RuntimeError
- Throws if the download fails.
- Throws if the downloaded dataset fails its integrity (SHA-256) check.