def compute_fill_first_cost_fn(host_state, weight_properties):
 return (- host_state.free_ram_mb)

def compute_fill_first_cost_fn ( host_state , weight_properties ) : return ( - host_state . free_ram_mb )
higher weights win .