feat: expand platform management, admin controls, and learning workflows

这个提交包含在:
Codex CLI
2026-02-15 15:41:56 +08:00
父节点 ad29a9f62d
当前提交 f209ae82da
修改 75 个文件,包含 9663 行新增794 行删除

查看文件

@@ -4,16 +4,24 @@ services:
- .env
environment:
- OI_IMPORT_AUTO_RUN=true
- OI_IMPORT_AUTO_MODE=luogu
- OI_IMPORT_WORKERS=3
- OI_IMPORT_SCRIPT_PATH=/app/scripts/import_luogu_csp.py
- OI_IMPORT_CLEAR_ALL_PROBLEMS=true
- OI_IMPORT_CLEAR_EXISTING=true
- OI_IMPORT_LOCAL_RAG_SCRIPT_PATH=/app/scripts/import_local_pdf_rag.py
- OI_LOCAL_PDF_DIR=/data/local_pdfs
- OI_IMPORT_TARGET_TOTAL=5000
- OI_IMPORT_RESUME_ON_RESTART=true
- OI_IMPORT_CLEAR_ALL_PROBLEMS=false
- OI_IMPORT_CLEAR_EXISTING=false
- "OI_IMPORT_CLEAR_SOURCE_PREFIX=luogu:"
- CSP_GEN_AUTO_RUN=true
- CSP_GEN_COUNT=1
- CSP_GEN_WAIT_FOR_IMPORT=true
- CSP_GEN_SCRIPT_PATH=/app/scripts/generate_cspj_problem_rag.py
- CSP_SOLUTION_SCRIPT_PATH=/app/scripts/generate_problem_solutions.py
- CSP_SOLUTION_AUTO_RUN_MISSING=true
- CSP_SOLUTION_AUTO_LIMIT=50000
- CSP_SOLUTION_AUTO_MAX_SOLUTIONS=3
build:
context: .
dockerfile: Dockerfile.backend
@@ -22,6 +30,7 @@ services:
# - "8080:8080"
volumes:
- csp_data:/data
- ./data/local_pdfs:/data/local_pdfs
restart: unless-stopped
frontend: