Mine started doing this late 2019 at a quarter tank, after a long fully loaded turn. By the time I hit the exit curbing, the motor would run out of fuel and the car would die for about a second.
First check baffles in the tank like Ron said, mine were fine.
Only question mark I found is that the fuel return line was pinched and facing away from the sock. I put a new return line on, and secured it to point directly at the sock. So if the fuel is sloshed to one side during a long turn, at least the return line is splashing the sock/pickup with fuel. From what I've heard this can make the difference between fuel starvation at 1/4 tank versus fuel starvation at 1/4 gallon.
Unfortunately this was the last race of 2019 and COVID shut down our races until now, so I won't know if this fixed it until this coming weekend...
Either way, not great for your back clambering around the roll cage a million times, so taking the hard top off is 100% worth it if you are repeatedly pulling the fuel pump. I will even race with the hard top off (with arm restraints) if I feel I will be pulling it throughout the weekend to diagnose.