Prep: Preheat oven to 200°C/390°F (180°C fan-forced).
Cook Beef: Heat oil in a large pan over high heat. Brown the beef, breaking it into fine pieces, then remove with a slotted spoon. In the same pan, sauté onions and garlic for 5 minutes until translucent.
Simmer: Return beef to the pan. Stir in spices and flour. Add stock and simmer over medium heat until the mixture is thick enough to hold a path when a spoon is drawn across the base. Spread in a 9x13" pan and let cool.
Prepare Corn: Sauté corn in butter for 5 minutes. Add milk, salt, and basil, then use a stick blender to "blitz" the mixture for 30 seconds until mostly smooth with some texture.
Thicken Corn: Stir in cornmeal and cook over medium-low heat for 5 minutes until it mounds on a spoon.
Assemble: Press egg quarters into the beef, then scatter olives and raisins on top. Dollop the corn mixture over the surface and smooth it out. Sprinkle with sugar and a pinch of paprika.
Bake: Bake for 40–45 minutes until golden. Let it set for 15 minutes before slicing like lasagna.