@echo off
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0RUN_DIAGNOSTICS.ps1"
exit /b %errorlevel%


echo.
echo ================================================================
echo Research Engine Package
echo ================================================================
if exist "%ROOT%\ClinicalReasoningDatabase\research\server.py" (
  echo [OK] server.py
) else (
  echo [FAIL] server.py missing
)
if exist "%ROOT%\ClinicalReasoningDatabase\research\research_engine.py" (
  echo [OK] research_engine.py
) else (
  echo [FAIL] research_engine.py missing
)
if exist "%ROOT%\Tests\TEST_RESEARCH_ENGINE.cmd" (
  echo [OK] Research self-test is available.
) else (
  echo [FAIL] Research self-test missing.
)
