Skip to content

Commit b667a6d

Browse files
committed
one more change.
1 parent 7ebb584 commit b667a6d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

eval_protocol/models.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -746,9 +746,7 @@ class EvaluationThreshold(BaseModel):
746746
The standard_error field is optional - if provided, tests must also meet the maximum standard error requirement.
747747
"""
748748

749-
success: float = Field(
750-
..., description="Minimum success rate threshold (fraction of total score, 0.0 to 1.0)", ge=0.0, le=1.0
751-
)
749+
success: float = Field(..., description="Minimum success rate threshold (fraction of total score)")
752750
standard_error: float | None = Field(
753751
default=None,
754752
description="Maximum standard error threshold (fraction of total score, 0.0 to 1.0)",

eval_protocol/pytest/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def pytest_addoption(parser) -> None:
103103
"--ep-success-threshold",
104104
action="store",
105105
default=None,
106-
help=("Override the success threshold for evaluation_test. Pass a float between 0.0 and 1.0 (e.g., 0.8)."),
106+
help=("Override the success threshold for evaluation_test. Pass any float (e.g., 0.8 or -1e9 to disable)."),
107107
)
108108
group.addoption(
109109
"--ep-se-threshold",

0 commit comments

Comments
 (0)