diff --git a/dist/flatland_rl-3.0.11-py2.py3-none-any.whl b/dist/flatland_rl-3.0.12-py2.py3-none-any.whl similarity index 98% rename from dist/flatland_rl-3.0.11-py2.py3-none-any.whl rename to dist/flatland_rl-3.0.12-py2.py3-none-any.whl index 5657b810e3e198527f664963296d0eb476c56f73..aed1b5dbbcfa071d1f87b9c077f8793eaff8123d 100644 Binary files a/dist/flatland_rl-3.0.11-py2.py3-none-any.whl and b/dist/flatland_rl-3.0.12-py2.py3-none-any.whl differ diff --git a/flatland/__init__.py b/flatland/__init__.py index 18dd381aa78057cd12d17e3287c781b458622d85..933a96a9632f504db34b6e7a0f485ca98984ff35 100644 --- a/flatland/__init__.py +++ b/flatland/__init__.py @@ -4,4 +4,4 @@ __author__ = """S.P. Mohanty""" __email__ = 'mohanty@aicrowd.com' -__version__ = '3.0.11' +__version__ = '3.0.12' diff --git a/flatland/evaluators/aicrowd_helpers.py b/flatland/evaluators/aicrowd_helpers.py index 2c18deb343667ffc05af290d4f7c19205977fc3c..8e8b6710900c9c7a4778a7c63734da9f5d72b0ae 100644 --- a/flatland/evaluators/aicrowd_helpers.py +++ b/flatland/evaluators/aicrowd_helpers.py @@ -20,7 +20,7 @@ import pathlib ############################################################### AWS_ACCESS_KEY_ID = os.getenv("AWS_ACCESS_KEY_ID", False) AWS_SECRET_ACCESS_KEY = os.getenv("AWS_SECRET_ACCESS_KEY", False) -S3_UPLOAD_PATH_TEMPLATE = os.getenv("S3_UPLOAD_PATH_TEMPLATE", "misc/flatland-rl-Media/{}") +S3_UPLOAD_PATH_TEMPLATE = os.getenv("S3_UPLOAD_PATH_TEMPLATE", "misc/flatland-rl-Media/{}.mp4") S3_BUCKET = os.getenv("S3_BUCKET", "aicrowd-production") S3_BUCKET_ACL = "public-read" if S3_BUCKET == "aicrowd-production" else "" @@ -55,7 +55,7 @@ def is_grading(): def get_submission_id(): - submission_id = os.getenv("AICROWD_EVALUATION_NAME", f"testflatland-3-T12345-XXXX").split('-')[-2] + submission_id = os.getenv("AICROWD_SUBMISSION_ID", "T12345") return submission_id diff --git a/setup.cfg b/setup.cfg index 4f705c2485a1314f3a95a66636e239181d8f0eb5..e2ed6ae10d512d42578d3930e77728b9dec65890 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.0.11 +current_version = 3.0.12 commit = True tag = True diff --git a/setup.py b/setup.py index 83a2550c33109562b2ed268a30e6170ab23cf80d..856d35f643727b89b9329c15044a96ffd051d8c3 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.11', + version='3.0.12', zip_safe=False, )