First, prepare your yuca: Place the yuca in a medium-size stockpot and cover with water until it’s submerged. Cover and bring to a boil, add 1 teaspoon of the salt, and lower the heat to medium. Let the yuca boil for about 20 minutes, until tender enough to mash.
Meanwhile, prepare the filling: Preheat a medium-size stockpot over medium- high heat. Place the 2 tablespoons of the oil and the onion, bell pepper, garlic, and ginger in the pot. Sauté for about 5 minutes. Add the sweet potatoes, Scotch bon- nets, bay leaves, thyme, remaining ¾ teaspoon of salt, and water. Cover and cook for about 15 minutes, stirring occasionally, until the sweet potatoes are easily pierced.
Set your oven to broil. Add the remaining ingredients to the filling mixture in the stockpot and lower the heat. Cook for about 5 more minutes, until everything is heated through. Remove and discard the thyme sprigs, bay leaves, and Scotch bonnets.
By this point, the yuca is probably done. Drain the yuca and then immediately place it back in the pot you boiled it in. Add the remaining tablespoon of oil to the yuca and mash with a potato masher. It usually takes about 15 mashes to get it to the right consistency, creamy but chunky.
Pour the curried filling into a 9 x 13-inch baking dish. Use a large wooden spoon or spatula to scoop the yuca over it in several mounds. Press the yuca mounds down to spread over the curry. It’s okay if some of the filling is peeking through in places.
Place in the oven and bake for about 10 minutes, then transfer to the broiler for about 2 minutes. Keep a close eye; the top should be gently browned. Let sit for about 10 minutes before serving. Serve in rimmed plates or shallow bowls because it will be very saucy.