i'm at a loss of words after reading a paper about reformatting code using an ML model that has a measured statistical quantity A_c which says how often the reformatted code behaves the same as the original

the "ideal" (their choice of words) case is 64.2%

edit: this got popular without me really intending to, so here's why i'm reading research: i want a semantic style transfer tool that can automatically format a patch "the same as the rest of the file / rest of codebase is formatted" without the rigidity involved in black or rustfmt that i find so hostile to my workflow that i refuse to use them. obviously, i want a tool that generates semantically equivalent code 100.0% of time (ignoring source locations or reading from __file__)

This entry was edited (2 days ago)
in reply to ✧✦Catherine✦✧

The media in this post is not displayed to visitors. To view it, please go to the original post.

surely it just means differing output structure to accommodate the formatting, right?”

No, it just produces code that won’t compile. In a refactoring tool.

(Haha, didn’t see the post a minute before mine with the exact same snip)

This entry was edited (2 days ago)
in reply to ✧✦Catherine✦✧

Why is AI as a consumer product being rushed out the door so fast? It's obviously not ready for prime time. It's unreliable, inaccurate, and fragile.

It's like a car being sent out to car dealerships with only 3 wheels with hasty promises of a future 4th wheel.

Possibly the goal isn't a car with 4 wheels but a plan for something else, similar to a Waymo power outage gridlock

forbes.com/sites/bradtempleton…

Reliance on AI is a national security risk vulnerable to high fuel prices

1/

Nicole Parsons reshared this.

in reply to Nicole Parsons

2/

reuters.com/business/autos-tra…

Or a tech oligarch shuts it down on a whim? Or after a bribe?

sfstandard.com/2026/03/03/waym…

A reliance on AI is a national security risk.

theguardian.com/technology/202…

reuters.com/investigations/mus…

This entry was edited (2 days ago)

Nicole Parsons reshared this.

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.