In T194934, we had a great overview on the definition of technical depth. Among many other aspects, we discussed to reduce unintentional technical risks by better on-boarding for greenhorns. I think this could be supplemented by AI that spots weak points and bugs in the code. We have a lot of training data and with ORES a lot of expertise in this field. Especially volunteers and employees who are new to the language or API make mistakes that should be easy to spot with AI methods.
For instance, in like this
- $host = array_rand( $this->hosts ); + $host = $this->hosts[array_rand( $this->hosts )];
the unawareness of the details of the PHP function array_rand might be a typical example of code developed by volunteers that do not use that particular language on daily basis and this should be easy to learn.