Update README
Browse files
README.md
CHANGED
|
@@ -35,4 +35,130 @@ dataset_info:
|
|
| 35 |
num_examples: 100
|
| 36 |
download_size: 34438
|
| 37 |
dataset_size: 133363
|
|
|
|
|
|
|
|
|
|
| 38 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
num_examples: 100
|
| 36 |
download_size: 34438
|
| 37 |
dataset_size: 133363
|
| 38 |
+
pretty_name: Halluminate Westworld
|
| 39 |
+
size_categories:
|
| 40 |
+
- 1K<n<10K
|
| 41 |
---
|
| 42 |
+
# Halluminate Westworld
|
| 43 |
+
|
| 44 |
+
A benchmark for web agents to perform tasks on realistic websites.
|
| 45 |
+
|
| 46 |
+
Repo: https://github.com/Halluminate/westworld
|
| 47 |
+
|
| 48 |
+
Blog post: https://halluminate.ai/blog/westworld
|
| 49 |
+
|
| 50 |
+
## Quick Start: Try a Task Yourself
|
| 51 |
+
|
| 52 |
+
Want to understand what the benchmark tasks look like? You can run them manually using our human-in-the-loop demo:
|
| 53 |
+
|
| 54 |
+
### Step 1: Install with Browser Support
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
# Using uv (recommended)
|
| 58 |
+
uv pip install -e ".[datasets,playwright]"
|
| 59 |
+
python -m playwright install chromium
|
| 60 |
+
|
| 61 |
+
# Or using pip
|
| 62 |
+
pip install -e ".[datasets,playwright]"
|
| 63 |
+
python -m playwright install chromium
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
### Step 2: Set Your API Key (for simulated environments)
|
| 67 |
+
|
| 68 |
+
```bash
|
| 69 |
+
export HALLUMINATE_API_KEY=your-key-here
|
| 70 |
+
```
|
| 71 |
+
*contact wyatt@halluminate.ai for an api key*
|
| 72 |
+
|
| 73 |
+
### Step 3: Run the Demo
|
| 74 |
+
|
| 75 |
+
You can run the demo in two ways:
|
| 76 |
+
|
| 77 |
+
**Option A: Run by dataset index**
|
| 78 |
+
```bash
|
| 79 |
+
westworld-demo --index 0
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
**Option B: Run by specific task ID**
|
| 83 |
+
```bash
|
| 84 |
+
westworld-demo --task-id westworld/azora/basic_checkout/0
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
**Alternative: Run as Python module**
|
| 88 |
+
```bash
|
| 89 |
+
# By index
|
| 90 |
+
python -m westworld.demo --index 0
|
| 91 |
+
|
| 92 |
+
# By task ID
|
| 93 |
+
python -m westworld.demo --task-id westworld/azora/basic_checkout/0
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
## Dataset
|
| 97 |
+
|
| 98 |
+
The benchmark dataset is available on [HuggingFace](https://huggingface.co/datasets/Halluminate/westworld):
|
| 99 |
+
|
| 100 |
+
```python
|
| 101 |
+
from datasets import load_dataset
|
| 102 |
+
|
| 103 |
+
dataset = load_dataset("Halluminate/westworld")
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
## Usage
|
| 107 |
+
|
| 108 |
+
### Loading and Running Tasks
|
| 109 |
+
|
| 110 |
+
```python
|
| 111 |
+
from westworld.base import DatasetItem, instantiate
|
| 112 |
+
|
| 113 |
+
# Load a task from the dataset
|
| 114 |
+
task_item = DatasetItem(**dataset[0])
|
| 115 |
+
|
| 116 |
+
# Generate the task configuration
|
| 117 |
+
task_config = task_item.generate_task_config()
|
| 118 |
+
|
| 119 |
+
# Access task details
|
| 120 |
+
print(f"Task: {task_config.task}")
|
| 121 |
+
print(f"URL: {task_config.url}")
|
| 122 |
+
print(f"Evaluation Config: {task_config.eval_config}")
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
### Task Categories
|
| 126 |
+
|
| 127 |
+
The benchmark includes the following task categories (L1 categories):
|
| 128 |
+
|
| 129 |
+
- **e_commerce**: Online shopping tasks across multiple platforms
|
| 130 |
+
- Basic checkout flows
|
| 131 |
+
- Delivery instruction handling
|
| 132 |
+
- Pickup order management
|
| 133 |
+
|
| 134 |
+
- **travel**: Travel booking and search tasks
|
| 135 |
+
- Flight searches (basic, roundtrip, date ranges)
|
| 136 |
+
- Airline-specific searches
|
| 137 |
+
- Hotel searches
|
| 138 |
+
- Budget-constrained searches
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
## License
|
| 142 |
+
|
| 143 |
+
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
|
| 144 |
+
|
| 145 |
+
## Citation
|
| 146 |
+
|
| 147 |
+
If you use Halluminate Westworld in your research, please cite:
|
| 148 |
+
|
| 149 |
+
```bibtex
|
| 150 |
+
@software{halluminate_westworld,
|
| 151 |
+
title = {Halluminate Westworld: A Web Agent Benchmark},
|
| 152 |
+
author = {Halluminate},
|
| 153 |
+
year = {2025},
|
| 154 |
+
url = {https://github.com/Halluminate/westworld}
|
| 155 |
+
}
|
| 156 |
+
```
|
| 157 |
+
|
| 158 |
+
## Contributing
|
| 159 |
+
|
| 160 |
+
Contributions are welcome! Please feel free to submit a Pull Request.
|
| 161 |
+
|
| 162 |
+
## Contact
|
| 163 |
+
|
| 164 |
+
For questions or issues, please open an issue on [GitHub](https://github.com/Halluminate/westworld/issues).
|