The jericho environment does not detect invalid actions correctly for any of the games except 905. This means the reported grounding accuracy is way higher than the actual value.
It looks for [! to determine verb errors, but every game handles verb errors differently. Like acorncourt says That's not a verb I recognise., or library says I didn't understand that sentence., or zork1 says I don't know the word X, or loose says "I haven't the slightest idea what you're referring to," murmurs the egg. or "Huh?" The wolf raises an eyebrow., or snacktime says That's not a trick you know.. Partial valid verbs respond with I only understood you as far as wanting to X. I beg your pardon? if you say nothing.
This PR fixes the issue and reports the actual grounding accuracy in Jericho.
The jericho environment does not detect invalid actions correctly for any of the games except
905
. This means the reported grounding accuracy is way higher than the actual value.It looks for
[!
to determine verb errors, but every game handles verb errors differently. Likeacorncourt
saysThat's not a verb I recognise.
, orlibrary
saysI didn't understand that sentence.
, orzork1
saysI don't know the word X
, orloose
says"I haven't the slightest idea what you're referring to," murmurs the egg.
or"Huh?" The wolf raises an eyebrow.
, orsnacktime
saysThat's not a trick you know.
. Partial valid verbs respond withI only understood you as far as wanting to X
.I beg your pardon?
if you say nothing.This PR fixes the issue and reports the actual grounding accuracy in Jericho.