repowiserepowise
Sign in
FaserF/ha-ctgpdx
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowiseFaserF/ha-ctgpdx
HA
HA

FaserF / ha-ctgpdx

pythonmain8f987c02.7K linessynced 14h ago

Code health

7.5out of 10Good

This codebase scores 7.5 out of 10 on defect risk, which we rate good. It also scores maintainability 8.8 and static performance risk 9.9 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 3 of 45 files are git hotspots, and they average 3.1.

Full health report →
Documentation22pages0 with model-written prose, 22 built from the indexScore validation5/202.25× baselineOf the 20 lowest-health files, 5 were bug-fixed in the last 6 months — 2.25× the 11% baselineDead code2exportsUnused exports that nothing in the graph reaches
Lines of code
2.7K
Files
45
Symbols
83
Modules
4
Languages
4

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Provide sample HTML from CTGP-DX download page in testsproposed · 14h ago
  • Close the test event loop to prevent hangingproposed · 14h ago
  • Restore ContextVar value and clean up after setting hass contextproposed · 14h ago
  • Set the frame helper's hass ContextVar to the mockproposed · 14h ago
  • Create a new event loop for tests to avoid interferenceproposed · 14h ago
  • Use a real event loop for frame.report_usage() in testsproposed · 14h ago

Needs attention

22 open
  • medium severity. ProposedProvide sample HTML from CTGP-DX download page in testsAuto-proposed decision awaiting review
  • medium severity. ProposedClose the test event loop to prevent hangingAuto-proposed decision awaiting review
  • medium severity. ProposedRestore ContextVar value and clean up after setting hass contextAuto-proposed decision awaiting review
  • medium severity. ProposedSet the frame helper's hass ContextVar to the mockAuto-proposed decision awaiting review
  • medium severity. ProposedCreate a new event loop for tests to avoid interferenceAuto-proposed decision awaiting review

Where the risk concentrates

All 3 hotspots →

Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
update_templates.py.github/scripts96.0th028
generate_changelog.pyscripts92.0th11bus factor 13
calculate_release_details.py.github/scripts88.0th126

Composition

Open the graph →
python 56%yaml 20%json 16%markdown 9%

Explore this codebase

  • Docs22 pages across 4 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files45 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 0 entry points→
  • Code healthPer-file scores, 65 open findings, coverage and refactoring targets→
  • Knowledge graphEntities, communities, and the paths between them→
  • Change couplingFiles that keep changing together, mined from commit history→
  • CommitsChange-risk ranked history with agent provenance→
  • ContributorsBus factor, per-file maintainers, and the human/agent split→
  • StatsSize class, origin, lifetime churn, rhythm and records→
  • CostsWhat indexing this snapshot cost, by model and by run→