MCPcopy Create free account

hub / github.com/algorithmicsuperintelligence/openevolve / functions

Functions1,478 in github.com/algorithmicsuperintelligence/openevolve

Methodtest_mixed_api_key_sources
Test mixing direct api_key and ${VAR} in same config
tests/test_api_key_from_env.py:163
Methodtest_mixed_valid_and_invalid_values
Test sanitization with mix of valid and invalid values
tests/test_visualization_sanitization.py:195
Functiontest_mlir_file
Test that MLIR file exists and is valid
examples/attention_optimization/tests/test_results.py:55
Functiontest_mlir_file
Test that the MLIR file exists and is readable
examples/attention_optimization/tests/test_evaluator.py:94
Methodtest_model_config_temperature_none_by_default
Test that LLMModelConfig temperature is None by default
tests/test_llm_config_optional_params.py:24
Methodtest_model_config_top_p_none_by_default
Test that LLMModelConfig top_p is None by default
tests/test_llm_config_optional_params.py:29
Methodtest_models_inherit_optional_params
Test that models inherit temperature/top_p from parent config
tests/test_llm_config_optional_params.py:111
Methodtest_multi_island_setup
Test database with multiple islands
tests/test_database.py:102
Methodtest_multi_line_changes_show_actual_content
Multi-line changes should show actual SEARCH/REPLACE content
tests/test_code_utils.py:107
Methodtest_multiple_diff_blocks
Multiple diff blocks should be numbered
tests/test_code_utils.py:126
Methodtest_multiple_generations_island_drift
Test that children inherit their parent's island at time of creation
tests/test_island_parent_consistency.py:66
Methodtest_multiple_migration_rounds_no_exponential_growth
Test that multiple migration rounds don't create exponential program growth
tests/test_migration_no_duplicates.py:83
Methodtest_multiple_retries_with_errors
Test that retries work correctly with actual errors (not timeouts)
tests/test_evaluator_timeout.py:274
Methodtest_multiple_run_calls_no_pollution
Test that calling run() multiple times doesn't pollute the database
tests/test_checkpoint_resume.py:295
Methodtest_negative_patience_allowed
Test that negative patience is allowed (but probably shouldn't be used)
tests/test_early_stopping_config.py:81
Methodtest_nested_relative_template_dir
Nested relative paths should resolve correctly
tests/test_template_dir_resolution.py:78
Methodtest_no_cascade_validation_when_disabled
Test no validation when cascade evaluation is disabled
tests/test_cascade_validation.py:117
Methodtest_no_duplicate_program_ids_across_all_islands
Test that no program ID appears in multiple islands simultaneously
tests/test_migration_no_duplicates.py:198
Methodtest_no_migrant_suffix_generation
Test that no programs with _migrant suffixes are created
tests/test_island_map_elites.py:156
Methodtest_no_migration_with_single_island
Test that migration is skipped with single island
tests/test_island_migration.py:256
Methodtest_no_program_assigned_to_multiple_islands
Test that programs are never assigned to multiple islands
tests/test_database.py:554
Methodtest_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
Methodtest_non_openai_api_base
Test that non-OpenAI API bases don't trigger reasoning model logic
tests/test_openai_model_detection.py:70
Methodtest_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
Methodtest_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
Methodtest_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
Methodtest_null_template_dir_unchanged
Null template_dir should remain None
tests/test_template_dir_resolution.py:59
Methodtest_openai_llm_uses_reasoning_effort
Test that OpenAILLM stores and uses reasoning_effort from config
tests/test_reasoning_effort_config.py:119
Functiontest_params
()
examples/attention_optimization/evaluator.py:296
Methodtest_parent_child_island_consistency
Test that children are added to the same island as their parents
tests/test_island_parent_consistency.py:13
Methodtest_patience_default_is_none
Test that early_stopping_patience defaults to None (disabled)
tests/test_early_stopping_config.py:13
Methodtest_pending_artifacts
Test pending artifacts storage and retrieval
tests/test_artifacts.py:197
Methodtest_per_dimension_bins
Test per-dimension bin configuration
tests/test_map_elites_features.py:118
Methodtest_per_island_map_elites_isolation
Test that per-island MAP-Elites works correctly with migration
tests/integration/test_migration_with_llm.py:76
Methodtest_population_limit_enforcement
Test population size limit enforcement
tests/test_database.py:275
Methodtest_prepare_evaluator_callable_works_in_subprocess
Test that callable evaluator can be executed in a subprocess
tests/test_api.py:131
Methodtest_prepare_evaluator_from_callable
Test _prepare_evaluator with callable function
tests/test_api.py:115
Methodtest_prepare_evaluator_from_file
Test _prepare_evaluator with existing file
tests/test_api.py:103
Methodtest_prepare_evaluator_from_string
Test _prepare_evaluator with code string
tests/test_api.py:169
Methodtest_prepare_evaluator_string_without_evaluate_function
Test _prepare_evaluator raises error for invalid code string
tests/test_api.py:183
Methodtest_prepare_program_from_file
Test _prepare_program with existing file
tests/test_api.py:45
Methodtest_prepare_program_from_list
Test _prepare_program with list of lines
tests/test_api.py:73
Methodtest_prepare_program_from_string
Test _prepare_program with code string
tests/test_api.py:57
Methodtest_prepare_program_with_existing_markers
Test _prepare_program doesn't add duplicate markers
tests/test_api.py:87
Methodtest_process_evaluation_result_dict
Test processing dict results
tests/test_artifacts.py:181
Methodtest_process_evaluation_result_evaluation_result
Test processing EvaluationResult objects
tests/test_artifacts.py:190
Methodtest_process_evaluation_result_with_artifacts
Test that _process_evaluation_result handles artifacts correctly
tests/test_cascade_validation.py:277
Methodtest_process_evaluation_result_with_dict
Test that _process_evaluation_result handles dict results correctly
tests/test_cascade_validation.py:299
Methodtest_process_parallel_controller_passes_suffix
Test that ProcessParallelController correctly passes file suffix
tests/test_file_extension_preservation.py:97
Methodtest_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
Methodtest_program_evolution_tracking
Test that program generations are tracked correctly
tests/integration/test_examples_validation.py:254
Functiontest_program_file
Create a test program file
tests/integration/conftest.py:68
Methodtest_program_island_assignment
Test that programs are assigned to correct islands
tests/test_island_migration.py:47
Methodtest_programs_as_changes_description_default_false
Test that programs_as_changes_description defaults to False
tests/test_changes_description.py:14
Methodtest_programs_dir_not_found
Test error handling when programs directory is missing
tests/test_evolution_trace.py:643
Methodtest_prompt_config_custom_values
Test PromptConfig with custom changes description values
tests/test_changes_description.py:140
Methodtest_prompt_config_defaults
Test PromptConfig defaults for changes description
tests/test_changes_description.py:133
Methodtest_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
Methodtest_real_example_config
Test with real example config file
tests/test_template_dir_resolution.py:100
Methodtest_real_world_scenario
Test a scenario similar to the reported bug
tests/test_evaluator_timeout.py:396
Methodtest_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
Methodtest_reasoning_effort_in_model_config
Test that reasoning_effort can be specified per model
tests/test_reasoning_effort_config.py:46
Methodtest_reasoning_effort_inheritance
Test that model configs inherit reasoning_effort from parent LLM config
tests/test_reasoning_effort_config.py:73
Methodtest_reasoning_effort_model_override
Test that model-level reasoning_effort overrides LLM-level
tests/test_reasoning_effort_config.py:96
Methodtest_reasoning_effort_passed_to_api_params
Test that reasoning_effort is included in API call parameters
tests/test_reasoning_effort_config.py:143
Methodtest_reasoning_model_detection
Test various model names to ensure correct reasoning model detection
tests/test_openai_model_detection.py:12
Methodtest_rebuild_models_primary_only
Test rebuilding with only primary model
tests/test_cli_model_override.py:38
Methodtest_rebuild_models_with_both_models
Test rebuilding models with both primary and secondary models
tests/test_cli_model_override.py:14
Methodtest_rebuild_models_with_config_file_override
Test CLI override of config file models
tests/test_cli_model_override.py:89
Methodtest_rebuild_models_with_weights
Test rebuilding with custom weights
tests/test_cli_model_override.py:49
Methodtest_rebuild_models_zero_weight_secondary
Test that secondary model with zero weight is excluded
tests/test_cli_model_override.py:63
Methodtest_rebuild_preserves_shared_config
Test that rebuilding preserves shared configuration
tests/test_cli_model_override.py:76
Methodtest_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
Methodtest_render_artifacts_all_items
Test that all artifacts are included using .items() without prioritization
tests/test_artifacts.py:221
Methodtest_render_artifacts_generic
Test that all artifacts are included using .items()
tests/test_artifacts.py:240
Methodtest_render_artifacts_security_filter
Test that security filter redacts potential tokens
tests/test_artifacts.py:261
Methodtest_render_artifacts_truncation
Test artifact truncation for large content
tests/test_artifacts.py:250
Methodtest_request_shutdown
Test graceful shutdown request
tests/test_process_parallel.py:156
Methodtest_requires_diff_based_evolution
Test that programs_as_changes_description requires diff_based_evolution
tests/test_changes_description.py:33
Methodtest_resolve_env_var_missing_var
Test that missing environment variable raises ValueError
tests/test_api_key_from_env.py:41
Methodtest_resolve_env_var_no_match
Test that strings without ${VAR} are returned unchanged
tests/test_api_key_from_env.py:31
Methodtest_resolve_env_var_none
Test that None is returned unchanged
tests/test_api_key_from_env.py:36
Methodtest_resolve_env_var_with_match
Test that _resolve_env_var resolves ${VAR} syntax
tests/test_api_key_from_env.py:26
Methodtest_resume_iteration_counting
Test that resume correctly continues from checkpoint
tests/test_iteration_counting.py:85
Methodtest_run_evolution_basic
Test basic evolution run
tests/test_process_parallel.py:106
Methodtest_run_evolution_cleanup_false
Test run_evolution with cleanup=False
tests/test_api.py:363
Methodtest_run_evolution_real_integration
Test run_evolution with real optillm server - basic program evolution
tests/integration/test_library_api.py:191
Methodtest_run_evolution_with_config_object
Test run_evolution with Config object
tests/test_api.py:337
Methodtest_safe_decode_artifact_bytes
Test safe decoding of bytes artifacts
tests/test_artifacts.py:278
Methodtest_safe_decode_artifact_invalid_bytes
Test safe decoding of invalid bytes
tests/test_artifacts.py:285
Methodtest_safe_decode_artifact_string
Test safe decoding of string artifacts
tests/test_artifacts.py:272
Methodtest_sample
Test sampling from the database
tests/test_database.py:60
Methodtest_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
Methodtest_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
Methodtest_sample_from_island_with_different_islands
Test that different islands return different programs
tests/test_sample_from_island_ratios.py:122
Methodtest_sample_inspirations_from_island
Test that inspiration sampling respects island boundaries
tests/test_island_tracking.py:190
Methodtest_samples
(self)
examples/symbolic_regression/bench/datamodules.py:64
Methodtest_samples
(self)
examples/symbolic_regression/bench/dataclasses.py:57
Methodtest_sanitize_nan_in_metrics
Test that NaN in metrics is sanitized to None
tests/test_visualization_sanitization.py:146
Methodtest_sanitize_negative_infinity_in_metrics
Test that -inf in metrics is sanitized to None
tests/test_visualization_sanitization.py:118
← previousnext →1,301–1,400 of 1,478, ranked by callers