Polyman Documentation - v2.2.2
    Preparing search index...

    Function startTheComparisonProcess

    • Compares target solution outputs against main solution using checker. Runs checker on all test cases in all testsets and tracks verdicts (WA, TLE, MLE, RTE). Validates that verdicts match the target solution's expected tag. Note: Checker must be compiled before calling this function.

      Parameters

      Returns Promise<void>

      If verdict validation fails

      If main solution has unexpected errors

      // From fullVerification and testSolutionAgainstMainCorrect
      await startTheComparisonProcess(
      config.checker,
      mainSolution,
      waSolution,
      config.testsets
      );