repowiserepowise
Sign in
FaserF/ha-pepper
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowiseFaserF/ha-pepper
HA
HA

FaserF / ha-pepper

pythonmain5887c7f6.6K linessynced 1w ago

Code health

7.2out of 10Good

This codebase scores 7.2 out of 10 on defect risk, which we rate good. It also scores maintainability 8.3 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: 5 of 52 files are git hotspots, and they average 3.2.

Full health report →
Documentation44pages0 with model-written prose, 44 built from the indexScore validation16/202.45× baselineOf the 20 lowest-health files, 16 were bug-fixed in the last 6 months — 2.45× the 33% baselineDead code4exportsUnused exports that nothing in the graph reaches
Lines of code
6.6K
Files
52
Symbols
247
Modules
5
Languages
5

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Remove blocking time.sleep inside executor fetchproposed · 1w ago
  • Handle reauthentication and reauth confirmation in config flowproposed · 1w ago
  • Persist verified session data to avoid double-loginproposed · 1w ago
  • Validate connection via test fetch on selected platformproposed · 1w ago

Needs attention

20 open
  • medium severity. ProposedRemove blocking time.sleep inside executor fetchAuto-proposed decision awaiting review
  • medium severity. ProposedHandle reauthentication and reauth confirmation in config flowAuto-proposed decision awaiting review
  • medium severity. ProposedPersist verified session data to avoid double-loginAuto-proposed decision awaiting review
  • medium severity. ProposedValidate connection via test fetch on selected platformAuto-proposed decision awaiting review
  • medium severity. Ungovernedcustom_components/pepper/binary_sensor.pyHigh-churn file with no governing decision

Where the risk concentrates

All 5 hotspots →

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

FileChurnPrior fixesMaintainersCommits 90d
sensor.pycustom_components/pepper95.7th12bus factor 113
pepper_api.pycustom_components/pepper91.3th4bug magnet2bus factor 116
binary_sensor.pycustom_components/pepper87.0th22bus factor 19
config_flow.pycustom_components/pepper82.6th32bus factor 112
coordinator.pycustom_components/pepper78.3th4bug magnet2bus factor 121

Composition

Open the graph →
python 44%yaml 25%markdown 17%json 12%toml 2%

Explore this codebase

  • Docs44 pages across 5 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files52 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 0 entry points→
  • Code healthPer-file scores, 166 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→