Skip to content

planner_agent includes test files in affected_files causing coder to patch wrong file #11

Description

@VinaySampath14

When planner_agent identifies affected files, it sometimes includes test files
(e.g. tests/test_utils.py) in the affected_files list. The coder_agent then
attempts to patch the test file instead of the source file, producing an
incorrect fix.

Expected: affected_files should only contain source files, not test files
Actual: test files included, coder patches wrong file

File: src/agents/planner_agent.py

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions