Guanzhong Chen
Guanzhong Chen
We should add some unit tests to ensure all checkers are working as expected in dmoj/tests, not just `standard`. Note: A simple unit test has way less overhead than creating...
We can replace all legacy `%`-formatting and the majority of the slightly newer `.format` formatting with f-strings. This is a bit of a long term project and we don't expect...
We should support more graceful handling of judge shutdowns, to avoid random disconnection causing errors. Proposal: * `SIGTERM` maps to submission abort. If no submission is grading, exits immediately. Otherwise,...
Allowed syscalls should be audited, and those that are not necessary in the majority of cases, or are potentially dangerous will be removed from `chroot.py`. Before `get_security` was implemented for...
We should add a unittest that compiles this simple program via the system gcc used to compile cptbox, and then run it under cptbox: ```c #define _GNU_SOURCE #include #include #include...
Since the addition of #203, it becomes possible to have add shell scripts as a valid language.
These are the changes required to get the test site to start. We should probably do a far more thorough testing with a database dump import before we deploy this...
As stated in future actions after #904, it is possible to simply mutate the cached global submission statistics whenever a new submission is made to keep the live update working....
This could be beneficial to `TEXT` submissions and would have been useful for certain languages that required line numbers to be indented and aligned. However, this is a significant behaviour...
Refs #1493. This is very much a work in progress.