@amoroso One of our time sinks when qualifying That R Code is reading through their suite of verification tests and explaining what is being tested.
You have to read and understand the code.
Tests, source code - it doesn't matter. We need to show our requirements are being met. We develop a use case and use that along with standard software lifecycle guidance to build our list of critical characteristics and requirements. If we're lucky the vendor has sent some tests and reference results (if we're very lucky they're documented) and those tests demonstrate our requirements are met. If not, we have to build our own tests, set our own acceptance criteria, and document all that.
I spent most of the last 8 weeks doing a sensitivity analysis on input and embedded parameters of That R Code. Analyzing input parameters is easy but to test embedded parameters you have to find them first which means reading the source code. This is important for data validation too - if you're lucky all the numeric literals are documented with a source or justification. I found (what I consider) a bug in 30-year-old code by reading the technical basis and writing tests to infer the value of an embedded constant. This would have been much easier to track down if I had the source code (this is a problem with all black box executables). Imagine this situation from the vendor's side, being asked to confirm what the code is actually doing - not what the spec says but what the code says. And yes, source is an abstraction of the binary executable and what's in memory at runtime. The reason we have high confidence that the source accurately represents the lower level artifacts is that the compiler/interpreter is (mostly) deterministic. In operation, LLMs are not deterministic or repeatable and they're based on proprietary unvalidated (unvalidatable?) datasets. There's no way to test them from the user side to the degree needed for assuring they're fit for use in safety-related or safety-critical applications. That's not happening in what Adacore proposes but what happens when they naturally try to use LLMs for generating tests and specs and constraints and contracts?
There's more to safety-related code than V&V; we are organizationally and personally accountable for the code's behavior. That means we have to understand what we ship and what we use and we need to be able to trace behavior back through implementation up through specification to requirements and critical characteristics.
We need to read and understand the source code.