Flatland issueshttps://gitlab.aicrowd.com/flatland/flatland/-/issues2019-11-08T15:47:34Zhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/295ci profiling fails2019-11-08T15:47:34ZChristian Eichenbergerci profiling failshttps://gitlab.aicrowd.com/flatland/flatland/-/jobs/5242
```Traceback (most recent call last):
File "benchmarks/profile_all_examples.py", line 34, in <module>
profile('examples', entry)
File "benchmarks/profile_all_examples.py", ...https://gitlab.aicrowd.com/flatland/flatland/-/jobs/5242
```Traceback (most recent call last):
File "benchmarks/profile_all_examples.py", line 34, in <module>
profile('examples', entry)
File "benchmarks/profile_all_examples.py", line 24, in profile
cProfile.run('my_func()', sort='time')
File "/builds/flatland/flatland/.tox/profiling/lib/python3.6/cProfile.py", line 16, in run
return _pyprofile._Utils(Profile).run(statement, filename, sort)
File "/builds/flatland/flatland/.tox/profiling/lib/python3.6/profile.py", line 55, in run
prof.run(statement)
File "/builds/flatland/flatland/.tox/profiling/lib/python3.6/cProfile.py", line 95, in run
return self.runctx(cmd, dict, dict)
File "/builds/flatland/flatland/.tox/profiling/lib/python3.6/cProfile.py", line 100, in runctx
exec(cmd, globals, locals)
File "<string>", line 1, in <module>
File "benchmarks/profile_all_examples.py", line 22, in my_func
def my_func(): runpy.run_path(file_in, run_name="__main__")
File "/builds/flatland/flatland/.tox/profiling/lib/python3.6/runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "/builds/flatland/flatland/.tox/profiling/lib/python3.6/runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/builds/flatland/flatland/.tox/profiling/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/builds/flatland/flatland/examples/introduction_flatland_2_1.py", line 6, in <module>
from envs.malfunction_generators import malfunction_from_params
ModuleNotFoundError: No module named 'envs'
ERROR: InvocationError for command /builds/flatland/flatland/.tox/profiling/bin/python benchmarks/profile_all_examples.py (exited with code 1)
___________________________________ summary ____________________________________
ERROR: profiling: commands failed
ERROR: Job failed: command terminated with exit code 1
```https://gitlab.aicrowd.com/flatland/flatland/-/issues/289Document Malfunction Generator2019-11-06T20:46:26ZErik NygrenDocument Malfunction GeneratorAdd introduction to malfunction generators.
What do they do, how to use them and what changed with malfunctionsAdd introduction to malfunction generators.
What do they do, how to use them and what changed with malfunctionshttps://gitlab.aicrowd.com/flatland/flatland/-/issues/287Load env from file2020-06-11T20:51:54ZErik NygrenLoad env from fileWe should only be able to load envs from file through the rail,schedule and malfunction generators.
Thus we should remove the load from file in: `rail_env_utils.py` and `flatland_envs_rail_env_utils.py`We should only be able to load envs from file through the rail,schedule and malfunction generators.
Thus we should remove the load from file in: `rail_env_utils.py` and `flatland_envs_rail_env_utils.py`Erik NygrenErik Nygrenhttps://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/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/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/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/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/225Documentation - Doc string for function to_list2019-10-22T19:35:30ZashivaniDocumentation - Doc string for function to_listhttps://gitlab.aicrowd.com/flatland/flatland/blob/master/flatland/envs/agent_utils.py#L75
Missing doc string for function to_list.https://gitlab.aicrowd.com/flatland/flatland/blob/master/flatland/envs/agent_utils.py#L75
Missing doc string for function to_list.ashivaniashivanihttps://gitlab.aicrowd.com/flatland/flatland/-/issues/223Update Editor2021-07-03T23:04:38ZErik NygrenUpdate EditorCheck the current state and reliability of the editor
- Update to work with current and future versions of flatland
- If this is too big a taks maybe remove?Check the current state and reliability of the editor
- Update to work with current and future versions of flatland
- If this is too big a taks maybe remove?hagrid67hagrid67https://gitlab.aicrowd.com/flatland/flatland/-/issues/218Release submission scoring generator2019-10-22T19:32:32ZErik NygrenRelease submission scoring generatorUpdate and clean up the submission level generator
Release a set of parameters such that local tests can be generated by participantsUpdate and clean up the submission level generator
Release a set of parameters such that local tests can be generated by participantshttps://gitlab.aicrowd.com/flatland/flatland/-/issues/212seed distribution2019-10-22T18:46:42ZErik Nygrenseed distributionAll rail and schedule generators need to get their seed in the same manner as imported rails and schedule from file.
This is to guarantee that to envs do not diverge over time. Important for scoringAll rail and schedule generators need to get their seed in the same manner as imported rails and schedule from file.
This is to guarantee that to envs do not diverge over time. Important for scoringmohantymohantyhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/208Departure and arrival times2019-11-15T19:10:18ZErik NygrenDeparture and arrival times**Story**
Introduce the following schedule parameters for each agent:
- Departure Time: Int latest time an agent should depart from deprature location
- Departure Location: Location where the agent enters the level
- Target Time: Lates...**Story**
Introduce the following schedule parameters for each agent:
- Departure Time: Int latest time an agent should depart from deprature location
- Departure Location: Location where the agent enters the level
- Target Time: Latest arrival time (used only later)
- Target Location: Location where agent leaves the level
These values should be provided by the schedule generator. Maybe it makes sense to store them in the agent itself
**Acceptance Criteria**
- 1v3Christian EichenbergerChristian Eichenbergerhttps://gitlab.aicrowd.com/flatland/flatland/-/issues/206reset() should take initial number of agents and not that of last generated rail2019-11-06T15:55:49ZErik Nygrenreset() should take initial number of agents and not that of last generated railIf we change number of agents, then a reset with new rail generation should try to reset the number of agents to the initial number of agents.If we change number of agents, then a reset with new rail generation should try to reset the number of agents to the initial number of agents.v3https://gitlab.aicrowd.com/flatland/flatland/-/issues/197Tests for updated GlobalObs and TereeObs2019-10-22T19:33:50ZErik NygrenTests for updated GlobalObs and TereeObsUpdate/ make new test to check for correct behavior when agent stacks are presentUpdate/ make new test to check for correct behavior when agent stacks are presenthttps://gitlab.aicrowd.com/flatland/flatland/-/issues/193Provide Information for to make reward shaping2019-10-22T19:34:21ZErik NygrenProvide Information for to make reward shapingI think the environment should return a dict with all (reward) relevant information, such as
agent tried to perform an illeagal move
agent tried to move to an occupied cell
agent reached goal
I think it would also be useful to provide s...I think the environment should return a dict with all (reward) relevant information, such as
agent tried to perform an illeagal move
agent tried to move to an occupied cell
agent reached goal
I think it would also be useful to provide some of the checks in env.step() as functions. for example
def is_valid_move(agent, action) --> boolv3https://gitlab.aicrowd.com/flatland/flatland/-/issues/158Training in Flatland 2.0 Documentation2019-10-16T12:52:04ZErik NygrenTraining in Flatland 2.0 DocumentationWrite document on how to train agents properly in new environment.
Here we need to show how to respect multi speed and malfunctions. These two new features mean that agents cannot act at all time steps. Thus during training we need to re...Write document on how to train agents properly in new environment.
Here we need to show how to respect multi speed and malfunctions. These two new features mean that agents cannot act at all time steps. Thus during training we need to respect this.v3