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

    Function fullVerificationAction

    • Performs complete problem verification workflow. Executes all steps: test generation, validator testing, test validation, checker testing, solution execution, and solution verification. This is the main command for validating a complete Polygon problem package.

      Verification steps:

      1. Generate all tests using generators
      2. Run validator self-tests
      3. Validate all generated tests
      4. Run checker self-tests
      5. Execute all solutions on all tests
      6. Verify each solution behaves according to its type (TLE, WA, etc.)

      Returns Promise<void>

      Resolves when full verification completes

      If Config.json is invalid

      If any verification step fails

      If generators, validator, checker, or solutions are missing

      If main-correct solution doesn't exist

      If any solution behaves unexpectedly

      // From CLI: polyman verify
      await fullVerificationAction();
      // Runs complete verification workflow:
      // - Generates tests
      // - Validates tests
      // - Tests checker
      // - Runs all solutions
      // - Verifies all solutions against main-correct