Code health of hkuds/deeptutor
Repowise scores hkuds/deeptutor at 6.7 out of 10 for code health, which reads as fair, alongside maintainability 7.4 and static performance 9.7 on the same scale. There are 9,149 open findings across the three pillars, and the lowest-scoring file is manager.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
1,117 critical, 1,673 high, 3,540 medium, 2,819 low.
Hotspots
670 files are flagged as hotspots. The top 5:
- web/contracts/generated/api.ts: 44 commits in the last 90 days from 11 contributors with 10 recent bug fixes
- web/features/chat/ChatStateAdapter.tsx: 63 commits in the last 90 days from 19 contributors with 39 recent bug fixes
- deeptutor/api/routers/knowledge.py: 61 commits in the last 90 days from 28 contributors with 27 recent bug fixes
- deeptutor/services/session/sqlite_store.py: 45 commits in the last 90 days from 20 contributors with 24 recent bug fixes
- deeptutor/capabilities/mastery/tools.py: 46 commits in the last 90 days from 10 contributors with 30 recent bug fixes
Lowest-scoring files
- deeptutor/knowledge/manager.py: 1.0 out of 10 with 19 bug fixes in the last 180 days
- deeptutor/learning/service.py: 1.0 out of 10 with 29 bug fixes in the last 180 days
- deeptutor/partners/channels/feishu.py: 1.0 out of 10 with 5 bug fixes in the last 180 days
- deeptutor/api/routers/knowledge.py: 1.0 out of 10 with 27 bug fixes in the last 180 days
- deeptutor/learning/lesson_evidence.py: 1.0 out of 10 with 6 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 20 had a bug fix in the last 180 days. Across all 3,561 scored files, 20.1% had a bug fix in that window.
Dead code and refactoring
Repowise found 78 unused exports. 422 refactoring targets across 422 files would raise the score.
More on deeptutor: summary and FAQ, codebase overview, architecture.