MCPcopy Index your code

hub / github.com/algorithmicsuperintelligence/openevolve / functions

Functions1,478 in github.com/algorithmicsuperintelligence/openevolve

↓ 2 callersFunctionextract_failure_artifacts
Extract failure artifacts from diagnostics for a given example. Args: diagnostics: Diagnostics dictionary from pass_at_2_accuracy_si
examples/arc_benchmark/evaluator.py:93
↓ 2 callersFunctionextract_full_lineage_traces
Extract complete evolution traces with full lineage chains and prompts/actions This function builds the complete evolution history for each
openevolve/evolution_trace.py:439
↓ 2 callersFunctionfetchJSON
(url)
scripts/static/js/manual.js:40
↓ 2 callersFunctionfind_latest_checkpoint
(base_folder)
scripts/visualizer.py:20
↓ 2 callersFunctionformat_feature_coordinates
Format feature coordinates for display in prompts Args: metrics: All metrics from evaluation feature_dimensions: List of MAP
openevolve/utils/metrics_utils.py:117
↓ 2 callersMethodgenerate
Generate text using a randomly selected model based on weights
openevolve/llm/ensemble.py:58
↓ 2 callersFunctiongetBaseId
(id)
scripts/static/js/sidebar.js:304
↓ 2 callersFunctiongetCurrentEdges
()
scripts/static/js/graph.js:8
↓ 2 callersFunctionget_cpu_cores_number
()
examples/tsp_tour_minimization/utils/utils.py:15
↓ 2 callersFunctionget_normals
Gets the outward normals of a polygon's edges.
examples/alphaevolve_math_problems/hexagon_packing/12/evaluator.py:58
↓ 2 callersFunctionget_normals
Gets the outward normals of a polygon's edges.
examples/alphaevolve_math_problems/hexagon_packing/11/evaluator.py:58
↓ 2 callersFunctionguess_mainfile
(language, files)
examples/online_judge_programming/submit.py:221
↓ 2 callersFunctionhideRecenterButton
()
scripts/static/js/graph.js:153
↓ 2 callersFunctionhideRecenterButton
()
scripts/static/js/performance.js:206
↓ 2 callersMethodlist_available_tasks
List all available AlgoTune tasks.
examples/algotune/task_adapter.py:1424
↓ 2 callersFunctionloadAndRenderData
(data)
scripts/static/js/main.js:79
↓ 2 callersMethodload_base_mlir
Load the baseline MLIR implementation
examples/attention_optimization/legacy/prev_sim__works_evaluator.py:277
↓ 2 callersFunctionload_config
Load configuration from YAML file.
examples/k_module_problem/iterative_agent.py:31
↓ 2 callersFunctionload_hf_dataset
Load HuggingFace dataset based on configuration.
examples/llm_prompt_optimization/evaluator.py:152
↓ 2 callersFunctionload_prompt_config
Load the prompt from text file and dataset config from matching _dataset.yaml file.
examples/llm_prompt_optimization/evaluator.py:136
↓ 2 callersMethodlog_prompt
Log a prompt for a program. Only logs if self.config.log_prompts is True. Args: program_id: ID of the program to log
openevolve/database.py:2533
↓ 2 callersFunctionlogin_from_config
Log in to Kattis using the access information in a kattisrc file Returns a requests.Response with cookies needed to be able to submit
examples/online_judge_programming/submit.py:270
↓ 2 callersFunctionmain
Main entry point Returns: Exit code
openevolve/cli.py:174
↓ 2 callersMethodnext_island
Move to the next island in round-robin fashion
openevolve/database.py:1763
↓ 2 callersFunctionoptimize_attention
Define attention optimization parameters for evolution. The goal is to achieve 32% speedup (1.32x) like AlphaEvolve paper by optimiz
examples/attention_optimization/initial_program.py:12
↓ 2 callersFunctionparse_full_rewrite
Extract a full rewrite from an LLM response Args: llm_response: Response from the LLM language: Programming language Re
openevolve/utils/code_utils.py:95
↓ 2 callersFunctionpass_at_2_accuracy_multi_test
Compute pass@2 accuracy across multiple ARC test cases. Args: all_attempts: List of lists of 2 numpy arrays for each test case.
examples/arc_benchmark/evaluator.py:70
↓ 2 callersMethodprint_summary_table
Print a summary table of all results
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:967
↓ 2 callersFunctionproject_polygon
Projects a polygon onto an axis and returns the min/max values.
examples/alphaevolve_math_problems/hexagon_packing/12/evaluator.py:70
↓ 2 callersFunctionproject_polygon
Projects a polygon onto an axis and returns the min/max values.
examples/alphaevolve_math_problems/hexagon_packing/11/evaluator.py:70
↓ 2 callersFunctionqwen3_custom_gqa_attention
Custom Metal kernel implementation for Qwen3 GQA attention. Args: queries: [B, num_heads=16, L, head_dim=128] keys: [B, num_
examples/mlx_metal_kernel_opt/initial_program.py:24
↓ 2 callersFunctionqwen3_custom_gqa_attention
Custom Metal kernel implementation for Qwen3 GQA attention. Args: queries: [B, num_heads=16, L, head_dim=128] keys: [B, num_
examples/mlx_metal_kernel_opt/best_program.py:24
↓ 2 callersFunctionread_program
Read program from file.
examples/k_module_problem/iterative_agent.py:55
↓ 2 callersFunctionremove_dir
(dir_path: str)
examples/tsp_tour_minimization/utils/utils.py:28
↓ 2 callersMethodrequest_shutdown
Request graceful shutdown
openevolve/process_parallel.py:437
↓ 2 callersFunctionrun_iterative_refinement
Run iterative refinement loop. Returns: dict with results including iterations, scores, solution_found_at
examples/k_module_problem/iterative_agent.py:161
↓ 2 callersFunctionrun_mlx_lm_generation
Run mlx-lm generation and parse the output
examples/mlx_metal_kernel_opt/test_optimized_attention.py:138
↓ 2 callersFunctionrun_quick_test
Run a quick test with just a few key benchmarks with proper warmup
examples/mlx_metal_kernel_opt/quick_benchmark_test.py:14
↓ 2 callersFunctionrun_with_timeout
Run a function with a timeout using concurrent.futures
examples/signal_processing/evaluator.py:24
↓ 2 callersFunctionrun_with_timeout
Run the program in a separate process with timeout using a simple subprocess approach Args: program_path: Path to the program fi
examples/circle_packing_with_artifacts/evaluator.py:82
↓ 2 callersFunctionrun_with_timeout
Run the program in a separate process with timeout using a simple subprocess approach Args: program_path: Path to the program fi
examples/circle_packing/evaluator.py:76
↓ 2 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/function_minimization/evaluator.py:14
↓ 2 callersFunctionrun_with_timeout
Runs a function with a specified timeout, raising an exception on timeout.
examples/sldbench/evaluator.py:44
↓ 2 callersMethodset_current_island
Set which island is currently being evolved
openevolve/database.py:1758
↓ 2 callersMethodset_templates
Set custom templates to use for this sampler Args: system_template: Template name for system message user_te
openevolve/prompt/sampler.py:37
↓ 2 callersFunctionshowSidebarListView
()
scripts/static/js/list.js:216
↓ 2 callersMethodsolve
Solve the fft_cmplx_scipy_fftpack problem. Args: problem: Dictionary containing problem data specific to fft_cmp
examples/algotune/fft_cmplx_scipy_fftpack/best_program.py:60
↓ 2 callersMethodsolve
Solve the eigenvectors_complex problem. Args: problem: Dictionary containing problem data specific to eigenvecto
examples/algotune/eigenvectors_complex/best_program.py:72
↓ 2 callersMethodsolve
Compute the 2D convolution of arrays a and b using "full" mode and "fill" boundary. Uses scipy.signal.fftconvolve for efficiency, whi
examples/algotune/convolve2d_full_fill/best_program.py:72
↓ 2 callersMethodsolve
Solve the affine_transform_2d problem. Args: problem: Dictionary containing problem data specific to affine_tran
examples/algotune/affine_transform_2d/best_program.py:72
↓ 2 callersMethodsolve
Solve the polynomial_real problem using a JIT-compiled JAX function. Args: problem: A list of polynomial coeffic
examples/algotune/polynomial_real/best_program.py:74
↓ 2 callersMethodsolve
Solve the psd_cone_projection problem. Args: problem: Dictionary containing problem data specific to psd_cone_pr
examples/algotune/psd_cone_projection/initial_program.py:82
↓ 2 callersMethodsolve
Solve the fft_convolution problem. Args: problem: Dictionary containing problem data specific to fft_convolution
examples/algotune/fft_convolution/best_program.py:84
↓ 2 callersMethodsolve
Computes the LU factorization of a matrix using an optimized scipy call.
examples/algotune/lu_factorization/best_program.py:73
↓ 2 callersFunctionsplit_diffs_by_target
Route diff blocks to either code or changes_description based on exact line-wise match of SEARCH text. Returns (code_blocks, changes_desc_blo
openevolve/utils/code_utils.py:263
↓ 2 callersFunctionstopContinuousUpdate
()
scripts/static/js/sidebar.js:114
↓ 2 callersFunctiontheoretical_pass_at_k
Calculate theoretical pass@k for uniform random search.
examples/k_module_problem/run_random_baseline.py:118
↓ 2 callersMethodto_dict
Convert to dictionary representation
openevolve/database.py:79
↓ 2 callersFunctiontriangle_area
(a: np.array, b: np.array, c: np.array)
examples/alphaevolve_math_problems/heilbronn_triangle/evaluator.py:45
↓ 2 callersFunctionvalidate_packing
Validate that circles don't overlap and are inside the unit square Args: centers: np.array of shape (n, 2) with (x, y) coordinates
examples/circle_packing_with_artifacts/evaluator.py:30
↓ 2 callersFunctionvalidate_packing
Validate that circles don't overlap and are inside the unit square Args: centers: np.array of shape (n, 2) with (x, y) coordinates
examples/circle_packing/evaluator.py:26
↓ 2 callersFunctionwrite_program
Write program to file.
examples/k_module_problem/iterative_agent.py:61
↓ 2 callersFunctionzoomPerformanceGraphToFit
()
scripts/static/js/performance.js:717
↓ 1 callersMethod_analyze_performance_with_safety_metrics
Analyze performance with enhanced safety metrics
examples/mlx_metal_kernel_opt/evaluator.py:1073
↓ 1 callersMethod_apply_attention_hook_safely
Safely apply attention hook
examples/mlx_metal_kernel_opt/evaluator.py:939
↓ 1 callersFunction_apply_hook_from_program
Load an evolved hook program and apply its attention optimization. The hook program must expose a `create_metal_qwen3_optimization_hook()` f
examples/mlx_metal_kernel_opt/mlx_lm_generate_with_hook.py:43
↓ 1 callersMethod_apply_template_variations
Apply stochastic variations to the template
openevolve/prompt/sampler.py:595
↓ 1 callersFunction_atomic_write_json
(path: Path, payload: Dict[str, Any])
openevolve/llm/openai.py:40
↓ 1 callersFunction_available_ram_gb
()
examples/tsp_tour_minimization/utils/tsp_runner.py:129
↓ 1 callersFunction_build_P_from_hermite_coeffs
Build monomial-basis polynomial P from Hermite-basis coefficients.
examples/alphaevolve_math_problems/uncertainty_ineq/initial_program.py:112
↓ 1 callersFunction_build_display_prompt
Render messages into a single plain-text prompt for the manual UI.
openevolve/llm/openai.py:28
↓ 1 callersMethod_bulletproof_extract_custom_attention
Bulletproof extraction with comprehensive Metal kernel validation
examples/mlx_metal_kernel_opt/evaluator.py:231
↓ 1 callersFunction_c4_from_hermite_coeffs
Compute r_max and C4 from full Hermite coefficient vector (Google-style).
examples/alphaevolve_math_problems/uncertainty_ineq/initial_program.py:129
↓ 1 callersMethod_cache_diversity_value
Cache a diversity value with LRU eviction
openevolve/database.py:2152
↓ 1 callersMethod_calculate_island_diversity
Calculate diversity within an island (deterministic version)
openevolve/database.py:2007
↓ 1 callersMethod_calculate_safety_adjusted_score
Calculate final score adjusted for safety
examples/mlx_metal_kernel_opt/evaluator.py:1234
↓ 1 callersMethod_clean_init_method
Clean up extracted __init__ method body by removing docstrings and super() calls. Keep only the actual initialization statements.
examples/algotune/task_adapter.py:331
↓ 1 callersMethod_cleanup_old_artifacts
Remove artifact directories older than the configured retention period. Args: checkpoint_path: The path of the current c
openevolve/database.py:2445
↓ 1 callersMethod_command_buffer_protected_benchmark
Command-buffer-protected benchmarking with maximum safety
examples/mlx_metal_kernel_opt/evaluator.py:780
↓ 1 callersFunction_construct_P_with_forced_zero
Given m input coeffs (c0..c_{m-1}), build the Hermite combo c0*H0 + ... + c_{m-1}*H_{4(m-1)} + c_last*H_{4m} where c_last is chosen so th
examples/alphaevolve_math_problems/uncertainty_ineq/evaluator.py:28
↓ 1 callersMethod_cosine_similarity
Adapted from SakanaAI/ShinkaEvolve (Apache-2.0 License) Original source: https://github.com/SakanaAI/ShinkaEvolve/blob/main/shinka/da
openevolve/database.py:968
↓ 1 callersMethod_create_artifact_dir
Create artifact directory for a program
openevolve/database.py:2431
↓ 1 callersMethod_create_bulletproof_execution_environment
Create bulletproof execution environment with enhanced imports
examples/mlx_metal_kernel_opt/evaluator.py:978
↓ 1 callersMethod_create_maximum_context_prompt
Create maximum length context prompt for stress testing
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:409
↓ 1 callersMethod_create_medium_context_prompt
Create medium-length context prompt
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:254
↓ 1 callersMethod_create_progressive_context_prompt
Create prompt that builds context progressively
examples/mlx_metal_kernel_opt/qwen3_benchmark_suite.py:370
↓ 1 callersFunction_decide_workers
( config_paths: list[str], max_workers: int | None = None, mem_per_proc_gb: float | None = None,
examples/tsp_tour_minimization/utils/tsp_runner.py:145
↓ 1 callersFunction_default_workers
(n: tp.Optional[int])
examples/tsp_tour_minimization/utils/heat_map_runner.py:101
↓ 1 callersMethod_distribute_programs_to_islands
Distribute loaded programs across islands when no island metadata exists
openevolve/database.py:789
↓ 1 callersFunction_driver
()
examples/tsp_tour_minimization/utils/tsp_runner.py:307
↓ 1 callersMethod_enforce_population_limit
Enforce the population size limit by removing worst programs if needed Args: exclude_program_id: Program ID to never rem
openevolve/database.py:1678
↓ 1 callersMethod_ensure_standard_attention
Ensure standard attention is active
examples/mlx_metal_kernel_opt/evaluator.py:1036
↓ 1 callersFunction_error_result
Return an error result.
examples/k_module_problem/evaluator.py:209
↓ 1 callersFunction_estimate_mem_gb_for_config
( config_file_path: str, default_dtype_bytes: int = 4, alpha: float = 2.0, beta_gb: float = 0.
examples/tsp_tour_minimization/utils/tsp_runner.py:133
↓ 1 callersFunction_evaluate
Evaluate a Rust sorting algorithm implementation. Tests the algorithm on various data patterns to measure: - Correctness - Performan
examples/rust_adaptive_sort/evaluator.py:31
↓ 1 callersFunction_exception_result
Return an exception result.
examples/k_module_problem/evaluator.py:242
↓ 1 callersMethod_extract_problem_keys
Extract the expected problem keys from the solve method.
examples/algotune/task_adapter.py:1321
↓ 1 callersMethod_format_evolution_history
Format the evolution history for the prompt
openevolve/prompt/sampler.py:248
↓ 1 callersMethod_format_metrics
Format metrics for the prompt using safe formatting
openevolve/prompt/sampler.py:174
↓ 1 callersMethod_generate_comprehensive_summary
Generate comprehensive evaluation summary with safety info
examples/mlx_metal_kernel_opt/evaluator.py:1279
← previousnext →201–300 of 1,478, ranked by callers