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_exploration_mode_uniform_distribution
Test that exploration mode uses uniform random sampling
tests/test_sample_from_island_ratios.py:157
Method
test_extract_diffs
Test extracting diffs from a response
tests/test_code_utils.py:18
Method
test_extract_from_empty_checkpoint
Test extraction from checkpoint with no programs
tests/test_evolution_trace.py:398
Method
test_extract_full_lineage
Test full lineage extraction
tests/test_evolution_trace.py:517
Method
test_extract_full_lineage_json_output
Test full lineage extraction with JSON output
tests/test_evolution_trace.py:576
Method
test_extract_multiple_generations
Test extraction with multiple generations
tests/test_evolution_trace.py:421
Method
test_extract_single_parent_child
Test extraction with single parent-child pair
tests/test_evolution_trace.py:403
Method
test_extract_unique_features_calls_determine_program_type
Test that _extract_unique_features correctly handles program_type determination
tests/test_prompt_sampler_comprehensive.py:141
Method
test_extract_with_code_inclusion
Test extraction with code included
tests/test_evolution_trace.py:437
Method
test_extract_with_corrupted_file
Test extraction handles corrupted files gracefully
tests/test_evolution_trace.py:623
Method
test_extract_with_missing_parent
Test extraction handles missing parents gracefully
tests/test_evolution_trace.py:613
Method
test_extract_without_code
Test extraction without code
tests/test_evolution_trace.py:453
Method
test_fast_code_diversity_function
Test the _fast_code_diversity function
tests/test_database.py:414
Method
test_fast_evaluation_completes
Test that fast evaluations complete successfully
tests/test_evaluator_timeout.py:102
Method
test_feature_coordinate_isolation
Test that same feature coordinates in different islands don't conflict
tests/test_island_map_elites.py:77
Method
test_feature_coordinates_calculation
Test MAP-Elites feature coordinate calculation
tests/test_database.py:127
Method
test_feature_coordinates_formatting_in_prompt
Test that feature coordinates are formatted correctly in the prompt
tests/test_prompt_sampler_comprehensive.py:256
Method
test_feature_coordinates_with_new_defaults
Test feature coordinate calculation with new default dimensions
tests/test_map_elites_features.py:209
Method
test_feature_dimensions_none_vs_empty_list
Test that None and empty list for feature_dimensions are handled correctly
tests/test_prompt_sampler_comprehensive.py:243
Method
test_feature_map_operations
Test per-island feature map operations for MAP-Elites
tests/test_database.py:147
Method
test_feature_ranges_preserved_across_checkpoints
Test that feature ranges are preserved across checkpoint save/load cycles
tests/test_grid_stability.py:25
Method
test_feature_scaling_minmax
Test min-max feature scaling
tests/test_map_elites_features.py:78
Method
test_feature_scaling_with_identical_values
Test feature scaling when all values are identical
tests/test_map_elites_features.py:193
Method
test_feature_stats_accumulation
Test that feature_stats accumulate correctly across checkpoint cycles
tests/test_grid_stability.py:238
Method
test_feature_stats_consistency_across_cycles
Test that feature_stats remain consistent across multiple save/load cycles
tests/test_grid_stability.py:170
Method
test_feature_stats_preservation_during_load
Test that feature_stats ranges are preserved when loading from checkpoint
tests/test_feature_stats_persistence.py:159
Method
test_feature_stats_saved_and_loaded
Test that feature_stats are correctly saved and loaded from checkpoints
tests/test_feature_stats_persistence.py:32
Method
test_feature_stats_serialization_edge_cases
Test feature_stats serialization handles edge cases correctly
tests/test_feature_stats_persistence.py:122
Method
test_feature_stats_update
Test feature statistics are updated correctly
tests/test_map_elites_features.py:101
Method
test_feature_stats_with_numpy_types
Test that numpy types are correctly handled in serialization
tests/test_feature_stats_persistence.py:230
Method
test_file_extension_mapping
Test that different file extensions are handled correctly
tests/test_file_extension_preservation.py:113
Method
test_final_checkpoint_creation
Test that final checkpoint is created regardless of interval
tests/integration/test_checkpoint_with_llm.py:101
Method
test_first_program_becomes_island_best
Test that the first program added to an island becomes the best
tests/test_island_tracking.py:38
Method
test_fitness_calculation_consistency
Test that fitness calculation is consistent across all methods
tests/test_prompt_sampler_comprehensive.py:187
Method
test_format_inspirations_section_with_feature_dimensions
Test _format_inspirations_section directly with feature_dimensions
tests/test_prompt_sampler_comprehensive.py:84
Method
test_format_inspirations_section_without_feature_dimensions
Test _format_inspirations_section works without feature_dimensions
tests/test_prompt_sampler_comprehensive.py:110
Method
test_fresh_start_adds_initial_program
Test that initial program is added when starting fresh
tests/test_checkpoint_resume.py:80
Method
test_fresh_start_iteration_counting
Test that fresh start correctly handles iteration 0 as special
tests/test_iteration_counting.py:51
Method
test_from_dict_compatibility
Test that dict -> EvaluationResult -> dict roundtrip works
tests/test_artifacts.py:21
Method
test_full_evolution_loop
Test complete evolution with real LLM
tests/integration/test_evolution_pipeline.py:15
Method
test_get_best_program
Test getting the best program
tests/test_database.py:37
Method
test_get_top_programs_island_specific
Test getting top programs from a specific island
tests/test_island_tracking.py:118
Method
test_get_top_programs_with_metrics
Test get_top_programs with specific metrics
tests/test_database.py:207
Method
test_global_best_program_tracks_across_islands
Test that global best program is tracked correctly across all islands
tests/test_island_map_elites.py:140
Method
test_grid_expansion_behavior
Test that grid expands correctly when new programs exceed existing ranges
tests/test_grid_stability.py:112
Method
test_import_config_files
Attempt to import all config files
tests/test_valid_configs.py:28
Method
test_initial_changes_description_default_empty
Test that initial_changes_description defaults to empty string
tests/test_changes_description.py:24
Method
test_initial_island_best_tracking
Test initial state of island best program tracking
tests/test_island_tracking.py:31
Method
test_initial_island_setup
Test that islands are properly initialized
tests/test_island_migration.py:33
Function
test_initial_program
Test that initial_program.py works
examples/attention_optimization/tests/test_results.py:11
Function
test_initial_program
Test the initial program generates parameters
examples/attention_optimization/tests/test_evaluator.py:65
Method
test_initial_program_exists
Test that the initial program file exists
tests/integration/test_examples_validation.py:38
Method
test_initial_program_has_evolve_block
Test that the initial program has EVOLVE-BLOCK markers
tests/integration/test_examples_validation.py:43
Method
test_inspirations_with_missing_metrics
Test handling of inspirations with missing or invalid metrics
tests/test_prompt_sampler_comprehensive.py:221
Method
test_invalid_island_index_handling
Test handling of invalid island indices
tests/test_island_tracking.py:254
Method
test_invalid_nan
Test that NaN is invalid
tests/test_visualization_sanitization.py:84
Method
test_invalid_negative_infinity
Test that negative infinity is invalid
tests/test_visualization_sanitization.py:76
Method
test_invalid_none
Test that None is invalid (not a number)
tests/test_visualization_sanitization.py:92
Method
test_invalid_positive_infinity
Test that positive infinity is invalid
tests/test_visualization_sanitization.py:68
Method
test_island_best_persistence
Test that island best programs are maintained across operations
tests/test_island_tracking.py:230
Method
test_island_best_with_combined_score
Test island best tracking with combined_score metric
tests/test_island_tracking.py:147
Method
test_island_best_with_missing_program
Test island best tracking when best program is removed
tests/test_island_tracking.py:173
Method
test_island_distribution_in_batch
Test that initial batch is distributed across islands
tests/test_island_isolation.py:116
Method
test_island_feature_maps_initialization
Test that each island gets its own feature map
tests/test_island_map_elites.py:39
Method
test_island_feature_maps_populated
Test that island feature maps are properly populated during evolution
tests/integration/test_evolution_pipeline.py:67
Method
test_island_id_wrapping
Test that island_id wraps around correctly
tests/test_sample_from_island_ratios.py:283
Method
test_island_isolation_during_evolution
Test that parallel workers maintain island isolation
tests/test_island_isolation.py:64
Method
test_island_isolation_in_best_tracking
Test that island best tracking is isolated between islands
tests/test_island_tracking.py:76
Method
test_island_migration_no_duplicates_real_evolution
Test that migration doesn't create duplicate chains with real evolution
tests/integration/test_migration_with_llm.py:15
Method
test_island_operations_basic
Test basic island operations
tests/test_database.py:84
Method
test_island_status_logging
Test island status logging functionality
tests/test_island_tracking.py:215
Method
test_islands_should_all_get_populated
Simulate evolution and verify all islands get programs. With the fix for issue #391, children are placed in the target island
tests/test_island_child_placement.py:189
Method
test_json_format
Test JSON format output
tests/test_evolution_trace.py:153
Method
test_jsonl_format
Test JSONL format output
tests/test_evolution_trace.py:118
Method
test_library_api_validation
Test library API gives proper error messages when not configured
tests/integration/test_smoke.py:17
Method
test_llm_config_creation
Test that LLM configuration can be created properly
tests/integration/test_smoke.py:57
Method
test_llm_config_temperature_default
Test that temperature defaults to 0.7 in LLMConfig
tests/test_llm_config_optional_params.py:14
Method
test_llm_config_top_p_default_is_none
Test that top_p defaults to None in LLMConfig (for Anthropic compatibility)
tests/test_llm_config_optional_params.py:19
Method
test_long_evaluation_times_out
Test that long evaluations time out properly
tests/test_evaluator_timeout.py:148
Method
test_malformed_feature_stats_handling
Test handling of malformed feature_stats during deserialization
tests/test_feature_stats_persistence.py:257
Method
test_metric_default
Test that early_stopping_metric defaults to combined_score
tests/test_early_stopping_config.py:23
Method
test_migrated_program_content_preserved
Test that migrated programs preserve original content and metrics
tests/test_migration_no_duplicates.py:123
Method
test_migration_creates_clean_uuid_ids
Test that migration creates programs with clean UUID IDs, not _migrant suffixes
tests/test_migration_no_duplicates.py:49
Method
test_migration_creates_proper_copies
Test that migration creates proper program copies
tests/test_island_migration.py:214
Method
test_migration_preserves_best_programs
Test that migration selects the best programs for migration
tests/test_island_migration.py:153
Method
test_migration_preserves_island_structure
Test that migration works correctly with pinned workers
tests/test_island_isolation.py:170
Method
test_migration_preserves_program_quality
Test that migration preserves program content and metrics
tests/integration/test_migration_with_llm.py:119
Method
test_migration_prevents_re_migration
Test that programs marked as migrants don't migrate again
tests/test_database.py:463
Method
test_migration_rate_respected
Test that migration rate is properly applied
tests/test_island_migration.py:117
Method
test_migration_ring_topology
Test that migration follows ring topology
tests/test_island_migration.py:81
Method
test_migration_skips_duplicate_code_on_target_island
Test that migration skips programs if target island already has identical code
tests/test_migration_no_duplicates.py:337
Method
test_migration_target_islands_are_different
Test that programs migrate to different islands, not same island
tests/test_migration_no_duplicates.py:159
Method
test_migration_timing_logic
Test that migration timing logic works correctly
tests/integration/test_migration_with_llm.py:170
Method
test_migration_updates_generations
Test that migration updates the last migration generation
tests/test_island_migration.py:183
Method
test_migration_updates_island_best
Test that migration can update island best programs
tests/test_island_tracking.py:92
Method
test_migration_uses_map_elites_deduplication
Test that migrants go through MAP-Elites deduplication (same cell = keep better)
tests/test_migration_no_duplicates.py:256
Method
test_migration_validation_passes
Test that migration validation passes after our fixes
tests/test_database.py:597
Method
test_migration_with_empty_islands
Test that migration handles empty islands gracefully
tests/test_island_migration.py:199
Method
test_migration_with_feature_map_conflicts_resolved_cleanly
Test that when migrants compete for same feature cell, resolution is clean
tests/test_migration_no_duplicates.py:230
Method
test_missing_feature_dimension_error
Test that missing feature dimensions raise appropriate errors
tests/test_map_elites_features.py:247
← previous
next →
1,201–1,300 of 1,478, ranked by callers