zscoder's blog

By zscoder, history, 9 years ago, In English

I keep getting this message when I try to package the problem in polygon :

PackageException: There exists a test where checker crashes.

Why does this error show up?

(I'm using the standard checker that compares sequences of integers)

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by zscoder (previous revision, new revision, compare).

»
9 years ago, # |
  Vote: I like it +8 Vote: I do not like it

Probably there is a test where the model solution outputs non-digit characters or the overflow happens.

You can run the invocation of the model solution or use the "preview tests" page in order to find a detailed feedback for each test and find out what's wrong.

  • »
    »
    9 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    I ran my model solution with all my testcase, and nothing is wrong. However, the message still shows.

    Also, how do you insert photos to a problem statement.

    • »
      »
      »
      9 years ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      It happened to me several times, I think it's a bug in Polygon as nothing was wrong. Just build the package once more and it will be successful. If not, write to Mike.

      • »
        »
        »
        »
        9 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        I build the package ~10 times and wasted about 1 hour :(

        • »
          »
          »
          »
          »
          9 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          One more thing you can try is to disable Verify checkbox. We had such troubles with interactive problems — they are not built when Verify is enabled. But standard problems always worked with Verify.

          • »
            »
            »
            »
            »
            »
            9 years ago, # ^ |
              Vote: I like it 0 Vote: I do not like it

            Apparently my packaging for other problems also fail with the same reason. Hope this is just a bug.

»
9 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

It means that there exists such output that your checker fails or returns obiously incorrect result. Say, if output is a single random integer about ~10^18 then expected verdicts are WA/PE (probably, OK if your problem is very unusual).

During verification Polygon uses a predefined set of different outputs to verify that checker returns expected verdicts on each of them.

P.S. Please, write me the problem id in Polygon.