As far as I can tell, this ai was given a list of existing formulations for rare-earth free magnets, along with some statistics about them, the ai picked the "best", by some conditions the researchers picked and then the researchers tested that formulation to make sure it worked