Code health of vectorize-io/hindsight
Repowise scores vectorize-io/hindsight at 7.7 out of 10 for code health, which reads as good, alongside maintainability 7.8 and static performance 9.7 on the same scale. There are 4,742 open findings across the three pillars, and the lowest-scoring file is agent.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.
Findings by severity
298 critical, 586 high, 1,829 medium, 2,021 low.
Hotspots
113 files are flagged as hotspots. The top 5:
- hindsight-api-slim/hindsight_api/engine/memory_engine.py: 94 commits in the last 90 days from 2 contributors with 51 recent bug fixes
- hindsight-api-slim/hindsight_api/config.py: 43 commits in the last 90 days from 1 contributor with 9 recent bug fixes
- hindsight-api-slim/hindsight_api/engine/consolidation/consolidator.py: 25 commits in the last 90 days from 1 contributor with 15 recent bug fixes
- hindsight-api-slim/hindsight_api/api/http.py: 46 commits in the last 90 days from 1 contributor with 23 recent bug fixes
- hindsight-api-slim/hindsight_api/engine/cross_encoder.py: 20 commits in the last 90 days from 1 contributor with 9 recent bug fixes
Lowest-scoring files
- hindsight-api-slim/hindsight_api/engine/reflect/agent.py: 1.0 out of 10 with 13 bug fixes in the last 180 days
- hindsight-api-slim/hindsight_api/engine/memory_engine.py: 1.0 out of 10
- hindsight-embed/hindsight_embed/control_center/static/assets/index-D7TwAsED.js: 1.0 out of 10 with 1 bug fix in the last 180 days
- hindsight-integrations/hermes/__init__.py: 1.0 out of 10 with 10 bug fixes in the last 180 days
- hindsight-api-slim/hindsight_api/engine/providers/codex_llm.py: 1.0 out of 10 with 8 bug fixes in the last 180 days
Checked against bug fixes
Of the 20 files Repowise scores lowest, 8 had a bug fix in the last 180 days. Across all 3,195 scored files, 14.8% had a bug fix in that window.
Dead code and refactoring
Repowise found 47 unused exports. 297 refactoring targets across 297 files would raise the score.
More on hindsight: summary and FAQ, codebase overview, architecture.
Related guide: Best dead code detection tools by language