-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"RAW" flag which reduces calories of uncooked foods #35347
Conversation
Raw food takes more energy for your digestive system to break down, and thus means less net energy. Research on the subject is still ongoing, but a 33% increase from to cooking seems a decent guess. This is implemented as a 25% decrease to food with the "RAW" flag. When the food is cooked (used in any recipe with a heat source) this penalty is removed. Otherwise, it persists through crafting.
Personally I've never heard that fruits and veggies like apples and tomatoes (that are edible and tasty raw) get more nutritious if cooked. Is it really true? |
Yes, well probably. There haven't been a lot of studies to confirm or deny it (primarily due to a complete lack of interest on the topic from the scientific community, and because the only way to truly measure it is by studying the energy levels of the consumer), but this article found that cooking food (in this case, meat and sweet potatoes) significantly increases the resultant energy levels of the mice that consumed it. There is also more theoretical discussion in a book called "Catching Fire: How Cooking Made Us Human" by Richard Wrangham. The upshot is that while cooking food does not directly impact the caloric content of food, it does make those calories more bio-available, easier for our digestive system to break down. Even fiber, which we subtract from carbohydrates before calculating calories since it's indigestible by humans, has been observed to break down into digestible carbohydrates when cooked. Whether cooking increases the energy we get from foods like apples and tomatoes can only be speculated on, since we lack data on the subject. My thinking was that despite foods being quite different in many respects, the basic caloric compounds (fats, proteins, and carbohydrates) are the same. It stands to reason that even foods we think of as acceptable to eat raw, might become even more nutritious when cooked. This argument seemed more attractive to me than the vague argument of "it's tasty raw" (which was actually my first gut reaction), especially when every food I could think of is at least as good cooked as it is raw. |
Good, no more raw pasta eating |
The only part of this I have issue with is the "Fruit" category. Putting aside the botanical definition of 'fruit', most colloquially defined fruits derive almost all of their calories from sugars, which is not made easier to digest by cooking. Certainly not to the extend that you are proposing. Honestly, even the cooking of meat was originally done for parasite/disease reasons, and while it's almost certain our stomachs have evolved to extract nutrients more efficiently from cooked meat, a large portion of the calories come from the presence of fats/lipids which similarly are not made more or less bio-available by cooking. You're also not making a clean distinction between the bio-availability of nutrients, and caloric value. Even if a large number of food items in the game should have their Vitamin levels adjusted by cooking, I question the validity of adjusting the calorie values. |
EDIT: My original reply was a bit ranty, my apologies, today has been hectic and I was a bit rushed. To address your reply in a more piecemeal manner:
This is too vague to be useful, to make any changes, I would need an exhaustive list of the in-game fruits you're referring to.
Says who? If you want your argument to carry weight, you should back up your claims with peer-reviewed studies or something else with equivalent weight, such as a detailed technical explanation of the biological mechanisms involved.
Perhaps, but may I remind you (or perhaps you never read the study I linked above, which you ought to if you want to have a productive discussion on this topic) that it was mice that were shown to have significantly more energy when fed a diet of cooked meat as opposed to the same amount of raw meat; I think we can agree that mice have had far less evolutionary pressure than us towards digesting cooked meat.
I never said the words "nutrient" or "vitamin." I have explicitly and exclusively been talking about the observed difference in bio-available calories between cooked meat and raw meat. The effects of cooking on vitamins are far too complex and unpredictable to be addressed in this PR (or at all, probably). |
Source?
Source?
Source? In short, we have a very serious study that indicates that cooking does in fact increase extractable calories in food, so that's the status quo. In order for your assertions to be taken seriously, they need to also be appropriately sourced. |
The quoted article only concern starch-reach foods and meat. Anyone extrapolating those results on all food in general without further research loses any ability to claim scientific accuracy anyway. |
I'm not claiming perfect scientific accuracy. As I discussed in my reply to Rail-Runner, I made the judgement call to make it the way it is, based on conjectural extrapolation. I also had in mind slightly easier maintainability -- it's easier to enforce "add 'RAW' flag to all raw food" than a complex set of heuristic-based rules that people will inevitably disagree on. The PR's current state is now the "status quo," and more conjectural evidence isn't enough to supplant it; I would need an objectively stronger argument, not an equivalent one, to make any changes. |
Ok, so basically YOU don't need scientific data to make an arbitrary change based on nothing but your assumptions ("extrapolation" is not an argument), but anyone trying to argue has to provide it? Seems real fair. |
I had to make an assumption one way or the other, because I wrote the code. I went with the option that made the most sense to me. I'm not going to go back and change it unless someone offers a more compelling argument than "it makes more sense to me the other way," or I'm told I have to make changes by one of the mergers. If that seems unfair to you, I don't know what to tell you. |
I don't know if you missed the part where I said "Putting aside the botanical definition of 'fruit'" or if you just misunderstood me, but what I was trying to specify was "Anything an average human would consider a fruit, as opposed to a tomato, which is botanically a fruit"
"Fructose exists naturally in many foods, such as fruits and vegetables. Small amounts of fructose can also be converted from sorbitol by aldose reductase. Sorbitol is also found in fruits and vegetables and as a sweetener in diet foods. However, the majority of dietary fructose comes from two sweeteners, sucrose and high fructose corn syrup (HFCS), which are commonly used in manufactured foods and beverages. Sucrose, commonly known as table sugar, is manufactured from sugar cane and sugar beet. As a disaccharide, sucrose releases equal amounts of glucose and fructose into the small intestine after being hydrolyzed by sucrase. " https://ufdc.ufl.edu/UFE0041402/00001 The heating of sugars actually decreases their bioavailability.
In retrospect I think I was actually incorrect about this one, and that trying to untangle the evolutionary pressure of fewer parasites/diseases vs easier digestion is an exercise in futility, so I'll just go ahead and accept that it's probably both.
https://health.gov/dietaryguidelines/dga2005/document/html/chapter6.htm and https://www.sciencedirect.com/science/article/abs/pii/S0022286098009375 Given that meat doesn't have carbohydrates, even extremely lean meat is contributing way more calories from fat than it is from protein. Most importantly, from the last one - "This variation in unsaturation grade and conformation provides evidence of the transformation of essential polyunsaturated fatty acids and subsequent decrease in the oils’ nutritional value." Really it's starches and proteins that benefit from being cooked. |
Thanks for the response, it is clearly well-researched! (Also, good job finding two relevant primary sources that I didn't catch.) You make a lot of good points. I will remove the I do have one criticism of your findings:
I think you might be conflating "nutritional value" with "bioavailable calories." "Nutritional value" has a very broad meaning, and I believe the way they are using it here references the fact that in their experiment, unsaturated fats are being converted to trans fats, which are strongly correlated with higher incidence of coronary artery disease. Nowhere in the article does it state or imply that bioavailable caloric energy is being lost. Still, as I said earlier, I will remove the I'm leaving the
Regarding this:
What's going on here is that "Anything an average human would consider a fruit" is too subjective a criteria to be useful. Do you consider a coconut to be colloquially a fruit? I do, but some might not. However, using the source you've provided, I have inferred a new criteria "Any food which derives the majority of it's calories from glucose, sucrose, and/or fructose." |
Sugars and fats are not easier to digest after cooking, so removed RAW flag from foods that derive most of their calories from these sources.
Could you document these criteria somewhere? |
Also added a TODO regarding making these criteria a unit test once the infrastructure to do so is in place.
Good idea, I put it in JSON_FLAGS.md, in the entry for the |
Summary
SUMMARY: Balance "Raw food provides fewer calories compared to cooked"
Purpose of change
Raw food takes more energy for the human digestive system to break down, and thus means less net energy. Research on the subject is still ongoing, but a 33% increase from to cooking seems a decent guess. See discussion in #34989 for more information.
Describe the solution
Implemented as 25% decrease to food with the "RAW" flag as compared with their JSON defined calories. When the food is cooked (used in any recipe with a heat source, or smoked on a smoking rack) this penalty is removed. Otherwise, it persists through crafting.
The "RAW" flag was added to raw meat, eggs, fruits, vegetables, nuts, and seeds.
Describe alternatives you've considered
None as of yet.
Testing
I spawned various raw items and confirmed their calories were reduced, and confirmed that they properly increased to normal levels when cooked.
One useful item to test is cattail rhizomes. They keep their RAW debuff throughout the crafting process of rhizome->starch->flour, but when baked into bread, the calories are increased by 33%.