Skip to content

Commit b7abf53

Browse files
committed
check metrics docstring
Signed-off-by: Terry Kong <[email protected]>
1 parent 64dfe20 commit b7abf53

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/check_metrics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ def main():
105105
parser.epilog = """
106106
Examples:
107107
# Check if a specific metric is above a threshold
108-
python check_metrics.py results.json "data['accuracy'] > 0.9"
108+
./check_metrics.py results.json "data['accuracy'] > 0.9"
109109
110110
# Check multiple conditions
111-
python check_metrics.py results.json "data['precision'] > 0.8" "data['recall'] > 0.7"
111+
./check_metrics.py results.json "data['precision'] > 0.8" "data['recall'] > 0.7"
112112
113113
# Use helper functions
114-
python check_metrics.py results.json "min(data['class_f1']) > 0.6"
115-
python check_metrics.py results.json "mean(data['accuracies']) > 0.85"
114+
./check_metrics.py results.json "min(data['class_f1']) > 0.6"
115+
./check_metrics.py results.json "mean(data['accuracies']) > 0.85"
116116
"""
117117
parser.formatter_class = argparse.RawDescriptionHelpFormatter
118118
args = parser.parse_args()

0 commit comments

Comments
 (0)