Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Flatland
Flatland
Commits
a9651ac3
Commit
a9651ac3
authored
Jan 12, 2022
by
nimishsantosh107
Browse files
Bump version 3.0.10 → 3.0.11, fixes to service.py for exiting gracefully
parent
48d939e3
Pipeline
#9616
failed with stages
in 7 minutes and 15 seconds
Changes
5
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
dist/flatland_rl-3.0.1
0
-py2.py3-none-any.whl
→
dist/flatland_rl-3.0.1
1
-py2.py3-none-any.whl
View file @
a9651ac3
No preview for this file type
flatland/__init__.py
View file @
a9651ac3
...
...
@@ -4,4 +4,4 @@
__author__
=
"""S.P. Mohanty"""
__email__
=
'mohanty@aicrowd.com'
__version__
=
'3.0.1
0
'
__version__
=
'3.0.1
1
'
flatland/evaluators/service.py
View file @
a9651ac3
...
...
@@ -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
(
...
...
setup.cfg
View file @
a9651ac3
[bumpversion]
current_version = 3.0.1
0
current_version = 3.0.1
1
commit = True
tag = True
...
...
setup.py
View file @
a9651ac3
...
...
@@ -80,6 +80,6 @@ setup(
test_suite
=
'tests'
,
tests_require
=
test_requirements
,
url
=
'https://gitlab.aicrowd.com/flatland/flatland'
,
version
=
'3.0.1
0
'
,
version
=
'3.0.1
1
'
,
zip_safe
=
False
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment