Below is the failure report generated by the code you posted, minus your PC's serial number.
Failure ID Tag Checksum HP Serial Number Test Date Failure Code Device Includes Error Message
94X4XK-803AAN-XD7WMA-60QK03 | OK | XXXXXXXXXX | 12/7/20 | 303 | Storage | Floppy Drive, Hard Drive, Memory Drive, Optical Drive, SCSI, Tape Drive | Hard Disk 1 Quick Test Failure |
You will need to install a new hard drive and reinstall the operating system.
Below is the link to the service manual where you can find the hard drive removal and replacement procedure.
h10032.www1.hp.com/ctg/Manual/c04653881
You may want to consider replacing the mechanical hard drive with a better performing, normally more reliable 2.5" solid state drive (SSD).
After you replace the drive, you can reinstall W10 by making bootable installation media using the media creation tool from the link below.
https://www.microsoft.com/en-us/software-download/windows10
After W10 has completed installing, you can install the drivers and available software from your notebook's support page.
HP Notebook - 15-af131dx (ENERGY STAR) Software and Driver Downloads | HP® Customer Support