Skip to content

图表#17

Closed
BBear0115 wants to merge 3 commits into
study8677:mainfrom
BBear0115:main
Closed

图表#17
BBear0115 wants to merge 3 commits into
study8677:mainfrom
BBear0115:main

Conversation

@BBear0115
Copy link
Copy Markdown
Contributor

  • 新增 src/opencmo/report_charts.py:基于真实 facts/meta 生成 SVG 图表资产和 Markdown 图片引用。
  • 更新 src/opencmo/reports.py:human 报告生成前生成图表,prompt 要求引用真实图表;生成后自动规范标题层级,并兜底插入 ## 2. 数据图表速览。
  • 更新 src/opencmo/report_pipeline.py:deep pipeline 的 outline/writer/synthesizer 都明确要求只用 # / ## / ###,并把真实图表作为证据输入。
  • 更新 src/opencmo/web/routers/report.py:新增 GET/HEAD /api/v1/report-assets/{asset_id}.svg。
  • 新增 tests/test_report_charts.py:覆盖图表生成、标题规范、Markdown 图片 HTML、资产路由。

- Add deploy.sh: main deployment script with automatic SSL certificate fixes
- Add scripts/fix_ssl_server.sh: server-side SSL certificate repair
- Add scripts/diagnose.sh: diagnostic tool for deployment issues
- Add scripts/README.md: detailed documentation and troubleshooting guide
- Update CLAUDE.md: document GitHub Potential Users feature and public site

Key features:
- Automatic Python SSL certificate detection and repair (macOS/Linux)
- Detailed error handling for 8 common deployment issues
- Pre-flight checks and post-deployment verification
- Support for Chinese error messages and fix instructions
- Color-coded logging for better readability
@study8677
Copy link
Copy Markdown
Owner

Superseded by #16 (merged as 7c48156). The chart code described in this PR's title/body landed via the dedicated feat/report-visual-charts branch. Closing as duplicate.

@study8677 study8677 closed this May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants