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
test_parse_truncated_log
Test parsing when log is too short (game crashed early).
tests/arenas/test_battlecode24.py:214
Method
test_parse_txt_results
Test parsing TXT format results.
tests/arenas/test_robotrumble.py:226
Method
test_parse_winner
(self, tmp_log_dir)
tests/arenas/test_scml.py:136
Method
test_parse_winner
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:147
Method
test_parse_winner
(self, tmp_log_dir)
tests/arenas/test_cyborg.py:147
Method
test_player1_wins
Alice wins one match; overall winner is Alice.
tests/arenas/test_chess.py:139
Method
test_player2_wins
Bob wins one match; overall winner is Bob.
tests/arenas/test_chess.py:164
Method
test_port_constant
Test that port constant is defined.
tests/arenas/test_huskybench.py:212
Function
test_pvp_battlesnake
()
tests/test_integration.py:11
Method
test_regex_does_not_match_other_lines
Test that regex doesn't match non-score lines.
tests/arenas/test_huskybench.py:190
Method
test_regex_matches_multiple_digits
Test regex with larger numbers.
tests/arenas/test_huskybench.py:182
Method
test_regex_matches_score_line
Test that the score regex correctly parses a score line.
tests/arenas/test_huskybench.py:174
Method
test_rejects_6_players
Test that Figgie rejects 6 players.
tests/arenas/test_figgie.py:106
Method
test_rejects_invalid_player_count
Test that Figgie rejects invalid player counts (not 4 or 5).
tests/arenas/test_figgie.py:94
Method
test_requires_4_players
Test that Bridge requires exactly 4 players.
tests/arenas/test_bridge.py:111
Method
test_round_result_auto_win
Test RoundResult for auto-win scenario.
tests/arenas/test_battlecode23.py:527
Method
test_round_result_auto_win
Test RoundResult for auto-win scenario.
tests/arenas/test_battlecode24.py:544
Method
test_round_result_completed
Test RoundResult for completed round.
tests/arenas/test_battlecode23.py:513
Method
test_round_result_completed
Test RoundResult for completed round.
tests/arenas/test_battlecode24.py:530
Method
test_round_result_no_contest
Test RoundResult for no-contest scenario.
tests/arenas/test_battlecode23.py:542
Method
test_round_result_no_contest
Test RoundResult for no-contest scenario.
tests/arenas/test_battlecode24.py:559
Method
test_sims_per_run
Test that simulations per run is configured.
tests/arenas/test_robocode.py:244
Method
test_simulation_meta_creation
Test creating SimulationMeta with team assignments.
tests/arenas/test_battlecode23.py:479
Method
test_simulation_meta_creation
Test creating SimulationMeta with team assignments.
tests/arenas/test_battlecode24.py:496
Function
test_single_player_battlesnake
()
tests/test_integration.py:21
Method
test_split_wins_results_in_tie
Each player wins one match -> tie overall.
tests/arenas/test_chess.py:211
Method
test_submission_file
Test that submission file is main.py.
tests/arenas/test_dummy.py:167
Method
test_submission_file
Test that submission file is warrior.red.
tests/arenas/test_corewar.py:204
Method
test_submission_file
Test that submission file is robot.js.
tests/arenas/test_robotrumble.py:255
Method
test_submission_file
Test that submission file is main.py.
tests/arenas/test_battlesnake.py:251
Method
test_submission_folder
Test that submission folder is correct.
tests/arenas/test_halite.py:229
Method
test_submission_folder
(self)
tests/arenas/test_chess.py:242
Method
test_submission_path
Test that submission path is correct.
tests/arenas/test_robocode.py:236
Method
test_submission_path
Test that submission path is correct.
tests/arenas/test_battlecode25.py:210
Method
test_submission_path
Test that submission path is correct.
tests/arenas/test_battlecode23.py:430
Method
test_submission_path
Test that submission path is correct.
tests/arenas/test_huskybench.py:208
Method
test_submission_path
Test that submission path is correct.
tests/arenas/test_battlecode24.py:447
Method
test_supported_extensions
Test that both JS and Python are supported.
tests/arenas/test_robotrumble.py:259
Method
test_supported_file_types
Test that expected file types are supported.
tests/arenas/test_halite.py:233
Method
test_syntax_error_in_submission
Test validation with syntax errors - DummyArena accepts all submissions.
tests/arenas/test_dummy.py:63
Method
test_team_position_alternation_pattern
Test that team positions alternate correctly across simulations.
tests/arenas/test_battlecode23.py:488
Method
test_team_position_alternation_pattern
Test that team positions alternate correctly across simulations.
tests/arenas/test_battlecode24.py:505
Method
test_valid_agent
(self, mock_player_factory)
tests/arenas/test_scml.py:13
Method
test_valid_agent
(self, mock_player_factory)
tests/arenas/test_bomberland.py:26
Method
test_valid_agent
(self, mock_player_factory)
tests/arenas/test_cyborg.py:13
Method
test_valid_js_submission
Test that a valid JavaScript robot passes validation.
tests/arenas/test_robotrumble.py:50
Method
test_valid_py_submission
Test that a valid Python submission passes validation.
tests/arenas/test_halite.py:48
Method
test_valid_py_submission
Test that a valid Python robot passes validation.
tests/arenas/test_robotrumble.py:69
Method
test_valid_submission
Test that a valid Python submission passes validation.
tests/arenas/test_dummy.py:28
Method
test_valid_submission
Test that a valid Bridge bot passes validation.
tests/arenas/test_bridge.py:42
Method
test_valid_submission
Test that a valid Java tank passes validation.
tests/arenas/test_robocode.py:48
Method
test_valid_submission
Test that a valid warrior file passes validation.
tests/arenas/test_corewar.py:36
Method
test_valid_submission
Test that a valid bot.py passes validation.
tests/arenas/test_battlecode25.py:35
Method
test_valid_submission
Test that a valid BattleCode23 submission passes validation.
tests/arenas/test_battlecode23.py:52
Method
test_valid_submission
Test that a valid player.py passes validation.
tests/arenas/test_huskybench.py:52
Method
test_valid_submission
Test that a valid Figgie bot passes validation.
tests/arenas/test_figgie.py:44
Method
test_valid_submission
Valid C++ engine compiles and produces `src/kojiro` executable.
tests/arenas/test_chess.py:31
Method
test_valid_submission
Test that a valid BattleCode24 submission passes validation.
tests/arenas/test_battlecode24.py:52
Method
test_valid_submission
Test that a valid BattleSnake bot passes validation.
tests/arenas/test_battlesnake.py:50
Method
test_validation_calls_decide_with_plain_protocol
(self, mock_player_factory)
tests/arenas/test_scml.py:73
Method
test_validation_calls_decide_with_plain_protocol
(self, mock_player_factory)
tests/arenas/test_cyborg.py:76
Method
test_validation_rejects_bad_decide_return_type
(self, mock_player_factory)
tests/arenas/test_scml.py:95
Method
test_validation_rejects_bad_decide_return_type
(self, mock_player_factory)
tests/arenas/test_cyborg.py:100
Method
test_validation_rejects_decide_timeout
(self)
tests/arenas/test_scml.py:115
Method
test_validation_rejects_decide_timeout
(self)
tests/arenas/test_cyborg.py:126
Method
test_validation_timeout_invalidates_submission
(self)
tests/arenas/test_bomberland.py:123
Method
test_wrong_package_declaration
Test validation fails when package declaration is incorrect.
tests/arenas/test_battlecode23.py:122
Method
test_wrong_package_declaration
Test validation fails when package declaration is incorrect.
tests/arenas/test_battlecode24.py:122
Function
timeout
Decorator to add timeout to functions Args: seconds: Maximum number of seconds the function can run
codeclash/viewer/app.py:55
Function
tmp_log_dir
Create a temporary log directory structure.
tests/arenas/conftest.py:112
Method
to_dict
(self)
codeclash/arenas/arena.py:31
Function
toggleModelDropdown
(event)
codeclash/viewer/static/js/picker.js:1038
Function
toggleSelectAll
(selectAllCheckbox)
codeclash/viewer/static/js/picker.js:89
Method
total_rounds
Get total number of rounds from config
codeclash/viewer/app.py:246
Method
tournament_count
(self)
codeclash/analysis/stats/per_model.py:37
Method
tournament_path
(self)
codeclash/analysis/llm_as_judge/utils.py:42
Method
transparent
(self)
codeclash/tournaments/pvp.py:57
Function
unescape_content
Unescape literal \\n characters to actual newlines for proper display in <pre> tags
codeclash/viewer/app.py:953
Method
validate_code
( self, agent: Player, )
codeclash/arenas/halite3/halite3.py:65
Method
validate_code
(self, agent: Player)
codeclash/arenas/dummy/dummy.py:39
Method
validate_code
Validate source structure. No compilation - that happens in execute_round. Checks: 1. src/mysubmission/ directory exists 2. R
codeclash/arenas/battlecode24/battlecode24.py:79
Method
validate_code
(self, agent: Player)
codeclash/arenas/robotrumble/robotrumble.py:145
Method
validate_code
Validate agent code has required functions.
codeclash/arenas/bridge/bridge.py:47
Method
validate_code
(self, agent: Player)
codeclash/arenas/robocode/robocode.py:148
Method
validate_code
(self, agent: Player)
codeclash/arenas/gomoku/gomoku.py:71
Method
validate_code
(self, agent: Player)
codeclash/arenas/scml/scml.py:43
Method
validate_code
(self, agent: Player)
codeclash/arenas/huskybench/huskybench.py:102
Method
validate_code
(self, agent: Player)
codeclash/arenas/battlecode25/battlecode25.py:92
Method
validate_code
(self, agent: Player)
codeclash/arenas/cyborg/cyborg.py:45
Method
validate_code
(self, agent: Player)
codeclash/arenas/figgie/figgie.py:105
Method
validate_code
Validate that agent's Kojiro codebase compiles successfully.
codeclash/arenas/chess/chess.py:44
Method
validate_code
(self, agent: Player)
codeclash/arenas/bomberland/bomberland.py:63
Method
validate_code
(self, agent: Player)
codeclash/arenas/battlesnake/battlesnake.py:184
Method
validate_code
Validate source structure. No compilation - that happens in execute_round. Checks: 1. src/mysubmission/ directory exists 2. R
codeclash/arenas/battlecode23/battlecode23.py:79
Method
validate_code
(self, agent: Player)
codeclash/arenas/corewar/corewar.py:97
Method
validate_code
( self, agent: Player, map_file_type_to_compile: dict = MAP_FILE_TYPE_TO_COMPILE,
codeclash/arenas/halite/halite.py:135
Function
win_rate
Print per-game and game-agnostic win rates for each model. [dim]• codeclash rank win-rate logs/[/dim]
codeclash/cli/rank.py:22
Method
win_rate
(self)
codeclash/analysis/metrics/win_rate.py:21
Method
win_rate
(self)
codeclash/analysis/viz/line_chart_per_round_win_rate.py:23
Function
wrapper
(*args, **kwargs)
codeclash/viewer/app.py:39
← previous
1,001–1,100 of 1,100, ranked by callers