def get_params_and_defaults(param_list, db):
    """
    Deduce [parameter, default] pairs from simulations available in the db.

    Args:
      param_list (list): List of parameters to query for.
      db (DatabaseManager): Database where to query for defaults.
    """
    return [[p, d] for p, d in db.get_all_values_of_all_params().items()]