Spaces:
Sleeping
Sleeping
Download scripts/test_l4.py from Abdulahad79/KingsGuard: direct link, hf CLI and curl.
- Browser
- Download file 255 Bytes
-
https://huggingface.co/spaces/Abdulahad79/KingsGuard/resolve/main/scripts/test_l4.py
- Command line
-
hf download hf://spaces/Abdulahad79/KingsGuard/scripts/test_l4.py
-
curl -L -o test_l4.py https://huggingface.co/spaces/Abdulahad79/KingsGuard/resolve/main/scripts/test_l4.py
255 Bytes
| import json | |
| from tools import TrustScoreTool | |
| def test(): | |
| print("--- L4 Watchman ---") | |
| try: | |
| print(TrustScoreTool()._run("agent_123", 0.05)) | |
| except Exception as e: | |
| print(f"Exception: {e}") | |
| if __name__ == "__main__": | |
| test() | |