diff --git a/dist/flatland_rl-3.0.10-py2.py3-none-any.whl b/dist/flatland_rl-3.0.11-py2.py3-none-any.whl similarity index 98% rename from dist/flatland_rl-3.0.10-py2.py3-none-any.whl rename to dist/flatland_rl-3.0.11-py2.py3-none-any.whl index d7af491e6c0125f9c650c04e6a2facbdc2c49be8..5657b810e3e198527f664963296d0eb476c56f73 100644 Binary files a/dist/flatland_rl-3.0.10-py2.py3-none-any.whl and b/dist/flatland_rl-3.0.11-py2.py3-none-any.whl differ diff --git a/flatland/__init__.py b/flatland/__init__.py index 0ddc6e049944a57607190fd3e9214f802b8d0ad2..18dd381aa78057cd12d17e3287c781b458622d85 100644 --- a/flatland/__init__.py +++ b/flatland/__init__.py @@ -4,4 +4,4 @@ __author__ = """S.P. Mohanty""" __email__ = 'mohanty@aicrowd.com' -__version__ = '3.0.10' +__version__ = '3.0.11' diff --git a/flatland/evaluators/service.py b/flatland/evaluators/service.py index 1afa089e5766465ff5b7206b57d2e3e65652e37d..3723e9fa2401e0ac725cbb409efae6e4aac31cab 100644 --- a/flatland/evaluators/service.py +++ b/flatland/evaluators/service.py @@ -1172,8 +1172,9 @@ class FlatlandRemoteEvaluationService: _command_response['type'] = messages.FLATLAND_RL.ENV_SUBMIT_RESPONSE _payload = {} _payload['mean_reward'] = mean_reward - _payload['mean_normalized_reward'] = mean_normalized_reward + _payload['sum_normalized_reward'] = sum_normalized_reward _payload['mean_percentage_complete'] = mean_percentage_complete + _payload['mean_normalized_reward'] = mean_normalized_reward _command_response['payload'] = _payload self.send_response(_command_response, command) @@ -1370,7 +1371,7 @@ class FlatlandRemoteEvaluationService: """ print("Overall Message Queue Latency : ", np.array(MESSAGE_QUEUE_LATENCY).mean()) - self.handle_env_submit(command) + return self.handle_env_submit(command) else: _error = self._error_template( diff --git a/setup.cfg b/setup.cfg index f68fdfaff4e3481ce4deac740c00d35959e6ea0d..4f705c2485a1314f3a95a66636e239181d8f0eb5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.0.10 +current_version = 3.0.11 commit = True tag = True diff --git a/setup.py b/setup.py index ad7cbeb873b10ba1f329707463f4ef631812ab4b..83a2550c33109562b2ed268a30e6170ab23cf80d 100644 --- a/setup.py +++ b/setup.py @@ -80,6 +80,6 @@ setup( test_suite='tests', tests_require=test_requirements, url='https://gitlab.aicrowd.com/flatland/flatland', - version='3.0.10', + version='3.0.11', zip_safe=False, )