tests/unittests/algo/test_evolution_es.py
def rung_0():
    """Create fake points and objectives for rung 0."""
    points = np.linspace(0, 8, 9)
    return dict(
        n_trials=9,
        resources=1,
        results={
            hashlib.md5(str([point]).encode("utf-8")).hexdigest(): (point, (1, point))
            for point in points
        },
    )
Create fake points and objectives for rung 0.
Create fake points and objectives for rung 0.
Create fake points and objectives for rung 0 .
def rung_0():
    points = np.linspace(0, 8, 9)
    return dict(
        n_trials=9,
        resources=1,
        results={
            hashlib.md5(str([point]).encode("utf-8")).hexdigest(): (point, (1, point))
            for point in points
        },
    )
def rung_0 ( ) : points = np . linspace ( 0 , 8 , 9 ) return dict ( n_trials = 9 , resources = 1 , results = { hashlib . md5 ( str ( [ point ] ) . encode ( "utf-8" ) ) . hexdigest ( ) : ( point , ( 1 , point ) ) for point in points } , )
Create fake points and objectives for rung 0.
Create fake points and objectives for rung 0 .
"""Create fake points and objectives for rung 0."""