To be fair, the article is only promising diagnosis, which doesn't care about the direction of causality.
And diagnosing selective diet by itself by just asking questions isn't that hard anyway, is it? If it was a cheatcode to a diagnosis I think we'd figured it out already.