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_get_results_auto_win
Test get_results when one player wins due to opponent's compilation failure.
tests/arenas/test_battlecode24.py:369
Method
test_get_results_clear_winner
Test get_results when one player clearly wins.
tests/arenas/test_battlecode23.py:268
Method
test_get_results_clear_winner
Test get_results when one player clearly wins.
tests/arenas/test_battlecode24.py:287
Method
test_get_results_equal_scores
Test get_results when both players have equal scores.
tests/arenas/test_battlecode23.py:327
Method
test_get_results_equal_scores
Test get_results when both players have equal scores.
tests/arenas/test_battlecode24.py:344
Method
test_get_results_missing_round_result
Test get_results when execute_round didn't set _round_result.
tests/arenas/test_battlecode23.py:411
Method
test_get_results_missing_round_result
Test get_results when execute_round didn't set _round_result.
tests/arenas/test_battlecode24.py:428
Method
test_get_results_no_contest
Test get_results when both players fail to compile.
tests/arenas/test_battlecode23.py:372
Method
test_get_results_no_contest
Test get_results when both players fail to compile.
tests/arenas/test_battlecode24.py:389
Method
test_get_results_with_ties
Test get_results when some simulations end in ties.
tests/arenas/test_battlecode23.py:297
Method
test_get_results_with_ties
Test get_results when some simulations end in ties.
tests/arenas/test_battlecode24.py:316
Method
test_import_failure
(self, mock_player_factory)
tests/arenas/test_scml.py:51
Method
test_import_failure
(self, mock_player_factory)
tests/arenas/test_cyborg.py:54
Method
test_import_probe_uses_validation_timeout
(self, mock_player_factory)
tests/arenas/test_bomberland.py:95
Method
test_initialization_fails_with_wrong_player_count
Test that initialization fails with != 2 players.
tests/arenas/test_battlecode23.py:465
Method
test_initialization_fails_with_wrong_player_count
Test that initialization fails with != 2 players.
tests/arenas/test_battlecode24.py:482
Method
test_initialization_with_two_players
Test arena initialization with exactly 2 players.
tests/arenas/test_battlecode23.py:438
Method
test_initialization_with_two_players
Test arena initialization with exactly 2 players.
tests/arenas/test_battlecode24.py:455
Method
test_main_file
Test that main file is MyTank.java.
tests/arenas/test_robocode.py:240
Method
test_malformed_dict_detonate_is_invalid
(self)
tests/arenas/test_bomberland.py:302
Method
test_malformed_warrior_file
Test that malformed warrior file fails validation.
tests/arenas/test_corewar.py:66
Method
test_missing_bid_function
Test that missing get_bid function fails validation.
tests/arenas/test_bridge.py:69
Method
test_missing_bot_file
Test that missing bot.py fails validation.
tests/arenas/test_battlecode25.py:65
Method
test_missing_custom_directory
Test that missing robots/custom/ directory fails validation.
tests/arenas/test_robocode.py:87
Method
test_missing_decide
(self, mock_player_factory)
tests/arenas/test_scml.py:32
Method
test_missing_decide
(self, mock_player_factory)
tests/arenas/test_cyborg.py:35
Method
test_missing_executable_after_compilation
Compilation succeeds but missing `kojiro` executable fails validation.
tests/arenas/test_chess.py:79
Method
test_missing_file
Test that missing bridge_agent.py fails validation.
tests/arenas/test_bridge.py:56
Method
test_missing_file
Test that missing main.py fails validation.
tests/arenas/test_figgie.py:58
Method
test_missing_get_action_function
Test that missing get_action function fails validation.
tests/arenas/test_figgie.py:71
Method
test_missing_info_function
Test that missing info() function fails validation.
tests/arenas/test_battlesnake.py:77
Method
test_missing_main_file
Test that missing main file fails validation.
tests/arenas/test_halite.py:80
Method
test_missing_main_file
Test that missing client/main.py fails validation.
tests/arenas/test_huskybench.py:69
Method
test_missing_main_file
Test that missing main.py fails validation.
tests/arenas/test_battlesnake.py:64
Method
test_missing_move_function
Test that missing move() function fails validation.
tests/arenas/test_battlesnake.py:101
Method
test_missing_multiple_functions
Test that missing multiple functions reports all of them.
tests/arenas/test_battlesnake.py:125
Method
test_missing_mysubmission_directory
Test that missing src/mysubmission/ fails validation.
tests/arenas/test_battlecode25.py:52
Method
test_missing_mysubmission_directory
Test validation fails when src/mysubmission/ directory is missing.
tests/arenas/test_battlecode23.py:69
Method
test_missing_mysubmission_directory
Test validation fails when src/mysubmission/ directory is missing.
tests/arenas/test_battlecode24.py:69
Method
test_missing_mytank_file
Test that missing MyTank.java fails validation.
tests/arenas/test_robocode.py:101
Method
test_missing_next_actions
(self, mock_player_factory)
tests/arenas/test_bomberland.py:49
Method
test_missing_play_function
Test that missing play_card function fails validation.
tests/arenas/test_bridge.py:88
Method
test_missing_player_file
Test that missing client/player.py fails validation.
tests/arenas/test_huskybench.py:82
Method
test_missing_player_uses_crash_score
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:188
Method
test_missing_result_file_records_crash_details
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:204
Method
test_missing_results_file_penalizes_all_players
(self, tmp_log_dir)
tests/arenas/test_scml.py:177
Method
test_missing_results_file_penalizes_all_players
(self, tmp_log_dir)
tests/arenas/test_cyborg.py:249
Method
test_missing_robot_file
Test that missing robot file fails validation.
tests/arenas/test_robotrumble.py:89
Method
test_missing_robot_function_js
Test that missing robot function in JS fails validation.
tests/arenas/test_robotrumble.py:103
Method
test_missing_robot_function_py
Test that missing robot function in Python fails validation.
tests/arenas/test_robotrumble.py:118
Method
test_missing_robot_player_file
Test validation fails when RobotPlayer.java is missing.
tests/arenas/test_battlecode23.py:82
Method
test_missing_robot_player_file
Test validation fails when RobotPlayer.java is missing.
tests/arenas/test_battlecode24.py:82
Method
test_missing_robots_directory
Test that missing robots/ directory fails validation.
tests/arenas/test_robocode.py:74
Method
test_missing_run_method
Test validation fails when run(RobotController rc) method is missing.
tests/arenas/test_battlecode23.py:96
Method
test_missing_run_method
Test validation fails when run(RobotController rc) method is missing.
tests/arenas/test_battlecode24.py:96
Method
test_missing_src_directory
Missing `src/` directory fails validation.
tests/arenas/test_chess.py:50
Method
test_missing_submission_file
Test validation with missing main.py - DummyArena accepts all submissions.
tests/arenas/test_dummy.py:41
Method
test_missing_submission_folder
Test that missing submission folder fails validation.
tests/arenas/test_halite.py:67
Method
test_missing_turn_function
Test that bot.py without turn() function fails validation.
tests/arenas/test_battlecode25.py:81
Method
test_missing_warrior_file
Test that missing warrior.red fails validation.
tests/arenas/test_corewar.py:53
Method
test_multiple_main_files
Test that multiple main files fail validation.
tests/arenas/test_halite.py:95
Method
test_next_actions_wrong_return_type
(self, mock_player_factory)
tests/arenas/test_bomberland.py:72
Method
test_parse_alternating_team_positions
Test that team position alternation is correctly handled.
tests/arenas/test_battlecode23.py:219
Method
test_parse_alternating_team_positions
Test that team position alternation is correctly handled.
tests/arenas/test_battlecode24.py:232
Method
test_parse_coin_flip_tie
Test parsing when game ends in a coin flip tie.
tests/arenas/test_battlecode24.py:193
Method
test_parse_json_results_blue_wins
Test parsing JSON results when Blue (player 1) wins more.
tests/arenas/test_robotrumble.py:164
Method
test_parse_json_results_red_wins
Test parsing JSON results when Red (player 2) wins more.
tests/arenas/test_robotrumble.py:185
Method
test_parse_json_results_tie
Test parsing JSON results with ties.
tests/arenas/test_robotrumble.py:206
Method
test_parse_missing_log_file
Test parsing when log file doesn't exist (simulation failed).
tests/arenas/test_battlecode23.py:193
Method
test_parse_missing_log_file
Test parsing when log file doesn't exist (simulation failed).
tests/arenas/test_battlecode24.py:206
Method
test_parse_no_winner_line
Test parsing when winner line is missing.
tests/arenas/test_battlecode23.py:210
Method
test_parse_no_winner_line
Test parsing when winner line is missing.
tests/arenas/test_battlecode24.py:223
Method
test_parse_results_all_draws
Test parsing results when all games are draws.
tests/arenas/test_battlesnake.py:207
Method
test_parse_results_clear_winner
Test parsing results with a clear winner.
tests/arenas/test_battlesnake.py:169
Method
test_parse_results_player1_wins
Test parsing results when player 1 wins.
tests/arenas/test_dummy.py:88
Method
test_parse_results_player1_wins
Test parsing results when player 1 has higher total score.
tests/arenas/test_robocode.py:165
Method
test_parse_results_player1_wins
Test parsing results when player 1 has higher score.
tests/arenas/test_corewar.py:130
Method
test_parse_results_player1_wins
Test parsing results when player 1 wins most games.
tests/arenas/test_halite.py:162
Method
test_parse_results_player1_wins
Test parsing results when player 1 has more chips.
tests/arenas/test_huskybench.py:131
Method
test_parse_results_player2_wins
Test parsing results when player 2 wins.
tests/arenas/test_dummy.py:114
Method
test_parse_results_player2_wins
Test parsing results when player 2 has higher total score.
tests/arenas/test_robocode.py:197
Method
test_parse_results_player2_wins
Test parsing results when player 2 has higher score.
tests/arenas/test_corewar.py:152
Method
test_parse_results_player2_wins
Test parsing results when player 2 wins most games.
tests/arenas/test_halite.py:181
Method
test_parse_results_player2_wins
Test parsing results when player 2 has more chips.
tests/arenas/test_huskybench.py:152
Method
test_parse_results_player_a_wins
Test parsing results when player A (first player) wins.
tests/arenas/test_battlecode25.py:145
Method
test_parse_results_player_b_wins
Test parsing results when player B (second player) wins.
tests/arenas/test_battlecode25.py:164
Method
test_parse_results_tie
Test parsing results when scores are equal.
tests/arenas/test_dummy.py:136
Method
test_parse_results_tie
Test parsing results when scores are equal.
tests/arenas/test_corewar.py:174
Method
test_parse_results_tie
Test parsing results when players have equal wins.
tests/arenas/test_halite.py:200
Method
test_parse_results_tie_wins
Test parsing results when players have equal wins.
tests/arenas/test_battlesnake.py:223
Method
test_parse_results_with_coin_flips
Test parsing results where some wins are coin flips (don't count).
tests/arenas/test_battlecode25.py:183
Method
test_parse_results_with_draws
Test parsing results that include draws.
tests/arenas/test_battlesnake.py:188
Method
test_parse_team_a_wins
Test parsing when team A wins.
tests/arenas/test_battlecode23.py:171
Method
test_parse_team_a_wins
Test parsing when team A wins.
tests/arenas/test_battlecode24.py:171
Method
test_parse_team_b_wins
Test parsing when team B wins.
tests/arenas/test_battlecode23.py:182
Method
test_parse_team_b_wins
Test parsing when team B wins.
tests/arenas/test_battlecode24.py:182
Method
test_parse_tie
(self, tmp_log_dir)
tests/arenas/test_scml.py:161
Method
test_parse_tie
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:172
Method
test_parse_tie
(self, tmp_log_dir)
tests/arenas/test_cyborg.py:172
Method
test_parse_truncated_log
Test parsing when log is too short (game crashed early).
tests/arenas/test_battlecode23.py:201
← previous
next →
901–1,000 of 1,100, ranked by callers