Does trajectories success?
njucckevin opened this issue · comments
Hi, thanks for the nice work!
I downloaded the trajectories you provided in https://drive.google.com/file/d/1CnM3GF4kTAMZkGFasSXZ4Z2n5eiV8M9Z/view?usp=sharing. I found that some of the trajectory may lead to a -1.0 reward. However, the trajectory is marked as success in the filename.
For example, for enter-date task, the trajectory you provided looks like:
agent.click_xpath("//*[@id='tt']")
agent.press("arrowleft")
agent.press("arrowleft")
agent.type('10/11/2011')
agent.click_xpath("//*[@id='subbtn']")
However, these steps can not complete the task and result in a -1.0 reward.
Looking forward to your reply, thank!
Thanks. The date format in MiniWoB is related to the system setting. The exemplars here are using the US date format. I guess your operating system is not using en_US.UTF-8
as date format.
That sounds reasonable. So do you know how to set the miniwob environment to the en_US.UTF-8? After clone the code of Synapse, what should I do?
Here is how to set the date format in Ubuntu.
- Open a terminal.
- Check current locale settings with the command:
locale
. - Update the system's locale settings:
- Open
/etc/default/locale
in an editor. - Set
LANG
toLANG="en_US.UTF-8"
. - Set
LANGUAGE
toLANGUAGE="en_US:en"
. - Save and exit the editor.
- Open
- Reboot for changes to take effect.