diff --git a/Client/Client.py b/Client/Client.py index 0de3d9b..d3763c6 100644 --- a/Client/Client.py +++ b/Client/Client.py @@ -30,6 +30,7 @@ HTTP_TIMEOUT = 30 # Timeout in seconds for requests WORKLOAD_TIMEOUT = 60 # Timeout when there is no work ERROR_TIMEOUT = 60 # Timeout when an error is thrown GAMES_PER_CONCURRENCY = 32 # Total games to play per concurrency + SAVE_PGN_FILES = False # Auto-save PGN output for engine pairings AUTO_DELETE_ENGINES = True # Delete Engines that are over 24hrs old diff --git a/OpenBench/views.py b/OpenBench/views.py index d9010da..9df10f8 100644 --- a/OpenBench/views.py +++ b/OpenBench/views.py @@ -475,6 +475,14 @@ def clientGetWorkload(request): @not_minified_response def clientWrongBench(request): + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # # + # POST : Inform the server that an Engine reported an incorrect Bench # + # value during the init process for a Test. We stop the Test and # + # log an Error into the Events table to indicate what happened # + # # + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # Verify the User's credentials user = django.contrib.auth.authenticate( username=request.POST['username'], @@ -510,6 +518,13 @@ def clientWrongBench(request): @not_minified_response def clientSubmitNPS(request): + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # # + # POST : Report the speed of the engines in the currently running Test # + # for the User and his Machine. We save this value to display # + # # + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # Verify the User's credentials user = django.contrib.auth.authenticate( username=request.POST['username'], @@ -528,6 +543,14 @@ def clientSubmitNPS(request): @not_minified_response def clientSubmitError(request): + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # # + # POST : Report en Engine error to the server. This could be a crash, a # + # timeloss, a disconnect, or an illegal move. Log the Error into # + # the Events table. # + # # + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + # Verify the User's credentials user = django.contrib.auth.authenticate( username=request.POST['username'],