When no single metric tells the truth
Sometimes the right grade is a weighted combination — accuracy + safety + brevity, all multiplied by format-compliance. That is a composite score, and writing one is straightforward, but the math has rules.
Composite design rules
- Each component must be a 0-1 score. Mixing percentages with raw counts produces garbage.
- Hard gates beat weighted averages for critical dimensions. Safety should multiply by 0 if it fails, not subtract a few points.
- Always log the components, not just the composite. The composite is the headline; the components are the diagnosis.
- Pick weights deliberately and write down why. "Correctness 0.5, format 0.3, brevity 0.2 because users complain twice as often about wrong answers as about long ones."
Weighted-average vs multiplicative
Weighted average: good when components are independent and compensable (more brevity can offset slightly lower coherence).
Multiplicative: good when failures are catastrophic (safety = 0 → composite = 0, no matter how brilliant the answer is).
Most real composites are multiplicative on safety / format gates, weighted-average on quality dimensions.
The tax of composites — calibration drift
If your composite is "correctness * 0.5 + brevity * 0.5" and your team optimizes against it, you may get high composite scores by being terse but wrong. The composite did not measure what you wanted; it measured what it told the team to maximize. Re-check composites quarterly against human ratings.