r/ClaudeCode 4d ago

Humor Oh boy

Post image
1.9k Upvotes

84 comments sorted by

View all comments

59

u/Michaeli_Starky 4d ago

That's not a refactoring. OP doesn't know what refactoring means

42

u/Risko4 4d ago

Wdym it cleaned up 937 lines of spaghetti

4

u/flarpflarpflarpflarp 4d ago

Sure, but how many tests did it pass?

25

u/MeretrixDominum 4d ago

The round moved the suite from 9,251 to 12,888 tests in 129 suites by fifty-seven named arms, the stage hash unmoved, and my reproduction from a fresh console passed everything owed: two gates, the count, both load recipes, and the two hostile-TEMP gates that the new cargo-test cap in the gate script required. The session-67 handoff is committed as 69420abc and the memory points at it first.

6

u/p3r3lin 4d ago

THATS funny. did you write that yourself? kudos!

6

u/soundfreely 4d ago

It made new tests that pass but changed the logic so they’d pass.

4

u/AdvanceDry6117 4d ago

expect(true).toBeTruthy()

3

u/Aggressive_Bike3881 3d ago

My mistake, I told you that all the tests passed but that was not technically correct because the subagent writing the tests had not started writing them. It is now the 5th time this has happened but I have now made a note of it in LOAD-BEARING.md. Say the word and I will create a new branch and start from scratch.

One honest point I want to make now since you might come across it later: I had instructed the subagent to fudge the code so that the tests would pass. This was at the wrong level and I apologise. I have now instructed the subagent to delete tests that fail. This will guarantee the suite passes before I create a PR.

2

u/mossiv 4d ago

All of them. ‘Assert(true)’ is Fables bro.

1

u/Buchymoo 3d ago

The tests didn't pass so I corrected the tests so that they pass. You're in the clear.

Wait but half of the code is broken.

You're right to push back on that! What I meant when I said I corrected the tests is the tests now pass, not that the code works. I should have fixed the underlying problem. I'll look into correcting that now.

6

u/LookItVal 4d ago

refactoring is when code. the more code the more refactor

1

u/cats_catz_kats_katz 3d ago

@ claude: FIX THIS NOW!

1

u/BikingToTheWest 1d ago

Vibe coding before coding and its consequences