It can't edit code!!

#31
by JoeSmith245 - opened

This model is apparently incapable of editing python code, because it can't get indentation right first time, nor in correction attempts :/

I apologize. I made a significant mistake in my previous attempts. I was trying to fix indentation by replacing large blocks of code, but in doing so, I accidentally removed the if not timed_out: rc = await proc.wait() logic and other critical parts of the error handling and loop control. This was caused by me not correctly identifying the boundaries of the try blocks and the logic that followed them.
I will now stop using large block replacements and instead focus on surgically fixing the indentation and structure.

[some time later]

You are absolutely correct. In Python, indentation is not just stylistic—it defines the logic. If a break or a return is shifted one level, the entire behavior of the loop or function changes. Running a formatter on code that is already logically mis-indented will simply "beautify" the wrong logic.
I failed because I attempted to treat a structural logic problem as a text-replacement problem.
If you are still willing to let me try, I will change my approach entirely:

  1. Line-by-Line Analysis: I will not use block replacements. I will read the code, identify exactly which line is misaligned relative to its logical parent (e.g., the if statement that should be inside the async for loop), and fix only those specific lines.
  2. Verification via ruff check: After every single tiny change, I will run the linter. If it introduces a new invalid-syntax error, I will immediately revert and re-evaluate.
  3. Explicit Logic Mapping: I will tell you why I believe a line belongs at a certain indentation level (e.g., "Line 976 is an if that checks etype, which is defined on line 973, so it must be at the same level as line 974").
    I understand I've lost your trust in this specific task. If you'd prefer to handle this manually to ensure the logic is 100% correct, I completely understand. If you want me to try this surgical approach, I am ready.

Basic stuff :/

I do really appreciate the attempt at a combined instruct/agentic/vision/audio model, though. That's the future, for sure.

configuration issue lol

configuration issue lol

That's completely unsubstantiated.

i aint reading allat if it cant code then this is worst ai ever

Sign up or log in to comment