图表#17
Closed
BBear0115 wants to merge 3 commits into
Closed
Conversation
Contributor
BBear0115
commented
May 6, 2026
- 新增 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
Owner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.