forked from ServiceNow/BrowserGym
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[build-system] | ||
requires = ["hatchling", "hatch-requirements-txt"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "browsergym-subtaskbench" | ||
description = "SubTaskBench benchmark for BrowserGym" | ||
authors = [ | ||
{name = "Cheng Chang"}, | ||
{name = "Sanjari Srivastava"}, | ||
] | ||
readme = "README.md" | ||
requires-python = ">3.7" | ||
license = {text = "Apache-2.0"} | ||
classifiers = [ | ||
"Development Status :: 3 - Alpha", | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence", | ||
"License :: OSI Approved :: Apache Software License", | ||
] | ||
dynamic = ["dependencies", "version"] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/ServiceNow/BrowserGym" | ||
|
||
[tool.hatch.version] | ||
path = "../core/src/browsergym/core/__init__.py" | ||
|
||
[tool.hatch.metadata.hooks.requirements_txt] | ||
files = ["requirements.txt"] | ||
|
||
[tool.hatch.build.targets.wheel] | ||
packages = ["src/browsergym"] |
Empty file.
14 changes: 14 additions & 0 deletions
14
browsergym/subtaskbench/src/browsergym/subtaskbench/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
from browsergym.core.registration import register_task | ||
from . import config, task | ||
|
||
ALL_SUBTASKBENCH_TASK_IDS = [] | ||
|
||
# register all SubTaskBench tasks | ||
for task_id in config.TASK_IDS: | ||
gym_id = f"subtaskbench.{task_id}" | ||
register_task( | ||
gym_id, | ||
task.GenericSubTaskBenchTask, | ||
task_kwargs={"task_id": task_id}, | ||
) | ||
ALL_SUBTASKBENCH_TASK_IDS.append(gym_id) |
Empty file.
Empty file.