Closed MarcCote closed 5 years ago
The test failure is:
ERROR: test_coin_collector.test_making_coin_collector
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/home/travis/build/microsoft/TextWorld/textworld/challenges/tests/test_coin_collector.py", line 23, in test_making_coin_collector
game = make(settings, options)
File "/home/travis/build/microsoft/TextWorld/textworld/challenges/coin_collector.py", line 72, in make
options.grammar.allowed_variables_numbering = settings["force_entity_numbering"]
KeyError: 'force_entity_numbering'
Not sure if it is the right way for enforcing the --entity-numbering
but that's clear to the user.
Fixed.
Currently,
tw-make tw-coin_collector --level 100
is trying to generate a game with quest length of 0 (which is incorrect). This PR fixes #163.