Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmicsuperintelligence/openevolve
/ functions
Functions
1,478 in github.com/algorithmicsuperintelligence/openevolve
⨍
Functions
1,478
◇
Types & classes
176
↳
Endpoints
11
Function
apply_optimization_hook
Apply the Metal kernel optimized attention
examples/mlx_metal_kernel_opt/initial_program.py:329
Function
apply_optimization_hook
Apply the Metal kernel optimized attention
examples/mlx_metal_kernel_opt/best_program.py:332
Method
async_add_programs
Add programs from async context - this simulates controller.run()
tests/test_novelty_asyncio_issue.py:72
Method
async_test
()
tests/test_iteration_counting.py:158
Method
benchmark
(instance)
tests/test_api.py:294
Method
bubble_sort
(arr)
tests/test_api.py:231
Function
calculate_edit_distance
Calculate the Levenshtein edit distance between two code snippets Args: code1: First code snippet code2: Second code snippet
openevolve/utils/code_utils.py:169
Method
cancel_all
Cancel all tasks in the pool
openevolve/utils/async_utils.py:221
Function
centerAndHighlightNodeInGraph
(nodeId)
scripts/static/js/graph.js:421
Function
centerAndHighlightNodeInPerformanceGraph
(nodeId)
scripts/static/js/performance.js:224
Function
constraint
(x)
examples/circle_packing/best_program.py:53
Function
create_metal_qwen3_optimization_hook
Create hooks to replace Qwen3's attention with Metal kernel optimized version.
examples/mlx_metal_kernel_opt/initial_program.py:324
Function
create_metal_qwen3_optimization_hook
Create hooks to replace Qwen3's attention with Metal kernel optimized version.
examples/mlx_metal_kernel_opt/best_program.py:327
Function
data
()
scripts/visualizer.py:113
Method
default
(self, obj)
examples/symbolic_regression/eval.py:21
Function
dragended
(event, d)
scripts/static/js/graph.js:474
Function
dragged
(event, d)
scripts/static/js/graph.js:470
Function
dragstarted
(event, d)
scripts/static/js/graph.js:465
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/kissing_number/evaluator.py:58
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/matmul/evaluator.py:71
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/uncertainty_ineq/evaluator.py:101
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/heilbronn_triangle/evaluator.py:49
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/sums_diffs_finite_sets/evaluator.py:62
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/first_autocorr_ineq/evaluator.py:59
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/hexagon_packing/12/evaluator.py:186
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/hexagon_packing/11/evaluator.py:186
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/heilbronn_convex/14/evaluator.py:32
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/heilbronn_convex/13/evaluator.py:32
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/erdos_min_overlap/evaluator.py:50
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/third_autocorr_ineq/evaluator.py:53
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/minimizing_max_min_dist/2/evaluator.py:27
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/minimizing_max_min_dist/3/evaluator.py:27
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/second_autocorr_ineq/evaluator.py:60
Function
evaluate
(program_path: str)
examples/alphaevolve_math_problems/circle_packing_rect/evaluator.py:69
Function
evaluate
Main stage evaluation with thorough testing on test dataset
examples/tsp_tour_minimization/evaluator.py:194
Function
evaluate
Evaluate the program by running it multiple times and checking how close it gets to the known global minimum. Args: program_path
examples/arc_benchmark/evaluator.py:113
Function
evaluate
Evaluate the program by submitting it to OJ and fetching metrics based on how well it performs. Args: program_path: Path to the prog
examples/online_judge_programming/evaluator.py:53
Function
evaluate
Evaluate the web scraper program. Args: program_path: Path to the program to evaluate Returns: Dictionary with metrics
examples/web_scraper_optillm/evaluator.py:18
Function
evaluate
Main evaluation function called by OpenEvolve. IMPORTANT: OpenEvolve expects this exact function signature! It should return a dicti
examples/attention_optimization/legacy/prev_sim__works_evaluator.py:427
Function
evaluate
Main evaluation function - for backwards compatibility Calls evaluate_stage2 for full evaluation Args: prompt_path: Path to the
examples/llm_prompt_optimization/evaluator.py:596
Function
evaluate_hotpotqa
Evaluate HotpotQA dataset.
examples/llm_prompt_optimization/evaluate_prompts.py:213
Function
evaluate_hover
Evaluate HoVer dataset.
examples/llm_prompt_optimization/evaluate_prompts.py:122
Function
evaluate_ifeval
Evaluate IFEval dataset.
examples/llm_prompt_optimization/evaluate_prompts.py:49
Method
evaluate_multiple
Evaluate multiple programs in parallel Args: programs: List of (program_code, program_id) tuples Returns:
openevolve/evaluator.py:709
Function
evaluate_stage1
Stage 1 evaluation: Quick validation that the program runs without errors
examples/signal_processing/evaluator.py:456
Function
evaluate_stage1
First stage evaluation - quick validation check Enhanced with artifacts for debugging
examples/circle_packing_with_artifacts/evaluator.py:375
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/fft_cmplx_scipy_fftpack/evaluator.py:505
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/eigenvectors_complex/evaluator.py:505
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/convolve2d_full_fill/evaluator.py:505
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/affine_transform_2d/evaluator.py:505
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/polynomial_real/evaluator.py:505
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/psd_cone_projection/evaluator.py:505
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/fft_convolution/evaluator.py:505
Function
evaluate_stage1
First stage evaluation with basic functionality check of the evolved solve method
examples/algotune/lu_factorization/evaluator.py:505
Function
evaluate_stage1
Stage 1 evaluation: Quick evaluation with 10% of samples Args: prompt_path: Path to the prompt file Returns: Dictionary
examples/llm_prompt_optimization/evaluator.py:456
Function
evaluate_stage1
First stage evaluation - quick validation check
examples/circle_packing/evaluator.py:281
Function
evaluate_stage1
First stage evaluation with fewer trials
examples/function_minimization/evaluator.py:259
Function
evaluate_stage2
Stage 2 evaluation: Full evaluation with all test signals
examples/signal_processing/evaluator.py:508
Function
evaluate_stage2
Second stage evaluation - full evaluation
examples/circle_packing_with_artifacts/evaluator.py:504
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/fft_cmplx_scipy_fftpack/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/eigenvectors_complex/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/convolve2d_full_fill/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/affine_transform_2d/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/polynomial_real/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/psd_cone_projection/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/fft_convolution/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation with more thorough testing of the evolved solve method
examples/algotune/lu_factorization/evaluator.py:600
Function
evaluate_stage2
Second stage evaluation - full evaluation
examples/circle_packing/evaluator.py:335
Function
evaluate_stage2
Second stage evaluation with more thorough testing
examples/function_minimization/evaluator.py:490
Method
evaluator
(program_path)
tests/test_api.py:318
Function
evolution_config
Get config for evolution tests
tests/integration/conftest.py:53
Function
evolution_output_dir
Create output directory for evolution tests
tests/integration/conftest.py:84
Function
expected_random_cycle_length
(n: int, h: float = 1.0, w: float = 1.0)
examples/tsp_tour_minimization/utils/utils.py:55
Method
fibonacci_evaluator
Simple evaluator for fibonacci function
tests/integration/test_library_api.py:123
Function
fit_scaling_law
(data_points, loss_values)
examples/sldbench/init_program.py:28
Method
force_exit_handler
(signum, frame)
openevolve/controller.py:344
Method
from_dict
Auto-wrap dict returns for backward compatibility
openevolve/evaluation_result.py:31
Function
gather_with_concurrency
Run tasks with a concurrency limit Args: n: Maximum number of tasks to run concurrently *tasks: Tasks to run return_
openevolve/utils/async_utils.py:89
Method
generate
(self, prompt: str, **kwargs)
tests/test_llm_ensemble.py:45
Method
generate
Generate text from a prompt
openevolve/llm/base.py:13
Method
generate
Generate text from a prompt
openevolve/llm/openai.py:100
Method
generate_multiple
Generate multiple texts in parallel
openevolve/llm/ensemble.py:77
Method
generate_until
(self, requests: Iterable[Any], **kw)
examples/lm_eval/lm-eval.py:103
Method
generate_with_context
(self, system_message: str, messages: List[Dict[str, str]], **kwargs)
tests/test_llm_ensemble.py:48
Method
generate_with_context
Mock async generate method that returns NOVEL
tests/test_novelty_asyncio_issue.py:20
Method
generate_with_context
Generate text using a system message and conversational context
openevolve/llm/base.py:18
Function
get_simple_test_messages
Get simple test messages for basic validation
tests/test_utils.py:145
Method
get_task_info
Get detailed information about a task.
examples/algotune/task_adapter.py:1428
Function
get_test_client
Get OpenAI client configured for local optillm
tests/test_utils.py:40
Function
heilbronn_convex13
Construct an arrangement of n points on or inside a convex region in order to maximize the area of the smallest triangle formed by these poin
examples/alphaevolve_math_problems/heilbronn_convex/13/initial_program.py:5
Function
heilbronn_convex14
Construct an arrangement of n points on or inside a convex region in order to maximize the area of the smallest triangle formed by these poin
examples/alphaevolve_math_problems/heilbronn_convex/14/initial_program.py:5
Function
heilbronn_triangle11
Construct an arrangement of n points on or inside a convex region in order to maximize the area of the smallest triangle formed by these poin
examples/alphaevolve_math_problems/heilbronn_triangle/initial_program.py:5
Function
hexagon_packing_11
Constructs a packing of 11 disjoint unit regular hexagons inside a larger regular hexagon, maximizing 1/outer_hex_side_length. Returns
examples/alphaevolve_math_problems/hexagon_packing/11/initial_program.py:5
Function
hexagon_packing_12
Constructs a packing of 12 disjoint unit regular hexagons inside a larger regular hexagon, maximizing 1/outer_hex_side_length. Returns
examples/alphaevolve_math_problems/hexagon_packing/12/initial_program.py:5
Function
index
()
scripts/visualizer.py:105
Method
init_custom_llm
(self, model_cfg)
tests/test_llm_ensemble.py:51
Method
initial_sort
(arr)
tests/test_api.py:193
Method
is_reasoning_model
Test function that mimics the logic in openai.py
tests/test_openai_model_detection.py:28
Method
is_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/fft_cmplx_scipy_fftpack/initial_program.py:80
Method
is_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/eigenvectors_complex/initial_program.py:111
← previous
next →
801–900 of 1,478, ranked by callers