MCPcopy Create free account

hub / github.com/algorithmicsuperintelligence/openevolve / functions

Functions1,478 in github.com/algorithmicsuperintelligence/openevolve

Methodis_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/convolve2d_full_fill/initial_program.py:95
Methodis_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/affine_transform_2d/initial_program.py:111
Methodis_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/polynomial_real/initial_program.py:94
Methodis_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/psd_cone_projection/initial_program.py:115
Methodis_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/fft_convolution/initial_program.py:117
Methodis_solution
Check if the provided solution is valid. Args: problem: The original problem solution: The proposed
examples/algotune/lu_factorization/initial_program.py:104
Functionkissing_number11
Constructs a collection of 11-dimensional points with integral coordinates such that their maximum norm is smaller than their minimum pairwise di
examples/alphaevolve_math_problems/kissing_number/initial_program.py:5
Functionload_dataset_config
Load dataset configuration.
examples/llm_prompt_optimization/evaluate_prompts.py:41
Functionload_traces
Load traces from file, auto-detecting format if not specified Args: input_path: Path to the file format: Optional format ('j
openevolve/utils/trace_export_utils.py:324
Methodloglikelihood
(self, requests: Iterable[Tuple[str, str]], **kw)
examples/lm_eval/lm-eval.py:95
Methodloglikelihood_rolling
(self, requests: Iterable[str], **kw)
examples/lm_eval/lm-eval.py:99
Functionmanual_page
()
scripts/manual.py:133
Functionmin_max_dist_dim2_16
Creates 16 points in 2 dimensions in order to maximize the ratio of minimum to maximum distance. Returns points: np.ndarray of shape
examples/alphaevolve_math_problems/minimizing_max_min_dist/2/initial_program.py:5
Functionmin_max_dist_dim3_14
Creates 14 points in 3 dimensions in order to maximize the ratio of minimum to maximum distance. Returns points: np.ndarray of shape
examples/alphaevolve_math_problems/minimizing_max_min_dist/3/initial_program.py:5
Methodmock_evaluate
(path)
tests/test_cascade_validation.py:161
Methodmock_sample_from_island
(island_id, num_inspirations=None)
tests/test_island_isolation.py:71
Methodmock_submit_iteration
(iteration, island_id=None)
tests/test_island_isolation.py:133
Methodmy_evaluator
(program_path)
tests/test_api.py:117
Methodname
(self)
examples/symbolic_regression/bench/datamodules.py:54
Methodname
(self)
examples/symbolic_regression/bench/datamodules.py:118
Functionobjective
(x)
examples/circle_packing/best_program.py:47
Functionobjective
(flat_params)
examples/sldbench/init_program.py:43
Functionobjective_function
Objective function for scipy.optimize.minimize. Calculates MSE of the model_func with given params on X_matrix, y_true_vector.
examples/symbolic_regression/eval.py:123
FunctiononPointerMove
(e)
scripts/static/js/sidebar.js:189
FunctiononPointerUp
(e)
scripts/static/js/sidebar.js:200
Methodood_test_samples
(self)
examples/symbolic_regression/bench/datamodules.py:68
Methodood_test_samples
(self)
examples/symbolic_regression/bench/dataclasses.py:61
FunctionopenInNewTab
(event, d)
scripts/static/js/sidebar.js:659
Functionoptillm_server
Start optillm server for the test session
tests/integration/conftest.py:27
Methodparallel_generate
Generate responses for multiple prompts in parallel
openevolve/llm/ensemble.py:82
Functionparse_evolve_blocks
Parse evolve blocks from code Args: code: Source code with evolve blocks Returns: List of tuples (start_line, end_line,
openevolve/utils/code_utils.py:9
Functionparse_heat_map_stdout
(stdout: str, n: int)
examples/tsp_tour_minimization/utils/heat_map_runner.py:92
Functionprocess_problem
Process a single problem using a pre-initialized dataset. Loads specific problem data, creates program, evaluator, and config. Skips pro
examples/symbolic_regression/data_api.py:637
Functionprogram_page
(program_id)
scripts/visualizer.py:128
Functionremove_optimization_hook
Remove the optimization hook
examples/mlx_metal_kernel_opt/initial_program.py:347
Functionremove_optimization_hook
Remove the optimization hook
examples/mlx_metal_kernel_opt/best_program.py:350
Methodreplace_latex_command
(match)
examples/algotune/task_adapter.py:1170
Methodrepresent_scalar
(self, tag, value, style=None)
examples/symbolic_regression/data_api.py:619
Functionresize
()
scripts/static/js/main.js:140
Functionretry_async
Retry an async function with exponential backoff Args: coro: Coroutine function to retry *args: Arguments to pass to the cor
openevolve/utils/async_utils.py:114
Functionround_ste_bwd
Backward pass: Identity function, passes gradient straight through.
examples/alphaevolve_math_problems/matmul/initial_program.py:30
Functionround_ste_fwd
Standard forward pass and identity for backward pass.
examples/alphaevolve_math_problems/matmul/initial_program.py:25
Functionrun
()
examples/alphaevolve_math_problems/matmul/initial_program.py:120
Functionrun
()
examples/alphaevolve_math_problems/uncertainty_ineq/initial_program.py:181
Functionrun
()
examples/alphaevolve_math_problems/sums_diffs_finite_sets/initial_program.py:71
Functionrun
Entry point for running the optimization and returning results.
examples/alphaevolve_math_problems/first_autocorr_ineq/initial_program.py:103
Functionrun
()
examples/alphaevolve_math_problems/erdos_min_overlap/initial_program.py:88
Functionrun
Entry point for running the optimization.
examples/alphaevolve_math_problems/third_autocorr_ineq/initial_program.py:95
Functionrun
Entry point for running the optimization.
examples/alphaevolve_math_problems/second_autocorr_ineq/initial_program.py:98
Methodrun_evaluation
()
openevolve/evaluator.py:349
Functionrun_in_executor
Decorator to run a synchronous function in an executor Args: f: Function to decorate Returns: Decorated function that r
openevolve/utils/async_utils.py:16
Functionrun_iteration_with_shared_db
Run a single iteration using shared memory database This is optimized for use with persistent worker processes.
openevolve/iteration.py:36
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/fft_cmplx_scipy_fftpack/initial_program.py:114
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/fft_cmplx_scipy_fftpack/best_program.py:115
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/eigenvectors_complex/initial_program.py:183
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/eigenvectors_complex/best_program.py:182
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/convolve2d_full_fill/initial_program.py:130
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/convolve2d_full_fill/best_program.py:129
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/affine_transform_2d/initial_program.py:227
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/affine_transform_2d/best_program.py:229
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/polynomial_real/initial_program.py:135
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/polynomial_real/best_program.py:155
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/psd_cone_projection/initial_program.py:181
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/psd_cone_projection/best_program.py:178
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/fft_convolution/initial_program.py:227
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/fft_convolution/best_program.py:269
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/lu_factorization/initial_program.py:209
Functionrun_solver
Main function to run the solver. This function is used by the evaluator to test the evolved solution. Args: problem: The pro
examples/algotune/lu_factorization/best_program.py:184
Methodrun_stage1
()
openevolve/evaluator.py:394
Methodrun_stage2
()
openevolve/evaluator.py:435
Methodrun_stage3
()
openevolve/evaluator.py:497
Functionrun_sync_with_timeout
Run a synchronous function in an executor with a timeout Args: func: Synchronous function to run timeout: Timeout in seconds
openevolve/utils/async_utils.py:61
Methodrun_test
()
tests/test_checkpoint_resume.py:83
Methodrun_test
()
tests/test_artifacts.py:174
Methodrun_test
()
tests/test_process_parallel.py:109
Methodrun_test
()
tests/test_evaluator_timeout.py:105
Methodrun_test
()
tests/test_evaluator_timeout.py:399
Methodrun_test
()
tests/test_artifacts_integration.py:109
Functionrun_with_timeout
Run a function with a timeout using concurrent.futures Args: func: Function to run args: Arguments to pass to the function
examples/tsp_tour_minimization/utils/utils.py:76
Functionrun_with_timeout
Run a coroutine with a timeout, returning a default value on timeout Args: coro: Coroutine function to run timeout: Timeout
openevolve/utils/async_utils.py:35
Functionsafe_numeric_sum
Calculate the sum of numeric values in a metrics dictionary, safely ignoring non-numeric values like strings. Args: metrics: Dic
openevolve/utils/metrics_utils.py:40
Methodsafe_sample
Use the safe sampling method
tests/test_concurrent_island_access.py:199
Methodsample_from_island_safe
Safe sampling that doesn't modify current_island This is what we'll implement in the database
tests/test_concurrent_island_access.py:159
Methodsemaphore
Lazy-initialize the semaphore when first needed
openevolve/utils/async_utils.py:178
FunctionsetHeight
(h)
scripts/static/js/state.js:5
MethodsetUp
Set up test database with multiple islands
tests/test_concurrent_island_access.py:20
MethodsetUp
Set up test environment
tests/test_checkpoint_resume.py:40
MethodsetUp
Set up test fixtures
tests/test_file_extension_preservation.py:20
MethodsetUp
Set up test environment
tests/test_feature_stats_persistence.py:19
MethodsetUp
(self)
tests/test_artifacts.py:70
MethodsetUp
(self)
tests/test_artifacts.py:138
MethodsetUp
(self)
tests/test_artifacts.py:217
MethodsetUp
Set up test database with enhanced features
tests/test_map_elites_features.py:14
MethodsetUp
Set up test environment
tests/test_process_parallel.py:24
MethodsetUp
Set up test evaluator with cascade validation
tests/test_cascade_validation.py:17
MethodsetUp
Set up test prompt sampler
tests/test_prompt_sampler.py:13
MethodsetUp
Set up test database with programs
tests/test_sample_from_island_ratios.py:17
MethodsetUp
Set up test database
tests/test_sample_from_island_ratios.py:216
MethodsetUp
Set up test database with multiple islands
tests/test_island_child_placement.py:17
MethodsetUp
Set up test database with programs only in island 0
tests/test_island_child_placement.py:82
← previousnext →901–1,000 of 1,478, ranked by callers