def METHOD_NAME():
    def randomized_friction(q):
        """Randomize with fixed input/output."""
        np.random.seed(int(abs(np.sum(q)) * 1000))
        return 2 + np.sin(q) + np.random.rand(len(q))
    yield randomized_friction