I was very surprised to see that the article explicitly says it will not consider this answer!
FWIW, some beans are easier on my system than others. Kidney beans (sadly), my favorite, can be murder if you don’t cook them thoroughly enough. Lentils, on the other hand, seem to be pretty gentle. They also soak up whatever flavor they are cooked in so they are a great “starter bean” if you want to eat a more vegetarian diet.