feat: integrate analyst sections into analyze_company, CLI + HTML report - #10
Merged
Merged
Conversation
…ML report Wire the new modules into the analyze_company orchestrator: compute relative, Buffett, growth, fundamentals trend, red flags, the investment thesis and AI-signals digest, plus a report-level evidence/quality block, and rewrite the LLM guidance into a professional analyst-grade template. Upgrade the CLI renderer with the thesis, relative table, Buffett checklist, shareholding, growth engine, fundamentals-health and red-flag sections and an analysis-quality footer, and add a self-contained, theme-aware HTML one-pager (analysis/report_html.py) exported via 'investo analyze --html'. Update the README, manifest and .env.example for the 8 new tools. The 0-100 investment score is unchanged.
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.
The capstone: brings every feature together in the full report.
What
analyze_companynow computes and attaches relative metrics, Buffett checklist, growth outlook, fundamentals trend, shareholding, red flags, the investment thesis, the ai_signals digest, and a report-level evidence/quality block. The LLM guidance is rewritten into a professional analyst-grade template.render_reportgains all the new sections (thesis, relative table, Buffett, shareholding, growth engine, fundamentals health, red flags) and an analysis-quality footer.analysis/report_html.pyrenders a self-contained, theme-aware report;investo analyze --html FILEexports it.manifest.jsonand.env.exampleupdated for the 8 new tools (15 → 23).Guarantees
scoring.pyuntouched).ruff+mypyclean; wheel shipsgrowth.yaml.