hotfix - tsq table
Browse files- src/data_manager.py +2 -2
src/data_manager.py
CHANGED
|
@@ -139,8 +139,8 @@ def get_random_example(test_type: str) -> Dict[str, str]:
|
|
| 139 |
elif test_type in ["prompt_injections", "safety"]:
|
| 140 |
result["text"] = example.get("text", "")
|
| 141 |
elif test_type == "policy":
|
| 142 |
-
result["input"] = example.get("
|
| 143 |
-
result["output"] = example.get("
|
| 144 |
result["assertion"] = example.get("assertion", "")
|
| 145 |
|
| 146 |
return result
|
|
|
|
| 139 |
elif test_type in ["prompt_injections", "safety"]:
|
| 140 |
result["text"] = example.get("text", "")
|
| 141 |
elif test_type == "policy":
|
| 142 |
+
result["input"] = example.get("input_text", "")
|
| 143 |
+
result["output"] = example.get("output_text", "")
|
| 144 |
result["assertion"] = example.get("assertion", "")
|
| 145 |
|
| 146 |
return result
|