File tree Expand file tree Collapse file tree
src/runloop_api_client/sdk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def add_bash_script_scorer(
213213 ) -> Self :
214214 """Add a bash script scorer.
215215
216- The script should output "score=X.X" where X.X is a float between 0.0 and 1.0.
216+ The script should output "score=X.X" where X.X is a float between 0.0 and 1.0, inclusive .
217217
218218 :param name: Name of the scoring function
219219 :type name: str
@@ -241,7 +241,7 @@ def add_python_script_scorer(
241241 ) -> Self :
242242 """Add a Python script scorer.
243243
244- The script should print the score ( 0.0- 1.0) to stdout.
244+ The script should print the score in the range [ 0.0, 1.0] to stdout.
245245
246246 :param name: Name of the scoring function
247247 :type name: str
Original file line number Diff line number Diff line change 1616class AsyncScorer :
1717 """A custom scorer for evaluating scenario outputs (async).
1818
19- Scorers define bash scripts that produce a score ( 0.0- 1.0) for scenario runs.
19+ Scorers define bash scripts that produce a score in the range [ 0.0, 1.0] for scenario runs.
2020 Obtain instances via ``runloop.scorer.create()`` or ``runloop.scorer.from_id()``.
2121
2222 Example:
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def add_bash_script_scorer(
213213 ) -> Self :
214214 """Add a bash script scorer.
215215
216- The script should output "score=X.X" where X.X is a float between 0.0 and 1.0.
216+ The script should output "score=X.X" where X.X is a float between 0.0 and 1.0, inclusive .
217217
218218 :param name: Name of the scoring function
219219 :type name: str
@@ -241,7 +241,7 @@ def add_python_script_scorer(
241241 ) -> Self :
242242 """Add a Python script scorer.
243243
244- The script should print the score ( 0.0- 1.0) to stdout.
244+ The script should print the score in the range [ 0.0, 1.0] to stdout.
245245
246246 :param name: Name of the scoring function
247247 :type name: str
Original file line number Diff line number Diff line change 1616class Scorer :
1717 """A custom scorer for evaluating scenario outputs.
1818
19- Scorers define bash scripts that produce a score ( 0.0- 1.0) for scenario runs.
19+ Scorers define bash scripts that produce a score in the range [ 0.0, 1.0] for scenario runs.
2020 Obtain instances via ``runloop.scorer.create()`` or ``runloop.scorer.from_id()``.
2121
2222 Example:
You can’t perform that action at this time.
0 commit comments