lucy test

Runs tests for a TASK_ID in a CONTEST_ID for a SITE. If --test-id is not set, all tests are run.

lucy test AtCoder ABC353 A 1

Use the -d flag to show the diff for WA verdicts. Once enabled, the matching tokens will be colored green while the differing implementation output tokens will be colored red. Any extra tokens will be annotated with a ~ symbol and colored yellow while the missing tokens will be shown with a yellow ?. Any extra output lines will be annotated with a (-) suffix and any missing output lines will be annotated with a (+) prefix.

Usage

Usage: lucy test [OPTIONS] [[AtCoder]] [CONTEST_ID] [TASK_ID]

Arguments

  • site:

    • Type: Choice(['AtCoder'])
    • Default: None
    • Usage: site
  • contest_id:

    • Type: STRING
    • Default: None
    • Usage: contest_id
  • task_id:

    • Type: STRING
    • Default: None
    • Usage: task_id

Options

  • test_id:

    • Type: INT
    • Default: None
    • Usage: -ti --test-id

    Select a specific test_id

  • continue_:

    • Type: BOOL
    • Default: False
    • Usage: -c --continue

    Do not stop on a WA verdict.

  • active:

    • Type: BOOL
    • Default: False
    • Usage: -ac --active

    Determine target from current directory.

  • verbose:

    • Type: BOOL
    • Default: False
    • Usage: -v --verbose

    Print debug information.

  • diff:

    • Type: BOOL
    • Default: False
    • Usage: -d --diff

    Show diff for WA verdicts.

  • help:

    • Type: BOOL
    • Default: False
    • Usage: --help

    Show this message and exit.

CLI Help

Usage: lucy test [OPTIONS] [[AtCoder]] [CONTEST_ID] [TASK_ID]

  Runs tests for a TASK_ID in a CONTEST_ID for a SITE. If --test-id is not
  set, all tests are run.

      lucy test AtCoder ABC353 A 1

  Use the `-d` flag to show the diff for WA verdicts. Once enabled, the
  matching tokens will be colored `green` while the differing implementation
  output tokens will be colored `red`. Any extra tokens will be annotated with
  a `~` symbol and colored `yellow` while the missing tokens will be shown
  with a `yellow ?`. Any extra output lines will be annotated with a `(-)`
  suffix and any missing output lines will be annotated with a `(+)` prefix.

Options:
  -ti, --test-id INTEGER  Select a specific `test_id`
  -c, --continue          Do not stop on a `WA` verdict.
  -ac, --active           Determine target from current directory.
  -v, --verbose           Print debug information.
  -d, --diff              Show diff for WA verdicts.
  --help                  Show this message and exit.