I can’t recall exactly what I read, but I do remember the first year for my gardens I had topsy turvey tomatoes, and decided that marigolds was the best choice for what I planted in the top of that gizmo, and I think it was a deterrent for a tomato pest.
Maybe I’ll look it up tomorrow. I am going to go to bed. I am typing while under a sleep deficit and need to catch some zzz’s plus my get up and go just got up and went LOL.
Good night for now.
And they were right, Castor Beans are invasive: