Flatland issueshttps://gitlab.aicrowd.com/flatland/flatland/-/issues2019-11-06T15:17:42Zhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/286Establish FLATland for multi agent approaches different than RailEnv (not SBB...2019-11-06T15:17:42ZChristian EichenbergerEstablish FLATland for multi agent approaches different than RailEnv (not SBB, aicrowd)mohantymohantyhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/285Cython and static typing for speed-up?2019-11-20T19:07:04ZChristian EichenbergerCython and static typing for speed-up?**Links**
- https://insights.dice.com/2018/06/28/4-fast-python-compilers-better-performance/
- https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.html**Links**
- https://insights.dice.com/2018/06/28/4-fast-python-compilers-better-performance/
- https://cython.readthedocs.io/en/latest/src/tutorial/cython_tutorial.htmlhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/284Remove unnamed Dicts and TypeAliases2019-11-06T14:19:12ZChristian EichenbergerRemove unnamed Dicts and TypeAliases### Story
As a developer, I want all members of data structures to be named so that code has better readability (see #254).
### Acceptance Criteria
- Structured Dicts, Arrays, TypeAliases with unnamed members should be refactored.### Story
As a developer, I want all members of data structures to be named so that code has better readability (see #254).
### Acceptance Criteria
- Structured Dicts, Arrays, TypeAliases with unnamed members should be refactored.https://gitlab.aicrowd.com/flatland/flatland/-/issues/283Remove currying from generators2019-11-06T14:19:27ZChristian EichenbergerRemove currying from generators### Story
As a developer, I want to remove currying from generators so that generators can have multiple methods (and not only one implicit generate, see #254).
### Acceptance Criteria
- Refactoring### Story
As a developer, I want to remove currying from generators so that generators can have multiple methods (and not only one implicit generate, see #254).
### Acceptance Criteria
- Refactoringhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/282Store / persist namedtuples (using pickle / msgpack)2020-06-11T20:40:03ZErik NygrenStore / persist namedtuples (using pickle / msgpack)Malfunction data is stored as named tuple. msgpack turns this into a tuple and we have to make a named tuple out of it again.
Is it possible to save named tuples correctly?
(edited by Jeremy to reflect that pickle can handle named tupl...Malfunction data is stored as named tuple. msgpack turns this into a tuple and we have to make a named tuple out of it again.
Is it possible to save named tuples correctly?
(edited by Jeremy to reflect that pickle can handle named tuples and msgpack cannot)https://gitlab.aicrowd.com/flatland/flatland/-/issues/280set self.direction = None in EnvAgent.reset()2019-11-22T15:38:52ZChristian Baumbergerset self.direction = None in EnvAgent.reset()This should be consistent with self.position = NoneThis should be consistent with self.position = Nonehttps://gitlab.aicrowd.com/flatland/flatland/-/issues/279test scenes for unit tests should to be generated on the fly rather than chec...2020-06-11T20:37:45ZChristian Baumbergertest scenes for unit tests should to be generated on the fly rather than checked into VCS### Story
As a developer, I want RailEnvs for unit tests to be generated on the fly rather than check into VCS so that we always get valid RailEnvs (version compatibility).
### Acceptance Criteria
- Test files Level_distance_map_shortes...### Story
As a developer, I want RailEnvs for unit tests to be generated on the fly rather than check into VCS so that we always get valid RailEnvs (version compatibility).
### Acceptance Criteria
- Test files Level_distance_map_shortest_path.pkl and test_002.pkl which are used in unit tests - test_flatland_envs_rail_env_shortest_paths should be generated on the fly and not committed to version control system.
- Enable unit tests tests test_flatland_envs_rail_env_shortest_paths again
adrian_egliadrian_eglihttps://gitlab.aicrowd.com/flatland/flatland/-/issues/278Errors in Getting Started Doc2020-06-11T20:48:32ZashivaniErrors in Getting Started Doc* [ ] File: https://gitlab.aicrowd.com/flatland/flatland/blob/master/docs/tutorials/02_observationbuilder.rst
- Topic : ## How to access environment and agent data for observation builders
- Transition Map
The...* [ ] File: https://gitlab.aicrowd.com/flatland/flatland/blob/master/docs/tutorials/02_observationbuilder.rst
- Topic : ## How to access environment and agent data for observation builders
- Transition Map
The link in the last line "here_" is wrong.
* [ ] File : https://gitlab.aicrowd.com/flatland/flatland/blob/master/docs/tutorials/02_observationbuilder.rst
- Topic : ## Agent Information - Agent Speed Information
Expected but no link found in the last point.
* [ ] File : https://gitlab.aicrowd.com/flatland/flatland/blob/master/docs/tutorials/03_rail_and_schedule_generator.md
- Topic : ##Sparse Rail Generator
- Comment the explanation part in first code snippet.MasterScratMasterScrathttps://gitlab.aicrowd.com/flatland/flatland/-/issues/272Installation issue windows: FLATland & Conda2019-10-31T12:06:17Zadrian_egliInstallation issue windows: FLATland & CondaInstallation issue windows: FLATland
conda create --name submission-scoring python=3.7
conda activate submission-scoring
conda install -c potassco clingo-dl
python -m pip install "flake8>=3.7.7"
python -m pip install "flake8-eradicate...Installation issue windows: FLATland
conda create --name submission-scoring python=3.7
conda activate submission-scoring
conda install -c potassco clingo-dl
python -m pip install "flake8>=3.7.7"
python -m pip install "flake8-eradicate>=0.2.0"
python -m pip install "pytest>=3.8.2"
python -m pip install "pytest-runner>=4.2"
python -m pip install "flatland-rl>=2.1.8"
python -m pip install "ortools>=7.3"
(submission-scoring) C:\>python -m pip install "flatland-rl>=2.1.8"
Collecting flatland-rl>=2.1.8
Downloading https://files.pythonhosted.org/packages/5d/f0/63eed9a8bd4f374c1d3a1f4ef11399acded36012d80a70bbdddabe480a37/flatland-rl-2.1.8.tar.gz (2.5MB)
|████████████████████████████████| 2.5MB 2.2MB/s
ERROR: Command errored out with exit status 1:
command: 'C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\u216993\\AppData\\Local\\Temp\\pip-install-p425byoh\\flatland-rl\\setup.py'"'"'; __file__='"'"'C:\\Users\\u216993\\AppData\\Local\\Temp\\pip-install-p425byoh\\flatland-rl\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\u216993\AppData\Local\Temp\pip-install-p425byoh\flatland-rl\pip-egg-info'
cwd: C:\Users\u216993\AppData\Local\Temp\pip-install-p425byoh\flatland-rl\
Complete output (292 lines):
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\gym-0.14.0-py3.7.egg
Searching for ushlex
Reading https://pypi.org/simple/ushlex/
Downloading https://files.pythonhosted.org/packages/48/e0/33fa11058c8efc51ba3520ceb85c9fa0c5e42ce414b885fcd5e12132d13b/ushlex-0.99.1.tar.gz#sha256=6d681561545a9781430d5254eab9a648bade78c82ffd127d56c9228ae8887d46
Best match: ushlex 0.99.1
Processing ushlex-0.99.1.tar.gz
Writing C:\Users\u216993\AppData\Local\Temp\easy_install-bqa60o_f\ushlex-0.99.1\setup.cfg
Running ushlex-0.99.1\setup.py -q bdist_egg --dist-dir C:\Users\u216993\AppData\Local\Temp\easy_install-bqa60o_f\ushlex-0.99.1\egg-dist-tmp-82vyfsgp
File "build\bdist.win-amd64\egg\ushlex.py", line 59
print 'shlex: reading from %s, line %d' \
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('shlex: reading from %s, line %d' \)?
zip_safe flag not set; analyzing archive contents...
Copying ushlex-0.99.1-py3.7.egg to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\ushlex-0.99.1-py3.7.egg
Searching for timeout-decorator>=0.4.1
Reading https://pypi.org/simple/timeout-decorator/
Downloading https://files.pythonhosted.org/packages/07/1c/0d9adcb848f1690f3253dcb1c1557b6cf229a93e724977cb83f266cbd0ae/timeout-decorator-0.4.1.tar.gz#sha256=1a5e276e75c1c5acbf3cdbd9b5e45d77e1f8626f93e39bd5115d68119171d3c6
Best match: timeout-decorator 0.4.1
Processing timeout-decorator-0.4.1.tar.gz
Writing C:\Users\u216993\AppData\Local\Temp\easy_install-lbnt9_sa\timeout-decorator-0.4.1\setup.cfg
Running timeout-decorator-0.4.1\setup.py -q bdist_egg --dist-dir C:\Users\u216993\AppData\Local\Temp\easy_install-lbnt9_sa\timeout-decorator-0.4.1\egg-dist-tmp-w96n28lh
zip_safe flag not set; analyzing archive contents...
Copying timeout_decorator-0.4.1-py3.7.egg to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\timeout_decorator-0.4.1-py3.7.egg
Searching for importlib-resources>=1.0.1
Reading https://pypi.org/simple/importlib-resources/
Downloading https://files.pythonhosted.org/packages/2f/f7/b4aa02cdd3ee7ebba375969d77c00826aa15c5db84247d23c89522dccbfa/importlib_resources-1.0.2-py2.py3-none-any.whl#sha256=6e2783b2538bd5a14678284a3962b0660c715e5a0f10243fd5e00a4b5974f50b
Best match: importlib-resources 1.0.2
Processing importlib_resources-1.0.2-py2.py3-none-any.whl
Installing importlib_resources-1.0.2-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\importlib_resources-1.0.2-py3.7.egg
Searching for pyarrow>=0.13.0
Reading https://pypi.org/simple/pyarrow/
Downloading https://files.pythonhosted.org/packages/00/07/020b6758d6c8ff6ad6a45a4876ddde609d1375cb66ef01e74cdbd527a266/pyarrow-0.15.0-cp37-cp37m-win_amd64.whl#sha256=dc5d605cb5403ec92e1467f8f19bcc733ce763765f0236334181dcfd150c2216
Best match: pyarrow 0.15.0
Processing pyarrow-0.15.0-cp37-cp37m-win_amd64.whl
Installing pyarrow-0.15.0-cp37-cp37m-win_amd64.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\pyarrow-0.15.0-py3.7-win-amd64.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\pyarrow-0.15.0-py3.7-win-amd64.egg
Searching for svgutils>=0.3.1
Reading https://pypi.org/simple/svgutils/
Downloading https://files.pythonhosted.org/packages/79/da/4f7a31a55c247e304a338716e75d761f3dc9b50b220fcfaad7398668367e/svgutils-0.3.1-py2.py3-none-any.whl#sha256=6c136225fd210b844a2a90011563195fba4968d2d5cc96e737784a4728850f3a
Best match: svgutils 0.3.1
Processing svgutils-0.3.1-py2.py3-none-any.whl
Installing svgutils-0.3.1-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\svgutils-0.3.1-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\svgutils-0.3.1-py3.7.egg
Searching for msgpack-numpy>=0.4.4.0
Reading https://pypi.org/simple/msgpack-numpy/
Downloading https://files.pythonhosted.org/packages/c8/ab/09904a909bccc471f219fb8f5d0838cbcb10cc26089a2b29e84c893e216e/msgpack_numpy-0.4.4.3-py2.py3-none-any.whl#sha256=ae5f04d4a2274d14549dd057f3ae03a0523700a13dae3e906ddaf2a6d2844400
Best match: msgpack-numpy 0.4.4.3
Processing msgpack_numpy-0.4.4.3-py2.py3-none-any.whl
Installing msgpack_numpy-0.4.4.3-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\msgpack_numpy-0.4.4.3-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\msgpack_numpy-0.4.4.3-py3.7.egg
Searching for msgpack>=0.6.1
Reading https://pypi.org/simple/msgpack/
Downloading https://files.pythonhosted.org/packages/41/0a/49b522c5b23006d60669ec8dc97558e91880673e170108e0e9e21fc452e3/msgpack-0.6.2-cp37-cp37m-win_amd64.whl#sha256=1904b7cb65342d0998b75908304a03cb004c63ef31e16c8c43fee6b989d7f0d7
Best match: msgpack 0.6.2
Processing msgpack-0.6.2-cp37-cp37m-win_amd64.whl
Installing msgpack-0.6.2-cp37-cp37m-win_amd64.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\msgpack-0.6.2-py3.7-win-amd64.egg
Searching for CairoSVG>=2.3.1
Reading https://pypi.org/simple/CairoSVG/
Downloading https://files.pythonhosted.org/packages/8e/3a/762f9272c20db092f4d537aaf364dd0770ecf8f7101b58c4e933e99ee2f6/CairoSVG-2.4.2-py3-none-any.whl#sha256=9cb1df7e9bc60f75fb87f67940a8fb805aad544337a67a40b67c05cfe33711a2
Best match: CairoSVG 2.4.2
Processing CairoSVG-2.4.2-py3-none-any.whl
Installing CairoSVG-2.4.2-py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\CairoSVG-2.4.2-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\cairosvg-2.4.2-py3.7.egg
Searching for Pillow>=5.4.1
Reading https://pypi.org/simple/Pillow/
Downloading https://files.pythonhosted.org/packages/70/f4/9dd0b7b0fea09cf4e7a2822031f2157f40d41f0252a89558bdb583e24ef1/Pillow-6.2.1-cp37-cp37m-win_amd64.whl#sha256=6c1db03e8dff7b9f955a0fb9907eb9ca5da75b5ce056c0c93d33100a35050281
Best match: Pillow 6.2.1
Processing Pillow-6.2.1-cp37-cp37m-win_amd64.whl
Installing Pillow-6.2.1-cp37-cp37m-win_amd64.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\pillow-6.2.1-py3.7-win-amd64.egg
Searching for matplotlib>=3.0.2
Reading https://pypi.org/simple/matplotlib/
Downloading https://files.pythonhosted.org/packages/bc/83/146ff950c41e82b527bc8641e7a760b5b3399e8934b01bf1b762b7baafc8/matplotlib-3.2.0rc1-cp37-cp37m-win_amd64.whl#sha256=e8dcb5641ec68e3c4f6b3c390296fb01a4d6e78365e76de4fc563ddfeb973589
Best match: matplotlib 3.2.0rc1
Processing matplotlib-3.2.0rc1-cp37-cp37m-win_amd64.whl
Installing matplotlib-3.2.0rc1-cp37-cp37m-win_amd64.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\matplotlib-3.2.0rc1-py3.7-win-amd64.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\matplotlib-3.2.0rc1-py3.7-win-amd64.egg
Searching for xarray>=0.11.3
Reading https://pypi.org/simple/xarray/
Downloading https://files.pythonhosted.org/packages/7e/84/e1127b7807a1a98da6d977939b11e89cb924b8b6d8917d9894eb8f39c230/xarray-0.14.0-py3-none-any.whl#sha256=9a4f97c6a7fdf9a6dd873ac679a86abfa1910263a85774d69bc3c0fa1e7967f5
Best match: xarray 0.14.0
Processing xarray-0.14.0-py3-none-any.whl
Installing xarray-0.14.0-py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\xarray-0.14.0-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\xarray-0.14.0-py3.7.egg
Searching for recordtype>=1.3
Reading https://pypi.org/simple/recordtype/
Downloading https://files.pythonhosted.org/packages/60/9a/835ba329e31aa471a5597c733f7ca0136b3a0622ce01b9e66b40f5909da4/recordtype-1.3-py2.py3-none-any.whl#sha256=69525cdb75b7240f7aa353aa340bfdda128528de24e2a7700ba375687382a8d1
Best match: recordtype 1.3
Processing recordtype-1.3-py2.py3-none-any.whl
Installing recordtype-1.3-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\recordtype-1.3-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\recordtype-1.3-py3.7.egg
Searching for numpy>=1.16.2
Reading https://pypi.org/simple/numpy/
Downloading https://files.pythonhosted.org/packages/e9/dd/a177f27765b1e5f94fa879cbeef61f8807086371d0b6aa232b836d38b78b/numpy-1.17.3-cp37-cp37m-win_amd64.whl#sha256=0b0dd8f47fb177d00fa6ef2d58783c4f41ad3126b139c91dd2f7c4b3fdf5e9a5
Best match: numpy 1.17.3
Processing numpy-1.17.3-cp37-cp37m-win_amd64.whl
Installing numpy-1.17.3-cp37-cp37m-win_amd64.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\numpy-1.17.3-py3.7-win-amd64.egg
Searching for crowdai-api>=0.1.21
Reading https://pypi.org/simple/crowdai-api/
Downloading https://files.pythonhosted.org/packages/0c/ee/55912b05af8994a190280e3281a18720f8d69da02dcb7ff44e1b96974345/crowdai_api-0.1.22.tar.gz#sha256=2a7a2bc54fb90229420fc2ae43148ea78913e11dcc95b129e99380f2b15d0a96
Best match: crowdai-api 0.1.22
Processing crowdai_api-0.1.22.tar.gz
Writing C:\Users\u216993\AppData\Local\Temp\easy_install-ubprqpc_\crowdai_api-0.1.22\setup.cfg
Running crowdai_api-0.1.22\setup.py -q bdist_egg --dist-dir C:\Users\u216993\AppData\Local\Temp\easy_install-ubprqpc_\crowdai_api-0.1.22\egg-dist-tmp-lob14z97
creating c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\crowdai_api-0.1.22-py3.7.egg
Extracting crowdai_api-0.1.22-py3.7.egg to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\crowdai_api-0.1.22-py3.7.egg
Searching for Click>=7.0
Reading https://pypi.org/simple/Click/
Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl#sha256=2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13
Best match: Click 7.0
Processing Click-7.0-py2.py3-none-any.whl
Installing Click-7.0-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\click-7.0-py3.7.egg
Searching for tox>=3.5.2
Reading https://pypi.org/simple/tox/
Downloading https://files.pythonhosted.org/packages/a7/0c/ed234b83d2c4fcef1cfccf97371183d51dafae62e64334de34d0a6333114/tox-3.14.0-py2.py3-none-any.whl#sha256=0bc216b6a2e6afe764476b4a07edf2c1dab99ed82bb146a1130b2e828f5bff5e
Best match: tox 3.14.0
Processing tox-3.14.0-py2.py3-none-any.whl
Installing tox-3.14.0-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\tox-3.14.0-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\tox-3.14.0-py3.7.egg
Searching for cloudpickle~=1.2.0
Reading https://pypi.org/simple/cloudpickle/
Downloading https://files.pythonhosted.org/packages/c1/49/334e279caa3231255725c8e860fa93e72083567625573421db8875846c14/cloudpickle-1.2.2-py2.py3-none-any.whl#sha256=f3ef2c9d438f1553ce7795afb18c1f190d8146132496169ef6aa9b7b65caa4c3
Best match: cloudpickle 1.2.2
Processing cloudpickle-1.2.2-py2.py3-none-any.whl
Installing cloudpickle-1.2.2-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\cloudpickle-1.2.2-py3.7.egg
Searching for pyglet<=1.3.2,>=1.2.0
Reading https://pypi.org/simple/pyglet/
Downloading https://files.pythonhosted.org/packages/1c/fc/dad5eaaab68f0c21e2f906a94ddb98175662cc5a654eee404d59554ce0fa/pyglet-1.3.2-py2.py3-none-any.whl#sha256=8b07aea16f34ac861cffd06a0c17723ca944d172e577b57b21859b7990709a66
Best match: pyglet 1.3.2
Processing pyglet-1.3.2-py2.py3-none-any.whl
Installing pyglet-1.3.2-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\pyglet-1.3.2-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\pyglet-1.3.2-py3.7.egg
Searching for scipy
Reading https://pypi.org/simple/scipy/
Downloading https://files.pythonhosted.org/packages/50/eb/defa40367863304e1ef01c6572584c411446a5f29bdd9dc90f91509e9144/scipy-1.3.1-cp37-cp37m-win_amd64.whl#sha256=a9d606d11eb2eec7ef893eb825017fbb6eef1e1d0b98a5b7fc11446ebeb2b9b1
Best match: scipy 1.3.1
Processing scipy-1.3.1-cp37-cp37m-win_amd64.whl
Installing scipy-1.3.1-cp37-cp37m-win_amd64.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\scipy-1.3.1-py3.7-win-amd64.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\scipy-1.3.1-py3.7-win-amd64.egg
Searching for lxml
Reading https://pypi.org/simple/lxml/
Downloading https://files.pythonhosted.org/packages/bc/87/c3cecadcb5d7924cd71724b177343149cfc3609a89b197a991ac8593ed8c/lxml-4.4.1-cp37-cp37m-win_amd64.whl#sha256=2e8f77db25b0a96af679e64ff9bf9dddb27d379c9900c3272f3041c4d1327c9d
Best match: lxml 4.4.1
Processing lxml-4.4.1-cp37-cp37m-win_amd64.whl
Installing lxml-4.4.1-cp37-cp37m-win_amd64.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\lxml-4.4.1-py3.7-win-amd64.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\lxml-4.4.1-py3.7-win-amd64.egg
Searching for tinycss2
Reading https://pypi.org/simple/tinycss2/
Downloading https://files.pythonhosted.org/packages/94/2c/4e501f9c351343c8ba10d70b5a7ca97cdab2690af043a6e52ada65b85b6b/tinycss2-1.0.2-py3-none-any.whl#sha256=9fdacc0e22d344ddd2ca053837c133900fe820ae1222f63b79617490a498507a
Best match: tinycss2 1.0.2
Processing tinycss2-1.0.2-py3-none-any.whl
Installing tinycss2-1.0.2-py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\tinycss2-1.0.2-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\tinycss2-1.0.2-py3.7.egg
Searching for defusedxml
Reading https://pypi.org/simple/defusedxml/
Downloading https://files.pythonhosted.org/packages/06/74/9b387472866358ebc08732de3da6dc48e44b0aacd2ddaa5cb85ab7e986a2/defusedxml-0.6.0-py2.py3-none-any.whl#sha256=6687150770438374ab581bb7a1b327a847dd9c5749e396102de3fad4e8a3ef93
Best match: defusedxml 0.6.0
Processing defusedxml-0.6.0-py2.py3-none-any.whl
Installing defusedxml-0.6.0-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\defusedxml-0.6.0-py3.7.egg
Searching for cssselect2
Reading https://pypi.org/simple/cssselect2/
Downloading https://files.pythonhosted.org/packages/c4/a1/1a37602bbcfa2f7c079758f31555776a00a947e43457a3e0110b2165c7d9/cssselect2-0.2.2-py2.py3-none-any.whl#sha256=07e9c3b1b52d81dd08b177532bbd6b9ced650d87abfd641f4e4ec7de34b98807
Best match: cssselect2 0.2.2
Processing cssselect2-0.2.2-py2.py3-none-any.whl
Installing cssselect2-0.2.2-py2.py3-none-any.whl to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
writing requirements to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\cssselect2-0.2.2-py3.7.egg\EGG-INFO\requires.txt
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\cssselect2-0.2.2-py3.7.egg
Searching for cairocffi
Reading https://pypi.org/simple/cairocffi/
Downloading https://files.pythonhosted.org/packages/f7/99/b3a2c6393563ccbe081ffcceb359ec27a6227792c5169604c1bd8128031a/cairocffi-1.1.0.tar.gz#sha256=f1c0c5878f74ac9ccb5d48b2601fcc75390c881ce476e79f4cfedd288b1b05db
Best match: cairocffi 1.1.0
Processing cairocffi-1.1.0.tar.gz
Writing C:\Users\u216993\AppData\Local\Temp\easy_install-vb4jn6v9\cairocffi-1.1.0\setup.cfg
Running cairocffi-1.1.0\setup.py -q bdist_egg --dist-dir C:\Users\u216993\AppData\Local\Temp\easy_install-vb4jn6v9\cairocffi-1.1.0\egg-dist-tmp-_spva66x
warning: no previously-included files found matching 'setup.pyc'
warning: no previously-included files matching 'yacctab.*' found under directory 'tests'
warning: no previously-included files matching 'lextab.*' found under directory 'tests'
warning: no previously-included files matching 'yacctab.*' found under directory 'examples'
warning: no previously-included files matching 'lextab.*' found under directory 'examples'
zip_safe flag not set; analyzing archive contents...
pycparser.ply.__pycache__.lex.cpython-37: module references __file__
pycparser.ply.__pycache__.lex.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module references __file__
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.getsourcefile
pycparser.ply.__pycache__.yacc.cpython-37: module MAY be using inspect.stack
pycparser.ply.__pycache__.ygen.cpython-37: module references __file__
Installed c:\users\u216993\appdata\local\temp\easy_install-vb4jn6v9\cairocffi-1.1.0\.eggs\pycparser-2.19-py3.7.egg
package init file 'cairocffi\_generated\__init__.py' not found (or not a regular file)
file cairocffi\_generated\ffi.py (for module cairocffi._generated.ffi) not found
file cairocffi\_generated\ffi_pixbuf.py (for module cairocffi._generated.ffi_pixbuf) not found
file cairocffi\_generated\ffi.py (for module cairocffi._generated.ffi) not found
file cairocffi\_generated\ffi_pixbuf.py (for module cairocffi._generated.ffi_pixbuf) not found
zip_safe flag not set; analyzing archive contents...
cairocffi.__pycache__.__init__.cpython-37: module references __file__
cairocffi.__pycache__.ffi_build.cpython-37: module references __file__
creating c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\cairocffi-1.1.0-py3.7.egg
Extracting cairocffi-1.1.0-py3.7.egg to c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs
Installed c:\users\u216993\appdata\local\temp\pip-install-p425byoh\flatland-rl\.eggs\cairocffi-1.1.0-py3.7.egg
Traceback (most recent call last):
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\shutil.py", line 398, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] Zugriff verweigert: 'C:\\Users\\u216993\\AppData\\Local\\Temp\\easy_install-vb4jn6v9\\cairocffi-1.1.0\\.eggs\\cffi-1.13.1-py3.7-win-amd64.egg\\_cffi_backend.cp37-win_amd64.pyd'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\u216993\AppData\Local\Temp\pip-install-p425byoh\flatland-rl\setup.py", line 84, in <module>
zip_safe=False,
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\dist.py", line 720, in fetch_build_eggs
replace_conflicting=True,
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\pkg_resources\__init__.py", line 782, in resolve
replace_conflicting=replace_conflicting
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\pkg_resources\__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\pkg_resources\__init__.py", line 1077, in obtain
return installer(requirement)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\dist.py", line 787, in fetch_build_egg
return cmd.easy_install(req)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\contextlib.py", line 119, in __exit__
next(self.gen)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\command\easy_install.py", line 643, in _tmpdir
os.path.exists(tmpdir) and rmtree(rmtree_safe(tmpdir))
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\command\easy_install.py", line 2277, in rmtree
return shutil.rmtree(path, ignore_errors, onerror)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\shutil.py", line 516, in rmtree
return _rmtree_unsafe(path, onerror)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\shutil.py", line 395, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\shutil.py", line 395, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\shutil.py", line 395, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\shutil.py", line 400, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File "C:\Users\u216993\AppData\Local\Continuum\miniconda3\envs\submission-scoring\lib\site-packages\setuptools\command\easy_install.py", line 1727, in auto_chmod
return func(arg)
PermissionError: [WinError 5] Zugriff verweigert: 'C:\\Users\\u216993\\AppData\\Local\\Temp\\easy_install-vb4jn6v9\\cairocffi-1.1.0\\.eggs\\cffi-1.13.1-py3.7-win-amd64.egg\\_cffi_backend.cp37-win_amd64.pyd'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.Christian EichenbergerChristian Eichenbergerhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/270Dynamic Programming for TreeObservation2023-08-14T08:23:36ZChristian EichenbergerDynamic Programming for TreeObservationIdea @adrian\_egli Re-use other agents information encountered on the way forward.
The main idea behind this story is to optimise local tree like observation. But also to invent a local to global information flow. The method has to star...Idea @adrian\_egli Re-use other agents information encountered on the way forward.
The main idea behind this story is to optimise local tree like observation. But also to invent a local to global information flow. The method has to start with an agent and continue until all agents have been visited.
Start by selecting a first agent and collect data/information allong its local forward walking paths. Collect all data allong all possible paths up to a maximum distance. The starting cell is the agent's current position.
![image](/uploads/21fe4cb400fa7457a8f26058e85f85ee/image.png)
Forward walk:
![image](/uploads/a8488a5cad7da9ccb19ba7f3fbf2edb1/image.png)
Agents path doesn't have any opposite agent on it's search path.
Continue with another agent. Once the agent visits a cell where an opposite agent is located at, the forward search will be stopped for this path. Then the opposite agent has to takeover. The opposite agent starts searching similar to the previous agent. Thus the opposite agent searchs all local paths. For allagents/search a cell and direction can only be visited once, thus when it was visited before the search stops. And the search path must not be longer than the maximal distance.
![image](/uploads/9ecd439ac60a0d2b3f63de8d5caf12bf/image.png)
Once the "recursive" search has been stopped at maximum distance or at a still visited cell the next algorithmic step begins: Collect the information and save the collected information in an information map with mult- layer. The map has one unique layer for each piece of information (data).
Then walk backward the spanned path. While walking backward (step out of the recursive walk) aggregate the collected information. So we have to implement two principal functions for information gathering: store and summarize information.
![image](/uploads/3a178762fa20a15f21f982b9fde9cc10/image.png)
This image shows for all agents the path and how the information flow.
![image](/uploads/43c1ea7197baf1776336af99ccac15e6/image.png)
Now every agent has full access to the collected information as well as to the collected information.
The observation of the tree search could be optimized or the data could be completely different.
memory required:
n x grid (w x h ) for each "data/information"
=> observation for each agent (vector of lenght v)
Make pattern re-usable to gather information (implement collector and aggregator).adrian_egliadrian_eglihttps://gitlab.aicrowd.com/flatland/flatland/-/issues/268Malfunction correlation ("wrong type of snow")2019-10-30T15:17:25ZChristian EichenbergerMalfunction correlation ("wrong type of snow")### Story
As a **ROLE**, I want **WHAT** so that **PURPOSE**.
### Acceptance Criteria
- Correlation can be introduced on malfunction (when something goes wrong, a lot more goes wrong)### Story
As a **ROLE**, I want **WHAT** so that **PURPOSE**.
### Acceptance Criteria
- Correlation can be introduced on malfunction (when something goes wrong, a lot more goes wrong)https://gitlab.aicrowd.com/flatland/flatland/-/issues/266Malfunction Generators2021-06-30T15:08:19ZErik NygrenMalfunction GeneratorsIn the same manner as we use Rail and Schedule generators we should introduce a Malfunction Generator.
This will be help to easily test different malfunction models in the future. Here we can add more complex malfunction models then the...In the same manner as we use Rail and Schedule generators we should introduce a Malfunction Generator.
This will be help to easily test different malfunction models in the future. Here we can add more complex malfunction models then the currently implemented.
I suggest using the same setup as with the rail and schedule generators. This would also help resolve the problem with saving and loading different parameters from pickle files as we could also write generators for this.Christian EichenbergerChristian Eichenberger2019-11-06https://gitlab.aicrowd.com/flatland/flatland/-/issues/261Clean Up Redundancies in Docs2020-06-11T20:45:44ZErik NygrenClean Up Redundancies in Docs### Story
As a Participant i want o better understand how flatland works. Contraticting infromation in the docs make this hard.
We have to go through all the documentations to guarantee that information is not presented twice with differ...### Story
As a Participant i want o better understand how flatland works. Contraticting infromation in the docs make this hard.
We have to go through all the documentations to guarantee that information is not presented twice with different details.
Also we need to be sure that these concepts are explained to the participants
* [ ] Level Generation
* [ ] Rail and Schedule Generator interplay: Is documented only needs update. [here](http://flatland-rl-docs.s3-website.eu-central-1.amazonaws.com/04_specifications.html#rail-generators-and-schedule-generators)
* [ ] Generate from file: Simple example
* [ ] Sequential execution of steps by agents:
* [ ] This means that even though solutions would be possible in simultaneous execution it might be infeasible with sequential
* [ ] Agent index is thus also kind o a priority. Given the index you can know what agent willg o first
* [ ] Malfunction behavior
* [ ] What happens to agents if they are malfuncitoning at the start (counter only goes down when entered in level)
* [ ] What happens if agent malfunctions in middle of cell and is then restarted [update here](http://flatland-rl-docs.s3-website.eu-central-1.amazonaws.com/04_specifications.html#railenv-malfunctioning-stochasticity)
* [ ] Action space, why is there an action do nothing [update here](http://flatland-rl-docs.s3-website.eu-central-1.amazonaws.com/04_specifications.html#action-space)
* [ ] Observation space. Seem to be present at multiple places and outdated [here](http://flatland-rl-docs.s3-website.eu-central-1.amazonaws.com/04_specifications.html#tree-observation)
* [ ] The observations are also again explained [here](http://flatland-rl-docs.s3-website.eu-central-1.amazonaws.com/04_specifications.html#tree-observation-builder) and seem to be updated here.
* [ ] [This](http://flatland-rl-docs.s3-website.eu-central-1.amazonaws.com/04_specifications.html#rail-generators-and-schedule-generators) leads to alot of redundancies. It is nice and updated but we should remove where it is showing the same infromation again.
### Acceptance Criteria
- Redundancies in Docs are gone
- Test this maybe with outsiders within SBB that have never used the repository
https://gitlab.aicrowd.com/flatland/flatland/-/issues/258Document agent.status and env.done when finishing early2019-10-24T16:10:06ZErik NygrenDocument agent.status and env.done when finishing early### Story
As a TEAM MEMBER, I want clearly document the behavior of `agent.status` and `env.done` so that USERS of Flatland have a clear understanding of the meaning of these parameters.
Meaning of different parameters:
`env.done = TRUE...### Story
As a TEAM MEMBER, I want clearly document the behavior of `agent.status` and `env.done` so that USERS of Flatland have a clear understanding of the meaning of these parameters.
Meaning of different parameters:
`env.done = TRUE` The environment has terminated --> All agents are done or the max_timesteps was achieved
`agent.status=DONE` --> Agent finished its tasks and remains in the environment
`agent.status=DONE_REMOVED` --> Agent finishes its individual task and was removed from the environment.
### Acceptance Criteria
- Documentation in the main documentation about the different cases `done=True` vs `agent.status = DONE or DONE_REMOVE`https://gitlab.aicrowd.com/flatland/flatland/-/issues/257Test for parameter sets of `regenerate_rail` and `regenerate_schedule`2019-10-24T15:38:54ZErik NygrenTest for parameter sets of `regenerate_rail` and `regenerate_schedule`### Story
As a project member, I want to test the behavior of the parameters `regenerate_rail` and `regenerate_schedule` so that we are sure they behave as accepted.
If the rail infrastructure is regenerated we also need to regenerate t...### Story
As a project member, I want to test the behavior of the parameters `regenerate_rail` and `regenerate_schedule` so that we are sure they behave as accepted.
If the rail infrastructure is regenerated we also need to regenerate the schedule as it can not work on any infrastructure.
If the rail infrastructure stays the same, we can still regenerate the schedule and should see different tasks.
Thus the tests should test for
`regenerate_rail regenerate_schedule`
`True True` ==> Both regenerated
`True False` ==> Both regenerated
`False True` ==> Only schedule regenerated
`False False` ==> All stays the same
### Acceptance Criteria
- Test written and green for all above test caseshttps://gitlab.aicrowd.com/flatland/flatland/-/issues/255Synchronization of agent steps2019-10-23T16:07:24ZErik NygrenSynchronization of agent steps### Story
As a Project Member, I want to discuss and update the way steps are executed in agents. Currently each agents action is executed squentially. This means that optimizers struggle to find optimal solutions as there is an asymmetr...### Story
As a Project Member, I want to discuss and update the way steps are executed in agents. Currently each agents action is executed squentially. This means that optimizers struggle to find optimal solutions as there is an asymmetry introduced by the agent index.
We want to change this behavior by removing this assymetry by either:
- There is a minimal release time of each cell (e.g. 1 step). This means that a new agent can only enter a cell when the previous cell has been empty for at least one time step.
- We test for all legal actions sequentially and only update the agent true position after all agents have performed their tests. This however will introduce potential conflicts where multiple agents want to enter the same cell at the same time. This could be regarded as a crash and environment would terminate. This is too much of a change for the current running challenge
### Acceptance Criteria
- We agree as a team on what way to go
- We open an issue to resolve the problem by implementing the discussed solutionhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/252Update Parameters for Submissions2019-11-06T14:38:47ZErik NygrenUpdate Parameters for SubmissionsIf we can resolve the performance issues on the server we should update the parameters used for the submission again to reflect initial parameter set. This means more agents in particular.If we can resolve the performance issues on the server we should update the parameters used for the submission again to reflect initial parameter set. This means more agents in particular.Erik NygrenErik Nygrenhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/248Refactor catch of illegal sparse_rail_generator.py parameters2019-10-25T13:06:01ZErik NygrenRefactor catch of illegal sparse_rail_generator.py parametersWhen paramters are chosen such that less than 2 cities are built we catch this by aborting the construction.
We should refactor how this exception is handled and document it clearly.
[Catch error](https://gitlab.aicrowd.com/flatland/fla...When paramters are chosen such that less than 2 cities are built we catch this by aborting the construction.
We should refactor how this exception is handled and document it clearly.
[Catch error](https://gitlab.aicrowd.com/flatland/flatland/blob/master/flatland/envs/rail_generators.py#L587)https://gitlab.aicrowd.com/flatland/flatland/-/issues/244add new environments, like 2d maze , ... Multiagent and search student course...2019-10-22T18:51:46ZErik Nygrenadd new environments, like 2d maze , ... Multiagent and search student courses where it could be used as teaching toolhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/243Remove info object from the payload being transferred between the server and ...2019-10-16T14:07:28ZmohantyRemove info object from the payload being transferred between the server and the clientmohantymohanty