MCPcopy Create free account

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

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

Methodtest_parse_truncated_log
Test parsing when log is too short (game crashed early).
tests/arenas/test_battlecode24.py:214
Methodtest_parse_txt_results
Test parsing TXT format results.
tests/arenas/test_robotrumble.py:226
Methodtest_parse_winner
(self, tmp_log_dir)
tests/arenas/test_scml.py:136
Methodtest_parse_winner
(self, tmp_log_dir)
tests/arenas/test_bomberland.py:147
Methodtest_parse_winner
(self, tmp_log_dir)
tests/arenas/test_cyborg.py:147
Methodtest_player1_wins
Alice wins one match; overall winner is Alice.
tests/arenas/test_chess.py:139
Methodtest_player2_wins
Bob wins one match; overall winner is Bob.
tests/arenas/test_chess.py:164
Methodtest_port_constant
Test that port constant is defined.
tests/arenas/test_huskybench.py:212
Functiontest_pvp_battlesnake
()
tests/test_integration.py:11
Methodtest_regex_does_not_match_other_lines
Test that regex doesn't match non-score lines.
tests/arenas/test_huskybench.py:190
Methodtest_regex_matches_multiple_digits
Test regex with larger numbers.
tests/arenas/test_huskybench.py:182
Methodtest_regex_matches_score_line
Test that the score regex correctly parses a score line.
tests/arenas/test_huskybench.py:174
Methodtest_rejects_6_players
Test that Figgie rejects 6 players.
tests/arenas/test_figgie.py:106
Methodtest_rejects_invalid_player_count
Test that Figgie rejects invalid player counts (not 4 or 5).
tests/arenas/test_figgie.py:94
Methodtest_requires_4_players
Test that Bridge requires exactly 4 players.
tests/arenas/test_bridge.py:111
Methodtest_round_result_auto_win
Test RoundResult for auto-win scenario.
tests/arenas/test_battlecode23.py:527
Methodtest_round_result_auto_win
Test RoundResult for auto-win scenario.
tests/arenas/test_battlecode24.py:544
Methodtest_round_result_completed
Test RoundResult for completed round.
tests/arenas/test_battlecode23.py:513
Methodtest_round_result_completed
Test RoundResult for completed round.
tests/arenas/test_battlecode24.py:530
Methodtest_round_result_no_contest
Test RoundResult for no-contest scenario.
tests/arenas/test_battlecode23.py:542
Methodtest_round_result_no_contest
Test RoundResult for no-contest scenario.
tests/arenas/test_battlecode24.py:559
Methodtest_sims_per_run
Test that simulations per run is configured.
tests/arenas/test_robocode.py:244
Methodtest_simulation_meta_creation
Test creating SimulationMeta with team assignments.
tests/arenas/test_battlecode23.py:479
Methodtest_simulation_meta_creation
Test creating SimulationMeta with team assignments.
tests/arenas/test_battlecode24.py:496
Functiontest_single_player_battlesnake
()
tests/test_integration.py:21
Methodtest_split_wins_results_in_tie
Each player wins one match -> tie overall.
tests/arenas/test_chess.py:211
Methodtest_submission_file
Test that submission file is main.py.
tests/arenas/test_dummy.py:167
Methodtest_submission_file
Test that submission file is warrior.red.
tests/arenas/test_corewar.py:204
Methodtest_submission_file
Test that submission file is robot.js.
tests/arenas/test_robotrumble.py:255
Methodtest_submission_file
Test that submission file is main.py.
tests/arenas/test_battlesnake.py:251
Methodtest_submission_folder
Test that submission folder is correct.
tests/arenas/test_halite.py:229
Methodtest_submission_folder
(self)
tests/arenas/test_chess.py:242
Methodtest_submission_path
Test that submission path is correct.
tests/arenas/test_robocode.py:236
Methodtest_submission_path
Test that submission path is correct.
tests/arenas/test_battlecode25.py:210
Methodtest_submission_path
Test that submission path is correct.
tests/arenas/test_battlecode23.py:430
Methodtest_submission_path
Test that submission path is correct.
tests/arenas/test_huskybench.py:208
Methodtest_submission_path
Test that submission path is correct.
tests/arenas/test_battlecode24.py:447
Methodtest_supported_extensions
Test that both JS and Python are supported.
tests/arenas/test_robotrumble.py:259
Methodtest_supported_file_types
Test that expected file types are supported.
tests/arenas/test_halite.py:233
Methodtest_syntax_error_in_submission
Test validation with syntax errors - DummyArena accepts all submissions.
tests/arenas/test_dummy.py:63
Methodtest_team_position_alternation_pattern
Test that team positions alternate correctly across simulations.
tests/arenas/test_battlecode23.py:488
Methodtest_team_position_alternation_pattern
Test that team positions alternate correctly across simulations.
tests/arenas/test_battlecode24.py:505
Methodtest_valid_agent
(self, mock_player_factory)
tests/arenas/test_scml.py:13
Methodtest_valid_agent
(self, mock_player_factory)
tests/arenas/test_bomberland.py:26
Methodtest_valid_agent
(self, mock_player_factory)
tests/arenas/test_cyborg.py:13
Methodtest_valid_js_submission
Test that a valid JavaScript robot passes validation.
tests/arenas/test_robotrumble.py:50
Methodtest_valid_py_submission
Test that a valid Python submission passes validation.
tests/arenas/test_halite.py:48
Methodtest_valid_py_submission
Test that a valid Python robot passes validation.
tests/arenas/test_robotrumble.py:69
Methodtest_valid_submission
Test that a valid Python submission passes validation.
tests/arenas/test_dummy.py:28
Methodtest_valid_submission
Test that a valid Bridge bot passes validation.
tests/arenas/test_bridge.py:42
Methodtest_valid_submission
Test that a valid Java tank passes validation.
tests/arenas/test_robocode.py:48
Methodtest_valid_submission
Test that a valid warrior file passes validation.
tests/arenas/test_corewar.py:36
Methodtest_valid_submission
Test that a valid bot.py passes validation.
tests/arenas/test_battlecode25.py:35
Methodtest_valid_submission
Test that a valid BattleCode23 submission passes validation.
tests/arenas/test_battlecode23.py:52
Methodtest_valid_submission
Test that a valid player.py passes validation.
tests/arenas/test_huskybench.py:52
Methodtest_valid_submission
Test that a valid Figgie bot passes validation.
tests/arenas/test_figgie.py:44
Methodtest_valid_submission
Valid C++ engine compiles and produces `src/kojiro` executable.
tests/arenas/test_chess.py:31
Methodtest_valid_submission
Test that a valid BattleCode24 submission passes validation.
tests/arenas/test_battlecode24.py:52
Methodtest_valid_submission
Test that a valid BattleSnake bot passes validation.
tests/arenas/test_battlesnake.py:50
Methodtest_validation_calls_decide_with_plain_protocol
(self, mock_player_factory)
tests/arenas/test_scml.py:73
Methodtest_validation_calls_decide_with_plain_protocol
(self, mock_player_factory)
tests/arenas/test_cyborg.py:76
Methodtest_validation_rejects_bad_decide_return_type
(self, mock_player_factory)
tests/arenas/test_scml.py:95
Methodtest_validation_rejects_bad_decide_return_type
(self, mock_player_factory)
tests/arenas/test_cyborg.py:100
Methodtest_validation_rejects_decide_timeout
(self)
tests/arenas/test_scml.py:115
Methodtest_validation_rejects_decide_timeout
(self)
tests/arenas/test_cyborg.py:126
Methodtest_validation_timeout_invalidates_submission
(self)
tests/arenas/test_bomberland.py:123
Methodtest_wrong_package_declaration
Test validation fails when package declaration is incorrect.
tests/arenas/test_battlecode23.py:122
Methodtest_wrong_package_declaration
Test validation fails when package declaration is incorrect.
tests/arenas/test_battlecode24.py:122
Functiontimeout
Decorator to add timeout to functions Args: seconds: Maximum number of seconds the function can run
codeclash/viewer/app.py:55
Functiontmp_log_dir
Create a temporary log directory structure.
tests/arenas/conftest.py:112
Methodto_dict
(self)
codeclash/arenas/arena.py:31
FunctiontoggleModelDropdown
(event)
codeclash/viewer/static/js/picker.js:1038
FunctiontoggleSelectAll
(selectAllCheckbox)
codeclash/viewer/static/js/picker.js:89
Methodtotal_rounds
Get total number of rounds from config
codeclash/viewer/app.py:246
Methodtournament_count
(self)
codeclash/analysis/stats/per_model.py:37
Methodtournament_path
(self)
codeclash/analysis/llm_as_judge/utils.py:42
Methodtransparent
(self)
codeclash/tournaments/pvp.py:57
Functionunescape_content
Unescape literal \\n characters to actual newlines for proper display in <pre> tags
codeclash/viewer/app.py:953
Methodvalidate_code
( self, agent: Player, )
codeclash/arenas/halite3/halite3.py:65
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/dummy/dummy.py:39
Methodvalidate_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
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/robotrumble/robotrumble.py:145
Methodvalidate_code
Validate agent code has required functions.
codeclash/arenas/bridge/bridge.py:47
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/robocode/robocode.py:148
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/gomoku/gomoku.py:71
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/scml/scml.py:43
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/huskybench/huskybench.py:102
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/battlecode25/battlecode25.py:92
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/cyborg/cyborg.py:45
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/figgie/figgie.py:105
Methodvalidate_code
Validate that agent's Kojiro codebase compiles successfully.
codeclash/arenas/chess/chess.py:44
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/bomberland/bomberland.py:63
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/battlesnake/battlesnake.py:184
Methodvalidate_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
Methodvalidate_code
(self, agent: Player)
codeclash/arenas/corewar/corewar.py:97
Methodvalidate_code
( self, agent: Player, map_file_type_to_compile: dict = MAP_FILE_TYPE_TO_COMPILE,
codeclash/arenas/halite/halite.py:135
Functionwin_rate
Print per-game and game-agnostic win rates for each model. [dim]• codeclash rank win-rate logs/[/dim]
codeclash/cli/rank.py:22
Methodwin_rate
(self)
codeclash/analysis/metrics/win_rate.py:21
Methodwin_rate
(self)
codeclash/analysis/viz/line_chart_per_round_win_rate.py:23
Functionwrapper
(*args, **kwargs)
codeclash/viewer/app.py:39
← previous1,001–1,100 of 1,100, ranked by callers