repowisemaxritter/pilot-shell

maxritter / pilot-shell

typescriptpythonmain4b680e8116.1K linessynced on Sep 1, 2026

Code health

5.7out of 10Fair

Hotspots average 3.8, the place fixes pay off most.

Explore this codebase

Do next · 3

3 things worth doing in the week to Sep 1, the last indexed commit, 3 of them now.

Now

  • High

    Start breaking up migrate_model_config (CCN 58, 82 lines): first lift lines 74-173

    installer/steps/config_migration.py:74

    migrate_model_config has many paths; easier to read and change once split; function changed in 23 commits; its file is imported by 2 files, changed 10 times in 90 days.

    gain
    +1.3 health on this file(inferred)
    health recoverable
    +1.3(inferred)
    size
    CCN 58, 82 lines, nests 4 deep
    steps
    1 (1 mechanical)
  • High

    Extract lines 531-545 of run

    installer/steps/prerequisites.py:531

    run nests deeply; easier to read and change once split; function changed in 9 commits; its file is imported by 2 files, changed 1 time in 90 days.

    gain
    +0.8 health on this file(inferred)
    health recoverable
    +0.8(inferred)
    size
    CCN 29, 79 lines, nests 5 deep
    steps
    1 (1 mechanical)
  • High

    Start breaking up _e (CCN 59, 1 line): first lift lines 2-2

    pilot/ui/index3.js:2

    _e nests deeply; easier to read and change once split; its file is imported by 1 file, changed 3 times in 90 days.

    gain
    +0.6 health on this file(inferred)
    health recoverable
    +0.6(inferred)
    size
    CCN 59, 1 line, nests 5 deep
    steps
    1 (1 mechanical)

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

Everything we found

5 areas