Skip to content

Recording and reviewing URL replacements #243

@xhluca

Description

@xhluca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions