mdiri-ai / soduwork
Code health
Hotspots average 6.0, the place fixes pay off most.
Explore this codebase
- Code health map348hotspots across 4,487 files
- Ownership2,609sole-owned files: one author, no second reader
- Architecture7modules, 9 entry points
- Decisions19recorded, of which 0 in force and 19 background
- Refactoring747open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 6
21 things worth doing in the week to Nov 20, the last indexed commit, 15 of them now.
Worth planning
Review why fixes keep landing in
tools/dev/local_environment.py: tests reach itChanged 21 times in 90 days, and 13 of those commits were bug fixes.
- commits in 90 days
- 21
- bug-fix commits
- 13
- line coverage
- Unknown, no report
- tests that reach it
- 2 test files, call graph(inferred)
Medium effort, worth a checkTidy the code shape this week's commits left: 80 findings in 57 files
24 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
client/main/agent-runtime/runner-adapter.js(4 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 80
- files
- 57
- commits
- 24
Large effortSimplify
openConversationinclient/main/pi-session/ipc.js: tests reach it, and fixes keep landingChanged 35 times in 90 days, and 14 of those commits were bug fixes.
- commits in 90 days
- 35
- bug-fix commits
- 14
- line coverage
- Unknown, no report
- tests that reach it
- 19 test files, import graph(inferred)
Large effort, worth a checkSimplify
saveMyModelsinclient/api.js: tests reach it, and fixes keep landingChanged 36 times in 90 days, and 12 of those commits were bug fixes.
- commits in 90 days
- 36
- bug-fix commits
- 12
- line coverage
- Unknown, no report
- tests that reach it
- 31 test files, import graph(inferred)
Large effort, worth a checkSimplify
updateChatStateinclient/components/workspace/workspace-chat-list.js: tests reach it, and fixes keep landingChanged 26 times in 90 days, and 16 of those commits were bug fixes.
- commits in 90 days
- 26
- bug-fix commits
- 16
- line coverage
- Unknown, no report
- tests that reach it
- 8 test files, import graph(inferred)
Large effort, worth a check
Everything we found
6 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health10,982 open findingsCriticalPrior defects · client/components/workspace/workspace-sidebar-state.js59 findings · 11.4 deducted
- Refactoring747 open opportunitiesMediummain+2.2 health, M effort · hub-backend/smoke/smoke_autobatch_flow.py
- Doc drift10Mediumskills/code-review/SKILL.mdDocument names docs/agents/issue-tracker.md, which no longer exists.
- Decisions0 drifting from the codeMediumtools/dev/test_start_local.pyHigh-churn file with no governing decision
- Ownership2,609 sole-owned filesMediumtools/github/build.pyOne author, no second reader
- Dead code2LowgetMissingTranslationsUnreachable function (1 lines)