(id, length)
| 191 | |
| 192 | |
| 193 | def generate_random_vector_with_id(id, length): |
| 194 | values = np.random.uniform(-1, 1, length).tolist() |
| 195 | return {"id": id, "values": values} |
| 196 | |
| 197 | |
| 198 | def perturb_vector(vector, perturbation_degree): |
no outgoing calls
no test coverage detected