repowiseagentscope-ai/agentscope

agentscope-ai / agentscope

pythontypescriptmaina17937b309.5K linessynced on Nov 23, 2026

Code health

7.9out of 10Good

Hotspots average 6.8, the place fixes pay off most.

Explore this codebase

Do next · 9 · 1 setup step

9 things worth doing in the week to Nov 23, the last indexed commit · 1 setup step.

Worth planning

  • Start breaking up _run_impl (CCN 92, 577 lines): first lift lines 1364-1392

    src/agentscope/app/_service/_chat.py:1364

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

    gain
    up to +0.2 health on this file(inferred)
    finding
    Complex method
    size
    CCN 92, 577 lines, nests 5 deep
    severity
    high
    worth a check
  • Tidy the code shape this week's commits left: 10 findings in 7 files

    7 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with examples/web_ui/frontend/src/pages/voice-profile/index.tsx (2 findings): tidying it while the change is fresh costs less than after the next one.

    code-shape findings
    10
    files
    7
    commits
    7
  • Review why fixes keep landing in src/agentscope/rag/_parser/_word.py: tests reach it

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

    commits in 90 days
    15
    bug-fix commits
    14
    line coverage
    Unknown, no report
    tests that reach it
    1 test file, call graph(inferred)
    worth a check
  • Review why fixes keep landing in src/agentscope/formatter/_gemini_formatter.py: tests reach it

    Changed 12 times in 90 days, and 11 of those commits were bug fixes.

    commits in 90 days
    12
    bug-fix commits
    11
    line coverage
    Unknown, no report
    tests that reach it
    2 test files, call graph(inferred)
    worth a check
  • Break up check_sed_constraints (CCN 65, 134 lines)

    src/agentscope/tool/_builtin/_bash_parser.py:807

    check_sed_constraints has many paths; easier to read and change once split, which also removes a duplicate; function changed in 5 commits; its file is imported by 2 files, changed 8 times in 90 days.

    gain
    up to under +0.1 health on this file(inferred)
    finding
    Complex method
    size
    CCN 65, 134 lines, nests 5 deep
    severity
    high
    worth a check

Everything we found

4 areas