Skip to content

Commit

Permalink
new browsergym-experiments package
Browse files Browse the repository at this point in the history
  • Loading branch information
gasse committed May 15, 2024
1 parent 47f186b commit b0808d0
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 0 deletions.
10 changes: 10 additions & 0 deletions experiments/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# BrowserGym experiments

This package provides `browsergym.experiments`, a suite of experimentation tools for [BrowserGym](https://github.com/ServiceNow/BrowserGym).

## Setup

1. Install the package
```sh
pip install browsergym-experiments
```
37 changes: 37 additions & 0 deletions experiments/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"

[project]
name = "browsergym-experiments"
description = "Experimentation tools for BrowserGym"
authors = [
{name = "Alex Lacoste"},
{name = "Massimo Caccia"},
{name = "Maxime Gasse"},
{name = "Thibault Le Sellier De Chezelles"},
]
readme = "README.md"
requires-python = ">3.7"
license = {text = "Apache-2.0"}
classifiers = [
"Development Status :: 2 - Pre-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"]
1 change: 1 addition & 0 deletions experiments/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
browsergym-core==0.2.2
5 changes: 5 additions & 0 deletions experiments/src/browsergym/experiments/agent.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from abc import ABC


class Agent(ABC):
pass
22 changes: 22 additions & 0 deletions experiments/src/browsergym/experiments/loop.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import dataclasses


@dataclasses.dataclass
class EnvArgs:

def make_env(self):
pass


@dataclasses.dataclass
class AgentArgs:

def make_env(self):
pass


@dataclasses.dataclass
class ExpArgs:

def run(self):
pass
Empty file.

0 comments on commit b0808d0

Please sign in to comment.