MCPcopy Index your code

hub / github.com/algorithmicsuperintelligence/openevolve / functions

Functions1,478 in github.com/algorithmicsuperintelligence/openevolve

↓ 4 callersMethod_validate_migration_results
Validate migration didn't create inconsistencies Checks that: 1. Program island metadata matches actual island assignment
openevolve/database.py:1882
↓ 4 callersFunctionapply_diff_blocks
Apply diff blocks line-wise and return (new_text, applied_count)
openevolve/utils/code_utils.py:243
↓ 4 callersFunctionbuild_artifacts_from_saver
(artifacts: dict, metrics: dict, output_saver: dict)
examples/tsp_tour_minimization/evaluator.py:62
↓ 4 callersFunctioncalculate_prompt_features
Calculate custom features for MAP-Elites IMPORTANT: Returns raw continuous values, not bin indices. The database handles all scaling and
examples/llm_prompt_optimization/evaluator.py:62
↓ 4 callersFunctionclampWidth
(w)
scripts/static/js/sidebar.js:184
↓ 4 callersFunctionescapeHtml
(s)
scripts/static/js/sidebar.js:363
↓ 4 callersFunctionextract_diffs
Extract diff blocks from the diff text Args: diff_text: Diff in the SEARCH/REPLACE format diff_pattern: Regex pattern for th
openevolve/utils/code_utils.py:78
↓ 4 callersFunctiongenerate_regression_data
Generate synthetic regression data with outliers.
examples/r_robust_regression/evaluator.py:213
↓ 4 callersFunctiongetNodeXY
(node, x, yScales, showIslands, metric)
scripts/static/js/performance.js:531
↓ 4 callersMethodget_task_description
Get the description of a task.
examples/algotune/task_adapter.py:94
↓ 4 callersFunctionhexagon_vertices
Generates the vertices of a regular hexagon. Args: center_x: x-coordinate of the center. center_y: y-coordinate of the center. side_le
examples/alphaevolve_math_problems/hexagon_packing/12/evaluator.py:27
↓ 4 callersFunctionhexagon_vertices
Generates the vertices of a regular hexagon. Args: center_x: x-coordinate of the center. center_y: y-coordinate of the center. side_le
examples/alphaevolve_math_problems/hexagon_packing/11/evaluator.py:27
↓ 4 callersFunctionis_file_exist
(file_path: str)
examples/tsp_tour_minimization/utils/utils.py:51
↓ 4 callersFunctionload_data
Unified data loading interface. Loads and processes data from Hugging Face Hub. Each task's dataset is grouped by a 'group' key. The functio
examples/sldbench/data_loader.py:52
↓ 4 callersFunctionrenderGraph
(data, options = {})
scripts/static/js/graph.js:187
↓ 4 callersMethodrun_full_benchmark_suite
Run the complete benchmark suite
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:810
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/fft_cmplx_scipy_fftpack/evaluator.py:68
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/eigenvectors_complex/evaluator.py:68
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/convolve2d_full_fill/evaluator.py:68
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/affine_transform_2d/evaluator.py:68
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/polynomial_real/evaluator.py:68
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/psd_cone_projection/evaluator.py:68
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/fft_convolution/evaluator.py:68
↓ 4 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/algotune/lu_factorization/evaluator.py:68
↓ 4 callersMethodshould_migrate
Check if migration should occur based on generation counters
openevolve/database.py:1775
↓ 4 callersMethodstart
Start the process pool
openevolve/process_parallel.py:396
↓ 4 callersFunctionupdateGraphEdgeSelection
()
scripts/static/js/graph.js:457
↓ 4 callersFunctionupdateGraphNodeSelection
()
scripts/static/js/graph.js:49
↓ 4 callersMethodupdate_model_params
Update model parameters for all models
openevolve/config.py:185
↓ 3 callersMethod__init__
(self, root)
examples/symbolic_regression/bench/datamodules.py:123
↓ 3 callersMethod_get_constrained_decomposition
Applies a scaled tanh to map latent parameters to the desired range.
examples/alphaevolve_math_problems/matmul/initial_program.py:75
↓ 3 callersFunction_get_metrics_for_set
( X_data: np.ndarray, y_data: np.ndarray, set_name: str )
examples/symbolic_regression/eval.py:260
↓ 3 callersMethod_get_safe_benchmark_configs
Get safer benchmark configurations for GPU protection
examples/mlx_metal_kernel_opt/evaluator.py:1008
↓ 3 callersFunction_queue_dir
(run_root: Path)
scripts/manual.py:52
↓ 3 callersFunction_resolve_run_root
Resolve run root from a path that may point to: - <run_root> - <run_root>/checkpoints - <run_root>/checkpoints/checkpoint_123
scripts/manual.py:26
↓ 3 callersMethod_result_to_dict
Convert BenchmarkResult to dictionary
examples/mlx_metal_kernel_opt/evaluator.py:1420
↓ 3 callersMethod_sample_exploration_parent
Sample a parent for exploration (from current island)
openevolve/database.py:1290
↓ 3 callersMethod_sample_from_island_weighted
Sample a parent from a specific island using fitness-weighted selection Args: island_id: The island to sample from
openevolve/database.py:1427
↓ 3 callersMethod_serialize_feature_stats
Serialize feature_stats for JSON storage Returns: Dictionary that can be JSON-serialized
openevolve/database.py:2251
↓ 3 callersFunction_terminate_process
Kill process (and its group on POSIX) and await .wait()
examples/tsp_tour_minimization/utils/tsp_runner.py:172
↓ 3 callersFunctionapply_diff
Apply a diff to the original code Args: original_code: Original source code diff_text: Diff in the SEARCH/REPLACE format
openevolve/utils/code_utils.py:40
↓ 3 callersFunctionattachPromptSelectHandler
()
scripts/static/js/sidebar.js:483
↓ 3 callersMethodcalculate_improvement
Calculate improvement deltas between parent and child metrics
openevolve/evolution_trace.py:51
↓ 3 callersMethodcreate_task
(self)
examples/symbolic_regression/bench/dataclasses.py:42
↓ 3 callersFunctionevaluate
Evaluate a pipeline configuration program. Args: program_path: Path to the Python file containing configure_pipeline() Returns:
examples/k_module_problem/evaluator.py:48
↓ 3 callersMethodevaluate
Main evaluation function called by OpenEvolve
examples/attention_optimization/evaluator.py:193
↓ 3 callersFunctionevolve_function
Evolve a Python function based on test cases Args: func: Initial function to evolve test_cases: List of (input, expected_out
openevolve/api.py:314
↓ 3 callersFunctionexport_traces_json
Export traces to JSON format with metadata Args: traces: List of trace objects with to_dict() method output_path: Path to sa
openevolve/utils/trace_export_utils.py:48
↓ 3 callersFunctionextract_parameters
Extract parameter information from a function signature. Args: signature: Function signature string Returns: List of pa
examples/web_scraper_optillm/initial_program.py:78
↓ 3 callersFunctiongetSelectedMetric
()
scripts/static/js/graph.js:64
↓ 3 callersMethodget_artifact_size
Get size of a specific artifact in bytes
openevolve/evaluation_result.py:47
↓ 3 callersMethodget_statistics
Get current tracing statistics
openevolve/evolution_trace.py:260
↓ 3 callersFunctionget_url
(cfg, option, default)
examples/online_judge_programming/submit.py:138
↓ 3 callersFunctionl2_loss_real
(x: jnp.ndarray, y: jnp.ndarray)
examples/alphaevolve_math_problems/matmul/initial_program.py:46
↓ 3 callersFunctionload_evolution_data
(checkpoint_folder)
scripts/visualizer.py:35
↓ 3 callersFunctionrenderSidebarTabContent
(tabName, d, children)
scripts/static/js/sidebar.js:367
↓ 3 callersMethodrun_evolution
Run evolution with process-based parallelism
openevolve/process_parallel.py:472
↓ 3 callersFunctionsetTheme
(theme)
scripts/static/js/mainUI.js:59
↓ 3 callersMethodsolve
Solve the psd_cone_projection problem. Args: problem: Dictionary containing problem data specific to psd_cone_pr
examples/algotune/psd_cone_projection/best_program.py:82
↓ 3 callersMethodstop
Stop the process pool
openevolve/process_parallel.py:427
↓ 3 callersFunctionupdateEdgeHighlighting
()
scripts/static/js/performance.js:566
↓ 2 callersMethod_apply_security_filter
Apply security filtering to artifact text Args: text: Input text Returns: Filtered text with potent
openevolve/prompt/sampler.py:662
↓ 2 callersMethod_calculate_safety_score
Calculate overall safety score based on error statistics
examples/mlx_metal_kernel_opt/evaluator.py:1219
↓ 2 callersMethod_call_api
Make the actual API call
openevolve/llm/openai.py:212
↓ 2 callersFunction_can_apply_linewise
(haystack_lines: List[str], needle_lines: List[str])
openevolve/utils/code_utils.py:232
↓ 2 callersMethod_cascade_evaluate
Run cascade evaluation with increasingly challenging test cases Args: program_path: Path to the program file Re
openevolve/evaluator.py:360
↓ 2 callersMethod_cleanup_stale_island_bests
Remove stale island best program references Cleans up references to programs that no longer exist in the database or are not
openevolve/database.py:1923
↓ 2 callersMethod_create_cascade_error_context
Create rich error context for cascade failures Args: stage: The stage where the error occurred error: The ex
openevolve/evaluator.py:644
↓ 2 callersMethod_create_database_snapshot
Create a serializable snapshot of the database state
openevolve/process_parallel.py:442
↓ 2 callersMethod_create_long_context_prompt
Create long context prompt
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:267
↓ 2 callersMethod_create_very_long_context_prompt
Create very long context prompt to test KV cache scaling
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:304
↓ 2 callersFunction_download
(repo_id)
examples/symbolic_regression/bench/datamodules.py:18
↓ 2 callersMethod_extract_task_class_info
Extract class information from the task file with improved method extraction.
examples/algotune/task_adapter.py:103
↓ 2 callersMethod_extract_unique_features
Extract unique features of an inspiration program Args: program: Program dictionary Returns: String
openevolve/prompt/sampler.py:533
↓ 2 callersMethod_get_comprehensive_error_statistics
Get comprehensive error statistics
examples/mlx_metal_kernel_opt/evaluator.py:1321
↓ 2 callersFunction_guarded
(i: int)
examples/tsp_tour_minimization/utils/heat_map_runner.py:237
↓ 2 callersMethod_load_from_directory
Load all templates and fragments from a directory
openevolve/prompt/templates.py:199
↓ 2 callersMethod_objective_fn
Calculates the C6 lower bound using jnp.unique
examples/alphaevolve_math_problems/sums_diffs_finite_sets/initial_program.py:27
↓ 2 callersMethod_passes_threshold
Check if metrics pass a threshold Uses 'combined_score' if available (for consistency with evolution), otherwise falls back
openevolve/evaluator.py:668
↓ 2 callersMethod_result_to_dict
Convert BenchmarkResult to dictionary
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:952
↓ 2 callersMethod_sample_inspirations
Sample inspiration programs for the next evolution step. For proper island-based evolution, inspirations are sampled ONLY from the
openevolve/database.py:1554
↓ 2 callersMethod_save_program
Save a program to disk Args: program: Program to save base_path: Base path to save to (uses config.db_path i
openevolve/database.py:803
↓ 2 callersMethod_update_diversity_reference_set
Update the reference set for diversity calculation
openevolve/database.py:2108
↓ 2 callersFunction_validate_grid
(grid)
examples/arc_benchmark/initial_program.py:33
↓ 2 callersFunction_validate_grid
(grid)
examples/arc_benchmark/outputs/evaluation_task_0/best/best_program.py:98
↓ 2 callersFunction_validate_grid
(grid)
examples/arc_benchmark/outputs/evaluation_task_0/checkpoints/checkpoint_100/best_program.py:98
↓ 2 callersMethodanalyze_ir_complexity
Analyze MLIR IR for performance-relevant characteristics
examples/attention_optimization/evaluator.py:44
↓ 2 callersFunctionanimateGraphNodeAttributes
()
scripts/static/js/graph.js:398
↓ 2 callersFunctionapproximation_using_BHH_constant
(n: int, h: float = 1.0, w: float = 1.0)
examples/tsp_tour_minimization/utils/utils.py:72
↓ 2 callersMethodbenchmark_implementation
Benchmark the optimized implementation
examples/attention_optimization/legacy/prev_sim__works_evaluator.py:357
↓ 2 callersFunctioncalc_average_elapsed_time
Calculate the average of non-None times If more than 5% of the elements are None, return None
examples/tsp_tour_minimization/evaluator.py:40
↓ 2 callersFunctioncheck_mlir_tools
Check what MLIR tools are available
examples/attention_optimization/scripts/debug_real_execution.py:11
↓ 2 callersFunctioncheck_on_hamiltonian_cycle
Return True if: - cities is ndarray of shape (n, 2), n >= 3, all finite - solution is 1D ndarray of length n - solution contain
examples/tsp_tour_minimization/utils/utils.py:98
↓ 2 callersFunctioncompute_squared_norm
Returns the squared norm of an integer vector using exact computation.
examples/alphaevolve_math_problems/kissing_number/evaluator.py:26
↓ 2 callersMethodcreate_task_files
Create OpenEvolve files for a specific task. Args: task_name: Name of the AlgoTune task output_dir:
examples/algotune/task_adapter.py:1385
↓ 2 callersFunctionevaluate_core
Core evaluation logic: fits a model or evaluates it on test data.
examples/sldbench/evaluator.py:168
↓ 2 callersFunctionevaluate_function
The complex function we're trying to minimize
examples/function_minimization/initial_program.py:39
↓ 2 callersFunctionevaluate_prompt
Evaluate a prompt on a subset of the dataset.
examples/llm_prompt_optimization/evaluator.py:211
↓ 2 callersFunctionevolve_code
Evolve arbitrary code with a custom evaluator Args: initial_code: Initial code to evolve evaluator: Function that takes a pr
openevolve/api.py:542
↓ 2 callersFunctionexport_traces
Export traces to specified format Args: traces: List of trace objects output_path: Path to save the file format: Out
openevolve/utils/trace_export_utils.py:295
← previousnext →101–200 of 1,478, ranked by callers