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
__repr__
(self)
codeclash/analysis/stats/per_model.py:40
Method
__str__
(self)
codeclash/arenas/arena.py:49
Function
_agent_worker
(path, state, result_queue)
codeclash/arenas/bomberland/runtime/run_bomberland.py:42
Method
_compress_round_logs
(self)
codeclash/tournaments/pvp.py:167
Function
_compute_code_sim_difflib
Compute similarity score between two diffs using edit distance (0.0 = different, 1.0 = identical).
codeclash/analysis/code_evolve/main.py:77
Function
_compute_similarity_row
Helper for parallel similarity computation.
codeclash/analysis/code_evolve/main.py:112
Method
_copy_game_log_to_agent
Copy round log to agent environment.
codeclash/tournaments/tournament.py:48
Method
_format_traj_str
Format trajectory with step numbers and full agent output (not just actions).
codeclash/analysis/llm_as_judge/hallucination.py:124
Method
_get_l_reason_breakdown
Categorize loss reason hallucinations.
codeclash/analysis/llm_as_judge/grounding_validation_triple_plot.py:86
Function
_load_game_metadata
Helper function to load metadata for a single game folder in parallel
codeclash/viewer/app.py:390
Method
_negative_log_likelihood
Negative log-likelihood for Bradley-Terry model with L2 regularization. Args: strengths: Array of player strengths (length n_play
codeclash/analysis/metrics/elo.py:346
Method
_query
(self, messages: list[dict[str, str]], **kwargs)
codeclash/analysis/llm_as_judge/big_questions.py:45
Method
_run_simulation
Run a single simulation. Args: sim_meta: Simulation metadata with team assignments agents: List of agents (for name l
codeclash/arenas/battlecode24/battlecode24.py:143
Method
_run_simulation
Run a single simulation. Args: sim_meta: Simulation metadata with team assignments agents: List of agents (for name l
codeclash/arenas/battlecode23/battlecode23.py:143
Method
_run_single_match
Run a single Fastchess match between two engines. Args: agent1: First agent agent2: Second agent
codeclash/arenas/chess/chess.py:140
Method
_run_single_simulation
Run a single halite simulation and return the output.
codeclash/arenas/halite3/halite3.py:41
Method
_run_single_simulation
Run a single robotrumble simulation and return the output.
codeclash/arenas/robotrumble/robotrumble.py:41
Method
_run_single_simulation
Run a single Bridge game simulation.
codeclash/arenas/bridge/bridge.py:67
Method
_run_single_simulation
(self, agents: list[Player], idx: int, cmd: str)
codeclash/arenas/robocode/robocode.py:74
Method
_run_single_simulation
(self, agents: list[Player], idx: int, cmd: str)
codeclash/arenas/battlecode25/battlecode25.py:37
Method
_run_single_simulation
Run a single battlesnake simulation and return log and result outputs.
codeclash/arenas/battlesnake/battlesnake.py:59
Method
_run_single_simulation
(self, agents: list[Player], idx: int)
codeclash/arenas/corewar/corewar.py:29
Method
_run_single_simulation
Run a single halite simulation and return the output.
codeclash/arenas/halite/halite.py:71
Method
_worker_thread
Worker thread that processes tasks using a specific game worker.
codeclash/analysis/matrix.py:226
Method
add_messages
(self, *messages: dict)
codeclash/agents/minisweagent.py:37
Function
aggregate_results_to_dataframe
Convenience function for backward compatibility.
codeclash/analysis/llm_as_judge/aggregate_results.py:230
Function
analysis_line_counts
()
scripts/freeze_viewer.py:84
Function
analysis_line_counts
Get line count analysis data for the current game
codeclash/viewer/app.py:1189
Method
arena
Create DummyArena instance with mocked environment.
tests/arenas/test_dummy.py:19
Method
arena
Create DummyArena instance.
tests/arenas/test_dummy.py:79
Method
arena
Create BridgeArena instance with mocked environment.
tests/arenas/test_bridge.py:27
Method
arena
Create RoboCodeArena instance with mocked environment.
tests/arenas/test_robocode.py:40
Method
arena
Create RoboCodeArena instance.
tests/arenas/test_robocode.py:140
Method
arena
Create CoreWarArena instance with mocked environment.
tests/arenas/test_corewar.py:27
Method
arena
Create CoreWarArena instance.
tests/arenas/test_corewar.py:88
Method
arena
Create HaliteArena instance with mocked environment.
tests/arenas/test_halite.py:39
Method
arena
Create HaliteArena instance.
tests/arenas/test_halite.py:137
Method
arena
Create BattleCodeArena instance with mocked environment.
tests/arenas/test_battlecode25.py:27
Method
arena
Create BattleCodeArena instance.
tests/arenas/test_battlecode25.py:112
Method
arena
Create BattleCode23Arena instance with mocked environment.
tests/arenas/test_battlecode23.py:37
Method
arena
Create BattleCode23Arena instance.
tests/arenas/test_battlecode23.py:155
Method
arena
Create BattleCode23Arena instance.
tests/arenas/test_battlecode23.py:240
Method
arena
Create RobotRumbleArena instance with mocked environment.
tests/arenas/test_robotrumble.py:42
Method
arena
Create RobotRumbleArena instance.
tests/arenas/test_robotrumble.py:139
Method
arena
Create HuskyBenchArena instance with mocked environment.
tests/arenas/test_huskybench.py:35
Method
arena
Create HuskyBenchArena instance.
tests/arenas/test_huskybench.py:100
Method
arena
Create FiggieArena instance with mocked environment.
tests/arenas/test_figgie.py:29
Method
arena
Create ChessArena instance with mocked environment.
tests/arenas/test_chess.py:22
Method
arena
Create ChessArena-like instance with local logging directory.
tests/arenas/test_chess.py:100
Method
arena
Create BattleCode24Arena instance with mocked environment.
tests/arenas/test_battlecode24.py:37
Method
arena
Create BattleCode24Arena instance.
tests/arenas/test_battlecode24.py:155
Method
arena
Create BattleCode24Arena instance.
tests/arenas/test_battlecode24.py:253
Method
arena
Create BattleSnakeArena instance with mocked environment.
tests/arenas/test_battlesnake.py:41
Method
arena
Create BattleSnakeArena instance.
tests/arenas/test_battlesnake.py:150
Function
batch_api_jobs
()
scripts/freeze_viewer.py:92
Function
batch_api_jobs
API endpoint to get AWS Batch jobs with caching (2 min timeout) Concurrent requests are coalesced to prevent multiple simultaneous AWS API calls.
codeclash/viewer/app.py:1411
Function
batch_monitor
()
scripts/freeze_viewer.py:88
Function
batch_monitor
AWS Batch job monitor page
codeclash/viewer/app.py:1391
Function
build_index
Index page: every game with its winner, linking to its replay by game index. For a ladder (games carry a ``group`` matchup label) a Matchup colum
codeclash/replay/base.py:342
Function
build_page
A complete, self-contained replay page (CSS + player + arena JS + data inlined). Built on demand by the server and served straight from memory —
codeclash/replay/base.py:319
Function
clearDateFilter
(event)
codeclash/viewer/static/js/picker.js:1137
Function
clearFilters
()
codeclash/viewer/static/js/picker.js:954
Function
clearModelSelection
(event)
codeclash/viewer/static/js/picker.js:1005
Function
closeBulkActionsModalOnOverlay
(event)
codeclash/viewer/static/js/picker.js:170
Method
cmd_failure_rate
(self)
codeclash/analysis/stats/per_model.py:29
Function
compareRows
(a, b)
codeclash/viewer/static/js/picker.js:1247
Method
completed_rounds
Get number of completed rounds (excluding round 0 warmup)
codeclash/viewer/app.py:251
Function
compute
()
codeclash/viewer/app.py:458
Function
compute_code_sim_jaccard
Jaccard similarity on line-level tokens.
codeclash/analysis/code_evolve/main.py:86
Method
config
Game configuration from PvP metadata.
codeclash/analysis/matrix.py:65
Function
copyFromModal
()
codeclash/viewer/static/js/picker.js:529
Method
counter_all
(self, offers, states)
codeclash/arenas/scml/runtime/run_scml.py:390
Function
create_mock_player
Create a mock player with specified file system contents.
tests/arenas/conftest.py:81
Method
data_id
(self)
codeclash/analysis/llm_as_judge/big_questions.py:125
Method
data_id
(self)
codeclash/analysis/llm_as_judge/hallucination.py:101
Method
data_id
(self)
codeclash/analysis/llm_as_judge/categorize_actions.py:103
Function
decide
Return SCML negotiation intents for the trusted runtime to validate. Return {} or None to use the trusted greedy fallback.
codeclash/arenas/scml/runtime/scml_agent.py:1
Function
decide
Return a discrete CybORG action for the trusted runtime to validate.
codeclash/arenas/cyborg/runtime/cyborg_agent.py:1
Function
decodeHtmlEntities
(text)
codeclash/viewer/static/js/matrix.js:14
Function
decorator
(func)
codeclash/viewer/app.py:62
Function
delete_experiment
()
scripts/freeze_viewer.py:80
Function
delete_experiment
Delete an experiment folder
codeclash/viewer/app.py:1141
Method
dict_to_lines
(d, prefix="")
codeclash/arenas/robocode/robocode.py:64
Method
do_GET
(self)
codeclash/replay/serve.py:56
Function
download_file
()
scripts/freeze_viewer.py:64
Function
download_file
Download a file with proper security checks
codeclash/viewer/app.py:1218
Function
elo
Passthrough to `python -m codeclash.analysis.metrics.elo` (rich analysis + plots).
codeclash/cli/rank.py:54
Method
end
(self, cleanup: bool = False)
codeclash/arenas/arena.py:176
Method
evaluate
(self, instance: Instance)
codeclash/analysis/llm_as_judge/hallucination.py:104
Method
evaluate
(self, instance: Instance)
codeclash/analysis/llm_as_judge/categorize_actions.py:106
Method
execute
(self, cmd: str, cwd: str | None = None, timeout: int | None = None)
tests/arenas/test_scml.py:117
Method
execute
(self, cmd, cwd=None, timeout=None)
tests/arenas/test_bomberland.py:111
Method
execute
(self, cmd, cwd=None, timeout=None)
tests/arenas/test_bomberland.py:249
Method
execute
(self, cmd: str, cwd: str | None = None, timeout: int | None = None)
tests/arenas/test_cyborg.py:128
Method
execute
(self, cmd, cwd=None, timeout=None)
tests/arenas/test_cyborg.py:212
Method
execute
Simulate command execution based on configured outputs.
tests/arenas/conftest.py:31
Method
execute_round
(self, agents: list[Player])
codeclash/arenas/dummy/dummy.py:15
Method
execute_round
Execute a round: compile all agents, then run simulations. Handles failures gracefully: - If one agent fails to compile, the other wi
codeclash/arenas/battlecode24/battlecode24.py:178
Method
execute_round
(self, agents: list[Player])
codeclash/arenas/robotrumble/robotrumble.py:57
Method
execute_round
Execute a round of Bridge games.
codeclash/arenas/bridge/bridge.py:83
← previous
next →
601–700 of 1,100, ranked by callers