MCPcopy Create free account

hub / github.com/CodeClash-ai/CodeClash / functions

Functions1,100 in github.com/CodeClash-ai/CodeClash

↓ 1 callersFunctionremove_file_handler
Remove and close a file handler from the logger.
codeclash/utils/log.py:98
↓ 1 callersFunctionrenderMessages
( foldout, messages, playerName, roundNum, trajectoryFilePath, )
codeclash/viewer/static/js/trajectory.js:78
↓ 1 callersFunctionrender_game
(game)
codeclash/replay/serve.py:29
↓ 1 callersFunctionresiduals_all_5050
Compute residuals for a model where each tournament is predicted to be 50% 50%
codeclash/analysis/bootstrap/analyze_round_correlations.py:141
↓ 1 callersFunctionresiduals_all_mean
Compute residuals for a model where each tournament is predicted to be the mean of the scores
codeclash/analysis/bootstrap/analyze_round_correlations.py:151
↓ 1 callersFunctionresiduals_same_as_first
Compute residuals for a model where each tournament is predicted using the logit of the first round's score. scores: shape (num_tourname
codeclash/analysis/bootstrap/analyze_round_correlations.py:128
↓ 1 callersFunctionresiduals_same_as_previous
Compute residuals for a model where each tournament is predicted using the logit of the previous round's score. scores: shape (num_tourn
codeclash/analysis/bootstrap/analyze_round_correlations.py:110
↓ 1 callersFunctionrobocode_adjustments
(config: dict, record_ratio: float)
codeclash/utils/generate_confs.py:109
↓ 1 callersMethodrun_edit_phase
Execute a single training round.
codeclash/tournaments/pvp.py:115
↓ 1 callersFunctionrun_game
(players, callbacks, seed, ticks, width, height, unit_count, agent_timeout)
codeclash/arenas/bomberland/runtime/run_bomberland.py:413
↓ 1 callersMethodrun_main_agent
Run the main agent for the current round.
codeclash/tournaments/single_player.py:122
↓ 1 callersFunctionrun_pair
(pvp_config: dict, output_dir: Path)
codeclash/cli/ladder.py:100
↓ 1 callersFunctionrun_server
Serve the folder's replays until interrupted, opening the index in a browser.
codeclash/replay/serve.py:26
↓ 1 callersMethodrun_tournament
Runs tournament with the players and updates their measured elo.
codeclash/analysis/bootstrap/bootstrap.py:84
↓ 1 callersMethodrun_training_round
Execute a single training round, i.e., run the game, then run the agent.
codeclash/tournaments/single_player.py:95
↓ 1 callersFunctionrun_world
(agent_classes: dict[str, type], *, sim_idx: int, steps: int, lines: int)
codeclash/arenas/scml/runtime/run_scml.py:449
↓ 1 callersFunctionsafe_module_name
(player_name: str)
codeclash/arenas/cyborg/runtime/run_cyborg.py:20
↓ 1 callersFunctionscores_to_ranks
Higher score => better rank (0 is best). Ties share the same rank.
codeclash/analysis/metrics/tskill.py:34
↓ 1 callersFunctionscrollToRound
(roundNum)
codeclash/viewer/static/js/app.js:257
↓ 1 callersFunctionsetGameFilter
(gameName)
codeclash/viewer/static/js/picker.js:982
↓ 1 callersMethodset_mirror_state_to_round
Update mirror agent's codebase with the main agent's changes.
codeclash/tournaments/single_player.py:128
↓ 1 callersFunctionset_static_mode
Enable or disable static mode
codeclash/viewer/app.py:340
↓ 1 callersFunctionsetupButtonEventListeners
()
codeclash/viewer/static/js/app.js:686
↓ 1 callersFunctionsetupCopyButtons
()
codeclash/viewer/static/js/clipboard.js:125
↓ 1 callersFunctionsetupDownloadButtons
()
codeclash/viewer/static/js/clipboard.js:162
↓ 1 callersFunctionsetupMatrixTooltips
()
codeclash/viewer/static/js/matrix.js:75
↓ 1 callersFunctionsetup_freezer
Set up the Frozen-Flask freezer with proper configuration
scripts/freeze_viewer.py:19
↓ 1 callersFunctionshannon_entropy
Calculate Shannon entropy for a list of commands. Shannon entropy measures the "surprise" or information content in the distribution. -
codeclash/analysis/viz/cdf_command_diversity.py:51
↓ 1 callersFunctionshouldRowBeVisible
(row)
codeclash/viewer/static/js/picker.js:765
↓ 1 callersFunctionshowErrorMessage
()
codeclash/viewer/static/js/clipboard.js:93
↓ 1 callersFunctionshowHelpModal
()
codeclash/viewer/static/js/app.js:42
↓ 1 callersFunctionstate_to_plain
(state)
codeclash/arenas/scml/runtime/run_scml.py:79
↓ 1 callersFunctiontick_bombs
(bombs, metal, wood, units, stats, blasts)
codeclash/arenas/bomberland/runtime/run_bomberland.py:363
↓ 1 callersMethodto_template_vars
Convert the GameContext to a dictionary for rendering prompts in the agent
codeclash/agents/utils.py:34
↓ 1 callersFunctiontoggleGameSelection
(gameName, forceState = null)
codeclash/viewer/static/js/picker.js:51
↓ 1 callersFunctionupdateLineCountChart
* Update the existing chart with data for a new file
codeclash/viewer/static/js/analysis.js:114
↓ 1 callersFunctionupdate_agent_info
Process a single agent and update their agent_stats. Returns True if any updates were made.
scripts/include_cost_info_in_metadata.py:25
↓ 1 callersFunctionupdate_ratings_for_round
(scores_dict)
codeclash/analysis/metrics/tskill.py:50
↓ 1 callersFunctionwrite_bootstrap_metrics_table
Write LaTeX table comparing bootstrap metrics between methods. Args: bootstrap_results: Dictionary mapping bootstrap type to metrics dict
codeclash/analysis/metrics/elo.py:1429
↓ 1 callersFunctionwrite_latex_table
Write LaTeX table with ELO results to file. Args: results: Dictionary mapping game name to fit results output_dir: Directory to s
codeclash/analysis/metrics/elo.py:1298
↓ 1 callersFunctionwrite_latex_table_plain
Write LaTeX table with plain ELO scores and uncertainties (no bar charts). Args: results: Dictionary mapping game name to fit results
codeclash/analysis/metrics/elo.py:1470
↓ 1 callersFunctionwrite_website_results
Write results in JSON format for website consumption. Creates a leaderboard JSON with rankings per arena and overall. Format: { "
codeclash/analysis/metrics/elo.py:1378
Method__bool__
(self)
codeclash/replay/base.py:50
Method__enter__
(self)
codeclash/analysis/llm_as_judge/utils.py:15
Method__exit__
(self, exc_type, exc_val, exc_tb)
codeclash/analysis/llm_as_judge/utils.py:20
Method__init__
(self)
tests/arenas/test_bomberland.py:101
Method__init__
(self)
tests/arenas/test_bomberland.py:245
Method__init__
(self)
tests/arenas/test_cyborg.py:208
Method__init__
Args: files: Dict mapping file paths to their contents command_outputs: Dict mapping command prefixes to their output
tests/arenas/conftest.py:18
Method__init__
(self, name: str, environment: MockEnvironment | None = None)
tests/arenas/conftest.py:76
Method__init__
(self, console: Console | None = None, emoji: str = "")
codeclash/utils/log.py:19
Method__init__
(self, value)
codeclash/utils/generate_confs.py:30
Method__init__
(self, name: str)
codeclash/arenas/arena.py:25
Method__init__
(self, round_num: int, agents: list[Player])
codeclash/arenas/arena.py:41
Method__init__
The CodeArena class is responsible for running games, i.e., taking a list of code from different agents/players and running them against each
codeclash/arenas/arena.py:78
Method__init__
(self, config, **kwargs)
codeclash/arenas/halite3/halite3.py:33
Method__init__
(self, config, **kwargs)
codeclash/arenas/battlecode24/battlecode24.py:63
Method__init__
(self, config, **kwargs)
codeclash/arenas/robotrumble/robotrumble.py:27
Method__init__
(self, config, **kwargs)
codeclash/arenas/bridge/bridge.py:39
Method__init__
(self, config, **kwargs)
codeclash/arenas/robocode/robocode.py:31
Method__init__
(self, config, **kwargs)
codeclash/arenas/gomoku/gomoku.py:25
Method__init__
(self, player_name: str, path: str, *, timeout: float, max_errors: int)
codeclash/arenas/scml/runtime/run_scml.py:224
Method__init__
(self, config, **kwargs)
codeclash/arenas/huskybench/huskybench.py:24
Method__init__
(self, config, **kwargs)
codeclash/arenas/battlecode25/battlecode25.py:26
Method__init__
(self, player_name: str, agent_name: str, path: str, *, timeout: float)
codeclash/arenas/cyborg/runtime/run_cyborg.py:124
Method__init__
(self, config, **kwargs)
codeclash/arenas/figgie/figgie.py:60
Method__init__
(self, config, **kwargs)
codeclash/arenas/chess/chess.py:28
Method__init__
(self, config: dict, **kwargs)
codeclash/arenas/bomberland/bomberland.py:43
Method__init__
(self, config, **kwargs)
codeclash/arenas/battlesnake/battlesnake.py:26
Method__init__
(self, config, **kwargs)
codeclash/arenas/battlecode23/battlecode23.py:63
Method__init__
(self, config, **kwargs)
codeclash/arenas/corewar/corewar.py:19
Method__init__
(self, config, **kwargs)
codeclash/arenas/halite/halite.py:61
Method__init__
( self, *, job_queue: str = "codeclash-queue", region: str = "us-east-1",
codeclash/viewer/app_aws.py:25
Method__init__
(self)
codeclash/viewer/app.py:109
Method__init__
(self, data: dict[str, Any] | None = None)
codeclash/viewer/app.py:219
Method__init__
(self, log_dir: Path)
codeclash/viewer/app.py:559
Method__init__
(self, pvp_output_dir: Path, n_repetitions: int = 3, max_workers: int = 4)
codeclash/analysis/matrix.py:22
Method__init__
This class builds a win matrix from a log directory, it doesn't fit anything yet. It also adds a "ALL" game to the win matrix, which is the su
codeclash/analysis/metrics/elo.py:36
Method__init__
Fit Bradley-Terry model to a win matrix Args: win_matrix: Dictionary mapping player pairs to win counts regularizatio
codeclash/analysis/metrics/elo.py:314
Method__init__
(self, results: dict[str, dict], win_matrix: dict[str, dict[tuple[str, str], list[float]]])
codeclash/analysis/metrics/elo.py:489
Method__init__
( self, builder: ScoreMatrixBuilder, *, n_bootstrap: int = 1000, game:
codeclash/analysis/metrics/elo.py:718
Method__init__
( self, *, log_dir: Path, max_rounds: int = 15, all_games_normalizatio
codeclash/analysis/metrics/elo.py:1004
Method__init__
( self, *, log_dir: Path, max_rounds: int = 15, all_games_normalizatio
codeclash/analysis/metrics/elo.py:1120
Method__init__
(self, name: str)
codeclash/analysis/stats/per_model.py:13
Method__init__
(self, traj_path: str)
codeclash/analysis/stats/per_model.py:50
Method__init__
Args: name: The name of the game. draw_probability: The probability of a tie in the game. repetitions: Th
codeclash/analysis/bootstrap/bootstrap.py:36
Method__init__
( self, game: Game, *, n_rounds: int, k: float = 32, update_st
codeclash/analysis/bootstrap/bootstrap.py:71
Method__init__
(self, tournaments: list[Tournament])
codeclash/analysis/bootstrap/bootstrap.py:137
Method__init__
(self, config: BigQuestionsConfig)
codeclash/analysis/llm_as_judge/big_questions.py:117
Method__init__
(self)
codeclash/analysis/llm_as_judge/aggregate_results.py:34
Method__init__
(self, df: pd.DataFrame, *, fix_xlim: bool = False, title: str | None = None)
codeclash/analysis/llm_as_judge/grounding_validation_triple_plot.py:55
Method__init__
(self, lock_path: str | Path)
codeclash/analysis/llm_as_judge/utils.py:11
Method__init__
(self, config: HallucinationConfig)
codeclash/analysis/llm_as_judge/hallucination.py:93
Method__init__
(self, config: ActionCategoriesConfig)
codeclash/analysis/llm_as_judge/categorize_actions.py:99
Method__init__
( self, config: dict, environment: DockerEnvironment, game_context: GameContex
codeclash/agents/player.py:20
Method__init__
(self, *, config_class: type = AnthropicModelConfig, **kwargs)
codeclash/agents/mini_anthropic_model.py:113
Method__init__
(self, config: dict, environment: DockerEnvironment, game_context: GameContext)
codeclash/agents/minisweagent.py:47
Method__init__
( self, config: dict, *, output_dir: Path, cleanup: bool = False,
codeclash/tournaments/pvp.py:24
Method__init__
(self, config: dict, *, output_dir: Path, cleanup: bool = False, keep_containers: bool = False)
codeclash/tournaments/single_player.py:24
Method__init__
(self, config: dict, *, name: str, output_dir: Path, **kwargs)
codeclash/tournaments/tournament.py:13
← previousnext →501–600 of 1,100, ranked by callers