Allows passing C_end as 0 for integer tunes for example, which ensures that no matter the iteration number, C_curr will be exactly 0.50. This is useful for tuning very small numbers which have great impact, like depths, or impactful but small weights.
The formula for C_curr is C_end x (total_iters/curr_iters)^Gamma, where Gamma is usually 0.101
Authors may choose to update them for their own branches, but they are uploaded here for safe keeping. IE a semi-central location where a cloner can setup their engine to play against others easily
The output binary is saved alongside the makefile initially, and moved after the fact. This was done to account for Windows and cross-drive issues due to temp filesystems. Because we are saving alongside the makefile, we can just use a relative path, ie the basename of the engine binary, to avoid possible issues in some engine build scripts.
Also, check process exitcode instead of just checking for the binary when building
Also, pretty-print the compiler error, even though it is sent to the server
using Make to tell the compiler to produce a binary to the /Engines/ dir fails on Windows when the tmpfs is not on the same disk as the Client. This might have also occured on Windows. shutil resolves that.
Take extra care to always maintain the possible .exe extension on files when doing this. This is done twice in the shutil line; first making sure to pickup the true file output name, and secondly to only use the root of the out_path and not the basename
For unclear reasons, multiple Result objects can be created with the same test and machine, despite the ideal situation in that no machine is ever concurrently talking to the server.
In the event a duplicate occurs, all future requests would have created an additional duplicate, as Django objects obtained via .get() expect EXACTLY one response.
It is unclear how this race condition could have occured in practice