From 232c4480d47b75fcdb523e5ebb601959c56e40dc Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 16 Nov 2016 10:58:25 +0530 Subject: Fix docstrings, Fix return values of bash evaluator --- yaksh/xmlrpc_clients.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'yaksh/xmlrpc_clients.py') diff --git a/yaksh/xmlrpc_clients.py b/yaksh/xmlrpc_clients.py index 53b8c38..437dbcb 100644 --- a/yaksh/xmlrpc_clients.py +++ b/yaksh/xmlrpc_clients.py @@ -55,7 +55,12 @@ class CodeServerProxy(object): Returns ------- - A json string of a dict: {success: success, err: error message}. + A json string of a dict containing: + {"success": success, "weightage": weightage, "error": error message} + + success - Boolean, indicating if code was executed successfully, correctly + weightage - Float, indicating total weightage of all successful test cases + error - String, error message if success is false """ try: -- cgit