MCPcopy Create free account

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

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

Methodtest_get_results_auto_win
Test get_results when one player wins due to opponent's compilation failure.
tests/arenas/test_battlecode24.py:369
Methodtest_get_results_clear_winner
Test get_results when one player clearly wins.
tests/arenas/test_battlecode23.py:268
Methodtest_get_results_clear_winner
Test get_results when one player clearly wins.
tests/arenas/test_battlecode24.py:287
Methodtest_get_results_equal_scores
Test get_results when both players have equal scores.
tests/arenas/test_battlecode23.py:327
Methodtest_get_results_equal_scores
Test get_results when both players have equal scores.
tests/arenas/test_battlecode24.py:344
Methodtest_get_results_missing_round_result
Test get_results when execute_round didn't set _round_result.
tests/arenas/test_battlecode23.py:411
Methodtest_get_results_missing_round_result
Test get_results when execute_round didn't set _round_result.
tests/arenas/test_battlecode24.py:428
Methodtest_get_results_no_contest
Test get_results when both players fail to compile.
tests/arenas/test_battlecode23.py:372
Methodtest_get_results_no_contest
Test get_results when both players fail to compile.
tests/arenas/test_battlecode24.py:389
Methodtest_get_results_with_ties
Test get_results when some simulations end in ties.
tests/arenas/test_battlecode23.py:297
Methodtest_get_results_with_ties
Test get_results when some simulations end in ties.
tests/arenas/test_battlecode24.py:316
Methodtest_import_failure
(self, mock_player_factory)
tests/arenas/test_scml.py:51
Methodtest_import_failure
(self, mock_player_factory)
tests/arenas/test_cyborg.py:54
Methodtest_import_probe_uses_validation_timeout
(self, mock_player_factory)
tests/arenas/test_bomberland.py:95
Methodtest_initialization_fails_with_wrong_player_count
Test that initialization fails with != 2 players.
tests/arenas/test_battlecode23.py:465
Methodtest_initialization_fails_with_wrong_player_count
Test that initialization fails with != 2 players.
tests/arenas/test_battlecode24.py:482
Methodtest_initialization_with_two_players
Test arena initialization with exactly 2 players.
tests/arenas/test_battlecode23.py:438
Methodtest_initialization_with_two_players
Test arena initialization with exactly 2 players.
tests/arenas/test_battlecode24.py:455
Methodtest_main_file
Test that main file is MyTank.java.
tests/arenas/test_robocode.py:240
Methodtest_malformed_dict_detonate_is_invalid
(self)
tests/arenas/test_bomberland.py:302
Methodtest_malformed_warrior_file
Test that malformed warrior file fails validation.
tests/arenas/test_corewar.py:66
Methodtest_missing_bid_function
Test that missing get_bid function fails validation.
tests/arenas/test_bridge.py:69
Methodtest_missing_bot_file
Test that missing bot.py fails validation.
tests/arenas/test_battlecode25.py:65
Methodtest_missing_custom_directory
Test that missing robots/custom/ directory fails validation.
tests/arenas/test_robocode.py:87
Methodtest_missing_decide
(self, mock_player_factory)
tests/arenas/test_scml.py:32
Methodtest_missing_decide
(self, mock_player_factory)
tests/arenas/test_cyborg.py:35
Methodtest_missing_executable_after_compilation
Compilation succeeds but missing `kojiro` executable fails validation.
tests/arenas/test_chess.py:79
Methodtest_missing_file
Test that missing bridge_agent.py fails validation.
tests/arenas/test_bridge.py:56
Methodtest_missing_file
Test that missing main.py fails validation.
tests/arenas/test_figgie.py:58
Methodtest_missing_get_action_function
Test that missing get_action function fails validation.
tests/arenas/test_figgie.py:71
Methodtest_missing_info_function
Test that missing info() function fails validation.
tests/arenas/test_battlesnake.py:77
Methodtest_missing_main_file
Test that missing main file fails validation.
tests/arenas/test_halite.py:80
Methodtest_missing_main_file
Test that missing client/main.py fails validation.
tests/arenas/test_huskybench.py:69
Methodtest_missing_main_file
Test that missing main.py fails validation.
tests/arenas/test_battlesnake.py:64
Methodtest_missing_move_function
Test that missing move() function fails validation.
tests/arenas/test_battlesnake.py:101
Methodtest_missing_multiple_functions
Test that missing multiple functions reports all of them.
tests/arenas/test_battlesnake.py:125
Methodtest_missing_mysubmission_directory
Test that missing src/mysubmission/ fails validation.
tests/arenas/test_battlecode25.py:52
Methodtest_missing_mysubmission_directory
Test validation fails when src/mysubmission/ directory is missing.
tests/arenas/test_battlecode23.py:69
Methodtest_missing_mysubmission_directory
Test validation fails when src/mysubmission/ directory is missing.
tests/arenas/test_battlecode24.py:69
Methodtest_missing_mytank_file
Test that missing MyTank.java fails validation.
tests/arenas/test_robocode.py:101
Methodtest_missing_next_actions
(self, mock_player_factory)
tests/arenas/test_bomberland.py:49
Methodtest_missing_play_function
Test that missing play_card function fails validation.
tests/arenas/test_bridge.py:88
Methodtest_missing_player_file
Test that missing client/player.py fails validation.
tests/arenas/test_huskybench.py:82
Methodtest_missing_player_uses_crash_score
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:188
Methodtest_missing_result_file_records_crash_details
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:204
Methodtest_missing_results_file_penalizes_all_players
(self, tmp_log_dir)
tests/arenas/test_scml.py:177
Methodtest_missing_results_file_penalizes_all_players
(self, tmp_log_dir)
tests/arenas/test_cyborg.py:249
Methodtest_missing_robot_file
Test that missing robot file fails validation.
tests/arenas/test_robotrumble.py:89
Methodtest_missing_robot_function_js
Test that missing robot function in JS fails validation.
tests/arenas/test_robotrumble.py:103
Methodtest_missing_robot_function_py
Test that missing robot function in Python fails validation.
tests/arenas/test_robotrumble.py:118
Methodtest_missing_robot_player_file
Test validation fails when RobotPlayer.java is missing.
tests/arenas/test_battlecode23.py:82
Methodtest_missing_robot_player_file
Test validation fails when RobotPlayer.java is missing.
tests/arenas/test_battlecode24.py:82
Methodtest_missing_robots_directory
Test that missing robots/ directory fails validation.
tests/arenas/test_robocode.py:74
Methodtest_missing_run_method
Test validation fails when run(RobotController rc) method is missing.
tests/arenas/test_battlecode23.py:96
Methodtest_missing_run_method
Test validation fails when run(RobotController rc) method is missing.
tests/arenas/test_battlecode24.py:96
Methodtest_missing_src_directory
Missing `src/` directory fails validation.
tests/arenas/test_chess.py:50
Methodtest_missing_submission_file
Test validation with missing main.py - DummyArena accepts all submissions.
tests/arenas/test_dummy.py:41
Methodtest_missing_submission_folder
Test that missing submission folder fails validation.
tests/arenas/test_halite.py:67
Methodtest_missing_turn_function
Test that bot.py without turn() function fails validation.
tests/arenas/test_battlecode25.py:81
Methodtest_missing_warrior_file
Test that missing warrior.red fails validation.
tests/arenas/test_corewar.py:53
Methodtest_multiple_main_files
Test that multiple main files fail validation.
tests/arenas/test_halite.py:95
Methodtest_next_actions_wrong_return_type
(self, mock_player_factory)
tests/arenas/test_bomberland.py:72
Methodtest_parse_alternating_team_positions
Test that team position alternation is correctly handled.
tests/arenas/test_battlecode23.py:219
Methodtest_parse_alternating_team_positions
Test that team position alternation is correctly handled.
tests/arenas/test_battlecode24.py:232
Methodtest_parse_coin_flip_tie
Test parsing when game ends in a coin flip tie.
tests/arenas/test_battlecode24.py:193
Methodtest_parse_json_results_blue_wins
Test parsing JSON results when Blue (player 1) wins more.
tests/arenas/test_robotrumble.py:164
Methodtest_parse_json_results_red_wins
Test parsing JSON results when Red (player 2) wins more.
tests/arenas/test_robotrumble.py:185
Methodtest_parse_json_results_tie
Test parsing JSON results with ties.
tests/arenas/test_robotrumble.py:206
Methodtest_parse_missing_log_file
Test parsing when log file doesn't exist (simulation failed).
tests/arenas/test_battlecode23.py:193
Methodtest_parse_missing_log_file
Test parsing when log file doesn't exist (simulation failed).
tests/arenas/test_battlecode24.py:206
Methodtest_parse_no_winner_line
Test parsing when winner line is missing.
tests/arenas/test_battlecode23.py:210
Methodtest_parse_no_winner_line
Test parsing when winner line is missing.
tests/arenas/test_battlecode24.py:223
Methodtest_parse_results_all_draws
Test parsing results when all games are draws.
tests/arenas/test_battlesnake.py:207
Methodtest_parse_results_clear_winner
Test parsing results with a clear winner.
tests/arenas/test_battlesnake.py:169
Methodtest_parse_results_player1_wins
Test parsing results when player 1 wins.
tests/arenas/test_dummy.py:88
Methodtest_parse_results_player1_wins
Test parsing results when player 1 has higher total score.
tests/arenas/test_robocode.py:165
Methodtest_parse_results_player1_wins
Test parsing results when player 1 has higher score.
tests/arenas/test_corewar.py:130
Methodtest_parse_results_player1_wins
Test parsing results when player 1 wins most games.
tests/arenas/test_halite.py:162
Methodtest_parse_results_player1_wins
Test parsing results when player 1 has more chips.
tests/arenas/test_huskybench.py:131
Methodtest_parse_results_player2_wins
Test parsing results when player 2 wins.
tests/arenas/test_dummy.py:114
Methodtest_parse_results_player2_wins
Test parsing results when player 2 has higher total score.
tests/arenas/test_robocode.py:197
Methodtest_parse_results_player2_wins
Test parsing results when player 2 has higher score.
tests/arenas/test_corewar.py:152
Methodtest_parse_results_player2_wins
Test parsing results when player 2 wins most games.
tests/arenas/test_halite.py:181
Methodtest_parse_results_player2_wins
Test parsing results when player 2 has more chips.
tests/arenas/test_huskybench.py:152
Methodtest_parse_results_player_a_wins
Test parsing results when player A (first player) wins.
tests/arenas/test_battlecode25.py:145
Methodtest_parse_results_player_b_wins
Test parsing results when player B (second player) wins.
tests/arenas/test_battlecode25.py:164
Methodtest_parse_results_tie
Test parsing results when scores are equal.
tests/arenas/test_dummy.py:136
Methodtest_parse_results_tie
Test parsing results when scores are equal.
tests/arenas/test_corewar.py:174
Methodtest_parse_results_tie
Test parsing results when players have equal wins.
tests/arenas/test_halite.py:200
Methodtest_parse_results_tie_wins
Test parsing results when players have equal wins.
tests/arenas/test_battlesnake.py:223
Methodtest_parse_results_with_coin_flips
Test parsing results where some wins are coin flips (don't count).
tests/arenas/test_battlecode25.py:183
Methodtest_parse_results_with_draws
Test parsing results that include draws.
tests/arenas/test_battlesnake.py:188
Methodtest_parse_team_a_wins
Test parsing when team A wins.
tests/arenas/test_battlecode23.py:171
Methodtest_parse_team_a_wins
Test parsing when team A wins.
tests/arenas/test_battlecode24.py:171
Methodtest_parse_team_b_wins
Test parsing when team B wins.
tests/arenas/test_battlecode23.py:182
Methodtest_parse_team_b_wins
Test parsing when team B wins.
tests/arenas/test_battlecode24.py:182
Methodtest_parse_tie
(self, tmp_log_dir)
tests/arenas/test_scml.py:161
Methodtest_parse_tie
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:172
Methodtest_parse_tie
(self, tmp_log_dir)
tests/arenas/test_cyborg.py:172
Methodtest_parse_truncated_log
Test parsing when log is too short (game crashed early).
tests/arenas/test_battlecode23.py:201
← previousnext →901–1,000 of 1,100, ranked by callers