The code and data used to support the advancement of the ASSA algorithm and its rationality in the application of bearing fault diagnosis, in which ASSA stores the comparison test of the ASSA algorithm with WOA, GWO, PSO, HHO, SSA, MFO, based on the test function. PARPOR stores the vibration signal data of the bearings used in the project as well as the different algorithms for the fault feature extraction. The effect of the comparison code, the number of iterations are all 50, using WFEE as the fitness function.