Skip to content

Commit 03b2287

Browse files
committed
Uncomment testing calls so all tests are run
1 parent ad1300d commit 03b2287

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

e2etests/judgment_client_test.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_run_eval(client: JudgmentClient):
6464

6565
_ = client.run_evaluation(
6666
examples=[example1, example2],
67-
scorers=[scorer2],
67+
scorers=[scorer, c_scorer],
6868
model="QWEN",
6969
metadata={"batch": "test"},
7070
project_name=PROJECT_NAME,
@@ -201,32 +201,32 @@ def test_classifier_scorer(client: JudgmentClient):
201201
# Test client functionality
202202
client = get_client()
203203
ui_client = get_ui_client()
204-
# print("Client initialized successfully")
205-
# print("*" * 40)
204+
print("Client initialized successfully")
205+
print("*" * 40)
206206

207-
# print("Testing dataset creation, pushing, and pulling")
208-
# test_dataset(ui_client)
209-
# print("Dataset creation, pushing, and pulling successful")
210-
# print("*" * 40)
207+
print("Testing dataset creation, pushing, and pulling")
208+
test_dataset(ui_client)
209+
print("Dataset creation, pushing, and pulling successful")
210+
print("*" * 40)
211211

212212
print("Testing evaluation run")
213213
test_run_eval(ui_client)
214214
print("Evaluation run successful")
215215
print("*" * 40)
216216

217-
# print("Testing evaluation run override")
218-
# test_override_eval(client)
219-
# print("Evaluation run override successful")
220-
# print("*" * 40)
217+
print("Testing evaluation run override")
218+
test_override_eval(client)
219+
print("Evaluation run override successful")
220+
print("*" * 40)
221221

222-
# print("Testing dataset evaluation")
223-
# test_evaluate_dataset(ui_client)
224-
# print("Dataset evaluation successful")
225-
# print("*" * 40)
222+
print("Testing dataset evaluation")
223+
test_evaluate_dataset(ui_client)
224+
print("Dataset evaluation successful")
225+
print("*" * 40)
226226

227-
# print("Testing classifier scorer")
228-
# test_classifier_scorer(ui_client)
229-
# print("Classifier scorer test successful")
230-
# print("*" * 40)
227+
print("Testing classifier scorer")
228+
test_classifier_scorer(ui_client)
229+
print("Classifier scorer test successful")
230+
print("*" * 40)
231231

232-
# print("All tests passed successfully")
232+
print("All tests passed successfully")

0 commit comments

Comments
 (0)