This code is used to replace the pattern __SHOPPING__ into the correct URL. Is there a way to inspect the replacement post-hoc (after inference) to ensure that tasks were correctly inspected?
Here's the replacement code:
|
for pattern, url_key in { |
|
"__GITLAB__": "gitlab", |
|
"__REDDIT__": "reddit", |
|
"__SHOPPING__": "shopping", |
|
"__SHOPPING_ADMIN__": "shopping_admin", |
|
"__WIKIPEDIA__": "wikipedia", |
|
"__MAP__": "map", |
|
}.items(): |
I have noticed that in many cases a reward of 0 is assigned even though the correct URL was navigated at certain point
This code is used to replace the pattern
__SHOPPING__into the correct URL. Is there a way to inspect the replacement post-hoc (after inference) to ensure that tasks were correctly inspected?Here's the replacement code:
BrowserGym/browsergym/webarena/src/browsergym/webarena/task.py
Lines 56 to 63 in 66cf402
I have noticed that in many cases a reward of 0 is assigned even though the correct URL was navigated at certain point