Newbie Trying to submit SnakeCharmer solution Fail

2 posts Sat, Aug 28, 2021 at 01:44 AM in New Here & Getting Started

Hello, I coded up a solution to the practice SnakeCharmer marathon match.

It works in the java visualizer on my local machine, but when I submit I just get failed submission with no feedback.

My source is properly named SnakeCharmer.cpp and I zip it with no folder like the instructions say.

What am I missing?

Thanks,

Brandon

View: Threaded  |  Flat
+1

Comments

  • 2 posts Sat, Aug 28, 2021 at 01:59 AM

    So, I found the artifact tab on the submission review tab.

    it shows 5 test case scores in the output.

    but the execution file shows an error: (I assume this is an error in the test system unrelated to me, so I'm not crazy)

    2021-08-28 01:16:55 info: Processing the submission 54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae / phase: provisional / type: data
    2021-08-28 01:16:55 info: Started executing DATA type of submission for 54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae | /home/ubuntu/tc-mm-processor/submissions/54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae
    2021-08-28 01:16:55 info: Docker Container Creation Started for 54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae
    2021-08-28 01:16:55 info: Docker Container (1f96fb250ba251a623792eeca20574705f7516692594b8d98478ae7c15faeab6) Creation Completed for 54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae
    2021-08-28 01:16:55 info: Starting Docker Container 1f96fb250ba251a623792eeca20574705f7516692594b8d98478ae7c15faeab6
    2021-08-28 01:16:55 info: Docker Container Started 1f96fb250ba251a623792eeca20574705f7516692594b8d98478ae7c15faeab6
    2021-08-28 01:20:29 info: DATA part of execution is completed
    2021-08-28 01:20:29 info: Getting Logs for Container 1f96fb250ba251a623792eeca20574705f7516692594b8d98478ae7c15faeab6
    2021-08-28 01:20:29 info: Deleting Container 1f96fb250ba251a623792eeca20574705f7516692594b8d98478ae7c15faeab6
    2021-08-28 01:20:29 info: Container Deleted 1f96fb250ba251a623792eeca20574705f7516692594b8d98478ae7c15faeab6
    2021-08-28 01:20:29 info: DATA Testing cycle completed
    2021-08-28 01:20:29 error:
    2021-08-28 01:20:29 error: { Error: ENOENT: no such file or directory, open '/home/ubuntu/tc-mm-processor/submissions/54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae/submission/artifacts/private/current.json'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at Object.handle (/home/ubuntu/tc-mm-processor/src/services/KafkaHandlerService.js:157:34)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    errno: -2,
    syscall: 'open',
    code: 'ENOENT',
    path:
    '/home/ubuntu/tc-mm-processor/submissions/54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae/submission/artifacts/private/current.json' }
    2021-08-28 01:20:29 error: Error: ENOENT: no such file or directory, open '/home/ubuntu/tc-mm-processor/submissions/54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae/submission/artifacts/private/current.json'
    at Object.openSync (fs.js:443:3)
    at Object.readFileSync (fs.js:343:35)
    at Object.handle (/home/ubuntu/tc-mm-processor/src/services/KafkaHandlerService.js:157:34)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    2021-08-28 01:20:29 info: Create Review with Negative Score
    2021-08-28 01:20:29 info: Creating Review for submission 54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae with score -1
    2021-08-28 01:20:29 info: Created Review for submission 54f2d2ef-9cfd-4c06-8348-ebd66bcd92ae with score -1

    +1
  • 198 posts Mon, Aug 30, 2021 at 07:20 AM

    Hey brandonts,
    We are working on fixing this. Will get back to you as soon as it is fixed. :)

    +0
  • 198 posts Thu, Sep 2, 2021 at 10:01 AM

    Hey,
    Can you try and submit again :)

    +0
Sign In or Register to comment.