Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Programming Government

DOGE To Rewrite SSA Codebase In 'Months' (wired.com) 314

Longtime Slashdot reader frank_adrian314159 writes: According to an article in Wired, Elon Musk has appointed a team of technologists from DOGE to "rewrite the code that runs the SSA in months." This codebase has over 60 million lines of COBOL and handles record keeping for all American workers and payments for all Social Security recipients. Given that the code has to track the byzantine regulations dealing with Social Security, it's no wonder that the codebase is this large. What is in question though is whether a small team can rewrite this code "in months." After all, what could possibly go wrong? "The project is being organized by Elon Musk lieutenant Steve Davis ... and aims to migrate all SSA systems off COBOL ... and onto a more modern replacement like Java within a scheduled tight timeframe of a few months," notes Wired.

"Under any circumstances, a migration of this size and scale would be a massive undertaking, experts tell WIRED, but the expedited deadline runs the risk of obstructing payments to the more than 65 million people in the US currently receiving Social Security benefits."

In 2017, SSA announced a plan to modernize its core systems with a timeline of around five years. However, the work was "pivoted away" because of the pandemic.

DOGE To Rewrite SSA Codebase In 'Months'

Comments Filter:
  • Can't wait (Score:2, Insightful)

    For Biden to get blamed for this when it fails catastrophically! This is for the Fox News viewers out there, did you know an Elon staffer with the nickname of "big balls" used to provide support for a cybercrime ring? https://www.reuters.com/world/... [reuters.com]

    • Re:Can't wait (Score:5, Insightful)

      by gweihir ( 88907 ) on Friday March 28, 2025 @07:52PM (#65266759)

      It can only fail catastrophically. I mean, even rough estimations put this at > 1000 developper years and that essentially means these cretins will try to do it "with AI". Now, AI is not very good at writing code. Simple, small things, yes, usually. But anything complex? No. Hence they will very likely end up with somethign that does not even run abd cannot be fixed.

      • Re:Can't wait (Score:4, Interesting)

        by DamnOregonian ( 963763 ) on Friday March 28, 2025 @07:58PM (#65266791)
        LLMs these days are integrated into IDEs. They handle things from hints, to auto-completing small chunks of code. As you mentioned- they're pretty good at that.
        For larger projects, there are a few tools out there that will loop the already looped LLM to basically coax what it wants out of it and autocorrect iteratively, and it's pretty hit or miss.
        Sometimes it produces something pretty big and pretty complicated, and it's entirely functional.
        A lot of the time, it's not though.

        But one thing is certain- they had better use a memory safe language, because the C my best local LLM generates is very, very, unsafe.
        • Re:Can't wait (Score:4, Insightful)

          by gweihir ( 88907 ) on Friday March 28, 2025 @08:17PM (#65266867)

          Soo, lets do some more estimates. Let's say they end up with around 60MLoC as well. Lets say AI adds one show-stopping bug every 1000 LoC. Since nobody knows the new codebase and it is AI generated, lets say 10 developper days to find and fix one. Then we have 1500 developper years to find and fix these. But that is only for simpler errors, nothing fundamental. And it is a rater low estimate on all aspects.

          My prediction is that they will not even manage to crash this project completely in the next few years. Even that will take more time.

      • Re:Can't wait (Score:5, Insightful)

        by Alain Williams ( 2972 ) <addw@phcomp.co.uk> on Friday March 28, 2025 @08:29PM (#65266901) Homepage

        The problem is getting the specification right and more importantly complete. A system like this will have to deal with many, many special cases the rationale for them being scattered in many different places. So: getting something that does roughly the right job for the really common cases might, with a great deal of luck, just about achievable.

        Next is going to be importing the current data. This will involve some conversion, things will not be described the same way in old & new systems. There will be errors.

        Then there is testing to make sure that it does what it is supposed to do. This step alone will take many months.

        But, I suppose, as far as Musk is concerned those mostly affected will be poor people; about who probably do not much matter to him.

        • Re:Can't wait (Score:4, Informative)

          by Registered Coward v2 ( 447531 ) on Saturday March 29, 2025 @04:09AM (#65267387)

          The problem is getting the specification right and more importantly complete. A system like this will have to deal with many, many special cases the rationale for them being scattered in many different places. So: getting something that does roughly the right job for the really common cases might, with a great deal of luck, just about achievable.

          Next is going to be importing the current data. This will involve some conversion, things will not be described the same way in old & new systems. There will be errors.

          Then there is testing to make sure that it does what it is supposed to do. This step alone will take many months.

          But, I suppose, as far as Musk is concerned those mostly affected will be poor people; about who probably do not much matter to him.

          Having been involved in several large scale conversion efforts, you are spot on. In my experience:

          1. Specification documents are far to general, as-is processes are poorly documented, or not at all; leading to confusion and finger pointing when things don’t work right
          2. Data conversion is a nightmare, attempts to create rules are stymied by a lot of edge cases, and data is lost
          3. The time it takes is significantly underestimated resulting in schedule pressures to get it done
          4. The training to get the users able to actually use the system effectively is inadequate, so they struggle at the same time people are calling in to complain information, payments, etc. are wrong
          5. The people writing the code don’t understand what they system does, how it used used, and why things are done certain ways, let alone all the rules and regulations impacting it, so outputs get screwed up or regulations get violated

          In the end, most of the attempts were abandoned after spending boatloads of money. Messing up system as complex as SSA that impacts million of Americans, many of whom actually vote, is a prescription for disaster as they storm congressional offices demanding for heads to roll if their checks are late, wrong or delayed. “Mistakes will be made but we’ll fix them” is not what they want to hear, and angry voters screaming at them is not what representatives want to have to face. I suspect compnies will suck up a lot of money and then new system quietly abandoned as it becomes clear it is not working.

          • by wwphx ( 225607 )
            I worked for a major police department back in the '90s as a SQL DBA/developer. We had a payroll pre-process system in SQL Server that took officer's time slips and standardized them, producing files that used city codes for ingestion by the city's mainframe for payroll processing. It was a tricky process as there were like four union contracts with different ways of handling overtime, call-outs, no lunches, etc. Officers had two half-sheet forms, one for overtime and one for leave, and they'd check vari
      • Re:Can't wait (Score:5, Insightful)

        by Z00L00K ( 682162 ) on Saturday March 29, 2025 @12:54AM (#65267273) Homepage Journal

        The ultimate goal is probably to abolish the social security system completely and this is just a decoy operation.

      • by arglebargle_xiv ( 2212710 ) on Saturday March 29, 2025 @03:19AM (#65267345)

        Like many legacy government IT systems, SSA systems contain code written in COBOL, a programming language created in part in the 1950s by computing pioneer Grace Hopper.

        And there we have the real reason, SSA is using some woke programming language created by an obvious DEI hire, of course it has to go.

        • by gweihir ( 88907 )

          Well spotted! With that, we need to of course get rid of all of it! Cannot have code in a language made by a _woman_ in a critical system!

          Now, hmm, Alan Touring was gay. I think we need to re-think computers in general here!

      • Re: Can't wait (Score:3, Interesting)

        by flyingfsck ( 986395 )
        There are ways to create a modern solution without recreating the convoluted cruft of the old solution. In essence, by using a database and table driven code, so that you donâ(TM)t have to keep modifying the code in the future - you update the lookup tables.
  • We are so screwed. (Score:4, Insightful)

    by battingly ( 5065477 ) on Friday March 28, 2025 @07:13PM (#65266637)

    We are so screwed. I honestly don't know what the end game will look like, but things are about to get very bad for many people in the US.

  • by Anonymous Coward on Friday March 28, 2025 @07:18PM (#65266649)
    They're going to fuck everything up.
    • by VaccinesCauseAdults ( 7114361 ) on Friday March 28, 2025 @07:52PM (#65266763)
      You guys literally elected Biff from Back To The Future, and his sidekick Ritchie Rich born in an apartheid diamond mine. Bring the popcorn.
      • Normally this kind of thing would be met with nationalistic mouth-frothing rageposting, but I'm pretty fucking sure anyone who has their eyes open knows you are speaking facts.

    • by nedlohs ( 1335013 ) on Friday March 28, 2025 @08:26PM (#65266893)

      There's really only two options:

      1. They want cover while they loot the system. "Our new system revealed there's hundreds of billions of dollars missing" and all the tracks of them stealing it are gone.

      2. Elon is a complete and utter moron. Given hyperloop, those tesla semi trucks, etc, etc that's certainly likely.

    • by tlhIngan ( 30335 ) <slashdot@@@worf...net> on Friday March 28, 2025 @10:15PM (#65267107)

      Of course they are. The whole "250 year olds are getting social security!" thing was showing how ignorant of the whole thing they are.

      Everyone is celebrating the "waste" and "fraud" they find, but a lot of these things have delayed effects that we won't see for months.

      Things like USAID being disbanded is going to hurt a LOT of farmers because they were a big customer buying lots of surplus food to give away. That stuff won't happen until the fall harvest and suddenly farmers will go bankrupt.

      They're panicking right now because the stopping of IRA (inflation reduction act) payments meant many of the improvements they paid for are no longer being paid for, so now they're stuck having paid for something they wouldn't have bought otherwise.

      And now they're wanting to force SS recipients to visit in person an SSA office, many of which were closed during the mass firing.

      This stuff is like a timebomb - it doesn't go off now, it'll go off way in the future.

      Even more funny is that farmers, verterans, etc., the people most affected by all this, generally are hardcore Republican voters.

      The "FO" part of "FAFO" is coming.

  • A thought (Score:3, Interesting)

    by ArchieBunker ( 132337 ) on Friday March 28, 2025 @07:22PM (#65266661)

    If you want to watch mental gymnastics in real time wait for the usual MAGA fans to show up in the comments. They certainly know IT and know you can't rewrite a project of this scale in months. But will they be able to admit it's a bad idea? Of course not. They're too deep in the dogma.

  • by NotEmmanuelGoldstein ( 6423622 ) on Friday March 28, 2025 @07:22PM (#65266665)

    ... track the byzantine regulations ...

    What will really happen: The code will be simplified, the regulations ignored, so the SSA's new AI bot can decide who is 'Trumpy' enough to deserve a Social Security cheque.

    • ... track the byzantine regulations ...

      What will really happen: The code will be simplified, the regulations ignored, so the SSA's new AI bot can decide who is 'Trumpy' enough to deserve a Social Security cheque.

      That's fucking terrifying -- and, sadly, probably spot-on.
      People with (continuing) Trump donations in their IRS files will get preferential treatment ...

  • JAVA? (Score:3, Insightful)

    by coop247 ( 974899 ) on Friday March 28, 2025 @07:24PM (#65266671)
    So move from one antiquated, abandoned language to another?
  • by sdinfoserv ( 1793266 ) on Friday March 28, 2025 @07:24PM (#65266673)
    The SSA has access to all employment data and systems across the entire Federal Government. Their main interface is a web based system that accesses and creates a single display portal for at least a dozen other systems across the Gov't infrastructure. (PCOM, rep payee, scheduling, SSI to name a few) Given their gross misunderstand of mainframe processing (claiming people are hundreds of years old) there's zero chance of the Muskies getting this right.
    • by Stormin ( 86907 ) on Friday March 28, 2025 @07:35PM (#65266709)

      Let's not forget the number of things that SSA deals with that are governed by state law (are these two people legally married?, is this person disabled?) to just add complexity to the mix. It's the sort of thing a junior developer with no experience would think they could do in months.

      My father retired from SSA after nearly 40 years there, so I picked up enough over the years to understand that one might readily spend that long just understanding how complex a problem they were about to tackle.

      I did meet someone who took care of that COBOL code in the late 80s/early 90s. They were about to start Y2K remediation. I did not hear of that anywhere else for oh, 8 years or so. So the folks taking care of it clearly took pride in their work.

    • by dfghjk ( 711126 )

      They have zero chance of even understanding what you just explained, nor do they care.

      What's more interesting is what the end game might be. We know the long term goal is the destruction of social security, destroying the database doesn't seem like a good path toward that end.

  • collective facepalm.

  • I just hope they don't put it into production shortly after they finish rewriting it! LOL
  • Based on all the doge 'reforms' so far; it seem entirely likely that they aren't technically lying, since they appear to consider just taking a hammer to the existing system and calling it good to be an acceptable result.

    "Rewrite the SSA codebase" is only difficult if you implicitly or explicitly assume that the replacement must be equal to or better than the old system in terms of reliability, feature completeness, etc. if you are somewhere between depraved indifference and outright hostility about the
  • Or rather wannabe superhero will fail to make good on his promises. Signs of megalimania are getting stronger with this cretin.

    In actual reality, doing something like that in that time is far out of reach of the human race.

  • No worries; Elon's kids will use ChatGPT. Or... err... xAI.

  • by slowdeath ( 2836529 ) on Friday March 28, 2025 @07:39PM (#65266727)

    ... it always takes just weeks or months to do.

    If they actually read and understood what all that legacy code needs to do, and spent time to write a project plan or specification for an upgrade,
    that would probably take a YEAR or MORE to accomplish.

    Yeah, when you don't understand how something works, it always takes 'just a few months' to replicate it.

  • One could make an argument that rewriting the core number allocation and check writing services could realistically be completed in a few months. But we all know there are so many cases that are obviously being overlooked here, and they are most certainly going to try using AI. It will likely be a sad failure, and it all could be avoided.

  • Even more alarming than the revelations in the article are the missing critical pieces of who is doing the job and at what cost. Doge doesn't exist because it has deliberately not been defined as any clear entity. Thus, one must ask who is the company who plans to rewrite the code? At what price do they intend to do the job? And, what guarantees do they provide?

    The obvious answers are: X is doing the recoding at likely price of many billions of dollars, and they will "fail" because they did no work and si
  • If we were to switch over to a simple flat tax system I could write the code for them in a week in with a few hundred lines of QuickBasic code.

    • Please do hold your breath until that happens.
    • Re: Flat (Score:4, Interesting)

      by YetanotherUID ( 4004939 ) on Friday March 28, 2025 @08:22PM (#65266883)
      Calculating pay-in amounts is already by far the easiest part. Come back to me when your QuicBasic program can handle individual complex multivariable insurance benefit calculations for each of 71 million payees on a monthly basis without any hiccups. Because that's the problem we are dealing with, and it has precious little to do with whether the funds for the program are collected under a flat or progressive tax regime.
      • For us the biggest problem was that different rules applied in different time of history. And border cases where not always clear.

        Effect:

        Feature estimated to take 3 months and 80-100 test cases ended up taking 15 months and over 460 test cases....

  • Ketamine (Score:3, Funny)

    by zawarski ( 1381571 ) on Friday March 28, 2025 @08:05PM (#65266835)
    Is a helluva drug, apparently.
  • October 2023:

    “When I say payments, I actually mean someone’s entire financial life,” Musk said, according to audio of the meeting obtained by The Verge. “If it involves money. It’ll be on our platform. Money or securities or whatever. So, it’s not just like send $20 to my friend. I’m talking about, like, you won’t need a bank account...it would blow my mind if we don’t have that rolled out by the end of next year."
  • If ($user.party == "R" and vote.record.last == "Trump") then check.send()
    else check.skip()

    I wondered how they were going to get rid of Social Security. They'll break the code, blame it on the "deep state", bulldoze the whole thing and claim to be building it into "something great (tm)". Let the undesirable people get broken and/or die, and lose the ability to vote (no home address, etc.) Well played, team evil. Well played.

  • Utter lunacy (Score:4, Insightful)

    by quax ( 19371 ) on Friday March 28, 2025 @08:29PM (#65266903)

    They will probably use their screwy AI models to crank out code.

    They only upside, maybe the nation wakes up once scores of old Americans starve on the street.

    Then again all the avoidable deaths from Covid hardly moved the needle, so I am not holding my breath.

  • When the failure happens, they'll blame the regulations and the fix will be to change the law rather than fix the code.
  • When (Score:4, Informative)

    by radarskiy ( 2874255 ) on Friday March 28, 2025 @09:41PM (#65267047)

    Will this rewrite come before or after the air traffic control rewrite?

  • by fahrbot-bot ( 874524 ) on Friday March 28, 2025 @10:15PM (#65267109)

    DOGE To Rewrite SSA Codebase In 'Months'

    Good, Fast, Cheap

    They've already specified "fast" so we're stuck with "good" and "cheap".
    One of those is really great for them financially and the other is disastrous for us results-wise.
    Which do you think they'll pick?

  • by Lavandera ( 7308312 ) on Saturday March 29, 2025 @02:47AM (#65267319)

    I've spent some years in social security algorithms and it is a hell.

    The problem is actually politics - politicians love to "make people lives better" so they add rules, exceptions and special treatments.

    This leads to complicated rules that change every few months and to properly apply the law - your code needs to take into account the fact that for different periods of time different rules applied and sometimes it is not clear how border cases should be handled... Add manual fixes and exceptions to that
    and you end up with 15 months of development for something that normally takes 3 months...

    The question how much will they do/break... and how will they cover the f.up

  • by oneiros27 ( 46144 ) on Saturday March 29, 2025 @09:48AM (#65267697) Homepage

    I don't know about the SSA, but I went to talk at an Information Science conference about 15 years ago with someone from the IRS.

    They said that the bulk of their time was trying to translate what the hell the laws that Congress passed actually meant. They had given Congress some madlibs-type templates to use, so they knew they could parse it cleanly and translate it into specific requirements in whatever language their systems used.

    Even if someone were to try to write tests to duplicate the existing code, you have to ask which of these are actual requirements, and what's just quirks of how we're fulfilling those requirements.

    (spent more than a decade doing data integration at NASA, and lots of legacy data stuff before then)

Support bacteria -- it's the only culture some people have!

Working...