code: def _spec_never_dup(spec: ParameterSpec) -> bool:
      if spec.is_nested():
          return False  # "not chosen" duplicates with "not chosen"
      if spec.categorical or spec.q is not None:
          return False
      if spec.normal_distributed:
          return spec.sigma > 0
      else:
          return spec.low < spec.high
  
file_path: nni/nni/common/hpo_utils/dedup.py
imports: from __future__ import annotations
  import logging
  import typing
  import nni
  from .formatting import FormattedParameters, FormattedSearchSpace, ParameterSpec, deformat_parameters
label_desc: Use image node_id 1 for calling a global function with example usage: _spec_never_dup(spec) and returns: False, False, unknown, unknown