mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-10-07 00:36:52 +02:00
use new garak true positives in tests
This commit is contained in:
1 parent
1096ee38a8
commit
1b5b808ff6
4 files changed
+2
-13
No files matched your search
+2
-1
@@ -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():
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[
|
||||
{
|
||||
"scores": [
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[
|
||||
{
|
||||
"scores": [
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[
|
||||
{
|
||||
"scores": [
|
||||
|
||||
Reference in new issue
Block a user