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

23 lines
3.4 KiB
Plaintext
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.
# 仓库根;锁定既有依赖,全部数据库/服务均本地隔离,不连接目标机。
uv sync --project calliope-backend --frozen --extra dev --python 3.11
npm ci --prefix calliope-web --ignore-scripts
uv run --project calliope-backend --offline python docs/hel-892/qwen-edit-document-evidence/build_definition.py
uv run --project calliope-backend --offline python docs/hel-892/qwen-edit-document-evidence/render_report.py
uv run --project calliope-backend --offline pytest 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 calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py docs/hel-892/qwen-edit-document-evidence/*.py docs/hel-892/qwen-document-evidence/recompute.py e2e/run-qwen-edit-document.py
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml --check calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_qwen_edit_fixed_document.py calliope-backend/tests/test_controlnet_fixed_document.py docs/hel-892/qwen-edit-document-evidence/*.py docs/hel-892/qwen-document-evidence/recompute.py e2e/run-qwen-edit-document.py
uv build --project calliope-backend --offline
uv run --project calliope-backend --offline python docs/hel-892/qwen-edit-document-evidence/recompute.py
# 先构建包再复算,缺包时中文提示构建命令。builder.build()连调两次不写源资源,和definition.json逐对象比较。
# 重复recompute,比较repeatability.json所列5份确定性JSON的SHA256。样例import-protection.json、audit-summary.json、boundaries.json、package-check.json。
npm run build --prefix calliope-web
npm test --prefix calliope-web
npm run check --prefix calliope-web
# check旧基线:1错误/2警告;ESLint旧缺eslint.config退出2,不称全仓全绿。
# 从calliope-web:npm exec -- eslint src/lib/components/WorkflowDocumentDrawer.svelte src/lib/comfy/types.ts
node --check e2e/qwen-edit-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-qwen-edit-document.py
# --only-qwen仅复跑新编辑图;旧9图使用上面全组已完成证据。最后改动仅新图保存分类/数字类型,无前端产品变更。
# 新图浏览将既有Google字体CSS请求本地空响应,不放行外网;/api/view和其它外部请求均拒绝并使测试失败。
# Supervisor在正常/异常出口关闭全部自建服务;截图由工单附件交付,不含在线媒体。