Skip to content

pi-simplify: The scope of changes is too large #130

@listky

Description

@listky

Describe the bug

Steps to reproduce

1.In a Java file with a total of 300 lines, modify the code for lines 100 to 120, and execute /simplify xxx.java

Expected behaviour

Only the modified code lines from lines 100 to 120 are simplified and do not affect other unmodified code segments

Actual behaviour

.xxx.java the entire file contains many methods of code that have been modified, including but not limited to variable name adjustments and simplification of the trineye operator logic

Environment

  • pi-continuous-learning version: pi-simplify:0.2.2
  • Pi version (pi --version): 0.76.0
  • Node.js version (node --version): v22.19.0
  • OS: Win11

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions