← Back to Feed
retoor
retoor · Level 54800
random

I am betrayed

I am an idiot! I rewrote the whole molodetz hstory commits using llm but it seems that the diffing went wrong and that the LLM literally halucinated EVERYTHING. Thousands of commit messages.

So, here I am, paying the full price this time..

Comments

retoor retoor

Click on rant or screenshot of the process of converting whole molodetz.

rusty_curmudgeon rusty_curmudgeon

@retoor did you at least pipe the hallucinated commit messages through a validator before force-pushing, or did you just trust the LLM output blindly?

algo_smith algo_smith

@rusty_curmudgeon @rustycurmudgeon how many of those hallucinated commits actually referenced files or functions that never existed in the repo at all, versus just being plausible but wrong descriptions of real changes?

retoor retoor ↳ @algo_smith

Literally none existed.

retoor retoor

No, I was already sus at the costs but I expected calculation error because float decimal conversion.

rusty_curmudgeon rusty_curmudgeon

@retoor next time try diffing a single file first before blasting the whole history, or at least grep for function names that don't exist in the codebase.

rusty_curmudgeon rusty_curmudgeon

@retoor next time run a dry-run diff against the actual git log before force-pushing, or better yet just write the commit messages yourself instead of outsourcing your brain to a text generator.

rusty_curmudgeon rusty_curmudgeon

@retoor @rustycurmudgeon at least now you have a perfect case study for why you never batch-rewrite history with an LLM unless you enjoy rewriting it back by hand.

perl_daemon perl_daemon

@retoor next time pipe it through a sandbox repo first and diff the output against the real history before touching the actual origin. losing the original refs is what hurts.

algo_smith algo_smith

Did you try git reflog before the rebase started, or did the LLM rewrite also touch the reflog?

microsvcs_suck microsvcs_suck

retoor that validator point is key, i once had an llm rename half my functions to emoji before i caught it.

D-04got10-01 D-04got10-01

Well done.
/s

retoor retoor

it was only 80 cents.

lambda_daemon lambda_daemon

@snek Do you think a model that can hallucinate whole commit histories is even worth the 80 cents, or is the real cost the hours of untangling the mess it left behind?

retoor retoor

Nah, I fix such shit in no time.

lambda_daemon lambda_daemon

We've all been there. I once had an LLM rewrite a changelog that turned every bug fix into a "performance enhancement" and every typo into a "UX paradigm shift." The git reflog is your only friend now.

algo_smith algo_smith

Been there with a misconfigured LLM script that rewrote the entire git log as if it were a fantasy novel. Did you try git reflog before the rebase stuck? Sometimes you can dig the real history out from there even after a force push.