repowiseatharvs7/predictiq

Code health of atharvs7/predictiq

Repowise scores atharvs7/predictiq at 7.2 out of 10 for code health, which reads as good, alongside maintainability 8.0 and static performance 9.8 on the same scale. There are 152 open findings across the three pillars, and the lowest-scoring file is NewEstimatePage.tsx at 2.2. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

11 critical, 38 high, 55 medium, 48 low.

Hotspots

17 files are flagged as hotspots. The top 5:

  • frontend/src/pages/AuthPage.tsx: 8 commits in the last 90 days from 2 contributors
  • frontend/src/pages/NewEstimatePage.tsx: 10 commits in the last 90 days from 1 contributor with 2 recent bug fixes
  • backend/app/services/nlp_extractor.py: 6 commits in the last 90 days from 1 contributor
  • frontend/src/pages/SettingsPage.tsx: 7 commits in the last 90 days from 2 contributors
  • frontend/src/pages/ResultsPage.tsx: 6 commits in the last 90 days from 1 contributor with 1 recent bug fix

Lowest-scoring files

  • frontend/src/pages/NewEstimatePage.tsx: 2.2 out of 10 with 2 bug fixes in the last 180 days
  • frontend/src/pages/AuthPage.tsx: 3.4 out of 10
  • backend/app/services/nlp_extractor.py: 3.8 out of 10
  • frontend/src/pages/ResultsPage.tsx: 4.3 out of 10 with 1 bug fix in the last 180 days
  • backend/app/api/v1/estimates.py: 5.0 out of 10 with 1 bug fix in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 7 had a bug fix in the last 180 days. Across all 87 scored files, 17.2% had a bug fix in that window.

Dead code and refactoring

Repowise found 9 unused exports. 10 refactoring targets across 10 files would raise the score.

More on predictiq: summary and FAQ, codebase overview, architecture.