From 1b5b808ff6234e521d9a84f202aac2656fabf0f2 Mon Sep 17 00:00:00 2001 From: Adam Wilson Date: Wed, 23 Jul 2025 15:59:56 -0600 Subject: [PATCH] use new garak true positives in tests --- tests/conftest.py | 3 ++- tests/logs/test_10_logs_1752871081.json | 4 ---- tests/logs/test_10_logs_1752872925.json | 4 ---- tests/logs/test_10_logs_1752878384.json | 4 ---- 4 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 tests/logs/test_10_logs_1752871081.json delete mode 100644 tests/logs/test_10_logs_1752872925.json delete mode 100644 tests/logs/test_10_logs_1752878384.json diff --git a/tests/conftest.py b/tests/conftest.py index b477032b4..edcbac43d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -263,7 +263,8 @@ def math_prompts() -> list[str]: return math_prompts -prompt_injection_sample_file_path = './tests/integration/samples.prompt_injection_true_positive.json' +# prompt_injection_sample_file_path = './tests/integration/samples.prompt_injection_true_positive.json' +prompt_injection_sample_file_path = './tests/security/tests/results/01_garak_no_guidelines/failed_entries.json' @pytest.fixture(scope="session") def prompt_injection_sample_requests(): diff --git a/tests/logs/test_10_logs_1752871081.json b/tests/logs/test_10_logs_1752871081.json deleted file mode 100644 index 42edf4395..000000000 --- a/tests/logs/test_10_logs_1752871081.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - { - "scores": [ - \ No newline at end of file diff --git a/tests/logs/test_10_logs_1752872925.json b/tests/logs/test_10_logs_1752872925.json deleted file mode 100644 index 42edf4395..000000000 --- a/tests/logs/test_10_logs_1752872925.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - { - "scores": [ - \ No newline at end of file diff --git a/tests/logs/test_10_logs_1752878384.json b/tests/logs/test_10_logs_1752878384.json deleted file mode 100644 index 42edf4395..000000000 --- a/tests/logs/test_10_logs_1752878384.json +++ /dev/null @@ -1,4 +0,0 @@ -[ - { - "scores": [ - \ No newline at end of file