microsoft / jericho

A learning environment for man-made Interactive Fiction games.
GNU General Public License v2.0
257 stars 42 forks source link

`textworld_clean_observation` is pruning one character too many. #18

Closed MarcCote closed 4 years ago

MarcCote commented 4 years ago

This PR fixes an issue within the function textworld_clean_observation where the last character of the observation string is always pruned.

@mhauskn if you can bump Jericho's version number that would be great. This fix is needed for https://github.com/microsoft/TextWorld/pull/185. Thanks.