A formal language for recipes: brain dump

Posted by Tom Moertel Fri, 08 Jan 2010 05:15:00 GMT

One of the projects I’ve had in the back of my mind for a few years is a formal language for recipes. Professional bakers have long used formulas to express the core of their recipes. And with Michael Ruhlman’s Ratio: The Simple Codes Behind the Craft of Everyday Cooking being so well received by geeky home cooks, it seems the time may be right to start hacking away.

As a brain dump, here are some syntax ideas I’m playing with. (BTW, if you want to learn how to make a pie from scratch, here you go. Use butter or lard for the fat if you’re serious about pie.)

-- classic recipe for 3-2-1 pie pastry

pie_crust:

  3 flour
  2 fat, cold
  1 water, ice cold

  yields 1 dough  -- (optional: default result is final item)

  flour_fat_mix:
    flour
    fat
    "cut fat into walnut-sized pieces" 
    "combine in chilled bowl" 
    "mix until fat is pea sized" 

  dough:
    flour_fat_mix
    water
    "add water while mixing gently" 
    "stop when shaggy dough begins to form" 
    "gently shape dough into portioned rounds by hand" 
    "wrap portions with film-wrap" 
    "refrigerate" 

-- pie, which uses the crust recipe above

pie_9_inch:

  24 oz pie_crust, chilled
   1 pie_tin, 9 inch, chilled
   1 filling, enough for 9-inch pie

  yields 1 pie, 9 inch

  bottom_shell:
    pie_crust
    pie_tin
    filling
    take pie_crust, 13 oz, "portion dough" 
    "roll into 11-inch round" 
    "line pie tin with dough" 
    "add filling" 

  top_shell:
    pie_crust
    take pie_crust, remainder
    "roll into 10-inch round" 

  pie:
    bottom_shell
    top_shell
    "top the pie, sealing edges well" 
    "trim excess dough from edges, decorating if desired" 
    "cut vent hole(s) in top" 
    "refrigerate for at least 30 minutes to set dough" 
    "bake at 425 degrees F for 15 minutes" 
    "reduce oven to 350 degrees F" 
    "bake until done, about an hour" 

Posted in
Tags , , , ,
14 comments
no trackbacks
Reddit Delicious

Baker's percentages and how not to explain them

Posted by Tom Moertel Sat, 16 Sep 2006 06:11:00 GMT

I like to bake, and I work in a professional kitchen from time to time, so I picked up The Baker’s Manual, 5th ed., hoping to carry it in my kitchen bag as a quick reference for large-scale recipes.

Before going further, you need to know two things about professional bakers. First, they measure dry ingredients not by volume, the way home bakers do, but by weight, which is both faster and more precise for the large quantities frequently used in professional kitchens. Second, when the pros write bread recipes, they express quantities in relative terms called “baker’s percentages.” Each ingredient’s quantity is given as a percentage of the recipe’s total flour weight. For example, the book provides the following recipe, referred to as a “formula,” in the section on baker’s percentages:

80.0%bread flour
20.0%whole wheat flour
66.0%water
2.0%salt
1.2%yeast

As you would expect, the percentages for bread flour and whole wheat flour add to 100 percent.

Now, here’s where the book goes down in flames. It attempts to explain how baker’s percentages let you easily scale recipes to any desired batch size, but it fails. Utterly. Here’s the book’s explanation for how to scale the above recipe to 300 pounds:

[T]o calculate the weight of each ingredient in the [300-pound] recipe, you add up all of the percentages in the above formula. This total percentage value is 169.2. Divide this number by the desired dough weight, 300 pounds, to get .564. Round this number up to get .6. Then multiply the percentage amount for each ingredient in the above recipe by .6 to obtain the larger weight required by the larger recipe. (Emphasis mine.)

When I read that explanation, I thought, Multiply? That’s the exact opposite of what you ought to do. And, sure enough, the book went on to prove its own explanation completely wrong:

80% bread flour * .6= 48 pounds
20% whole wheat flour * .6= 12 pounds
66% water * .6= 39.6 pounds
2% salt * .6= 1.2 pounds
1.2% yeast * .6= .7 pound

Note: the above is quoted verbatim from the book.

Does the “scaled-up” recipe yield 300 pounds? Nope. Add up the resulting weights and you get 101.5 pounds. Oops.

Is it really that hard to see that the correct method is simply to multiply each percentage by desired batch size and then divide by the sum of percentages? In the case of the book’s 300-pound example, we would multiply each percentage in the recipe by the following factor:

300 pounds / 169 percent = 177.5 pounds

Let’s try it out:

80% bread flour * 177.5 pounds= 142 pounds
20% whole wheat flour * 177.5 pounds= 35.5 pounds
66% water * 177.5 pounds= 117.2 pounds
2% salt * 177.5 pounds= 3.55 pounds
1.2% yeast * 177.5 pounds= 2.13 pounds

Now if you add up the resulting weights, you get the desired total of 300 pounds.

That the book not only gets the scaling method completely backward but then goes on to prove itself wrong is amazing. Didn’t anybody at John Wiley & Sons proofread the math?

Not exactly a confidence-builder for the rest of the book.

Posted in , ,
Tags , ,
6 comments
no trackbacks
Reddit Delicious