Skip to content

Reduce cyclomatic complexity: _question_answers_via_llm (CC=26, limit=15) #353

Description

@tom-sapletta-com

project/analysis.toon.yaml reports _question_answers_via_llm with CC=26 (limit=15), defined in src/koruapi/opencode_supervisor.py:53. Extract sub-functions, simplify conditionals, or split into strategy pattern. Preserve behaviour — this is a pure refactor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    code2llmAuto-created label for code2llmcomplexityAuto-created label for complexitykoruAuto-created label for korullm-readyAuto-created label for llm-readymanagedAuto-created label for managednl-taskAuto-created label for nl-taskplanfileAuto-created label for planfilepriority-normalAuto-created label for priority-normalpriority: normalrefactorAuto-created label for refactorscanAuto-created label for scan

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions