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

Method evaluator

tests/test_api.py:318–319  ·  view source on GitHub ↗
(program_path)

Source from the content-addressed store, hash-verified

316 code = "def fibonacci(n): return n if n <= 1 else fibonacci(n-1) + fibonacci(n-2)"
317
318 def evaluator(program_path):
319 return {"score": 0.5, "correctness": True}
320
321 # Mock the controller
322 with unittest.mock.patch('openevolve.api._run_evolution_async') as mock_async:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected