Code health of hkuds/rag-anything
Repowise scores hkuds/rag-anything at 4.7 out of 10 for code health, which reads as needs work. There are 331 open findings across the three pillars, and the lowest-scoring file is parser.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
31 critical, 80 high, 116 medium, 94 low.
Hotspots
8 files are flagged as hotspots. The top 5:
- raganything/parser.py: 18 commits in the last 90 days from 18 contributors with 21 recent bug fixes
- raganything/processor.py: 14 commits in the last 90 days from 14 contributors with 12 recent bug fixes
- raganything/modalprocessors.py: 4 commits in the last 90 days from 6 contributors with 3 recent bug fixes
- raganything/raganything.py: 3 commits in the last 90 days from 11 contributors with 4 recent bug fixes
- raganything/query.py: 5 commits in the last 90 days from 6 contributors with 6 recent bug fixes
Lowest-scoring files
- raganything/parser.py: 1.0 out of 10 with 21 bug fixes in the last 180 days
- raganything/modalprocessors.py: 1.9 out of 10 with 3 bug fixes in the last 180 days
- raganything/processor.py: 2.1 out of 10 with 12 bug fixes in the last 180 days
- raganything/raganything.py: 2.5 out of 10 with 4 bug fixes in the last 180 days
- raganything/query.py: 2.5 out of 10 with 6 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 13 had a bug fix in the last 180 days. Across all 59 scored files, 44.1% had a bug fix in that window.
Dead code and refactoring
Repowise found 30 unused exports.
More on rag-anything: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language