Skip to content

Instantly share code, notes, and snippets.

/**
* Claude Index Normalization Function
*
* This module provides functions to normalize rating data, particularly useful for:
* - Teacher/evaluator ratings that suffer from central tendency bias
* - Ratings where evaluators use different parts of the scale
* - Compressed or shifted rating distributions
*
* The core function blends original ratings with normalized scores based on
* a configurable alpha parameter, with automatic adjustment for compression.