repowiseagentscope-ai/agentscope

Code health of agentscope-ai/agentscope

Repowise scores agentscope-ai/agentscope at 7.9 out of 10 for code health, which reads as good, alongside maintainability 8.6 and static performance 9.9 on the same scale. There are 1,722 open findings across the three pillars, and the lowest-scoring file is _agent.py at 1.0. Scores are computed from complexity, duplication, churn and git fix history, not from a linter.

Findings by severity

210 critical, 322 high, 764 medium, 426 low.

Hotspots

65 files are flagged as hotspots. The top 5:

  • src/agentscope/agent/_realtime/_agent.py: 14 commits in the last 90 days from 6 contributors with 7 recent bug fixes
  • src/agentscope/app/_bus_ops.py: 5 commits in the last 90 days from 2 contributors with 3 recent bug fixes
  • src/agentscope/app/_service/_chat.py: 13 commits in the last 90 days from 7 contributors with 5 recent bug fixes
  • src/agentscope/realtime/_gemini/_model.py: 4 commits in the last 90 days from 3 contributors with 1 recent bug fix
  • src/agentscope/mcp/_mcp_client.py: 10 commits in the last 90 days from 9 contributors with 8 recent bug fixes

Lowest-scoring files

  • src/agentscope/agent/_agent.py: 1.0 out of 10 with 12 bug fixes in the last 180 days
  • src/agentscope/tool/_builtin/_bash_parser.py: 1.0 out of 10 with 8 bug fixes in the last 180 days
  • src/agentscope/model/_gemini/_model.py: 1.0 out of 10 with 9 bug fixes in the last 180 days
  • tests/realtime_agent_test.py: 1.0 out of 10 with 7 bug fixes in the last 180 days
  • src/agentscope/app/_service/_chat.py: 1.0 out of 10 with 5 bug fixes in the last 180 days

Checked against bug fixes

Of the 20 files Repowise scores lowest, 19 had a bug fix in the last 180 days. Across all 1,062 scored files, 17.6% had a bug fix in that window.

Dead code and refactoring

138 refactoring targets across 138 files would raise the score.

More on agentscope: summary and FAQ, codebase overview, architecture.

Related guide: Best dead code detection tools by language