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
Method
test_mixed_api_key_sources
Test mixing direct api_key and ${VAR} in same config
tests/test_api_key_from_env.py:163
Method
test_mixed_valid_and_invalid_values
Test sanitization with mix of valid and invalid values
tests/test_visualization_sanitization.py:195
Function
test_mlir_file
Test that MLIR file exists and is valid
examples/attention_optimization/tests/test_results.py:55
Function
test_mlir_file
Test that the MLIR file exists and is readable
examples/attention_optimization/tests/test_evaluator.py:94
Method
test_model_config_temperature_none_by_default
Test that LLMModelConfig temperature is None by default
tests/test_llm_config_optional_params.py:24
Method
test_model_config_top_p_none_by_default
Test that LLMModelConfig top_p is None by default
tests/test_llm_config_optional_params.py:29
Method
test_models_inherit_optional_params
Test that models inherit temperature/top_p from parent config
tests/test_llm_config_optional_params.py:111
Method
test_multi_island_setup
Test database with multiple islands
tests/test_database.py:102
Method
test_multi_line_changes_show_actual_content
Multi-line changes should show actual SEARCH/REPLACE content
tests/test_code_utils.py:107
Method
test_multiple_diff_blocks
Multiple diff blocks should be numbered
tests/test_code_utils.py:126
Method
test_multiple_generations_island_drift
Test that children inherit their parent's island at time of creation
tests/test_island_parent_consistency.py:66
Method
test_multiple_migration_rounds_no_exponential_growth
Test that multiple migration rounds don't create exponential program growth
tests/test_migration_no_duplicates.py:83
Method
test_multiple_retries_with_errors
Test that retries work correctly with actual errors (not timeouts)
tests/test_evaluator_timeout.py:274
Method
test_multiple_run_calls_no_pollution
Test that calling run() multiple times doesn't pollute the database
tests/test_checkpoint_resume.py:295
Method
test_negative_patience_allowed
Test that negative patience is allowed (but probably shouldn't be used)
tests/test_early_stopping_config.py:81
Method
test_nested_relative_template_dir
Nested relative paths should resolve correctly
tests/test_template_dir_resolution.py:78
Method
test_no_cascade_validation_when_disabled
Test no validation when cascade evaluation is disabled
tests/test_cascade_validation.py:117
Method
test_no_duplicate_program_ids_across_all_islands
Test that no program ID appears in multiple islands simultaneously
tests/test_migration_no_duplicates.py:198
Method
test_no_migrant_suffix_generation
Test that no programs with _migrant suffixes are created
tests/test_island_map_elites.py:156
Method
test_no_migration_with_single_island
Test that migration is skipped with single island
tests/test_island_migration.py:256
Method
test_no_program_assigned_to_multiple_islands
Test that programs are never assigned to multiple islands
tests/test_database.py:554
Method
test_non_empty_database_at_iteration_zero
Test that initial program is not added when database already has programs at iteration 0
tests/test_checkpoint_resume.py:237
Method
test_non_openai_api_base
Test that non-OpenAI API bases don't trigger reasoning model logic
tests/test_openai_model_detection.py:70
Method
test_novelty_check_disabled_works_fine
Test that when novelty checking is disabled, adding programs from async context works fine (this is the workaround from issue #313).
tests/test_novelty_asyncio_issue.py:132
Method
test_novelty_check_from_async_context_works
Test that novelty checking works correctly when called from within an async context (this was the bug in issue #313). Expect
tests/test_novelty_asyncio_issue.py:45
Method
test_novelty_check_from_sync_context_works
Test that novelty checking also works correctly when called from a synchronous (non-async) context. Expected behavior: Shoul
tests/test_novelty_asyncio_issue.py:97
Method
test_null_template_dir_unchanged
Null template_dir should remain None
tests/test_template_dir_resolution.py:59
Method
test_openai_llm_uses_reasoning_effort
Test that OpenAILLM stores and uses reasoning_effort from config
tests/test_reasoning_effort_config.py:119
Function
test_params
()
examples/attention_optimization/evaluator.py:296
Method
test_parent_child_island_consistency
Test that children are added to the same island as their parents
tests/test_island_parent_consistency.py:13
Method
test_patience_default_is_none
Test that early_stopping_patience defaults to None (disabled)
tests/test_early_stopping_config.py:13
Method
test_pending_artifacts
Test pending artifacts storage and retrieval
tests/test_artifacts.py:197
Method
test_per_dimension_bins
Test per-dimension bin configuration
tests/test_map_elites_features.py:118
Method
test_per_island_map_elites_isolation
Test that per-island MAP-Elites works correctly with migration
tests/integration/test_migration_with_llm.py:76
Method
test_population_limit_enforcement
Test population size limit enforcement
tests/test_database.py:275
Method
test_prepare_evaluator_callable_works_in_subprocess
Test that callable evaluator can be executed in a subprocess
tests/test_api.py:131
Method
test_prepare_evaluator_from_callable
Test _prepare_evaluator with callable function
tests/test_api.py:115
Method
test_prepare_evaluator_from_file
Test _prepare_evaluator with existing file
tests/test_api.py:103
Method
test_prepare_evaluator_from_string
Test _prepare_evaluator with code string
tests/test_api.py:169
Method
test_prepare_evaluator_string_without_evaluate_function
Test _prepare_evaluator raises error for invalid code string
tests/test_api.py:183
Method
test_prepare_program_from_file
Test _prepare_program with existing file
tests/test_api.py:45
Method
test_prepare_program_from_list
Test _prepare_program with list of lines
tests/test_api.py:73
Method
test_prepare_program_from_string
Test _prepare_program with code string
tests/test_api.py:57
Method
test_prepare_program_with_existing_markers
Test _prepare_program doesn't add duplicate markers
tests/test_api.py:87
Method
test_process_evaluation_result_dict
Test processing dict results
tests/test_artifacts.py:181
Method
test_process_evaluation_result_evaluation_result
Test processing EvaluationResult objects
tests/test_artifacts.py:190
Method
test_process_evaluation_result_with_artifacts
Test that _process_evaluation_result handles artifacts correctly
tests/test_cascade_validation.py:277
Method
test_process_evaluation_result_with_dict
Test that _process_evaluation_result handles dict results correctly
tests/test_cascade_validation.py:299
Method
test_process_parallel_controller_passes_suffix
Test that ProcessParallelController correctly passes file suffix
tests/test_file_extension_preservation.py:97
Method
test_program_added_to_correct_island_feature_map
Test that programs are added to their island's specific feature map
tests/test_island_map_elites.py:49
Method
test_program_evolution_tracking
Test that program generations are tracked correctly
tests/integration/test_examples_validation.py:254
Function
test_program_file
Create a test program file
tests/integration/conftest.py:68
Method
test_program_island_assignment
Test that programs are assigned to correct islands
tests/test_island_migration.py:47
Method
test_programs_as_changes_description_default_false
Test that programs_as_changes_description defaults to False
tests/test_changes_description.py:14
Method
test_programs_dir_not_found
Test error handling when programs directory is missing
tests/test_evolution_trace.py:643
Method
test_prompt_config_custom_values
Test PromptConfig with custom changes description values
tests/test_changes_description.py:140
Method
test_prompt_config_defaults
Test PromptConfig defaults for changes description
tests/test_changes_description.py:133
Method
test_proposed_fix_with_island_specific_sampling
Test the proposed fix: using a method that doesn't modify shared state This simulates what the fix would look like
tests/test_concurrent_island_access.py:153
Method
test_real_example_config
Test with real example config file
tests/test_template_dir_resolution.py:100
Method
test_real_world_scenario
Test a scenario similar to the reported bug
tests/test_evaluator_timeout.py:396
Method
test_reasoning_effort_in_llm_config
Test that reasoning_effort can be loaded from YAML config at LLM level
tests/test_reasoning_effort_config.py:19
Method
test_reasoning_effort_in_model_config
Test that reasoning_effort can be specified per model
tests/test_reasoning_effort_config.py:46
Method
test_reasoning_effort_inheritance
Test that model configs inherit reasoning_effort from parent LLM config
tests/test_reasoning_effort_config.py:73
Method
test_reasoning_effort_model_override
Test that model-level reasoning_effort overrides LLM-level
tests/test_reasoning_effort_config.py:96
Method
test_reasoning_effort_passed_to_api_params
Test that reasoning_effort is included in API call parameters
tests/test_reasoning_effort_config.py:143
Method
test_reasoning_model_detection
Test various model names to ensure correct reasoning model detection
tests/test_openai_model_detection.py:12
Method
test_rebuild_models_primary_only
Test rebuilding with only primary model
tests/test_cli_model_override.py:38
Method
test_rebuild_models_with_both_models
Test rebuilding models with both primary and secondary models
tests/test_cli_model_override.py:14
Method
test_rebuild_models_with_config_file_override
Test CLI override of config file models
tests/test_cli_model_override.py:89
Method
test_rebuild_models_with_weights
Test rebuilding with custom weights
tests/test_cli_model_override.py:49
Method
test_rebuild_models_zero_weight_secondary
Test that secondary model with zero weight is excluded
tests/test_cli_model_override.py:63
Method
test_rebuild_preserves_shared_config
Test that rebuilding preserves shared configuration
tests/test_cli_model_override.py:76
Method
test_relative_template_dir_resolved_to_config_location
Relative paths in template_dir should resolve relative to config file
tests/test_template_dir_resolution.py:16
Method
test_render_artifacts_all_items
Test that all artifacts are included using .items() without prioritization
tests/test_artifacts.py:221
Method
test_render_artifacts_generic
Test that all artifacts are included using .items()
tests/test_artifacts.py:240
Method
test_render_artifacts_security_filter
Test that security filter redacts potential tokens
tests/test_artifacts.py:261
Method
test_render_artifacts_truncation
Test artifact truncation for large content
tests/test_artifacts.py:250
Method
test_request_shutdown
Test graceful shutdown request
tests/test_process_parallel.py:156
Method
test_requires_diff_based_evolution
Test that programs_as_changes_description requires diff_based_evolution
tests/test_changes_description.py:33
Method
test_resolve_env_var_missing_var
Test that missing environment variable raises ValueError
tests/test_api_key_from_env.py:41
Method
test_resolve_env_var_no_match
Test that strings without ${VAR} are returned unchanged
tests/test_api_key_from_env.py:31
Method
test_resolve_env_var_none
Test that None is returned unchanged
tests/test_api_key_from_env.py:36
Method
test_resolve_env_var_with_match
Test that _resolve_env_var resolves ${VAR} syntax
tests/test_api_key_from_env.py:26
Method
test_resume_iteration_counting
Test that resume correctly continues from checkpoint
tests/test_iteration_counting.py:85
Method
test_run_evolution_basic
Test basic evolution run
tests/test_process_parallel.py:106
Method
test_run_evolution_cleanup_false
Test run_evolution with cleanup=False
tests/test_api.py:363
Method
test_run_evolution_real_integration
Test run_evolution with real optillm server - basic program evolution
tests/integration/test_library_api.py:191
Method
test_run_evolution_with_config_object
Test run_evolution with Config object
tests/test_api.py:337
Method
test_safe_decode_artifact_bytes
Test safe decoding of bytes artifacts
tests/test_artifacts.py:278
Method
test_safe_decode_artifact_invalid_bytes
Test safe decoding of invalid bytes
tests/test_artifacts.py:285
Method
test_safe_decode_artifact_string
Test safe decoding of string artifacts
tests/test_artifacts.py:272
Method
test_sample
Test sampling from the database
tests/test_database.py:60
Method
test_sample_from_empty_island_returns_fallback_parent
Test that sampling from empty island falls back to available programs
tests/test_island_child_placement.py:104
Method
test_sample_from_island_returns_from_correct_island
Test that sampled parent is actually from the requested island
tests/test_sample_from_island_ratios.py:108
Method
test_sample_from_island_with_different_islands
Test that different islands return different programs
tests/test_sample_from_island_ratios.py:122
Method
test_sample_inspirations_from_island
Test that inspiration sampling respects island boundaries
tests/test_island_tracking.py:190
Method
test_samples
(self)
examples/symbolic_regression/bench/datamodules.py:64
Method
test_samples
(self)
examples/symbolic_regression/bench/dataclasses.py:57
Method
test_sanitize_nan_in_metrics
Test that NaN in metrics is sanitized to None
tests/test_visualization_sanitization.py:146
Method
test_sanitize_negative_infinity_in_metrics
Test that -inf in metrics is sanitized to None
tests/test_visualization_sanitization.py:118
← previous
next →
1,301–1,400 of 1,478, ranked by callers