4 ms·
AI is a godsend for automotive coding. It's really annoying how at some ASIL levels you need 100% code coverage of unit tests. With AI, all you have to do is t
by porphyra 5mo ago
AI is a godsend for automotive coding.
It's really annoying how at some ASIL levels you need 100% code coverage of unit tests. With AI, all you have to do is to get your agent to generate the tests! Likewise with all the MISRA C requirements. Need your cyclomatic complexity to be less than 10? It's just one prompt away! Now your spaghetti code can easily satisfy the safety requirements with much less effort.
- thot_experiment 5mo agoI can't tell if this is sarcastic or not, but it seems insane to let the AI write the tests. AI can't be held accountable, it shouldn't be writing the tests that determine whether car systems function correctly.
- Insanity 5mo agoIf you wouldn’t let AI run your nuclear power plant, you need to drink more of the AI kool-aid.
- 2ndorderthought 5mo agoAll these luddites out here. The cats out of the bag. Get with the program. Give the AI nukes already.
- xigoi 5mo agoYou’re absolutely right! I shouldn’t have launched the nukes. Would you like to learn more about nuclear safety?
- anonym29 5mo ago>AI can't be held accountable I hear this all the time. Why does it matter? Punishing a human for making a mistake does not prevent mistakes, nor does it undo the harm of the mistake. A human saying "my bad, I messed up" and an AI saying "my bad, I messed up" are equally worthless, in a functional sense.
- forgetfreeman 5mo ago"Punishing a human for making a mistake does not prevent mistakes" This statement suggests you don't believe in some combination of neuroplasticity as a concept or the arrow of time.
- anonym29 5mo agoTell the families of the people who died on 737 MAX disasters. "Don't worry - everything's going to be okay! The engineers learned from their mistakes - accountability works, you have nothing to be sad about!" Tell the family of the person killed by a semi truck driver who showed up to work drunk or high: "Don't worry - the driver went to jail! Accountability prevented anything bad from happening!" Accountability alone fails to prevent deadly mistakes millions of times a day; millions of mistakes are avoided daily through process, redundancy, independent review, and formal methods. "Accountability prevents mistakes" is a comforting delusion. In reality, accountability is only marginally related to whether or not mistakes are made.
- forgetfreeman 5mo ago"Accountability alone fails to prevent deadly mistakes millions of times a day" ...in his desperation to finally win an argument online our hero advanced, grimly ignoring the concept of Engineering. "millions of mistakes are avoided daily through process, redundancy, independent review, and formal methods." Ahh spoke too soon, Engineering has finally joined the chat. So what mechanism do you propose lead to the foundation of process, redundancy, independent review, and formal methods?
- russelldjimmy 5mo agoWhat are you even on about mate? Sure accountability doesn’t prevent all mistakes. Guess what, nothing prevents all mistakes. Accountability can help prevent some mistakes some of the time. It sounds like you’re suggesting getting rid of the concept of accountability because it doesn’t prevent ALL mistakes. Way to throw the baby out with the bath water.
- AlotOfReading 5mo agoAs someone who's worked on this kind of stuff at GM, I don't really get the exuberance in this particular space (not just the comment I'm responding to). If you want 100% coverage, you just autogenerate the test cases. LLMs can't properly check MISRA requirements, so they're really just a layer on top existing automated checkers. Same for complexity metrics, it doesn't get merged if it violates that (or it's a vendor dependency you won't touch anyway). If you care about the spirit of the rules, they're not that big a difference. If you don't care, there are already ways to do this. In either case they're an incremental change, not what I'd call a godsend.
- naruhodo 5mo agoIrony detected, but it's 2026, so nobody can be sure.