forked from PrimeIntellect-ai/verifiers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
187 lines (172 loc) · 4.31 KB
/
pyproject.toml
File metadata and controls
187 lines (172 loc) · 4.31 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "verifiers"
authors = [
{name = "William Brown", email = "williambrown97@gmail.com"},
]
dynamic = ["version"] # load from verifiers/__init__.py
description = "Verifiers: Environments for LLM Reinforcement Learning"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10,<3.14"
keywords = ["reinforcement-learning", "llm", "rl", "grpo", "environments", "multi-turn", "agents", "agentic-rl", "tool-use", "train", "eval", "harness", "verifiers", "rlvr"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"datasets",
"jinja2>=3.1.6",
"openai>=1.108.1",
"openai-agents>=0.0.7",
"nest-asyncio>=1.6.0", # for jupyter notebooks
"requests",
"rich",
"textual",
"pydantic>=2.11.9",
"prime-sandboxes>=0.1.0",
]
[dependency-groups]
dev = [
"ruff",
"pre-commit",
"ty>=0.0.1a18",
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"textarena",
"nltk",
"math-verify>=0.8.0",
]
[project.optional-dependencies]
train = [
"torch>=2.7.0",
"transformers",
"accelerate>=1.4.0",
"requests",
"peft",
"wandb",
"trl>=0.17.0",
"vllm>=0.9.2",
"liger-kernel>=0.5.10",
"deepspeed",
]
envs = [
"math-verify>=0.8.0",
"duckduckgo-search",
"brave-search",
"nltk",
"textarena",
]
all = [
"torch>=2.7.0",
"transformers",
"accelerate>=1.4.0",
"requests",
"peft",
"wandb",
"trl>=0.17.0",
"vllm>=0.9.2",
"liger-kernel>=0.5.10",
"deepspeed",
"math-verify>=0.8.0",
"duckduckgo-search",
"brave-search",
"nltk",
"textarena",
]
docs = [
"sphinx",
"myst-parser",
"furo"
]
[project.scripts]
vf-eval = "verifiers.scripts.eval:main"
vf-init = "verifiers.scripts.init:main"
vf-install = "verifiers.scripts.install:main"
vf-tui = "verifiers.scripts.tui:main"
vf-vllm = "verifiers.inference.vllm_server:main"
# hatchling configuration
[tool.hatch.version]
path = "verifiers/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/verifiers",
"/tests",
"/README.md",
"/LICENSE",
]
exclude = [
"/wandb",
"/scratch",
"/configs",
"/environments",
]
[tool.hatch.build.targets.wheel]
packages = ["verifiers"]
[project.urls]
Homepage = "https://github.com/primeintellect-ai/verifiers"
Documentation = "https://github.com/primeintellect-ai/verifiers"
Repository = "https://github.com/primeintellect-ai/verifiers.git"
Issues = "https://github.com/primeintellect-ai/verifiers/issues"
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--tb=short",
"-ra",
"--quiet",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"asyncio: marks tests as async tests",
"parsers: marks tests for parser components",
"rubrics: marks tests for rubric components",
"environments: marks tests for environment components",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::UserWarning:transformers.*",
]
asyncio_mode = "auto"
norecursedirs = [".git", ".tox", "dist", "build", "*.egg", "__pycache__"]
[tool.ty.rules]
unresolved-import = "warn"
unknown-argument = "warn"
[tool.ty.src]
exclude = ["environments"]
[tool.coverage.run]
source = ["verifiers"]
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]