Pancakes-Labs / astrbot_plugin_proactive_chat
pythonjavascriptmain48b2ce216.8K linessynced 3mo ago
Code health
5.8out of 10Fair
Hotspots average 4.2, the place fixes pay off most.
Explore this codebase
- Code health map4hotspots across 56 files
- Ownership31sole-owned files: one author, no second reader
- Architecture4modules, 2 entry points
- Decisions13recorded, of which 0 accepted and 13 awaiting review
- Refactoring13open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
1 thing worth doing this quarter.
Worth planning
Delete 4 unused symbols and files (86 lines)
Nothing in the graph reaches them, across 3 files; every reader and agent pays to skip them.
- symbols
- 4
- lines
- 86
- 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 effortReview the 13 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 13
- accepted
- 0
Medium effort
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health290CriticalFunction hotspot · core/task_scheduler.py27 findings · 8.0 deducted
- Refactoring13 open opportunitiesMedium_merge_session_info+1.5 health, S effort · core/data_storage.py
- Decisions13 to reviewMediumcore/web_admin_server.py13 awaiting review, 0 drifting from the code
- Ownership31 sole-owned filesMediumadmin/js/views/StatusView.jsxOne author, no second reader
- Dead code12Lowget_astrbot_versionUnreachable function (2 lines)