MCPcopy Index your code
hub / github.com/algorithmicsuperintelligence/openevolve / get

Method get

openevolve/database.py:370–380  ·  view source on GitHub ↗

Get a program by ID Args: program_id: Program ID Returns: Program or None if not found

(self, program_id: str)

Source from the content-addressed store, hash-verified

368 return program.id
369
370 def get(self, program_id: str) -> Optional[Program]:
371 """
372 Get a program by ID
373
374 Args:
375 program_id: Program ID
376
377 Returns:
378 Program or None if not found
379 """
380 return self.programs.get(program_id)
381
382 def sample(self, num_inspirations: Optional[int] = None) -> Tuple[Program, List[Program]]:
383 """

Callers 15

store_artifactsMethod · 0.95
get_artifactsMethod · 0.95
load_evolution_dataFunction · 0.80
dataFunction · 0.80
program_pageFunction · 0.80
visualizer.pyFile · 0.80
_list_tasksFunction · 0.80
api_task_detailFunction · 0.80
api_task_answerFunction · 0.80
sample_from_islandMethod · 0.80

Calls

no outgoing calls