-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Expand file tree
/
Copy pathpyproject.toml
More file actions
103 lines (91 loc) · 2.5 KB
/
pyproject.toml
File metadata and controls
103 lines (91 loc) · 2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "elizaos-vending-bench"
version = "2.0.0"
description = "Vending-Bench benchmark for ElizaOS - Long-term coherence evaluation"
readme = "RESEARCH.md"
license = "MIT"
requires-python = ">=3.11"
authors = [
{ name = "elizaOS Contributors" }
]
keywords = ["ai", "agents", "benchmark", "vending-bench", "coherence", "llm"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"aiohttp>=3.9.0",
"eliza-adapter",
]
[tool.uv.sources]
eliza-adapter = { path = "../eliza-adapter", editable = true }
[project.optional-dependencies]
openai = [
"openai>=1.0.0",
]
anthropic = [
"anthropic>=0.25.0",
]
all = [
"openai>=1.0.0",
"anthropic>=0.25.0",
]
dev = [
"pytest>=9.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"mypy>=1.19.0",
"ruff>=0.14.0",
]
[project.scripts]
vending-bench = "elizaos_vending_bench.cli:main"
[project.urls]
Homepage = "https://github.com/elizaos/eliza"
Documentation = "https://elizaos.ai/docs/benchmarks/vending-bench"
Repository = "https://github.com/elizaos/eliza/tree/main/benchmarks/vending-bench"
Paper = "https://arxiv.org/abs/2502.15840"
Leaderboard = "https://andonlabs.com/evals/vending-bench"
[tool.hatch.build.targets.wheel]
packages = ["elizaos_vending_bench"]
[tool.pytest.ini_options]
testpaths = ["elizaos_vending_bench/tests"]
python_files = "test_*.py"
python_functions = "test_*"
addopts = "-v --tb=short"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
markers = [
"integration: marks tests as integration tests (may require API keys)",
"slow: marks tests as slow (running full simulation)",
]
[tool.mypy]
python_version = "3.11"
strict = false
warn_return_any = false
check_untyped_defs = true
no_implicit_optional = true
disallow_any_explicit = false
[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP"]
ignore = ["E501", "B008"]
[tool.coverage.run]
source = ["elizaos_vending_bench"]
omit = ["*/tests/*", "*/__init__.py"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise NotImplementedError",
"if TYPE_CHECKING:",
]