Hanzo

Score Configs

Score definitions — data types, ranges, and categories that every score conforms to.

Score Configs

A score config is the schema for a score: its data type and its valid range or set of categories. Configs make scores consistent — a helpfulness numeric always runs 1–5, a sentiment categorical always uses the same labels. Served by Hanzo O11y, tenant-scoped by org.

Data types

dataTypeConstraint fieldsUse for
NUMERICminValue, maxValueRatings and rubric scores (1–5, 0.0–1.0)
CATEGORICALcategories[]Labeled buckets (good / neutral / bad)
BOOLEANcategories[] (True/False)Pass/fail checks
TEXTFree-text judgments

Each entry in categories is a { label, value } pair, so a categorical score carries a human-readable label and a numeric code for aggregation.

Archiving

Archived configs stay attached to historical scores but are hidden from new scoring. A config is referenced by a score through its configId, and by an annotation queue through scoreConfigIds.

How is this guide?

On this page