MCPcopy Create free account

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

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

↓ 1 callersFunctionanalyze_win_change_rate
Compare lead change rates between 2-player and multi-player tournaments.
codeclash/analysis/multiplayer/win_change_rate.py:43
↓ 1 callersFunctionanalyze_winner_share
Compare winner's share between 2-player and multi-player tournaments.
codeclash/analysis/multiplayer/win_share.py:48
↓ 1 callersFunctionapply_actions
(players, callbacks, agents, units, metal, wood, bombs, blasts, stats, width, height, tick, timeout)
codeclash/arenas/bomberland/runtime/run_bomberland.py:281
↓ 1 callersFunctionawi_to_plain
(agent)
codeclash/arenas/scml/runtime/run_scml.py:103
↓ 1 callersFunctionblast_cells
(origin, radius, metal, wood)
codeclash/arenas/bomberland/runtime/run_bomberland.py:223
↓ 1 callersFunctionbuild_agent_class
(player_name: str, path: str, *, decision_timeout: float, max_policy_errors: int)
codeclash/arenas/scml/runtime/run_scml.py:324
↓ 1 callersFunctionbuild_data_structure
Create following data structure per tournament: "player": { "tournament": { "a.py": [(round_num, operation, added, remov
codeclash/analysis/viz/scatter_codebase_organization.py:71
↓ 1 callersMethodbuild_image
Build a Docker image for the game using the Dockerfile in the codebase. If running in AWS, pull the image from the AWS Docker registr
codeclash/arenas/arena.py:122
↓ 1 callersFunctionbuild_map
(width, height, unit_count, rng)
codeclash/arenas/bomberland/runtime/run_bomberland.py:92
↓ 1 callersFunctioncalculate_active_file_ratio
(file_history: dict, N: int = 5)
codeclash/analysis/viz/scatter_codebase_organization.py:189
↓ 1 callersFunctioncalculate_churn_concentration
Calculate what % of modifications happen on the top 10% most-modified files.
codeclash/analysis/viz/scatter_codebase_organization.py:275
↓ 1 callersFunctioncalculate_cumulative_created_files_per_round
Calculate cumulative total number of created files per player per round.
codeclash/analysis/viz/line_chart_total_created_files_vs_round.py:69
↓ 1 callersFunctioncalculate_file_counts_by_extension_at_round
Calculate total file counts by extension at a specific round.
codeclash/analysis/viz/line_chart_total_created_files_vs_round.py:19
↓ 1 callersFunctioncalculate_file_reuse_ratio
Calculate what percentage of created files are later modified/referenced in subsequent rounds. For each file created in round X, check if it was
codeclash/analysis/viz/scatter_codebase_organization.py:417
↓ 1 callersFunctioncalculate_filename_redundancy
Calculate ratio of files with shared prefixes (potential duplicates).
codeclash/analysis/viz/scatter_codebase_organization.py:490
↓ 1 callersFunctioncalculate_recovery_times
Calculate recovery times for each error in the sequence. For each failed command (returncode != 0), count how many steps it takes to get
codeclash/analysis/viz/survival_curve_error_recovery.py:98
↓ 1 callersFunctioncalculate_redundancy_over_rounds
Calculate filename redundancy at each round for a single player-tournament. Args: file_history: dict mapping filenames to [(round, op, ad
codeclash/analysis/viz/scatter_codebase_organization.py:520
↓ 1 callersFunctioncalculate_root_clutter_ratio
(file_history: dict)
codeclash/analysis/viz/scatter_codebase_organization.py:236
↓ 1 callersFunctioncalculate_streak_probabilities
Calculate comeback and falldown probabilities after i consecutive losses/wins.
codeclash/analysis/viz/recover_after_loss_streak.py:77
↓ 1 callersFunctioncalculate_survival_curve
Calculate survival curve data from recovery times. Returns the probability that recovery takes MORE than X steps for each X. This is mor
codeclash/analysis/viz/survival_curve_error_recovery.py:129
↓ 1 callersFunctioncalculate_total_created_files_at_round
Calculate total created files at a specific round for each player-tournament.
codeclash/analysis/viz/cdf_total_created_files_round15.py:16
↓ 1 callersFunctioncall_agent
(agent_path, state, timeout)
codeclash/arenas/bomberland/runtime/run_bomberland.py:53
↓ 1 callersFunctioncloseTocMenu
()
codeclash/viewer/static/js/app.js:364
↓ 1 callersFunctionclose_policies
(agent_classes: dict[str, type])
codeclash/arenas/scml/runtime/run_scml.py:442
↓ 1 callersFunctioncollapseMessage
(clickedElement)
codeclash/viewer/static/js/app.js:211
↓ 1 callersFunctioncollapseTrajectoryMessages
(clickedElement)
codeclash/viewer/static/js/app.js:233
↓ 1 callersFunctioncollect_data
Run code evolution analyses.
codeclash/analysis/code_evolve/main.py:158
↓ 1 callersFunctioncompute_code_similarity
(diff1: PatchSet, diff2: PatchSet, similarity: str = "difflib")
codeclash/analysis/code_evolve/main.py:105
↓ 1 callersFunctioncompute_exploitation_advantage
Calculate win rate change from normal to transparent for each model
codeclash/analysis/transparent/main.py:72
↓ 1 callersFunctioncompute_model_consistency_over_rounds
Aggregate consistency data by model and round. For each model at each round, compute mean similarity across all matchups.
codeclash/analysis/code_evolve/main.py:241
↓ 1 callersFunctioncompute_opponent_effect_matrix
Build matrix showing how each model's consistency varies by opponent. Returns (model_list, opponent_matrix) where opponent_matrix[model][oppo
codeclash/analysis/code_evolve/main.py:268
↓ 1 callersFunctioncompute_round_consistency
Compute pairwise similarity between a model's solutions at a specific round across multiple games. Use this for both questions 1a (early roun
codeclash/analysis/code_evolve/main.py:124
↓ 1 callersFunctioncopyToClipboard
(text)
codeclash/viewer/static/js/picker.js:214
↓ 1 callersFunctioncopy_from_container
Copy a file or directory from a Docker container to the local filesystem. The copy operation is recursive for directories. Be extremely
codeclash/utils/environment.py:135
↓ 1 callersMethodcopy_logs_from_env
Copy logs from the game's environment to the local machine.
codeclash/arenas/arena.py:161
↓ 1 callersFunctioncreateComplexContentHTML
(contentParts)
codeclash/viewer/static/js/trajectory.js:239
↓ 1 callersFunctioncreateFullContentHTML
(content, role)
codeclash/viewer/static/js/trajectory.js:177
↓ 1 callersFunctioncreateMessageElement
(message, index)
codeclash/viewer/static/js/trajectory.js:119
↓ 1 callersFunctioncreateOverviewScoresChart
()
codeclash/viewer/static/js/analysis.js:219
↓ 1 callersFunctioncreatePreviewContentHTML
(content, lines, role)
codeclash/viewer/static/js/trajectory.js:202
↓ 1 callersFunctioncreateToolCallContentHTML
(message)
codeclash/viewer/static/js/trajectory.js:274
↓ 1 callersFunctioncreate_comeback_visualization
Create line chart visualization of round-to-round recovery rates. Args: success_rates: Dictionary of recovery rates by model and def
codeclash/analysis/viz/line_chart_model_resiliency.py:213
↓ 1 callersMethodcreate_elo_plots
Create combined horizontal bar chart showing Elo ratings for all games. All games share the same y-axis ordered by the "ALL" game Elo ratings
codeclash/analysis/metrics/elo.py:528
↓ 1 callersMethodcreate_validation_plots
Create validation plots showing log-likelihood profiles for each player. Args: output_dir: Directory to save PDF plots
codeclash/analysis/metrics/elo.py:629
↓ 1 callersFunctiondeleteExperiment
(folderPath)
codeclash/viewer/static/js/experiment.js:4
↓ 1 callersFunctiondownloadFile
(filePath, button)
codeclash/viewer/static/js/clipboard.js:79
↓ 1 callersMethodend
Save metadata and clean up resources.
codeclash/analysis/matrix.py:307
↓ 1 callersMethodend
Save output files, clean up game resources and push agents if requested.
codeclash/tournaments/pvp.py:212
↓ 1 callersMethodend
Clean up game resources.
codeclash/tournaments/single_player.py:140
↓ 1 callersFunctionerror_page
(game, exc)
codeclash/replay/serve.py:44
↓ 1 callersMethodevaluate
(self, instance: Instance)
codeclash/analysis/llm_as_judge/big_questions.py:128
↓ 1 callersMethodevaluate
Evaluate the agent's performance by calculating the matrix of every round against each other.
codeclash/tournaments/single_player.py:146
↓ 1 callersMethodevaluate_all_matrices
Evaluate vs matrix between the two players.
codeclash/analysis/matrix.py:298
↓ 1 callersFunctionevaluate_player
( player_name: str, policy_path: str, *, episode_idx: int, steps: int, drones: int,
codeclash/arenas/cyborg/runtime/run_cyborg.py:224
↓ 1 callersMethodexecute
(self, cmd, cwd=None, timeout=None)
tests/arenas/test_bomberland.py:135
↓ 1 callersFunctionexpandMessage
(clickedElement)
codeclash/viewer/static/js/app.js:189
↓ 1 callersFunctionextract_action
(action: str)
codeclash/analysis/viz/scatter_codebase_organization.py:53
↓ 1 callersFunctionextract_command_results
Extract sequence of command execution results from a trajectory. Returns a list of tuples: (command_type, returncode) in chronological order
codeclash/analysis/viz/survival_curve_error_recovery.py:52
↓ 1 callersFunctionextract_commands_from_trajectory
Extract all bash commands from a trajectory file. Parses assistant messages to find bash code blocks and extracts the first word of each
codeclash/analysis/viz/cdf_command_diversity.py:82
↓ 1 callersFunctionextract_modified_code_file_paths_from_diff
Extract modified file paths from a git diff. Args: diff: Git diff text Returns: List of file paths that were modified
codeclash/tournaments/utils/git_utils.py:63
↓ 1 callersFunctionextract_round_number
Extract round number from trajectory filename like player_r1.traj.json.
scripts/include_cost_info_in_metadata.py:19
↓ 1 callersFunctionextract_round_scores
(log_dir: Path, output_file: Path)
codeclash/analysis/bootstrap/extract_round_scores.py:15
↓ 1 callersFunctionextract_thought_length_from_message
Return number of words in THOUGHT section of message content, or None if not found.
codeclash/analysis/viz/line_chart_thought_length_per_round.py:16
↓ 1 callersFunctionextract_triple_backticks
(text: str)
codeclash/analysis/llm_as_judge/big_questions.py:111
↓ 1 callersFunctionfilter_outlier_tournaments_by_total_files_99p
Filter out player-tournament trajectories above the player's 99th percentile. Uses the maximum cumulative total per player-tournament to compute
codeclash/analysis/viz/line_chart_total_created_files_vs_round.py:95
↓ 1 callersFunctionfind_metadata_files
Find all metadata.json files in the log folder.
scripts/include_cost_info_in_metadata.py:14
↓ 1 callersMethodformat_job_for_display
Format job data for display in the UI
codeclash/viewer/app_aws.py:76
↓ 1 callersFunctionframe_state
A single per-tick snapshot: tick, units, and world entities.
codeclash/arenas/bomberland/runtime/run_bomberland.py:404
↓ 1 callersFunctionframe_units
Serialize per-unit state for one tick: id / owner / coordinates / hp.
codeclash/arenas/bomberland/runtime/run_bomberland.py:387
↓ 1 callersFunctiongame_view
Static-friendly game viewer route using path parameters
codeclash/viewer/app.py:1110
↓ 1 callersFunctiongetMatrixData
()
codeclash/viewer/static/js/matrix.js:45
↓ 1 callersFunctionget_actions
Returns all actions from a trajectory
codeclash/analysis/viz/scatter_codebase_organization.py:50
↓ 1 callersMethodget_agent
Create an agent with environment and game context.
codeclash/tournaments/pvp.py:68
↓ 1 callersFunctionget_agent_info_from_metadata
Extract detailed agent information from metadata
codeclash/viewer/app.py:370
↓ 1 callersMethodget_available_trajectories
Get list of available trajectory files as (player_name, round_num) tuples using metadata
codeclash/viewer/app.py:716
↓ 1 callersFunctionget_aws_metadata
Returns a dictionary of AWS metadata.
codeclash/utils/aws.py:14
↓ 1 callersMethodget_current_next_round_win_rate
(self)
codeclash/analysis/llm_as_judge/utils.py:58
↓ 1 callersMethodget_formatted_jobs
Get all jobs formatted for display Args: limit: Maximum number of jobs to return hours_back: Number of hours to look
codeclash/viewer/app_aws.py:242
↓ 1 callersMethodget_metadata
(self)
codeclash/tournaments/pvp.py:60
↓ 1 callersMethodget_metadata
(self)
codeclash/tournaments/single_player.py:42
↓ 1 callersFunctionget_model_arena_logs
Get all log folders matching the specified model(s) and arena(s).
codeclash/analysis/code_evolve/main.py:25
↓ 1 callersFunctionget_navigation_info
Get previous and next game folders for navigation
codeclash/viewer/app.py:1005
↓ 1 callersMethodget_nonparametric_bootstrap
Return a bootstrap-resampled win matrix with the same format as win_matrix. Sampling is done with replacement over per-tournament contributio
codeclash/analysis/metrics/elo.py:259
↓ 1 callersFunctionget_normalized_scores
Get normalized scores for all rounds where all players had valid submissions. Returns a tuple of (game_name, game_to_scores, model_to_scores).
codeclash/analysis/viz/round_score_distribution.py:19
↓ 1 callersFunctionget_output_path
()
codeclash/cli/app.py:60
↓ 1 callersMethodget_parametric_bootstrap
Return a parametric bootstrap sample based on the fitted Bradley-Terry model. Uses the fitted strengths to compute win probabilities P(i beat
codeclash/analysis/metrics/elo.py:452
↓ 1 callersMethodget_path_from_dict
Static method to get value from any dictionary using dot notation
codeclash/viewer/app.py:307
↓ 1 callersFunctionget_player_win_counts
Get the win counts (rounds won) for all players in a tournament. Returns a tuple of (game_name, game_to_wins, model_to_wins). Only returns da
codeclash/analysis/viz/win_rate_distribution.py:19
↓ 1 callersFunctionget_submission_diff_at_round
Extract submission-relevant code diff for a player at a specific round.
codeclash/analysis/code_evolve/main.py:36
↓ 1 callersFunctionget_submission_diffs_at_round
Extract submission diffs for a player at a specific round across multiple tournaments.
codeclash/analysis/code_evolve/main.py:57
↓ 1 callersFunctionget_text_color_for_background
Return 'white' for dark backgrounds, 'black' for light backgrounds.
codeclash/analysis/viz/throwaway_files_bar_chart.py:24
↓ 1 callersMethodget_total_cpus_running
Get total number of vCPUs currently allocated in the compute environment
codeclash/viewer/app_aws.py:252
↓ 1 callersFunctionget_tournament_wins_by_model
Resolve tournament winner using per_tournament_boolean_drop_draws logic. Returns a dict mapping model_name -> (won_tournament, rounds_won). S
codeclash/analysis/viz/win_rate_distribution.py:162
↓ 1 callersFunctionidentify_deficit_and_recovery_situations
Identify situations where a player lost a round and track if they won the next round. Deficit is calculated per-round as: (winner_score - lo
codeclash/analysis/viz/line_chart_model_resiliency.py:56
↓ 1 callersFunctioninitializeAnalysis
* Initialize the analysis functionality
codeclash/viewer/static/js/analysis.js:11
↓ 1 callersFunctioninitializeFilters
()
codeclash/viewer/static/js/picker.js:857
↓ 1 callersFunctioninitializeFloatingToc
()
codeclash/viewer/static/js/app.js:295
↓ 1 callersFunctioninitializeFoldouts
()
codeclash/viewer/static/js/app.js:60
↓ 1 callersFunctioninitializeKeyboardNavigation
()
codeclash/viewer/static/js/picker.js:637
↓ 1 callersFunctioninitializeKeyboardShortcuts
()
codeclash/viewer/static/js/app.js:90
← previousnext →301–400 of 1,100, ranked by callers