feat(review): 教育科研工作台 + 论文自动重排版 + journals v4 数据集 #1

Merged
admin merged 9 commits from wjq/PlantAI-rag-new:feature/academic-review-assistant into main 2026-10-11 13:49:12 +08:00
Contributor

概要

  • 教育科研工作台(7 面板)
  • 期刊情报 v4 数据集(1056 条全量 + 5 本精选真实规则)
  • 论文自动重排版 P1(LaTeX 源码级参数修改)
  • LaTeX 编译后端 P3a

主要 commit

  • c747ebd feat(review): 5 本精选期刊官方格式规则
  • 42aeb8f feat(review): P1 论文自动重排版
  • 649e66f feat(review): P3a 编译 API + 菜单改名
  • dddb70f fix(review): directory partition source 改常量说明
  • 55410b6 feat(review): 格式抓取 CLI 工具

测试

  • 后端 pytest: 58 passed
  • 前端 vitest: 377P/1F(与基线一致)
  • npm run build: 通过
## 概要 - 教育科研工作台(7 面板) - 期刊情报 v4 数据集(1056 条全量 + 5 本精选真实规则) - 论文自动重排版 P1(LaTeX 源码级参数修改) - LaTeX 编译后端 P3a ## 主要 commit - c747ebd feat(review): 5 本精选期刊官方格式规则 - 42aeb8f feat(review): P1 论文自动重排版 - 649e66f feat(review): P3a 编译 API + 菜单改名 - dddb70f fix(review): directory partition source 改常量说明 - 55410b6 feat(review): 格式抓取 CLI 工具 ## 测试 - 后端 pytest: 58 passed - 前端 vitest: 377P/1F(与基线一致) - npm run build: 通过
wjq added 7 commits 2026-10-11 12:26:56 +08:00
Backend:
- review_service: presubmit / recommend / journals / journals/directory /
  format-check / conferences endpoints
- journals.json 5 精选种子 + journal_directory 1056 条全量(v4 数据)
- v4 数据集:2025 JIF(2026 JCR 发布)+ 2025 中科院分区 + 1053 条官网 URL
- format_check 行距 bug 修复(基线 y + 物理过滤 + docx EMU)

BFF:
- review_proxy 反代(修复 httpx build_request await bug)
- REVIEW_ENABLED 开关(默认关闭,零痕部署)

Frontend:
- 教育科研工作台(7 面板 + 菜单 + 状态管理)
- TopBar 教育科研入口(v-show 覆盖层语义,RAG 会话不丢)
- 期刊情报:Tab 切换 / 搜索 / 筛选 / 分页 / 官网列 / 展开凭证
- 智能推荐 / AI预审稿 / 专业报告 / 投稿台账 / 排版规范 / 会议日历
- Replace featured list with accessible journals: Genome Biology,
  BMC Plant Biology, Molecular Plant, Frontiers in Plant Science, Rice
- Per-journal format_rules verified against official author guidelines
  (rules_source=official, source_url, last_verified=2026-10-10)
- Update recommend tests to the new seed set
- Rule engine: font/margin/line-spacing/bib-style transformers,
  tighten-only + structural guard + idempotency
- POST/GET /api/review/reformat with 200-envelope errors and job store
- ReformatPanel: journal dropdown (featured + directory search),
  source/diff tabs; compile tab is a dev placeholder for now
- journals.json format_rules_default kept as generic fallback
- POST/GET /api/review/compile[/{id}[/pdf|/log]]: isolated workdir,
  --untrusted, 60s timeout with process-group kill, single-slot queue
  (429 QUEUE_FULL), 7-day retention sweep
- tools/install_tectonic.sh: pinned tectonic 0.17.0 (sha256) + README
- Rename menu/panel title to 学术期刊情报
- Compile UI stays a placeholder per product decision (P3 deferred)
Stop sending partition_source_url; respond with a fixed explanatory
note instead. DB values untouched (dropped after SELECT).
- fetch_format_rules.py CLI: robots.txt-aware fetcher (httpx + bs4,
  >=2s per-host throttle) + DeepSeek quote-backed rule extractor
- Status: OUP/Wiley/Cell return 403 from this environment; the five
  featured journals' format_rules in journals.json were manually
  verified against official sites instead. Tooling kept for future
  re-runs; data/format_cache/ is runtime output and gitignored
- Service code never imports this toolchain (standalone CLI only)
admin self-assigned this 2026-10-11 13:09:57 +08:00
admin approved these changes 2026-10-11 13:18:14 +08:00
Dismissed
admin left a comment
Owner

gitignore文件中有错删的忽略项

gitignore文件中有错删的忽略项
admin approved these changes 2026-10-11 13:21:20 +08:00
Dismissed
admin approved these changes 2026-10-11 13:22:32 +08:00
Dismissed
admin approved these changes 2026-10-11 13:23:45 +08:00
Dismissed
admin left a comment
Owner

通过

通过
Owner

通过

通过
Owner

通过

通过
admin closed this pull request 2026-10-11 13:24:26 +08:00
admin reopened this pull request 2026-10-11 13:25:31 +08:00
admin added 1 commit 2026-10-11 13:29:38 +08:00
解决冲突

Signed-off-by: admin <jerryhaozhang@gmail.com>
admin approved these changes 2026-10-11 13:30:38 +08:00
Dismissed
admin approved these changes 2026-10-11 13:33:28 +08:00
admin left a comment
Owner

通过

通过
admin added 1 commit 2026-10-11 13:47:57 +08:00
admin merged commit ea0f2b3fad into main 2026-10-11 13:49:12 +08:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/PlantAI-rag-new#1