diff options
Diffstat (limited to 'kpov_judge')
-rw-r--r-- | kpov_judge/README.txt | 2 | ||||
-rwxr-xr-x | kpov_judge/run_test.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/kpov_judge/README.txt b/kpov_judge/README.txt index 82d5cbd..b075231 100644 --- a/kpov_judge/README.txt +++ b/kpov_judge/README.txt @@ -96,6 +96,8 @@ Preparing tasks - write a task(...) function which returns a simple string - write a task_check function which simply prints out the parameter results + - write a gen_params(user_id, params_meta) function + - run test_task -g to test gen_params and set the initial task parameters - debug everything you have created so far by performing the task and running test_task.py as many times as needed - write the task_check and gen_params functions diff --git a/kpov_judge/run_test.py b/kpov_judge/run_test.py index 2a2155b..7962a07 100755 --- a/kpov_judge/run_test.py +++ b/kpov_judge/run_test.py @@ -44,7 +44,7 @@ def auth_open(url, username, password): # Now all calls to urllib2.urlopen use our opener. urllib2.install_opener(opener) -def load_checker(request): +def load_checker(response): source = response.read() t = compile(source, 'task.py', 'exec') exec(t) |