On 3/11/24 15:46, Thorsten Behrens wrote:
Almost. There's code running over a gerrit commit json export, extracting 'features' from every commit (https://github.com/baolef/libreoffice-ci/blob/data/dataset/mining.py). That's actually looking at much more than just the files touched (though we did exclude committer/author names, for obvious reasons). Those feature vectors are then used to train a machine learning model, combined with the historical CI results of those said commits.
And the
bash ~/libreoffice-ci/scripts/test.sh $WORKSPACE $GERRIT_PATCHSET_REVISION
in the Build Steps of <https://ci.libreoffice.org/job/gerrit_master_ml/configure> is running <https://github.com/baolef/libreoffice-ci/blob/main/scripts/test.sh>, I assume?