function compileRelevance(mode, _parent) {
    // eslint-disable-next-line no-undefined
    if (mode.relevance === undefined) mode.relevance = 1;
  }
provides the default 1 relevance to all modes
@type {CompilerExt}