MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/openevolve / SerializableResult

Class SerializableResult

openevolve/process_parallel.py:25–36  ·  view source on GitHub ↗

Result that can be pickled and sent between processes

Source from the content-addressed store, hash-verified

23
24@dataclass
25class SerializableResult:
26 """Result that can be pickled and sent between processes"""
27
28 child_program_dict: Optional[Dict[str, Any]] = None
29 parent_id: Optional[str] = None
30 iteration_time: float = 0.0
31 prompt: Optional[Dict[str, str]] = None
32 llm_response: Optional[str] = None
33 artifacts: Optional[Dict[str, Any]] = None
34 iteration: int = 0
35 error: Optional[str] = None
36 target_island: Optional[int] = None # Island where child should be placed
37
38
39def _worker_init(config_dict: dict, evaluation_file: str, parent_env: dict = None) -> None:

Callers 3

run_testMethod · 0.90
_run_iteration_workerFunction · 0.85

Calls

no outgoing calls

Tested by 2

run_testMethod · 0.72