Files
AIclinicalresearch/tests/run_tests.bat
HaHafeng 2481b786d8 deploy: Complete 0126-27 deployment - database upgrade, services update, code recovery
Major Changes:
- Database: Install pg_bigm/pgvector plugins, create test database
- Python service: v1.0 -> v1.1, add pymupdf4llm/openpyxl/pypandoc
- Node.js backend: v1.3 -> v1.7, fix pino-pretty and ES Module imports
- Frontend: v1.2 -> v1.3, skip TypeScript check for deployment
- Code recovery: Restore empty files from local backup

Technical Fixes:
- Fix pino-pretty error in production (conditional loading)
- Fix ES Module import paths (add .js extensions)
- Fix OSSAdapter TypeScript errors
- Update Prisma Schema (63 models, 16 schemas)
- Update environment variables (DATABASE_URL, EXTRACTION_SERVICE_URL, OSS)
- Remove deprecated variables (REDIS_URL, DIFY_API_URL, DIFY_API_KEY)

Documentation:
- Create 0126 deployment folder with 8 documents
- Update database development standards v2.0
- Update SAE deployment status records

Deployment Status:
- PostgreSQL: ai_clinical_research_test with plugins
- Python: v1.1 @ 172.17.173.84:8000
- Backend: v1.7 @ 172.17.173.89:3001
- Frontend: v1.3 @ 172.17.173.90:80

Tested: All services running successfully on SAE
2026-01-27 08:13:27 +08:00

117 lines
1.1 KiB
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
REM Windows批处理脚本 - 运行缺失值处理功能测试
echo ========================================
echo 缺失值处理功能 - 自动化测试
echo ========================================
echo.
REM 检查Python是否安装
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [错误] Python未安装或不在PATH中
pause
exit /b 1
)
echo [1/3] 检查Python服务状态...
curl -s http://localhost:8001/health >nul 2>&1
if %errorlevel% neq 0 (
echo [警告] Python服务未运行请先启动服务
echo cd extraction_service
echo python main.py
echo.
pause
exit /b 1
)
echo [OK] Python服务运行正常
echo.
echo [2/3] 检查依赖...
python -c "import pandas, numpy, requests" >nul 2>&1
if %errorlevel% neq 0 (
echo [警告] 缺少依赖,正在安装...
pip install pandas numpy requests
)
echo [OK] 依赖检查完成
echo.
echo [3/3] 运行测试...
echo.
python test_fillna_operations.py
echo.
echo ========================================
echo 测试完成
echo ========================================
pause