Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeClash-ai/CodeClash
/ functions
Functions
1,100 in github.com/CodeClash-ai/CodeClash
⨍
Functions
1,100
◇
Types & classes
168
↳
Endpoints
14
Method
name_for
(owner: int)
codeclash/arenas/halite/replay.py:71
Function
navigateToGame
(gameName)
codeclash/viewer/static/js/app.js:17
Function
next_actions
(game_state)
codeclash/arenas/bomberland/runtime/bomberland_agent.py:1
Function
nl2br
Convert newlines to HTML <br> tags, escaping HTML first
codeclash/viewer/app.py:943
Function
nll
(theta: np.ndarray)
codeclash/analysis/bootstrap/analyze_round_correlations.py:89
Function
openBulkActionsModal
()
codeclash/viewer/static/js/picker.js:149
Method
output_file
Path to the matrix.json output file.
codeclash/analysis/matrix.py:80
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/halite3/replay.py:69
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/robotrumble/replay.py:95
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/bridge/replay.py:112
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/gomoku/replay.py:78
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/figgie/replay.py:79
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/bomberland/replay.py:127
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/battlesnake/replay.py:69
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/halite2/replay.py:68
Method
parse
(self, raw: bytes, players=None)
codeclash/arenas/halite/replay.py:64
Function
parse_agent_arg
(value: str)
codeclash/arenas/scml/runtime/run_scml.py:523
Function
parse_agent_arg
(value: str)
codeclash/arenas/cyborg/runtime/run_cyborg.py:294
Function
parse_agent_arg
(raw)
codeclash/arenas/bomberland/runtime/run_bomberland.py:464
Method
payload
The ``G`` object handed to the JS player.
codeclash/replay/base.py:46
Method
players
List of player names from metadata.
codeclash/analysis/matrix.py:75
Method
players_config
Get players configuration
codeclash/viewer/app.py:292
Function
policy_worker
( command_queue: mp.Queue, result_queue: mp.Queue, startup_queue: mp.Queue, player_name: str, path: str )
codeclash/arenas/scml/runtime/run_scml.py:187
Function
policy_worker
( command_queue: mp.Queue, result_queue: mp.Queue, startup_queue: mp.Queue, player_name: str,
codeclash/arenas/cyborg/runtime/run_cyborg.py:82
Function
print_timing
Decorator to log timing information for functions/routes
codeclash/viewer/app.py:35
Function
prompt_game_desc
(arena, rounds, players)
codeclash/utils/generate_confs.py:56
Method
propose
(self, negotiator_id, state)
codeclash/arenas/scml/runtime/run_scml.py:346
Method
raw_data
Get the raw metadata dictionary
codeclash/viewer/app.py:302
Function
read_sim
Read the raw bytes for a game, extracting from its tar archive if needed.
codeclash/replay/base.py:172
Function
replay
Serve a tournament folder and lazily watch game replays in the browser. [dim]• codeclash replay logs/<tournament-folder>[/dim] [dim]• codecla
codeclash/cli/replay.py:19
Method
respond
(self, negotiator_id, state, source="")
codeclash/arenas/scml/runtime/run_scml.py:359
Method
round_count_info
Get (completed_rounds, total_rounds) tuple
codeclash/viewer/app.py:257
Method
round_stats
Get round statistics
codeclash/viewer/app.py:297
Method
rounds
Number of rounds actually evaluated, determined from round_stats in metadata.
codeclash/analysis/matrix.py:70
Method
rounds
(self)
codeclash/tournaments/pvp.py:53
Method
rounds
(self)
codeclash/tournaments/single_player.py:39
Method
rounds_total
(self)
codeclash/analysis/stats/per_model.py:33
Function
run
Run a PvP tournament from a config file. [dim]• codeclash run configs/test/battlesnake_pvp_test.yaml[/dim] [dim]• codeclash run path/to/confi
codeclash/cli/app.py:42
Function
run
Send a model up a ranked ladder, rung by rung, until it loses. [dim]• codeclash ladder run path/to/ladder_config.yaml -c # clean up after each r
codeclash/cli/ladder.py:122
Method
run
(self)
codeclash/analysis/metrics/elo.py:876
Method
run
Calculate Elo for only specific rounds from 1 to max_rounds and plot the results.
codeclash/analysis/metrics/elo.py:1147
Method
run
(self, players: list[Player])
codeclash/analysis/bootstrap/bootstrap.py:140
Method
run
(self)
codeclash/agents/dummy_agent.py:7
Method
run
(self)
codeclash/agents/minisweagent.py:50
Method
run_agent
Run a single agent for the current round.
codeclash/tournaments/pvp.py:154
Function
safe_module_name
(player_name: str)
codeclash/arenas/scml/runtime/run_scml.py:32
Function
scrollToElement
(selector)
codeclash/viewer/static/js/app.js:283
Function
scrollToTop
()
codeclash/viewer/static/js/app.js:274
Method
serialize
(self)
codeclash/agents/mini_anthropic_model.py:279
Function
setupTrajectoryLoading
()
codeclash/viewer/static/js/trajectory.js:3
Function
showCopyMessage
(message)
codeclash/viewer/static/js/picker.js:248
Function
sortTable
(column)
codeclash/viewer/static/js/picker.js:1235
Function
static
Let Flask-Frozen handle static files automatically
scripts/freeze_viewer.py:100
Method
steps
(self)
codeclash/analysis/stats/per_model.py:60
Method
steps_per_round
(self)
codeclash/analysis/stats/per_model.py:21
Method
steps_total
(self)
codeclash/analysis/stats/per_model.py:25
Function
strip_model_prefix
Strip provider prefix from model name (e.g., 'openai/gpt-5' -> 'gpt-5')
codeclash/viewer/app.py:995
Function
target
()
codeclash/viewer/app.py:69
Method
test_accepts_4_or_5_players
Test that Figgie accepts 4 or 5 players by checking class properties.
tests/arenas/test_figgie.py:115
Method
test_accepts_4_players
Test that Bridge accepts exactly 4 players by checking class properties.
tests/arenas/test_bridge.py:123
Method
test_all_draws
All matches draw -> overall tie with zero scores.
tests/arenas/test_chess.py:187
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_dummy.py:163
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_robocode.py:232
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_corewar.py:200
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_halite.py:225
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_battlecode25.py:206
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_battlecode23.py:426
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_robotrumble.py:251
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_huskybench.py:204
Method
test_arena_name
(self)
tests/arenas/test_chess.py:239
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_battlecode24.py:443
Method
test_arena_name
Test that arena has correct name.
tests/arenas/test_battlesnake.py:247
Method
test_bc_folder_name
Test that BC folder name is mysubmission.
tests/arenas/test_battlecode25.py:214
Function
test_bomberland_registered
(monkeypatch, minimal_config, tmp_log_dir)
tests/arenas/test_bomberland.py:308
Function
test_bomberland_rejects_non_two_player_configs
(minimal_config, tmp_log_dir)
tests/arenas/test_bomberland.py:325
Function
test_bomberland_rejects_odd_sim_counts
(minimal_config, tmp_log_dir)
tests/arenas/test_bomberland.py:343
Method
test_call_agent_supports_sibling_imports
(self, tmp_path)
tests/arenas/test_bomberland.py:292
Method
test_call_agent_times_out_submitted_code
(self, tmp_path)
tests/arenas/test_bomberland.py:272
Method
test_compilable_languages
Test that compilable languages have compile commands.
tests/arenas/test_halite.py:240
Method
test_compilation_failure
Test that Java compilation failure fails validation.
tests/arenas/test_robocode.py:116
Method
test_compilation_failure
Test that compilation failure fails validation.
tests/arenas/test_halite.py:113
Method
test_compilation_failure
Compilation errors are surfaced and fail validation.
tests/arenas/test_chess.py:64
Method
test_default_args
Test default arguments include nodisplay and nosound.
tests/arenas/test_robocode.py:248
Method
test_default_args
Test default arguments.
tests/arenas/test_battlecode25.py:218
Method
test_default_args
Test default arena arguments.
tests/arenas/test_battlecode23.py:434
Method
test_default_args
Test default arena arguments.
tests/arenas/test_battlecode24.py:451
Method
test_default_args
Test default arena arguments.
tests/arenas/test_battlesnake.py:255
Method
test_default_args_contains_time_control
(self)
tests/arenas/test_chess.py:245
Method
test_description_mentions_java
Test that description mentions Java as the language.
tests/arenas/test_robocode.py:253
Method
test_description_mentions_poker
Test that description mentions poker.
tests/arenas/test_huskybench.py:216
Method
test_description_mentions_python
Test that description mentions Python as the language.
tests/arenas/test_battlecode25.py:222
Method
test_description_mentions_redcode
Test that description mentions Redcode language.
tests/arenas/test_corewar.py:208
Method
test_empty_submission_file
Test validation with empty main.py - DummyArena accepts all submissions.
tests/arenas/test_dummy.py:52
Method
test_execute_round_allows_episode_override
(self)
tests/arenas/test_cyborg.py:231
Method
test_execute_round_passes_restricted_protocol_args
(self)
tests/arenas/test_scml.py:196
Method
test_execute_round_uses_nested_game_args
(self)
tests/arenas/test_bomberland.py:225
Method
test_execute_round_uses_nested_game_args
(self)
tests/arenas/test_cyborg.py:190
Method
test_get_results_all_simulations_failed
Test get_results when all simulations fail to produce results.
tests/arenas/test_battlecode23.py:392
Method
test_get_results_all_simulations_failed
Test get_results when all simulations fail to produce results.
tests/arenas/test_battlecode24.py:409
Method
test_get_results_auto_win
Test get_results when one player wins due to opponent's compilation failure.
tests/arenas/test_battlecode23.py:352
← previous
next →
801–900 of 1,100, ranked by callers