repowisenvidia/auto-ontology

Code health of nvidia/auto-ontology

Repowise scores nvidia/auto-ontology at 6.9 out of 10 for code health, which reads as fair, alongside maintainability 7.9 and static performance 9.6 on the same scale. There are 1,709 open findings across the three pillars, and the lowest-scoring file is visit_enter.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

195 critical, 307 high, 757 medium, 450 low.

Hotspots

190 files are flagged as hotspots. The top 5:

  • frontend/components/termsPage/TermsView.tsx: 22 commits in the last 90 days from 3 contributors with 12 recent bug fixes
  • auto_ontology/dal/terms.py: 12 commits in the last 90 days from 9 contributors with 6 recent bug fixes
  • frontend/common/SinglePageComposer.tsx: 15 commits in the last 90 days from 4 contributors with 10 recent bug fixes
  • auto_ontology/semantic/visit_enter.py: 15 commits in the last 90 days from 9 contributors with 2 recent bug fixes
  • frontend/components/explorationPage/ExplorationView.tsx: 16 commits in the last 90 days from 2 contributors with 13 recent bug fixes

Lowest-scoring files

  • auto_ontology/semantic/visit_enter.py: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • auto_ontology/retrieval/text_to_sql/agents/sql_parse_validation.py: 1.0 out of 10 with 3 bug fixes in the last 180 days
  • auto_ontology/retrieval/text_to_sql/agents/candidates_preparation.py: 1.0 out of 10 with 2 bug fixes in the last 180 days
  • auto_ontology/retrieval/text_to_sql/numeric_types.py: 1.0 out of 10 with 10 bug fixes in the last 180 days
  • frontend/common/SinglePageComposer.tsx: 1.0 out of 10 with 10 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 17 had a bug fix in the last 180 days. Across all 901 scored files, 16.4% had a bug fix in that window.

Dead code and refactoring

Repowise found 37 unused exports. 93 refactoring targets across 93 files would raise the score.

More on auto-ontology: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language