repowiseamosblomqvist/learnharness

amosblomqvist / learnharness

typescriptmaincb25c8e162.9K linessynced on Nov 13, 2026
Since the previous index, +405 files+0.4 code health+0.6 hotspot health

Code health

7.7out of 10Good

Hotspots average 6.6, the place fixes pay off most.

Explore this codebase

Do next · 9

10 things worth doing in the week to Nov 12, the last indexed commit, 1 of them now.

Worth planning

  • Break up handleChatInput (CCN 202, 525 lines)

    src/server/chat-handler.ts:265

    handleChatInput has many paths; easier to read and change once split, which also removes a duplicate; function changed in 52 commits; its file is imported by 19 files, changed 72 times in 90 days.

    gain
    up to +1.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 202, 525 lines
    severity
    high
    worth a check
  • Break up QuestionDockForm (CCN 147, 525 lines)

    components/question-dock.tsx:299

    QuestionDockForm has many paths; easier to read and change once split, which also removes a duplicate; function changed in 44 commits; its file is imported by 14 files, changed 53 times in 90 days.

    gain
    up to +0.8 health on this file(inferred)
    finding
    Complex method
    size
    CCN 147, 525 lines
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 35 findings in 23 files

    18 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with src/core/content-reader.ts (3 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    35
    files
    23
    commits
    18
  • Simplify GraphView in components/graph-view.tsx: tests reach it, and fixes keep landing

    Changed 110 times in 90 days, and 15 of those commits were bug fixes.

    commits in 90 days
    110
    bug-fix commits
    15
    line coverage
    Unknown, no report
    tests that reach it
    8 test files, call graph(inferred)
    worth a check
  • Simplify send in components/session-core.ts: tests reach it, and fixes keep landing

    Changed 38 times in 90 days, and 15 of those commits were bug fixes.

    commits in 90 days
    38
    bug-fix commits
    15
    line coverage
    Unknown, no report
    tests that reach it
    22 test files, call graph(inferred)
    worth a check

Everything we found

5 areas