HR-driven pilot selection is a mistake. The numpties at BA prove this time after time, but BA is not alone.
Apart from the inadequacies of HR people in understanding the requirements of the pilot profession, they in part select on a quota basis as regards gender, race, and other parameters.
I recall an experienced A320/321 SFO who was LHR-based being turned down at interview by BA as "not enthusiastic enough about joining BA". (His career went well nevertheless)