Files
aigc-home/docs/hel-892/reverse-document-evidence/validation-commands.txt
T

19 lines
3.8 KiB
Plaintext

# 仓库根;Python3.11及既有锁定依赖。fetch_sources/fetch_identity仅按需在线重取静态原件;以下离线。
uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline
npm ci --prefix calliope-web --ignore-scripts --offline
python3 docs/hel-892/reverse-document-evidence/rebuild.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/reverse-document-evidence/recompute.py
uv run --project calliope-backend --offline python docs/hel-892/reverse-document-evidence/repeat.py
python3 docs/hel-892/reverse-document-evidence/render_report.py
uv run --project calliope-backend --offline pytest calliope-backend/tests/test_reverse_fixed_document.py calliope-backend/tests/test_nlf_fixed_document.py calliope-backend/tests/test_openpose_fixed_document.py calliope-backend/tests/test_sdpose_fixed_document.py calliope-backend/tests/test_gemma_fixed_document.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_qwen_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_asr_fixed_document.py calliope-backend/tests/test_media_fixed_document.py calliope-backend/tests/test_audio_fixed_document.py calliope-backend/tests/test_fixed_document.py calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_supplied_companions.py calliope-backend/tests/test_delivery_scope.py calliope-backend/tests/test_case04_saved_reference.py -q --disable-warnings
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/reverse-document-evidence e2e/run-reverse-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_reverse_fixed_document.py calliope-backend/tests/test_nlf_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_gemma_fixed_document.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_openpose_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_sdpose_fixed_document.py
uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/reverse-document-evidence e2e/run-reverse-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_reverse_fixed_document.py calliope-backend/tests/test_nlf_fixed_document.py calliope-backend/tests/test_background_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py calliope-backend/tests/test_gemma_fixed_document.py calliope-backend/tests/test_grid_fixed_document.py calliope-backend/tests/test_openpose_fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_sdpose_fixed_document.py
node --check e2e/reverse-document.mjs
LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-reverse-document.py
# 两本地服务在runner finally停止;无模型、媒体、写API、生成、目标机请求。
# 最终浏览产物/服务日志复制到本目录后,分别复算固定GET与定时轮询:
python3 docs/hel-892/reverse-document-evidence/request_counts.py
# 完整中文与逐源索引(local_file以reverse-document-evidence为解析基准):
python3 docs/hel-892/reverse-document-evidence/render_report.py