mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-07-06 13:07:52 +02:00
use new garak true positives in tests
This commit is contained in:
+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