Why it works: Raisin and flour match in chemistry and in kitchens. They rank in the top 1% of all ingredient pairs, and cooks put them together in 9,075 recipes. Both carry isobutyraldehyde, which smells malty, green. The science ↓
Spice Cake
Ingredients
Directions
Prepare
Preheat the oven to 350°F (175°C).
In a large bowl, cream together the butter and brown sugar.
Add the eggs, molasses, and sour milk; mix well.
Stir in the raisins and walnuts.
In another bowl, combine the flour, baking powder, baking soda, cinnamon, cloves, and nutmeg.
Make the batter
Gradually add the dry ingredients to the wet mixture, mixing until just combined.
Pour the batter into a greased cake pan.
Bake
Bake for 45 minutes to 1 hour, or until a toothpick inserted in the center comes out clean.
Transcribed from a scanned cookbook and modernised for today's kitchens. Where the book gave no heat or time, or said "a moderate oven", the temperatures and times here may be modern equivalents rather than the book's own figures.
Photo for illustrative purposes only · Contact us to use it
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much their aromas overlap, and how often cooks already put them together.
-
Raisin + flourtop 1% of all pairsSmell alikestrongCooked together9,075 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Sugar + molassestop 11% of all pairsSmell alikemoderateCooked together9,225 recipes
Shared aroma: ethanol (alcoholic, ethereal).
-
Butter + flourtop 12% of all pairsSmell alikelowCooked together124,287 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Molasses + raisintop 12% of all pairsSmell alikelowCooked together3,577 recipes
Shared aroma: ethanol (alcoholic, ethereal).
Butter and flour barely smell alike, yet cooks put them together in 124,287 recipes: they work on texture and structure more than aroma.
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Butter
- Creamed with sugar to trap air and add richness and a tender crumb.
- Brown sugar
- Adds sweetness, moisture, and deep caramel flavor to the cake.
- Eggs
- Bind the batter and add structure and richness as they set in the oven.
- Molasses
- Adds moisture, dark color, and a robust, slightly bitter sweetness.
- Flour
- Forms the main structure of the cake as its proteins set during baking.
- Baking soda
- Reacts with the acidic sour milk and molasses to produce gas that lifts the cake.
The step that matters
Mixing the dry ingredients into the wet mixture. Overmixing once flour is added develops gluten, which can make the cake tough and dense. Mixing only until just combined keeps the crumb tender.
Swap the walnut
How well each one fits the dish's main ingredients (butter, sugar, egg, molasses, milk, raisin, flour):
- Almondfits better
- Chestnutfits better
- Pistachiofits about as well
- Walnutthe original
Fit is the average pairing score against butter, sugar, egg, molasses, milk, raisin, flour. Candidates are from the same food group and used in at least 100 recipes.
“What each ingredient does” and “The step that matters” were written by Claude from this recipe’s own method and reviewed in samples by CompKitchen.
More spice cake recipes
You might also like
The free Flavor Lab newsletter: one surprising pairing a week and the molecular reason it works, in 60 seconds. No spam, unsubscribe anytime.
Prefer an account? Create a free account to save pairings and unlock the full chemistry.

Molasses Cookies96 recipes
Molasses Cake90 recipes
Cinnamon Rolls71 recipes
Clove Cake53 recipes