• 9 Posts
  • 202 Comments
Joined 6 months ago
cake
Cake day: June 11th, 2024

help-circle


  • I think you (or I) misunderstand something. You have a test for a small well defined unit like a C function. und let the AI generate code until the test passes. The unit test is binary, either it passes or not. The unit test only looks at the result after running the unit with different inputs, it does not “go through millions of lines of code”.

    And you keep doing that for every unit.

    The writing of the code is a fairly mechanical thing at this point because the design has been done in detail before by the human.



  • Jeena@piefed.jeena.nettoTechnology@lemmy.worldThe GPT Era Is Already Ending
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    4
    ·
    3 days ago

    We already have to do that as humans in many industries like automobile, aviation, medicine, etc.

    We have several layers of tests:

    1. Unit test
    2. Component test
    3. Integration / API test
    4. Subsystem test
    5. System test

    On each level we test the code against the requirements and architecture documentation. It’s a huge amount of work.

    In automotive we have several standard processes which need to be followed during development like ASPICE and ISO26262:













  • I just bought a random UPS at MediaMarkt back in the day in Poland and calculated that it would be able to power all the CCTV cams, the CCTV recorder, a raspberry pi and the modem which is connected to a long range WiFi antenna for at least half an hour. This worked very well for a couple of years until the battery gave up. The one I had had a ethernet port but I never bothered to set it up to send the signal.

    Mine was running at my parents summer house in Poland while my parents live in Germany and I in Sweden and now in Korea, so if something breaks down it’s down for up to a year until someone goes there to fix it.

    Right now everything is down, my dad was there a couple of month ago and said that a marten chew up the Ethernet cables. Sadly my dad couldn’t fix it so now I hope I will be able to get there during Christmas.