MCPcopy Index your code

hub / github.com/algorithmicsuperintelligence/openevolve / functions

Functions1,478 in github.com/algorithmicsuperintelligence/openevolve

↓ 1 callersMethod_generate_config
Generate the configuration for OpenEvolve with baseline comparison.
examples/algotune/task_adapter.py:1144
↓ 1 callersMethod_generate_evaluator
Generate the evaluator for OpenEvolve using the actual task implementation with baseline comparison.
examples/algotune/task_adapter.py:552
↓ 1 callersMethod_generate_generic_method
Generate a generic method based on problem structure and return type.
examples/algotune/task_adapter.py:1354
↓ 1 callersMethod_generate_initial_program
Generate the initial program for OpenEvolve based on the actual task implementation.
examples/algotune/task_adapter.py:373
↓ 1 callersMethod_generate_task_specific_method
Generate a generic fallback method when the actual solve method cannot be extracted.
examples/algotune/task_adapter.py:1312
↓ 1 callersMethod_get_artifact_size
Get size of an artifact value in bytes
openevolve/database.py:2410
↓ 1 callersMethod_get_client_model
(self, model_name: str)
openevolve/embedding.py:41
↓ 1 callersMethod_get_task_data_size
Get task-specific data_size values.
examples/algotune/task_adapter.py:1302
↓ 1 callersMethod_gpu_protected_apply_hook
GPU-protected application of custom attention hook
examples/mlx_metal_kernel_opt/evaluator.py:924
↓ 1 callersMethod_gpu_protected_measure_baseline
GPU-protected baseline measurement with enhanced error handling
examples/mlx_metal_kernel_opt/evaluator.py:467
↓ 1 callersMethod_gpu_protected_remove_hook
GPU-protected removal of custom attention hook
examples/mlx_metal_kernel_opt/evaluator.py:958
↓ 1 callersMethod_harmonize_solve_and_is_solution
Harmonize the formats between solve() and is_solution() methods. Fixes common mismatches like returning numpy arrays vs expecting lis
examples/algotune/task_adapter.py:246
↓ 1 callersFunction_hermite_4k_polys
(m: int)
examples/alphaevolve_math_problems/uncertainty_ineq/evaluator.py:22
↓ 1 callersMethod_identify_improvement_areas
Identify improvement areas with proper fitness/feature separation
openevolve/prompt/sampler.py:188
↓ 1 callersFunction_import_program
Imports a Python module from a given file path.
examples/sldbench/evaluator.py:138
↓ 1 callersMethod_infer_return_type
Infer the expected return type from the solve method.
examples/algotune/task_adapter.py:1342
↓ 1 callersMethod_is_novel
Determine if a program is novel based on diversity to existing programs Args: program: Program to check isla
openevolve/database.py:1058
↓ 1 callersFunction_iso_now
()
openevolve/llm/openai.py:24
↓ 1 callersFunction_largest_positive_root_of_P_over_x2
(P: sp.Expr)
examples/alphaevolve_math_problems/uncertainty_ineq/evaluator.py:53
↓ 1 callersFunction_lazy_init_worker_components
Lazily initialize expensive components on first use
openevolve/process_parallel.py:98
↓ 1 callersFunction_list_tasks
(qdir: Path)
scripts/manual.py:64
↓ 1 callersMethod_llm_evaluate
Use LLM to evaluate code quality Args: program_code: Code to evaluate program_id: Optional ID for logging
openevolve/evaluator.py:550
↓ 1 callersMethod_llm_judge_novelty
Use LLM to judge if a program is novel compared to a similar existing program
openevolve/database.py:991
↓ 1 callersMethod_load_artifact_dir
Load artifacts from a directory
openevolve/database.py:2508
↓ 1 callersMethod_load_checkpoint
Load state from a checkpoint directory
openevolve/controller.py:498
↓ 1 callersMethod_load_evaluation_function
Load the evaluation function from the evaluation file
openevolve/evaluator.py:67
↓ 1 callersMethod_load_initial_program
Load the initial program from file
openevolve/controller.py:244
↓ 1 callersFunction_load_module_from_path
Dynamically load a Python module from an arbitrary filesystem path. This is used to load the evolved/optimized hook program at runtime witho
examples/mlx_metal_kernel_opt/mlx_lm_generate_with_hook.py:28
↓ 1 callersFunction_load_points
(file_path: str)
examples/tsp_tour_minimization/utils/load_data.py:18
↓ 1 callersMethod_load_tasks
Load all available AlgoTune tasks.
examples/algotune/task_adapter.py:74
↓ 1 callersMethod_manual_wait_for_answer
Manual mode: write a task JSON file and poll for *.answer.json If timeout is provided, we respect it; otherwise we wait indefinitely
openevolve/llm/openai.py:228
↓ 1 callersMethod_memory_safe_correctness_test
Memory-safe correctness testing with GPU protection
examples/mlx_metal_kernel_opt/evaluator.py:544
↓ 1 callersFunction_normalize_newlines
Normalize CRLF/CR newlines to LF This makes diff parsing deterministic because OpenEvolve diff regexes use '\n'
scripts/manual.py:107
↓ 1 callersMethod_objective_fn
Computes the objective function using the unitless norm calculation.
examples/alphaevolve_math_problems/second_autocorr_ineq/initial_program.py:28
↓ 1 callersFunction_one
(i: int)
examples/tsp_tour_minimization/utils/tsp_runner.py:313
↓ 1 callersMethod_parse_benchmark_output
Parse mlx-lm output to extract performance metrics
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:745
↓ 1 callersMethod_print_bulletproof_evaluation_results
Print comprehensive bulletproof evaluation results
examples/mlx_metal_kernel_opt/evaluator.py:1350
↓ 1 callersFunction_read_task
(qdir: Path, task_id: str)
scripts/manual.py:97
↓ 1 callersMethod_reconstruct_islands
Reconstruct island assignments from saved metadata Args: saved_islands: List of island program ID lists from metadata
openevolve/database.py:709
↓ 1 callersMethod_remove_attention_hook_safely
Safely remove attention hook
examples/mlx_metal_kernel_opt/evaluator.py:971
↓ 1 callersMethod_reset_error_counters
Reset all error tracking counters
examples/mlx_metal_kernel_opt/evaluator.py:221
↓ 1 callersFunction_run_evolution_async
Async implementation of run_evolution
openevolve/api.py:97
↓ 1 callersMethod_run_evolution_with_checkpoints
Run evolution with checkpoint saving support
openevolve/controller.py:507
↓ 1 callersFunction_run_one
On success: (idx, returncode, elapsed, stdout_or_None, stderr) On timeout: raise RunnerTimeout On non-zero: raise RunnerExitCodeError
examples/tsp_tour_minimization/utils/tsp_runner.py:193
↓ 1 callersFunction_run_one_inference
Launch one child, send coordinates via stdin, child writes .npy to out_path Returns (idx, out_path_str, elapsed_sec, raw_stdout, raw_stderr)
examples/tsp_tour_minimization/utils/heat_map_runner.py:109
↓ 1 callersFunction_runner
()
examples/tsp_tour_minimization/utils/heat_map_runner.py:231
↓ 1 callersMethod_sample_exploitation_parent
Sample a parent for exploitation (from archive/elite programs)
openevolve/database.py:1376
↓ 1 callersMethod_sample_from_archive_for_island
Sample a parent from the archive, preferring programs from the specified island Args: island_id: The island to prefer pr
openevolve/database.py:1515
↓ 1 callersMethod_sample_from_island_random
Sample a completely random parent from a specific island (uniform distribution) Args: island_id: The island to sample fr
openevolve/database.py:1484
↓ 1 callersMethod_sample_parent
Sample a parent program from the current island for the next evolution step Returns: Parent program from current island
openevolve/database.py:1270
↓ 1 callersMethod_save_best_program
Save the best program Args: program: Best program (if None, uses the tracked best program)
openevolve/controller.py:534
↓ 1 callersMethod_save_checkpoint
Save a checkpoint Args: iteration: Current iteration number
openevolve/controller.py:441
↓ 1 callersMethod_scale_feature_value_minmax
Helper for min-max scaling
openevolve/database.py:2236
↓ 1 callersMethod_serialize_config
Serialize config object to a dictionary that can be pickled
openevolve/process_parallel.py:362
↓ 1 callersMethod_setup_import_paths
Setup Python import paths for AlgoTune modules.
examples/algotune/task_adapter.py:56
↓ 1 callersMethod_setup_logging
Set up logging
openevolve/controller.py:191
↓ 1 callersMethod_setup_manual_mode_queue
Set up manual task queue directory if llm.manual_mode is enabled Queue directory is always: <openevolve_output>/manual_tas
openevolve/controller.py:215
↓ 1 callersFunction_solve_roots_jax
JIT-compiled function to find polynomial roots using JAX. This function leverages jax.numpy.roots which is a JIT-compatible implementatio
examples/algotune/polynomial_real/best_program.py:50
↓ 1 callersMethod_static_validate_metal_kernel_syntax
Static analysis of Metal kernel syntax for common safety issues
examples/mlx_metal_kernel_opt/evaluator.py:313
↓ 1 callersMethod_store_enhanced_baseline_metrics
Store enhanced baseline metrics
examples/mlx_metal_kernel_opt/evaluator.py:1047
↓ 1 callersMethod_test_single_sequence_memory_safe
Test single sequence with enhanced memory safety
examples/mlx_metal_kernel_opt/evaluator.py:686
↓ 1 callersMethod_update_archive
Update the archive of elite programs Args: program: Program to consider for archive
openevolve/database.py:1131
↓ 1 callersMethod_update_best_program
Update the absolute best program tracking Args: program: Program to consider as the new best
openevolve/database.py:1178
↓ 1 callersMethod_update_island_best_program
Update the best program tracking for a specific island Args: program: Program to consider as the new best for the island
openevolve/database.py:1218
↓ 1 callersMethod_update_stats
Update running statistics
openevolve/evolution_trace.py:210
↓ 1 callersMethod_validate_cascade_configuration
Validate cascade evaluation configuration and warn about potential issues Args: module: The loaded evaluation module
openevolve/evaluator.py:101
↓ 1 callersMethod_validate_custom_attention_class
Comprehensive validation of custom attention class
examples/mlx_metal_kernel_opt/evaluator.py:350
↓ 1 callersMethod_validate_metal_kernel_safety
Pre-execution validation of Metal kernel safety
examples/mlx_metal_kernel_opt/evaluator.py:373
↓ 1 callersFunction_validation_error_result
Return a validation error result.
examples/k_module_problem/evaluator.py:225
↓ 1 callersFunction_write_answer
(qdir: Path, task_id: str, answer_text: str)
scripts/manual.py:116
↓ 1 callersMethod_write_artifact_file
Write an artifact to a file
openevolve/database.py:2485
↓ 1 callersFunctionadaptive_filter
Adaptive signal processing algorithm using sliding window approach. Args: x: Input signal (1D array of real-valued samples)
examples/signal_processing/initial_program.py:13
↓ 1 callersFunctionall_hexagons_contained
Checks if all inner hexagons are contained within the outer hexagon.
examples/alphaevolve_math_problems/hexagon_packing/12/evaluator.py:135
↓ 1 callersFunctionall_hexagons_contained
Checks if all inner hexagons are contained within the outer hexagon.
examples/alphaevolve_math_problems/hexagon_packing/11/evaluator.py:135
↓ 1 callersFunctionanalyze_comparison_results
Analyze and compare the benchmark results.
examples/mlx_metal_kernel_opt/run_benchmarks.py:172
↓ 1 callersFunctionanimatePerformanceGraphAttributes
()
scripts/static/js/performance.js:24
↓ 1 callersMethodanneal_step
Performs one step of Simulated Annealing (not JIT-compiled).
examples/alphaevolve_math_problems/sums_diffs_finite_sets/initial_program.py:47
↓ 1 callersFunctionappend_trace_jsonl
Append a single trace to a JSONL file Args: trace: Trace object with to_dict() method output_path: Path to the JSONL file
openevolve/utils/trace_export_utils.py:153
↓ 1 callersFunctionapplyDragHandlersToAllNodes
()
scripts/static/js/graph.js:176
↓ 1 callersFunctionapply_monkey_patch
Apply monkey patch to replace Qwen3 attention with custom implementation
examples/mlx_metal_kernel_opt/test_optimized_attention.py:99
↓ 1 callersMethodapply_optimizations
Apply MLIR optimization passes based on parameters
examples/attention_optimization/evaluator.py:146
↓ 1 callersMethodapply_optimizations
Apply optimization parameters to base MLIR
examples/attention_optimization/legacy/prev_sim__works_evaluator.py:322
↓ 1 callersFunctionautoZoomPerformanceGraph
(nodes, x, yScales, islands, graphHeight, margin, undefinedBoxWidth, width, svg, g)
scripts/static/js/performance.js:269
↓ 1 callersFunctionbenchmark_metal_gqa_optimization
Benchmark Metal kernel optimized GQA attention against MLX baseline.
examples/mlx_metal_kernel_opt/initial_program.py:360
↓ 1 callersFunctionbenchmark_metal_gqa_optimization
Benchmark Metal kernel optimized GQA attention against MLX baseline.
examples/mlx_metal_kernel_opt/best_program.py:363
↓ 1 callersFunctionbuild_artifacts
Build artifacts that provide useful feedback. In normal mode: Only reveals how many modules are correct, not which ones. In rich feedbac
examples/k_module_problem/evaluator.py:150
↓ 1 callersFunctioncalc_combined_score
Distance-first combined score for TSP on [0, 1] x [0, 1] with n cities. For each instance i with tour length d_i and runtime t_i: 1)
examples/tsp_tour_minimization/evaluator.py:89
↓ 1 callersFunctioncalc_heat_map
(cities: np.ndarray)
examples/tsp_tour_minimization/evolved_program/heat_map_inference.py:14
↓ 1 callersFunctioncalc_heat_map
(cities: np.ndarray)
examples/tsp_tour_minimization/initial_program/heat_map_inference.py:16
↓ 1 callersFunctioncalc_total_cycle_distance
Compute total cycle distances for a batch of instances Args: cities: np.ndarray of shape (B, n, 2). All finite. n >= 3 solut
examples/tsp_tour_minimization/utils/utils.py:138
↓ 1 callersFunctioncalculate_algotune_score
Calculate AlgoTune Score as harmonic mean of speedups. Args: speedups: List of speedup values Returns: Harm
examples/algotune/run_benchmark.py:275
↓ 1 callersFunctioncalculate_average_tracking_error
Calculate average tracking error L_avg(θ) over the window Args: filtered_signal: Output of the filter original_signal: Origi
examples/signal_processing/evaluator.py:99
↓ 1 callersFunctioncalculate_composite_score
Calculate the composite metric J(θ) = α₁·S(θ) + α₂·L_recent(θ) + α₃·L_avg(θ) + α₄·R(θ) All metrics are normalized and converted to penalties
examples/signal_processing/evaluator.py:189
↓ 1 callersFunctioncalculate_false_reversal_penalty
Calculate false reversal penalty R(θ) - mismatched trend changes Args: filtered_signal: Output of the filter clean_signal: G
examples/signal_processing/evaluator.py:134
↓ 1 callersFunctioncalculate_final_metrics
Calculates evaluation metrics, correctly handling multi-dimensional outputs. For multi-dimensional targets, metrics (NMSE, NMAE) are calcula
examples/sldbench/evaluator.py:54
↓ 1 callersFunctioncalculate_lag_error
Calculate instantaneous lag error L_recent(θ) = |y[n] - x[n]| Args: filtered_signal: Output of the filter original_signal: O
examples/signal_processing/evaluator.py:72
↓ 1 callersFunctioncalculate_pass_at_k
Calculate pass@k metrics. pass@k = probability of finding solution within k samples For random search on 625 possibilities: - pass@
examples/k_module_problem/run_random_baseline.py:95
↓ 1 callersFunctioncalculate_slope_changes
Calculate slope change penalty S(θ) - counts directional reversals Args: signal_data: 1D array of signal values Returns:
examples/signal_processing/evaluator.py:47
↓ 1 callersFunctioncalculate_speedup
Calculate speedup between baseline and evolved solution. Speedup = (Baseline Time) / (Evolved Time) Higher is better. Args:
examples/algotune/fft_cmplx_scipy_fftpack/evaluator.py:101
↓ 1 callersFunctioncalculate_speedup
Calculate speedup between baseline and evolved solution. Speedup = (Baseline Time) / (Evolved Time) Higher is better. Args:
examples/algotune/eigenvectors_complex/evaluator.py:101
← previousnext →301–400 of 1,478, ranked by callers