-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to add proxy-judge feature #34
base: main
Are you sure you want to change the base?
Conversation
Nice! I will take a closer look and do some testing later. A few things I already noticed and would like to change:
Also it would probably be a good idea to change the Compiler table to store the supported compilers for each OJ (though I am still not entirely sure how to integrate this change with current features such as contest compiler banned list or submission search). |
- Add different comment style for all languages - Return JE when exception - Try to add broadcasting
I've made some changes, including rewriting the proxy judge type as an enum. About the UI layout of the problem form, I'm not sure where should the proxy judge option be placed and what should be hidden when the proxy judge option is selected. |
e4952c4
to
f16aea4
Compare
I would like to decouple submission and result fetching, because this way it can tolerate server restart. I did some rewrite to prepare for decoupling (storing proxy judge information in submission table), and also fixed the POJ submission identification issue. |
At this moment Codeforces and POJ are not available for our proxy judge, so I added another proxy judge type QOJ. Also, currently if the user chose the wrong compiler it will be JE, and I think it would be better to ban these compiler when making new submission. I'm not sure where is the best place to put a helper to select the class based on |
I think it works for now. In the future we could probably put this into the compilers DB table, and display the correct compiler information to the users. Also what did you mean by "Codeforces and POJ are not available"? |
Codeforces is now protected (more aggressively) by cloudflare so that one can't just crawl it now. |
An attempt using ActiveJob to add proxy-judge feature for TIOJ.
TODOs