Build & Version a Dataset
Build a small dataset through your first evaluation, completing its project setup and upload steps. Those steps create a DataFrame with the required text-schema columns and upload a version into your project.
Review and promote the version
Run quality checks and promote to golden.
run_checks returns a verdict; promote marks the version as the golden baseline. A clean verdict promotes directly; pass force=True to acknowledge warnings on a small demo set.
report = dataset.run_checks(version.id, label="pre-promote")
if report.status == "PASS":
version = dataset.promote(version.id)
else:
version = dataset.promote(version.id, force=True, reason="demo dataset")
Check the outcome
Retain both the dataset ID and version number. Pass the explicit version reference to the evaluation rather than assuming a later upload is the same baseline. Read dataset operations for changes to rows and golden promotion for quality checks.