repowiserepowise
Sign in
2233admin/cost-xray
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowise2233admin/cost-xray
CO
CO

2233admin / cost-xray

pythonmaster7cf9f107.8K linessynced 1mo ago

Code health

7.7out of 10Good

This codebase scores 7.7 out of 10 on defect risk, which we rate good. It also scores maintainability 8.0 and static performance risk 10.0 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 7 of 58 files are git hotspots, and they average 6.3.

Full health report →
Score validation7/201.56× baselineOf the 20 lowest-health files, 7 were bug-fixed in the last 6 months — 1.56× the 22% baselineDead code50exportsUnused exports that nothing in the graph reaches
Lines of code
7.8K
Files
58
Symbols
680
Modules
20
Languages
6

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Use shared cost rate path and apply no cache-write premium for Codexproposed
  • Compute output thinking from wire reasoning-token count (encrypted reasoning text)proposed
  • Handle server-side history by cross-turn accumulation and compaction resetproposed
  • Map event types to buckets with deliberate unmapped compactionproposed
  • Use Codex's o200k tokenizer and avoid Claude tokenizer callsproposed
  • Adapter reassembles turns itself and is non-incrementalproposed

Needs attention

88 open
  • medium severity. ProposedUse shared cost rate path and apply no cache-write premium for CodexAuto-proposed decision awaiting review
  • medium severity. ProposedCompute output thinking from wire reasoning-token count (encrypted reasoning text)Auto-proposed decision awaiting review
  • medium severity. ProposedHandle server-side history by cross-turn accumulation and compaction resetAuto-proposed decision awaiting review
  • medium severity. ProposedMap event types to buckets with deliberate unmapped compactionAuto-proposed decision awaiting review
  • medium severity. ProposedUse Codex's o200k tokenizer and avoid Claude tokenizer callsAuto-proposed decision awaiting review

Where the risk concentrates

All 7 hotspots →

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

FileChurnPrior fixesMaintainersCommits 90d
run.sh97.8th52bus factor 19
test_tui_app.pytests95.7th124
addon.pycost_xray93.5th11bus factor 13
tui_app.pycost_xray91.3th124
anthropic.pycost_xray/adapters84.8th123

Composition

Open the graph →
python 76%markdown 16%shell 3%makefile 2%toml 2%Other 2%

Explore this codebase

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