code: def add_noise_to_value(value: int, noise_param: float):
      noise_value = value * noise_param
      noise = random.uniform(-noise_value, noise_value)
      return value + noise
  
file_path: allennlp/allennlp/data/samplers/bucket_batch_sampler.py
imports: import logging
  import math
  from typing import List, Iterable, Tuple, Sequence, Optional
  import random
  from allennlp.common.checks import ConfigurationError
  from allennlp.common.util import lazy_groups_of
  from allennlp.data.instance import Instance
  from allennlp.data.samplers.batch_sampler import BatchSampler
label_desc: Use image node_id 1 for calling a global function with example usage: add_noise_to_value(value, noise_param) and returns: unknown