MCPcopy Create free account

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

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

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
Methodadd_messages
(self, *messages: dict)
codeclash/agents/minisweagent.py:37
Functionaggregate_results_to_dataframe
Convenience function for backward compatibility.
codeclash/analysis/llm_as_judge/aggregate_results.py:230
Functionanalysis_line_counts
()
scripts/freeze_viewer.py:84
Functionanalysis_line_counts
Get line count analysis data for the current game
codeclash/viewer/app.py:1189
Methodarena
Create DummyArena instance with mocked environment.
tests/arenas/test_dummy.py:19
Methodarena
Create DummyArena instance.
tests/arenas/test_dummy.py:79
Methodarena
Create BridgeArena instance with mocked environment.
tests/arenas/test_bridge.py:27
Methodarena
Create RoboCodeArena instance with mocked environment.
tests/arenas/test_robocode.py:40
Methodarena
Create RoboCodeArena instance.
tests/arenas/test_robocode.py:140
Methodarena
Create CoreWarArena instance with mocked environment.
tests/arenas/test_corewar.py:27
Methodarena
Create CoreWarArena instance.
tests/arenas/test_corewar.py:88
Methodarena
Create HaliteArena instance with mocked environment.
tests/arenas/test_halite.py:39
Methodarena
Create HaliteArena instance.
tests/arenas/test_halite.py:137
Methodarena
Create BattleCodeArena instance with mocked environment.
tests/arenas/test_battlecode25.py:27
Methodarena
Create BattleCodeArena instance.
tests/arenas/test_battlecode25.py:112
Methodarena
Create BattleCode23Arena instance with mocked environment.
tests/arenas/test_battlecode23.py:37
Methodarena
Create BattleCode23Arena instance.
tests/arenas/test_battlecode23.py:155
Methodarena
Create BattleCode23Arena instance.
tests/arenas/test_battlecode23.py:240
Methodarena
Create RobotRumbleArena instance with mocked environment.
tests/arenas/test_robotrumble.py:42
Methodarena
Create RobotRumbleArena instance.
tests/arenas/test_robotrumble.py:139
Methodarena
Create HuskyBenchArena instance with mocked environment.
tests/arenas/test_huskybench.py:35
Methodarena
Create HuskyBenchArena instance.
tests/arenas/test_huskybench.py:100
Methodarena
Create FiggieArena instance with mocked environment.
tests/arenas/test_figgie.py:29
Methodarena
Create ChessArena instance with mocked environment.
tests/arenas/test_chess.py:22
Methodarena
Create ChessArena-like instance with local logging directory.
tests/arenas/test_chess.py:100
Methodarena
Create BattleCode24Arena instance with mocked environment.
tests/arenas/test_battlecode24.py:37
Methodarena
Create BattleCode24Arena instance.
tests/arenas/test_battlecode24.py:155
Methodarena
Create BattleCode24Arena instance.
tests/arenas/test_battlecode24.py:253
Methodarena
Create BattleSnakeArena instance with mocked environment.
tests/arenas/test_battlesnake.py:41
Methodarena
Create BattleSnakeArena instance.
tests/arenas/test_battlesnake.py:150
Functionbatch_api_jobs
()
scripts/freeze_viewer.py:92
Functionbatch_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
Functionbatch_monitor
()
scripts/freeze_viewer.py:88
Functionbatch_monitor
AWS Batch job monitor page
codeclash/viewer/app.py:1391
Functionbuild_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
Functionbuild_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
FunctionclearDateFilter
(event)
codeclash/viewer/static/js/picker.js:1137
FunctionclearFilters
()
codeclash/viewer/static/js/picker.js:954
FunctionclearModelSelection
(event)
codeclash/viewer/static/js/picker.js:1005
FunctioncloseBulkActionsModalOnOverlay
(event)
codeclash/viewer/static/js/picker.js:170
Methodcmd_failure_rate
(self)
codeclash/analysis/stats/per_model.py:29
FunctioncompareRows
(a, b)
codeclash/viewer/static/js/picker.js:1247
Methodcompleted_rounds
Get number of completed rounds (excluding round 0 warmup)
codeclash/viewer/app.py:251
Functioncompute
()
codeclash/viewer/app.py:458
Functioncompute_code_sim_jaccard
Jaccard similarity on line-level tokens.
codeclash/analysis/code_evolve/main.py:86
Methodconfig
Game configuration from PvP metadata.
codeclash/analysis/matrix.py:65
FunctioncopyFromModal
()
codeclash/viewer/static/js/picker.js:529
Methodcounter_all
(self, offers, states)
codeclash/arenas/scml/runtime/run_scml.py:390
Functioncreate_mock_player
Create a mock player with specified file system contents.
tests/arenas/conftest.py:81
Methoddata_id
(self)
codeclash/analysis/llm_as_judge/big_questions.py:125
Methoddata_id
(self)
codeclash/analysis/llm_as_judge/hallucination.py:101
Methoddata_id
(self)
codeclash/analysis/llm_as_judge/categorize_actions.py:103
Functiondecide
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
Functiondecide
Return a discrete CybORG action for the trusted runtime to validate.
codeclash/arenas/cyborg/runtime/cyborg_agent.py:1
FunctiondecodeHtmlEntities
(text)
codeclash/viewer/static/js/matrix.js:14
Functiondecorator
(func)
codeclash/viewer/app.py:62
Functiondelete_experiment
()
scripts/freeze_viewer.py:80
Functiondelete_experiment
Delete an experiment folder
codeclash/viewer/app.py:1141
Methoddict_to_lines
(d, prefix="")
codeclash/arenas/robocode/robocode.py:64
Methoddo_GET
(self)
codeclash/replay/serve.py:56
Functiondownload_file
()
scripts/freeze_viewer.py:64
Functiondownload_file
Download a file with proper security checks
codeclash/viewer/app.py:1218
Functionelo
Passthrough to `python -m codeclash.analysis.metrics.elo` (rich analysis + plots).
codeclash/cli/rank.py:54
Methodend
(self, cleanup: bool = False)
codeclash/arenas/arena.py:176
Methodevaluate
(self, instance: Instance)
codeclash/analysis/llm_as_judge/hallucination.py:104
Methodevaluate
(self, instance: Instance)
codeclash/analysis/llm_as_judge/categorize_actions.py:106
Methodexecute
(self, cmd: str, cwd: str | None = None, timeout: int | None = None)
tests/arenas/test_scml.py:117
Methodexecute
(self, cmd, cwd=None, timeout=None)
tests/arenas/test_bomberland.py:111
Methodexecute
(self, cmd, cwd=None, timeout=None)
tests/arenas/test_bomberland.py:249
Methodexecute
(self, cmd: str, cwd: str | None = None, timeout: int | None = None)
tests/arenas/test_cyborg.py:128
Methodexecute
(self, cmd, cwd=None, timeout=None)
tests/arenas/test_cyborg.py:212
Methodexecute
Simulate command execution based on configured outputs.
tests/arenas/conftest.py:31
Methodexecute_round
(self, agents: list[Player])
codeclash/arenas/dummy/dummy.py:15
Methodexecute_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
Methodexecute_round
(self, agents: list[Player])
codeclash/arenas/robotrumble/robotrumble.py:57
Methodexecute_round
Execute a round of Bridge games.
codeclash/arenas/bridge/bridge.py:83
← previousnext →601–700 of 1,100, ranked by callers