def _params_to_elo_ratings(
    params: np.ndarray[tuple[int], np.dtype[np.number]]
) -> np.ndarray[tuple[int], np.dtype[np.number]]:
  """Convert model parameters to Elo ratings centered at 1500."""
  elos = 400 * np.log10(params)
  mean_elo = np.mean(elos)
  return np.round(elos - mean_elo + 1500)
Convert model parameters to Elo ratings centered at 1500.
examples/deprecated/modular/scoring/elo.py