hezean / sustc

Template for project 2 of SUSTech Principles of Database Systems (CS307 / CS213), 23 fall semester.
http://172.18.34.154
MIT License
22 stars 10 forks source link

[OJ] OJ benchmark not refreshed #102

Closed dequeueing closed 10 months ago

dequeueing commented 10 months ago

Related module

Benchmark

What happened

Hi. I modified my code and in local benchmark, it seemed that I had passed all the points in deleteVideo(). No debugs or wrong answers displayed in the log.

image

image image

In short, I get correct result in local testbench, but not in OJ. I ensure that the uploaded jar is the correct version.

Thanks.

What you expected to happen

OJ grade get updated

How to reproduce

No response

Anything else

No response

hezean commented 10 months ago

please provide the first 8 chars of the submissions you want to compare, if you believe you've submitted the right things

i've downloaded the log of your latest 4 submissions and seems they are identical, since it's unlikely that two jars built from different source code would share a same size

Screenshot 2023-12-28 at 03 05 26 Screenshot 2023-12-28 at 03 05 38
dequeueing commented 10 months ago

please provide the first 8 chars of the submissions you want to compare, if you believe you've submitted the right things

i've downloaded the log of your latest 4 submissions and seems they are identical, since it's unlikely that two jars built from different source code would share a same size

Screenshot 2023-12-28 at 03 05 26 Screenshot 2023-12-28 at 03 05 38

Task ID Latest versoin: [3af17daf] Earlier version: [73f0ae3d]

If these two submissions are identical, there must be some problems with the submitJar application.

Thank you.

hezean commented 10 months ago

yes, these two submissions have different jar files, you may

  1. download the latest small dataset and run again
  2. add some System.out.print or log.fatal in your service method to print the arguments and return values, then check the oj's benchmark-stdout.log attachment
dequeueing commented 10 months ago

yes, these two submissions have different jar files, you may

  1. download the latest small dataset and run again
  2. add some System.out.print or log.fatal in your service method to print the arguments and return values, then check the oj's benchmark-stdout.log attachment

Here is what I have done:

image

image

image

If I cannot get practical feedback in local benchmark, I cannot improve my method. Thanks.

hezean commented 10 months ago

that's weird.. @WhatWEat is it possible for you to take some time tracking on it? i'm having an urgent task and hardly have time recently, many thanks

hezean commented 10 months ago

@dequeueing by the way, can you ask your teammate (if there's one) to submit the work (build jar, zip, and upload to oj) and see compare the report and logs with your submission? we may be hard to fix this without more info since no any other has reported this issue

dequeueing commented 10 months ago

I think one of my problems is that I cannot see the debug info in my terminal though the benchmark is incorrect.

image

image

My application.yml:

image

Another problem is that, in some cases I get all correct result in local benchmark,but oj fails. This makes me feeling hard where to debug.

Thank you.

WhatWEat commented 10 months ago

are you use the professional version of IDEA?

hezean commented 10 months ago

@dequeueing please confirm that the sql file you submitted could properly init the db, we found that some students update their table/function definitions in ide's console, then forget to update the sql file. if the problem still exists, please send your code to me by email for a further inspection

dequeueing commented 10 months ago

@dequeueing please confirm that the sql file you submitted could properly init the db, we found that some students update their table/function definitions in ide's console, then forget to update the sql file. if the problem still exists, please send your code to me by email for a further inspection

Thank you very much.