Skip to content

Address code smell: Shotgun Surgery: label #146

Open

Description

@tom-sapletta-com

code2llm reports Shotgun Surgery: label in repatch/marked_context/_html.py:100.

Mutation of variable 'label' spans 11 functions. Changing this logic requires work in many places.

Make the smallest refactor that removes the smell and run local tests.

code2llm reports Shotgun Surgery: label in repatch/marked_context/_html.py:100.

Mutation of variable 'label' spans 11 functions. Changing this logic requires work in many places.

Make the smallest refactor that removes the smell and run local tests.

Activity

  1. added
    planfileAuto-created label for planfile
    managedAuto-created label for managed
    koruAuto-created label for koru
    nl-taskAuto-created label for nl-task
    llm-readyAuto-created label for llm-ready
    priority-highAuto-created label for priority-high
    code2llmAuto-created label for code2llm
    code-smellAuto-created label for code-smell
    shotgun-surgeryAuto-created label for shotgun-surgery
    on Sep 20, 2026
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

    code-smellAuto-created label for code-smellcode2llmAuto-created label for code2llmkoruAuto-created label for korullm-readyAuto-created label for llm-readymanagedAuto-created label for managednl-taskAuto-created label for nl-taskplanfileAuto-created label for planfilepriority-highAuto-created label for priority-highshotgun-surgeryAuto-created label for shotgun-surgery

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions