Skip to content

Commit b520ca5

Browse files
committed
Force specific instance specification in task generation
1 parent b3af8a6 commit b520ca5

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/browsergym/workarena/tasks/scripts/generate_dashboard_configs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def get_all_configs_by_url(url, is_report):
231231
if __name__ == "__main__":
232232

233233
# XXX: Make sure to specific the exact instance on which to generate configs (and not use a random one)
234+
raise NotImplementedError("Make sure to specific instance URL and credentials below, then comment this line.")
234235
instance = SNowInstance(snow_url=None, snow_credentials=None)
235236

236237
reports = get_report_urls(instance)

src/browsergym/workarena/tasks/scripts/navigation.py renamed to src/browsergym/workarena/tasks/scripts/generate_navigation_tasks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66

77

88
def get_all_impersonation_users():
9-
instance = SNowInstance()
9+
raise NotImplementedError("Make sure to specific instance URL and credentials below, then comment this line.")
10+
instance = SNowInstance(snow_url=None, snow_credentials=None)
1011
candidate_users = [
1112
u["first_name"] + " " + u["last_name"]
1213
for u in table_api_call(

0 commit comments

Comments
 (0)