Evalkeeper
    Preparing search index...

    Function wordPairs

    • Pairs expected items with actual ones by shared content words, best overlap first, one to one. The fallback when no judge model is set: it misses paraphrases, so a meaning judge is better.

      Parameters

      • expected: string[]
      • actual: string[]
      • minShare: number = 0.5

        Share of an expected item's words the actual one must have.

      Returns { actual: number; expected: number; why: string }[]