MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / __init__

Method __init__

codeclash/analysis/metrics/elo.py:718–735  ·  view source on GitHub ↗
(
        self,
        builder: ScoreMatrixBuilder,
        *,
        n_bootstrap: int = 1000,
        game: str = "ALL",
        regularization: float = 0.01,
        topks: list[int] | None = None,
        bootstrap_type: Literal["nonparametric", "parametric"] = "nonparametric",
        output_dir: Path | None = None,
    )

Source from the content-addressed store, hash-verified

716 ax.grid(True, alpha=0.3)
717
718 # Hide unused subplots
719 for idx in range(n_players, len(axes)):
720 axes[idx].set_visible(False)
721
722 plt.tight_layout()
723 safe_game_name = game_name.replace("/", "_").replace(" ", "_")
724 self._save_plot(output_dir, f"{safe_game_name}_validation")
725 plt.close()
726
727
728class BootStrapRankStability:
729 def __init__(
730 self,
731 builder: ScoreMatrixBuilder,
732 *,
733 n_bootstrap: int = 1000,
734 game: str = "ALL",
735 regularization: float = 0.01,
736 topks: list[int] | None = None,
737 bootstrap_type: Literal["nonparametric", "parametric"] = "nonparametric",
738 output_dir: Path | None = None,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected