Second guess is that there may be quite a bit of fuel left in the tank when the engine quits. Have you tried filling the tank and then sucking the fuel out (through the feed line) with a graduated syringe? That may reveal the cause of the problem . . .
This problem has popped up in several profile planes around here - not just the Cardinal. It first hit me in the overhead eight: the engine just cut suddenly. It picked right up and ran the rest of the flight, but it scared the p!$$ out of me and ruined my concentration. The next time it happened in the vertical of the clover, right after the second loop. The engine fired up again both times, but I knew there was something wrong somewhere. I knew I had enough fuel and blamed the glow plug. Switching to brand new plugs did NOT cure the problem.

Several of the maneuvers we fly at the end of the pattern can load and unload the G's on the plane enough to slosh the (small amount) remaining fuel inside the tank. In full scale aviation, we call this "unporting". Guess we could call it the same in model aviation. When the fuel unports, it lets an air bubble go through instead of fuel and can cause a momentary burp - or a full shut down.
For my profile, the problem was finally solved by adding shims to the rear of the tank and angling it out slightly. Somewhere between 1/8" and 1/4" works well and gives you a very clean cut at the end of the flight. I'm now angling the tanks as best I can within my full fuselage ships, too. I understand some experts have been doing this for years, but I must have been hiding behind the door when they passed out this tip.

If you want your profile to look better, inset the front of the tank instead. Works the same way.
I am now a much happier pilot.

Ron