Code health of tauricresearch/tradingagents
Repowise scores tauricresearch/tradingagents at 8.5 out of 10 for code health, which reads as excellent, alongside maintainability 9.2 and static performance 9.8 on the same scale. There are 280 open findings across the three pillars, and the lowest-scoring file is run.py at 3.5. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
47 critical, 60 high, 114 medium, 59 low.
Hotspots
26 files are flagged as hotspots. The top 5:
- cli/main.py: 20 commits in the last 90 days from 7 contributors with 14 recent bug fixes
- tradingagents/graph/trading_graph.py: 48 commits in the last 90 days from 9 contributors with 29 recent bug fixes
- tradingagents/dataflows/vendors/yahoo/market.py: 20 commits in the last 90 days from 4 contributors with 14 recent bug fixes
- cli/prompts.py: 13 commits in the last 90 days from 7 contributors with 9 recent bug fixes
- tradingagents/dataflows/vendors/reddit.py: 13 commits in the last 90 days from 1 contributor with 8 recent bug fixes
Lowest-scoring files
- cli/run.py: 3.5 out of 10
- tradingagents/dataflows/vendors/reddit.py: 3.6 out of 10 with 8 bug fixes in the last 180 days
- tradingagents/memory/log.py: 3.7 out of 10 with 6 bug fixes in the last 180 days
- cli/prompts.py: 4.3 out of 10 with 9 bug fixes in the last 180 days
- tradingagents/dataflows/vendors/yahoo/news.py: 4.4 out of 10 with 11 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 14 had a bug fix in the last 180 days. Across all 184 scored files, 16.9% had a bug fix in that window.
Dead code and refactoring
17 refactoring targets across 17 files would raise the score.
More on tradingagents: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language