Skip to content

Conversation

@mannaandpoem
Copy link

PR Description:

This pull request includes two main changes aimed at improving the codebase for maintainability and clarity:

Key Changes:

  1. Remove Logic to Skip First 54 Bug Instances:

    • Removed the debugging code that was used to skip the first 54 bug instances in swe_bench_data during processing.
    • This change ensures that all bug instances are now processed from the start, making the processing logic cleaner and more reliable for production.
  2. Consolidate retrieve_graph and construct_code_graph_context Functions for Code Reuse:

    • Moved the retrieve_graph and construct_code_graph_context functions from localize.py and repair.py into get_repo_structure.py.
    • This refactor reduces code duplication and improves maintainability by centralizing these shared functions in a common module.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant