This uses the food database developed for this study.
As an example this cake maxes out their processed food score which according to this explainer is a relative metric based on nutrition facts and some kind of ML classification.
They also have ingredient trees(!!!).