sentinel-scam-honeypo / run_compliance_tests.bat
avinash-rai's picture
Deployment Ready: Fixed scam detection low confidence, added production audit report, optimized throttles
1838600
raw
history blame
1.14 kB
@echo off
echo [SENTINEL] Starting GUVI Compliance Tests...
echo ===========================================
:: Attempt to locate Python
where python >nul 2>nul
if %ERRORLEVEL% NEQ 0 (
echo [ERROR] Python not found in PATH.
echo Please make sure Python is installed and added to your PATH.
echo Trying typical locations...
if exist "C:\Python312\python.exe" (
set PYTHON="C:\Python312\python.exe"
) else if exist "C:\Python311\python.exe" (
set PYTHON="C:\Python311\python.exe"
) else if exist "venv\Scripts\python.exe" (
set PYTHON="venv\Scripts\python.exe"
) else (
echo [FATAL] Could not find Python. Exiting.
pause
exit /b 1
)
) else (
set PYTHON=python
)
echo Using Python: %PYTHON%
:: Install requirements if needed (quietly)
echo [INFO] checking requirements...
%PYTHON% -m pip install requests pydantic tenacity >nul 2>&1
:: Run the verification script
echo [INFO] Running tests/test_guvi_compliance.py...
%PYTHON% tests/test_guvi_compliance.py
echo.
echo ===========================================
echo [SENTINEL] Test Sequence Complete.
pause