Skip to content

Commit 3b8ccdd

Browse files
committed
RC6
1 parent 2e17e30 commit 3b8ccdd

58 files changed

Lines changed: 3608451 additions & 16082 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
browsergym-core==0.1.0rc5
1+
browsergym-core==0.1.0rc6
22
english-words>=2.0.1
33
numpy>=1.14
44
requests>=2.31

src/browsergym/workarena/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.1.0rc5"
1+
__version__ = "0.1.0rc6"
22

33
from browsergym.core.registration import register_task
44

src/browsergym/workarena/config.py

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
SNOW_DATA_LOOKBACK_MINUTES = 5
88
SNOW_BROWSER_TIMEOUT = 30000 # Milliseconds
99
SNOW_JS_UTILS_FILEPATH = str(resources.files(utils).joinpath("js_utils.js"))
10+
SNOW_SUPPORTED_RELEASES = ["utah"]
1011

1112
# Path to the Menu navigation task configuration
1213
ALL_MENU_PATH = str(resources.files(data_files).joinpath("task_configs/all_menu.json"))
@@ -19,8 +20,6 @@
1920
resources.files(data_files).joinpath("task_configs/impersonation_users.json")
2021
)
2122
# Path to the service catalog configs
22-
23-
2423
ORDER_DEVELOPER_LAPTOP_TASK_CONFIG_PATH = str(
2524
resources.files(data_files).joinpath("task_configs/order_developer_laptop_task.json")
2625
)
@@ -51,7 +50,7 @@
5150

5251
# Knowledge base that is included with the benchmark
5352
KB_NAME = "General Knowledge"
54-
KB_FILEPATH = str(resources.files(data_files).joinpath("setup_files/knowledge_base.json"))
53+
KB_FILEPATH = str(resources.files(data_files).joinpath("setup_files/knowledge/knowledge_base.json"))
5554

5655
# Form tasks
5756
CREATE_CHANGE_REQUEST_CONFIG_PATH = str(
@@ -113,12 +112,54 @@
113112
"kb_publish": {
114113
"name": "WorkArena Auto-Publish",
115114
"update_set": str(
116-
resources.files(data_files).joinpath("setup_files/kb_autopublish_workflow.xml")
115+
resources.files(data_files).joinpath(
116+
"setup_files/knowledge/kb_autopublish_workflow.xml"
117+
)
117118
),
118119
}
119120
}
120121

121-
# Number of columns in the user list; used for setup
122+
# Expected columns for list tasks; used in setup
123+
EXPECTED_ASSET_LIST_COLUMNS_PATH = str(
124+
resources.files(data_files).joinpath("setup_files/lists/expected_asset_list_columns.json")
125+
)
126+
EXPECTED_CHANGE_REQUEST_COLUMNS_PATH = str(
127+
resources.files(data_files).joinpath(
128+
"setup_files/lists/expected_change_request_list_columns.json"
129+
)
130+
)
131+
EXPECTED_HARDWARE_COLUMNS_PATH = str(
132+
resources.files(data_files).joinpath("setup_files/lists/expected_hardware_list_columns.json")
133+
)
134+
EXPECTED_INCIDENT_COLUMNS_PATH = str(
135+
resources.files(data_files).joinpath("setup_files/lists/expected_incident_list_columns.json")
136+
)
137+
EXPECTED_SERVICE_CATALOG_COLUMNS_PATH = str(
138+
resources.files(data_files).joinpath(
139+
"setup_files/lists/expected_service_catalog_list_columns.json"
140+
)
141+
)
122142
EXPECTED_USER_COLUMNS_PATH = str(
123-
resources.files(data_files).joinpath("setup_files/expected_user_columns.json")
143+
resources.files(data_files).joinpath("setup_files/lists/expected_user_list_columns.json")
144+
)
145+
# Expected form fields for form tasks; used in setup
146+
EXPECTED_ASSET_FORM_FIELDS_PATH = str(
147+
resources.files(data_files).joinpath("setup_files/forms/expected_asset_form_fields.json")
148+
)
149+
EXPECTED_CHANGE_REQUEST_FORM_FIELDS_PATH = str(
150+
resources.files(data_files).joinpath(
151+
"setup_files/forms/expected_change_request_form_fields.json"
152+
)
153+
)
154+
EXPECTED_HARDWARE_FORM_FIELDS_PATH = str(
155+
resources.files(data_files).joinpath("setup_files/forms/expected_hardware_form_fields.json")
156+
)
157+
EXPECTED_INCIDENT_FORM_FIELDS_PATH = str(
158+
resources.files(data_files).joinpath("setup_files/forms/expected_incident_form_fields.json")
159+
)
160+
EXPECTED_PROBLEM_FORM_FIELDS_PATH = str(
161+
resources.files(data_files).joinpath("setup_files/forms/expected_problem_form_fields.json")
162+
)
163+
EXPECTED_USER_FORM_FIELDS_PATH = str(
164+
resources.files(data_files).joinpath("setup_files/forms/expected_user_form_fields.json")
124165
)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["work_end", "work_start", "comments", "assigned_to", "assignment_group", "backout_plan", "category", "close_code", "close_notes", "cmdb_ci", "conflict_last_run", "conflict_status", "description", "impact", "implementation_plan", "justification", "chg_model", "number", "on_hold", "on_hold_reason", "end_date", "start_date", "risk", "risk_impact_analysis", "business_service", "service_offering", "short_description", "state", "test_plan", "type", "watch_list", "work_notes", "work_notes_list"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["acquisition_method", "asset_function", "asset_tag", "assigned", "assigned_to", "beneficiary", "sys_class_name", "comments", "company", "ci", "cost", "cost_center", "department", "depreciated_amount", "depreciation", "depreciation_date", "display_name", "disposal_reason", "eligible_for_refresh", "expenditure_type", "gl_account", "install_date", "invoice_number", "lease_id", "location", "managed_by", "model", "model_category", "request_line.opened_at", "owned_by", "parent", "quantity", "request_line", "resale_price", "reserved_for", "residual_date", "residual", "retired", "salvage_value", "retirement_date", "serial_number", "install_status", "stockroom", "substatus", "support_group", "supported_by", "vendor", "warranty_expiration", "work_notes", "active_to"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["comments", "assigned_to", "assignment_group", "caller_id", "category", "caused_by", "rfc", "contact_type", "cmdb_ci", "description", "impact", "knowledge", "number", "hold_reason", "parent_incident", "priority", "problem_id", "close_code", "close_notes", "resolved_at", "resolved_by", "business_service", "service_offering", "short_description", "state", "subcategory", "route_reason", "universal_request", "urgency", "watch_list", "work_notes", "work_notes_list"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["assigned_to", "assignment_group", "category", "cause_notes", "close_notes", "closed_at", "closed_by", "cmdb_ci", "confirmed_at", "confirmed_by", "description", "duplicate_of", "first_reported_by_task", "fix_at", "fix_by", "fix_communicated_at", "fix_communicated_by", "fix_notes", "impact", "number", "opened_at", "opened_by", "priority", "short_description", "resolution_code", "resolved_at", "resolved_by", "business_service", "service_offering", "state", "subcategory", "urgency", "work_notes", "work_notes_list", "workaround", "workaround_applied", "workaround_communicated_at", "workaround_communicated_by"]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
["active", "phone", "calendar_integration", "date_format", "department", "email", "first_name", "internal_integration_user", "preferred_language", "last_name", "locked_out", "mobile_phone", "notification", "user_password", "password_needs_reset", "photo", "time_zone", "title", "user_name", "web_service_access_only"]

src/browsergym/workarena/data_files/setup_files/kb_autopublish_workflow.xml renamed to src/browsergym/workarena/data_files/setup_files/knowledge/kb_autopublish_workflow.xml

File renamed without changes.

src/browsergym/workarena/data_files/setup_files/knowledge_base.json renamed to src/browsergym/workarena/data_files/setup_files/knowledge/knowledge_base.json

File renamed without changes.

0 commit comments

Comments
 (0)