repowiserepowise
Sign in
krkn-chaos/krkn
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisekrkn-chaos/krkn
KR
KR

krkn-chaos / krkn

pythonmain2fbf4b548.6K linessynced 2w ago

Code health

6.8out of 10Fair

This codebase scores 6.8 out of 10 for code health, which we rate fair. It also scores maintainability 6.8 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 6 of 426 files are git hotspots, and they average 3.5 — which is where the fixes pay off most.

Full health report →
Documentation466pages0 with model-written prose, 466 built from the indexScore validation14/203.3× baselineTop-ranked files that did go on to need a bug fixDead code4exportsUnused exports that nothing in the graph reaches

Do next

1 thing worth doing this quarter.

Worth planning

  • Delete 3 unused symbols and files (31 lines)

    Nothing in the graph reaches them, across 3 files; every reader and agent pays to skip them.

    symbols
    3
    lines
    31
    safe to delete
    Yes(inferred)
    Small effort

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report
    Small effort
  • Review the 30 proposed decisions

    None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.

    proposed
    30
    accepted
    0
    Medium effort
Lines of code
48.6K
Files
426
Symbols
3,315
Modules
7
Languages
3

Recent activity

All commits →

Commits

  • 2fbf4b55fix: avoid duplicate SLO evaluation between per-scenario and final scoring (#1575)2w ago
  • b5d98a9efix noisy health check3w ago
  • 7775beadfix: isolate scenario plugin import failures and bump aliyun sdk pin (#1592)3w ago
  • 5ea153f4adding weight to each scenario (#1579)4w ago
  • 116374f7fix(ci): bump krkn-hub action to multi-arch rebuild commit (#1591)4w ago
  • b727cd3cfix(ci): bump krkn-hub action to no-tlog signing-config commit (#1590)4w ago

Decisions

  • Build egress tc netem tree with actual loss/delay valuesproposed · 2w ago
  • Remove unreachable duplicate get_vmi_tap_interfaceproposed · 2w ago
  • Add exclude_label feature to pod network outage scenariosproposed · 2w ago
  • Validate container_name in container scenario pluginproposed · 2w ago
  • Hog scenario porting from arcaflow to nativeproposed · 2w ago
  • Fix cleanup_rollback_version_files error and add default rollback configproposed · 2w ago
▸

Everything we found

1,269 open

Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.

  • worst item is critical severity. Code health972Untested hotspot · krkn/scenario_plugins/native/network/ingress_shaping.py23 findings · 9.9 deducted→
  • worst item is medium severity. Refactoring76__init__+1.5 health, S effort · krkn/scenario_plugins/pod_disruption/models/models.py→
  • worst item is medium severity. Decisions36run_kraken.py30 awaiting review · 6 hotspots ungoverned→
  • worst item is medium severity. Ownership180krkn/summarized_reports/transform.py95% single-owner concentration, 6 commits in 90d→
  • worst item is low severity. Dead code5get_pods_or_skipUnreachable function (26 lines)→

Composition

Open the graph →
python 88%
shell 11%makefile 0%

Explore this codebase

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