Why it works: Flour and raisin 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 ↓
Federal Cake
Ingredients
Directions
The book gives no oven temperature. The 350°F (175°C) in the steps was added when the recipe was transcribed, as a starting point. The book gives no cooking times either; the times in the steps were added in transcription, so check for doneness rather than trusting the clock.
Prepare the batter
Preheat the oven to 350°F (175°C).
In a large bowl, cream together the brown sugar and butter.
Add the sour milk and egg yolks, mixing well.
Gradually stir in the flour and baking soda.
Fold in the raisins and cracked walnuts.
Add nutmeg and cinnamon to taste.
Bake
Pour the batter into a greased cake pan and bake for about 30‑40 minutes or until a toothpick 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.
-
Flour + raisintop 1% of all pairsSmell alikestrongCooked together9,075 recipes
Shared aroma: isobutyraldehyde (malty, green).
-
Walnut + nutmegtop 5% of all pairsSmell alikestrongCooked together1,230 recipes
Shared aroma: eucalyptol (eucalyptus, herbal).
-
Raisin + nutmegtop 6% of all pairsSmell alikemoderateCooked together5,377 recipes
Shared aroma: alpha-terpineol (lilac, floral).
-
Butter + milktop 7% of all pairsSmell alikemoderateCooked together81,283 recipes
Shared aroma: (z)-4-heptenal (biscuit, cream).
-
Flour + nutmegtop 8% of all pairsSmell alikemoderateCooked together18,623 recipes
Shared aroma: isobutyraldehyde (malty, green).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
What each ingredient does
- Light brown sugar
- Adds sweetness and moisture, and helps the cake brown.
- Butter
- Adds fat for a tender crumb and rich flavor.
- Sour milk
- Its acidity reacts with baking soda to help the cake rise.
- Egg yolks
- Add richness and help bind the batter for structure.
- Flour
- Provides the structure that holds the cake together as it bakes.
- Baking soda
- Reacts with the sour milk's acid to produce gas that lifts the batter.
The step that matters
Stirring in the flour and baking soda. Overmixing once flour is added develops gluten, which can make the cake tough and dense. Stir just until combined so the batter stays tender and the baking soda reacts evenly with the sour milk.
Swap the walnut
How well each one fits the dish's main ingredients (sugar, butter, milk, egg, flour, raisin, nutmeg):
- Almondfits better
- Chestnutfits better
- Pistachiofits about as well
- Walnutthe original
Fit is the average pairing score against sugar, butter, milk, egg, flour, raisin, nutmeg. 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.
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.

Cinnamon Rolls71 recipes
Cinnamon Cake42 recipes
White Cake431 recipes
Pound Cake373 recipes