MCPcopy Create free account

hub / github.com/algorithmicsuperintelligence/openevolve / functions

Functions1,478 in github.com/algorithmicsuperintelligence/openevolve

Methodtest_sanitize_parent_metrics
Test that parent_metrics are also sanitized
tests/test_visualization_sanitization.py:175
Methodtest_sanitize_positive_infinity_in_metrics
Test that +inf in metrics is sanitized to None
tests/test_visualization_sanitization.py:132
Methodtest_sanitized_data_is_json_serializable
Test that sanitized data can be JSON serialized
tests/test_visualization_sanitization.py:222
Methodtest_sanitized_none_works_with_strict_json
Test that sanitized None values work with strict JSON
tests/test_visualization_sanitization.py:248
Methodtest_save_extracted_traces_json
Test saving extracted traces in JSON format
tests/test_evolution_trace.py:492
Methodtest_save_extracted_traces_jsonl
Test saving extracted traces in JSONL format
tests/test_evolution_trace.py:467
Methodtest_save_load_artifacts
Test that artifacts survive database save/load cycle
tests/test_artifacts_integration.py:286
Methodtest_sequential_island_access_works_correctly
Test that sequential access works without issues using safe sampling
tests/test_concurrent_island_access.py:124
Methodtest_serializable_result
Test SerializableResult dataclass
tests/test_process_parallel.py:166
Methodtest_short_evaluation_completes
Test that evaluations shorter than timeout complete successfully
tests/test_evaluator_timeout.py:125
Methodtest_should_migrate_logic
Test the migration timing logic
tests/test_island_migration.py:68
Methodtest_single_island_no_migration
Test that single island setup doesn't attempt migration
tests/integration/test_migration_with_llm.py:215
Methodtest_single_line_changes
Single-line changes should show inline format
tests/test_code_utils.py:101
Methodtest_single_program_island
Test sampling from island with only one program
tests/test_sample_from_island_ratios.py:267
Methodtest_statistics
Test statistics tracking
tests/test_evolution_trace.py:188
Methodtest_store_artifacts_for_nonexistent_program_logs_warning
Test that storing artifacts for non-existent program doesn't crash
tests/test_snapshot_artifacts_limit.py:113
Methodtest_store_artifacts_within_limit
Test storing artifacts when within the limit
tests/test_snapshot_artifacts_limit.py:62
Methodtest_store_large_artifacts
Test storing large artifacts to disk
tests/test_artifacts.py:93
Methodtest_store_many_artifacts
Test storing more artifacts than the limit
tests/test_snapshot_artifacts_limit.py:83
Methodtest_store_mixed_artifacts
Test storing both small and large artifacts
tests/test_artifacts.py:108
Methodtest_store_small_artifacts
Test storing small artifacts in JSON
tests/test_artifacts.py:79
Methodtest_submit_iteration_uses_correct_island
Test that _submit_iteration samples from the specified island
tests/test_island_isolation.py:27
Methodtest_submit_iteration_uses_sample_from_island
Test that _submit_iteration uses the safe sample_from_island method
tests/test_process_parallel_fix.py:39
Methodtest_successful_evaluation_with_artifacts
Test that successful evaluations can also have artifacts
tests/test_artifacts_integration.py:235
Methodtest_system_message_changes_description_default_none
Test that system_message_changes_description defaults to None
tests/test_changes_description.py:19
Methodtest_timeout_config_respected
Test that the timeout configuration value is actually used
tests/test_evaluator_timeout.py:250
Methodtest_timeout_does_not_trigger_retries
Test that timeouts do not trigger retries (correct behavior)
tests/test_evaluator_timeout.py:311
Methodtest_to_dict
Test conversion to dictionary
tests/test_evolution_trace.py:56
Methodtest_trace_creation
Test creating an evolution trace entry
tests/test_evolution_trace.py:24
Methodtest_tracer_disabled
Test that disabled tracer does nothing
tests/test_evolution_trace.py:104
Methodtest_type_annotation_allows_float
Test that temperature and top_p can be set to float values
tests/test_llm_config_optional_params.py:40
Methodtest_type_annotation_allows_none
Test that temperature and top_p can be set to None
tests/test_llm_config_optional_params.py:34
Methodtest_unlimited_artifacts_with_none
Test setting unlimited artifacts with None
tests/test_snapshot_artifacts_limit.py:36
Methodtest_unlimited_config_is_none
Test that unlimited artifacts config is None
tests/test_snapshot_artifacts_limit.py:132
Methodtest_unsanitized_infinity_fails_strict_json
Test that unsanitized infinity fails strict JSON serialization
tests/test_visualization_sanitization.py:234
Methodtest_unsanitized_nan_fails_strict_json
Test that unsanitized NaN fails strict JSON serialization
tests/test_visualization_sanitization.py:241
Methodtest_valid_integer
Test that integers are valid
tests/test_visualization_sanitization.py:58
Methodtest_valid_metrics_unchanged
Test that valid metrics are not changed
tests/test_visualization_sanitization.py:160
Methodtest_valid_negative_float
Test that negative floats are valid
tests/test_visualization_sanitization.py:40
Methodtest_valid_positive_float
Test that positive floats are valid
tests/test_visualization_sanitization.py:30
Methodtest_valid_zero
Test that zero is valid
tests/test_visualization_sanitization.py:49
Methodtest_weighted_mode_favors_high_fitness
Test that weighted mode favors programs with higher fitness
tests/test_sample_from_island_ratios.py:186
Methodtest_weighted_sampling
(self)
tests/test_llm_ensemble.py:12
Methodtest_with_target_island_child_goes_to_target
Verify that WITH explicit target_island, child goes to target island. This is the FIXED behavior implemented in process_parallel.py.
tests/test_island_child_placement.py:293
Methodtest_without_target_island_child_inherits_parent
Verify that without explicit target_island, child inherits parent's island. This is the OLD buggy behavior that we need to avoid in p
tests/test_island_child_placement.py:258
Methodtest_worker_suffix_access
Test that worker can access file suffix from config
tests/test_file_extension_preservation.py:81
Methodtest_works_with_diff_based_evolution_enabled
Test that changes description works when diff_based_evolution=True
tests/test_changes_description.py:46
Methodtest_worse_program_does_not_update_island_best
Test that a worse program does not replace the island best
tests/test_island_tracking.py:62
Methodtest_yaml_config
Test loading evolution trace config from YAML
tests/test_evolution_trace.py:334
Methodtest_yaml_file_loading_with_env_var
Test loading api_key ${VAR} from actual YAML file
tests/test_api_key_from_env.py:141
Methodtest_yaml_file_loading_with_reasoning_effort
Test loading reasoning_effort from actual YAML file
tests/test_reasoning_effort_config.py:181
Methodtest_zero_artifacts
Test setting max_snapshot_artifacts to 0
tests/test_snapshot_artifacts_limit.py:47
Methodtest_zero_patience_disables_early_stopping
Test that patience=0 effectively disables early stopping
tests/test_early_stopping_config.py:72
Functiontimeout_handler
Handle timeout signal
examples/circle_packing_with_artifacts/evaluator.py:25
Functiontimeout_handler
Handle timeout signal
examples/circle_packing/evaluator.py:21
Methodto_dict
Backward compatibility - return just metrics
openevolve/evaluation_result.py:35
Methodto_yaml
Save configuration to a YAML file
openevolve/config.py:488
Methodtrack_island_changes
(name, value)
tests/test_process_parallel_fix.py:110
Methodtrack_sample
(*args, **kwargs)
tests/test_process_parallel_fix.py:61
Methodtrack_sample_from_island
(*args, **kwargs)
tests/test_process_parallel_fix.py:65
Methodtrain_samples
(self)
examples/symbolic_regression/bench/datamodules.py:60
Methodtrain_samples
(self)
examples/symbolic_regression/bench/dataclasses.py:53
Methodtrain_step
( params: jnp.ndarray, opt_state: optax.OptState, optimizer, hermite_basis,
examples/alphaevolve_math_problems/uncertainty_ineq/initial_program.py:68
Methodtrain_step
Performs a single training step.
examples/alphaevolve_math_problems/first_autocorr_ineq/initial_program.py:57
Methodtrain_step
(latent_h_values, opt_state)
examples/alphaevolve_math_problems/erdos_min_overlap/initial_program.py:62
Methodtrain_step
Performs a single training step.
examples/alphaevolve_math_problems/third_autocorr_ineq/initial_program.py:57
Methodtrain_step
Performs a single training step.
examples/alphaevolve_math_problems/second_autocorr_ineq/initial_program.py:60
Functiontransform_grid_attempt_1
Example transformation: - Validate input (2D, integer values 0-9). - Rotate the grid 90 degrees clockwise. - Increment every cell by
examples/arc_benchmark/initial_program.py:5
Functiontransform_grid_attempt_1
Transformation logic: 1. Identify the bounding box of the '8' values (mask) in the grid. 2. The output grid has the same dimensions as th
examples/arc_benchmark/outputs/evaluation_task_0/best/best_program.py:5
Functiontransform_grid_attempt_1
Transformation logic: 1. Identify the bounding box of the '8' values (mask) in the grid. 2. The output grid has the same dimensions as th
examples/arc_benchmark/outputs/evaluation_task_0/checkpoints/checkpoint_100/best_program.py:5
Functiontransform_grid_attempt_2
Example transformation: - Validate input (2D, integer values 0-9). - Upsample each cell to a 2x2 block (doubling both dimensions). -
examples/arc_benchmark/initial_program.py:18
Functiontransform_grid_attempt_2
Similar to attempt 1 but with an additional fallback strategy. Strategies: 1. Vertical reflection: grid[31-r, c] 2. Diagonal transpos
examples/arc_benchmark/outputs/evaluation_task_0/best/best_program.py:51
Functiontransform_grid_attempt_2
Similar to attempt 1 but with an additional fallback strategy. Strategies: 1. Vertical reflection: grid[31-r, c] 2. Diagonal transpos
examples/arc_benchmark/outputs/evaluation_task_0/checkpoints/checkpoint_100/best_program.py:51
FunctionupdateDimensions
()
scripts/static/js/state.js:6
FunctionupdateListSidebarLayout
()
scripts/static/js/list.js:207
Functionvisualize
Visualize the circle packing Args: centers: np.array of shape (n, 2) with (x, y) coordinates radii: np.array of shape (n) wi
examples/circle_packing/best_program.py:116
Methodwait_all
Wait for all tasks in the pool to complete
openevolve/utils/async_utils.py:216
Functionwrapper
(*args: Any, **kwargs: Any)
openevolve/utils/async_utils.py:28
← previous1,401–1,478 of 1,478, ranked by callers