repowisemadslorentzen/ai-job-search

madslorentzen / ai-job-search

typescriptpythonmaster5d9e09717.6K linessynced 1d ago

Code health

8.1out of 10Good

This codebase scores 8.1 out of 10 for code health, which we rate good. It also scores maintainability 8.8 and static performance 9.6 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 34 of 211 files are git hotspots, and they average 7.0 — which is where the fixes pay off most.

Do next

2 suggested

2 things worth doing in the week to Oct 17, the last indexed commit, 1 of them now.

Now

  • Critical

    Simplify cmd_apply in tools/rank_state.py while the change is fresh

    2 commits in the last 7 days added or worsened 2 critical or high findings here, still open. Fixing now costs less than after the next change.

    serious findings
    2
    critical
    1
    latest commit
    fix(rank): retry postings that could not be fetched instead of expiring

Worth planning

  • Start breaking up <anonymous@73> (CCN 42, 90 lines): first lift lines 76-125

    .agents/skills/jobbank-search/cli/src/commands/search.ts:76

    <anonymous@73> has many paths; easier to read and change once split, which also removes a duplicate; function changed in 2 commits; its file is imported by 2 files, changed 3 times in 90 days.

    gain
    up to +1.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 42, 90 lines, nests 3 deep
    severity
    critical
    worth a check

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
Lines of code
17.6K

Recent activity

All commits

Everything we found

338 open
  • typescript59%
  • python41%

Explore this codebase