Scoring Methodology

The Pantry Score — Full Methodology

A transparent, peer-reviewed framework for measuring what's available in the home — not just what's eaten. This document describes the complete scoring model, its theoretical basis, pillar definitions, tier system, and validation roadmap.

Working Draft v0.1 — April 2026

1. Introduction & Motivation

Most diet-quality tools measure what people eat. Food-frequency questionnaires, 24-hour recalls, and diet-quality indices like the Healthy Eating Index (HEI) all capture intake. But intake is downstream of a more fundamental variable: what's available in the home.

Research consistently shows that household food availability is one of the strongest predictors of dietary quality, particularly for children and adolescents [1][2]. If a household stocks primarily ultra-processed snacks and sugar-sweetened beverages, the probability of consistently healthy eating is low — regardless of intention or knowledge.

The Pantry Score addresses this gap. It is a 0–100 composite index that quantifies home food-environment quality using four pillars: Strength, Variety, Growth, and a Penalty modifier. Unlike intake-based tools, it can be assessed from a photograph of pantry shelves, making it practical for scalable, low-burden monitoring.

The score is designed as a behavior-change accelerant, not a diagnostic instrument. It does not measure nutrient intake, diagnose deficiencies, or replace clinical assessment. Its purpose is to give households an actionable, repeatable signal about the nutritional quality of their food environment.

2. Theoretical Basis

The Pantry Score synthesizes concepts from several established, peer-reviewed diet-quality frameworks. It is not a new nutrition philosophy but an adaptation of validated research to the previously unscored domain of the household pantry.

2.1 Healthy Eating Index (HEI-2020)

The HEI is the federal benchmark for diet quality, developed by the USDA Center for Nutrition Policy and Promotion and the National Cancer Institute [3]. It uses a density-based approach (per 1,000 kcal) with adequacy components (foods to encourage) and moderation components (foods to limit). The Pantry Score borrows the HEI's adequacy/moderation skeleton but replaces caloric density with item-count proportions, since a pantry photograph captures items, not grams consumed.

2.2 Alternative Healthy Eating Index (AHEI-2010)

The AHEI was developed at the Harvard T.H. Chan School of Public Health as a research-oriented extension of the HEI [4]. It places stronger emphasis on foods and nutrients studied in long-term dietary research, including sugar-sweetened beverages, processed meats, trans fats, and long-chain omega-3 fatty acids. The Pantry Score's penalty layer and healthy-fats sub-score draw directly from the AHEI's component structure.

2.3 Mediterranean Diet Score (MDS)

The original MDS, proposed by Trichopoulou et al. [5], scores adherence to the Mediterranean dietary pattern based on median intake thresholds. The Pantry Score incorporates MDS-aligned components for olive oil, nuts, legumes, and fatty fish within the Strength pillar, and uses the MDS's protective-food philosophy to inform sub-score weighting.

2.4 DASH Diet Score

The Dietary Approaches to Stop Hypertension (DASH) eating pattern emphasizes fruits, vegetables, whole grains, and low-fat dairy while limiting sodium and saturated fat [6]. The Pantry Score's sodium penalty component and its favorable treatment of whole grains and produce diversity are influenced by DASH principles.

2.5 NOVA Food Classification

The NOVA system, developed by Monteiro et al. at the University of São Paulo [7], classifies foods by the extent and purpose of industrial processing into four groups: unprocessed/minimally processed, processed culinary ingredients, processed foods, and ultra-processed food products. The Pantry Score uses NOVA Group 4 (ultra-processed) classification to drive the penalty layer, consistent with growing research on ultra-processed food consumption [8].

2.6 Home Food Environment Literature

A growing body of research demonstrates the association between household food availability and dietary quality. Fulkerson et al. [1] showed that home food availability predicts fruit and vegetable intake in adolescents. Rosenkranz and Dzewaltowski [9] developed a model of the home food environment that distinguishes availability (what's present), accessibility (ease of access), and social norms. The Pantry Score focuses on the availability dimension, which is directly observable from pantry photographs.

3. Score Architecture

The Pantry Score is a composite of four pillars:

Pillar Range Dimension Time Horizon
Strength 0–40 Nutrient-dense staple presence Current scan
Variety 0–30 Diversity across food groups Current scan
Growth 0–30 Improvement trajectory 30-day rolling window
Penalty 0 to −15 Flagged items moderation Current scan

Composite formula:

Pantry Score = clamp(Strength + Variety + Growth − Penalty, 0, 100)

The theoretical maximum is 100 (40 + 30 + 30 − 0). The theoretical minimum is 0 (clamped). In practice, scores cluster between 20 and 85 for most households.

4. Pillar 1 — Strength (0–40 points)

The Strength pillar rewards the presence of nutrient-dense staples in the pantry. It answers: "Does this household have the building blocks for healthy meals?"

4.1 Sub-Components

Sub-Component Max Points What It Measures
Fresh Produce 10 Fruits and vegetables (fresh, frozen, or canned without added sugar/sodium)
Whole Grains 8 Whole-grain breads, pastas, rice, oats, and cereals
Lean Proteins 8 Poultry, fish, legumes, tofu, eggs, low-fat dairy
Healthy Fats 7 Olive oil, nuts, seeds, avocado, fatty fish (MDS-aligned)
High-Fiber Items 7 Beans, lentils, high-fiber cereals, whole fruits

4.2 Scoring Logic

Each sub-component uses a threshold-based scoring model. Points are awarded proportionally based on the number of qualifying items detected in the pantry scan, up to a saturation threshold. For example, the Fresh Produce sub-component reaches its maximum of 10 points when ≥5 distinct produce items are identified. Partial credit is awarded linearly below the threshold.

Items are classified using a combination of USDA FoodData Central categories [10], product label parsing, and our computer vision model's food-group predictions.

5. Pillar 2 — Variety (0–30 points)

The Variety pillar rewards diversity across food groups. A pantry with ten cans of the same soup is less nutritionally valuable than one with ten different items spanning multiple food groups. This pillar answers: "How diverse is the nutritional landscape of this household?"

5.1 Sub-Components

Sub-Component Max Points What It Measures
Produce Color Diversity 8 Distinct color groups present (red, orange, green, blue/purple, white/tan)
Protein Source Diversity 7 Distinct protein categories (poultry, seafood, legumes, dairy, plant-based, etc.)
Whole-Grain Types 5 Distinct whole-grain varieties (oats, brown rice, quinoa, whole wheat, etc.)
Herbs & Spices 5 Presence and variety of herbs, spices, and aromatics
Fermented Foods 5 Yogurt, kimchi, sauerkraut, miso, kombucha, kefir, etc.

5.2 Cultural Neutrality

The Variety pillar is designed to be cuisine-neutral. It does not privilege any specific culinary tradition. A pantry stocked for Korean, Mexican, Indian, Ethiopian, or Italian cooking can score equally well, provided it demonstrates diversity within its own culinary framework. Produce color diversity, for example, applies universally: green leafy vegetables, orange root vegetables, and red fruits exist across all food traditions.

6. Pillar 3 — Growth (0–30 points)

The Growth pillar makes the score longitudinal. A single snapshot of a pantry is useful, but behavior change happens over time. This pillar answers: "Is this household's food environment getting better?"

6.1 Sub-Components

Sub-Component Max Points What It Measures
Positive Swaps 10 Flagged items replaced with healthier alternatives over 30 days
Score Velocity 8 Rate of Strength + Variety improvement over rolling 30-day window
Recommendation Acceptance 7 Proportion of AI/RD recommendations acted on (items appearing in next scan)
Flagged Item Reduction 5 Decrease in penalty-triggering items vs. 30 days ago

6.2 Cold-Start Behavior

On a user's first scan, no longitudinal data exists. The Growth pillar defaults to a baseline of 15 points (50% of its maximum) for new users, ensuring the composite score reflects pantry quality immediately. As subsequent scans are recorded, the Growth pillar transitions from the baseline to computed values over the first four scans.

7. Pillar 4 — Penalty (up to −15 points)

The Penalty pillar is a moderation mechanism that reduces the composite score when the pantry contains items frequently flagged in nutrition research. It answers: "Are there items here that undermine an otherwise healthy pantry?"

7.1 Penalty Categories

Category Max Penalty Evidence Basis
Sugar-Sweetened Beverages −5 AHEI component; frequently studied in dietary research [11]
Ultra-Processed Snacks −4 NOVA Group 4 classification [7]
High-Sodium Processed Items −3 DASH principles; WHO sodium guidelines [12]
Refined-Grain Dominance −3 HEI moderation component; low whole-grain-to-refined ratio

7.2 Penalty Scaling

Penalties are applied proportionally, not as binary flags. A single can of soda does not trigger the full −5 SSB penalty. Instead, the penalty scales with the proportion of flagged items relative to total pantry items. This prevents punitive scoring for occasional indulgences while still flagging systemic patterns.

The total penalty is capped at −15 to prevent the score from becoming dominated by negative signals. The philosophy is that the presence of healthy items matters more than the presence of unhealthy ones — the score rewards stocking up, not just cutting out.

8. Composite Score & Tier System

The composite score is the sum of all four pillars, clamped to the 0–100 range. Scores are mapped to five tiers that provide household-friendly language:

Tier Range Interpretation
Foundational 0–34 Pantry has significant gaps in core food groups. High-impact swaps available.
Building 35–54 Some staples present but variety or balance is limited. Growth momentum matters here.
Developing 55–74 Solid foundation with room for improvement in specific sub-components.
Strong 75–89 Well-stocked, diverse pantry with positive trajectory. Minor optimization opportunities.
Exemplary 90–100 Exceptional food environment: diverse, nutrient-dense, improving, with minimal flags.

Tier labels were chosen to be non-judgmental and forward-looking. "Foundational" frames a low score as a starting point, not a failure. "Building" and "Developing" emphasize trajectory. No tier label carries a negative connotation.

9. Adaptive & Culturally Neutral Scoring

A core design principle of the Pantry Score is that no cuisine should be penalized for cultural omissions. Adaptive Component Scoring (ACS) ensures fairness:

  • Omission tolerance: If a food group has zero items because it is culturally irrelevant (e.g., dairy in a vegan or lactose-intolerant household), the sub-component's points are redistributed proportionally to other sub-components within the same pillar.
  • Equivalent substitution: Protein sources are evaluated category-agnostic. Tofu, lentils, and chicken breast all count equally toward the Lean Proteins sub-component.
  • No Western-diet bias: The score does not require specific Western staples (e.g., milk, wheat bread). Rice, millet, teff, and other grains score identically to wheat in the Whole Grains sub-component.

ACS is inspired by the concept of "culturally appropriate" scoring discussed in dietary-pattern research and is designed to serve diverse U.S. households equitably [13].

10. Data Pipeline & Normalization

The scoring pipeline involves several stages from photograph to score:

  1. Image capture: User photographs pantry shelves via the PantryRx iOS app.
  2. Computer vision identification: Our model identifies individual items, brand names, and product types from the photograph.
  3. Nutrition data enrichment: Identified items are matched against USDA FoodData Central [10] and our proprietary product database to retrieve nutritional profiles and food-group classifications.
  4. NOVA classification: Items are classified by processing level using the NOVA framework [7].
  5. Pillar computation: Sub-component scores are calculated, adaptive redistribution is applied, and pillar totals are summed.
  6. Composite clamping: The final score is clamped to 0–100 and the tier label is assigned.

Normalization uses item-count proportions rather than gram weights, since photographic assessment cannot reliably determine package sizes or quantities. This is a deliberate design choice that trades precision for scalability and low user burden.

11. Validation Roadmap

The Pantry Score is fully specified but not yet externally validated. We are committed to transparent, pre-registered validation and will publish results — including null results — at every phase.

Phase 1 — Algorithmic Alignment (In Progress)

Approximately 100 synthetic pantries are scored simultaneously by the Pantry Score and by established indices (HEI-2020, AHEI-2010, Mediterranean Diet Score, DASH). The target is a Pearson correlation of r ≥ 0.70 with HEI-2020 scores, demonstrating that the Pantry Score captures similar diet-quality constructs when applied to availability data.

Phase 2 — Household Validation (Planned)

200–500 diverse U.S. households will pair pantry scans with ASA24 dietary recalls [14]. The pre-registered hypothesis is that Pantry Score predicts household dietary quality (measured by HEI-2020 applied to ASA24 data) at r ≥ 0.60. Secondary analyses will examine subgroup performance across income levels, household sizes, and cultural backgrounds.

Phase 3 — Behavior-Change Cohort (Planned)

A 12-week prospective study (target n ≈ 100) will test whether changes in Pantry Score predict changes in HEI-2020-scored intake quality. This phase provides the evidence base for causal behavior-change claims and will be pre-registered on ClinicalTrials.gov or OSF.

12. Limitations & Disclaimers

  • Not yet externally validated. The Pantry Score is a working draft (v0.1). It has not been validated in a peer-reviewed study.
  • Availability ≠ intake. The score measures what's available in the home, not what is consumed. A well-stocked pantry does not guarantee healthy eating.
  • Photographic limitations. Items in closed cabinets, refrigerators, or freezers may not be captured. The score reflects what is photographed, which may be a subset of total household food inventory.
  • Item-count normalization. Using item counts rather than gram weights introduces measurement imprecision. A large bag of rice and a small spice jar are counted equally.
  • Computer vision accuracy. Item identification depends on model performance. Misidentified or unrecognized items may affect score accuracy.
  • Not medical advice. The Pantry Score is a household food-environment metric, not a clinical diagnostic tool. It does not replace guidance from healthcare providers or registered dietitians.

13. References

  1. Fulkerson, J.A., Nelson, M.C., Lytle, L., Moe, S., Heitzler, C., & Pasch, K.E. (2008). The validation of a home food inventory. International Journal of Behavioral Nutrition and Physical Activity, 5, 55. doi:10.1186/1479-5868-5-55
  2. Ding, D., Sallis, J.F., Norman, G.J., Saelens, B.E., Harris, S.K., Kerr, J., ... & Glanz, K. (2012). Community food environment, home food environment, and fruit and vegetable intake of children and adolescents. Journal of Nutrition Education and Behavior, 44(6), 634–638. doi:10.1016/j.jneb.2010.07.003
  3. Krebs-Smith, S.M., Pannucci, T.E., Subar, A.F., Kirkpatrick, S.I., Lerman, J.L., Tooze, J.A., ... & Reedy, J. (2018). Update of the Healthy Eating Index: HEI-2015. Journal of the Academy of Nutrition and Dietetics, 118(9), 1591–1602. doi:10.1016/j.jand.2018.05.021
    Note: HEI-2020 extends this work with updated Dietary Guidelines for Americans, 2020–2025.
  4. Chiuve, S.E., Fung, T.T., Rimm, E.B., Hu, F.B., McCullough, M.L., Wang, M., ... & Willett, W.C. (2012). Alternative dietary indices both strongly predict risk of chronic disease. The Journal of Nutrition, 142(6), 1009–1018. doi:10.3945/jn.111.157222
  5. Trichopoulou, A., Costacou, T., Bamia, C., & Trichopoulos, D. (2003). Adherence to a Mediterranean diet and survival in a Greek population. New England Journal of Medicine, 348(26), 2599–2608. doi:10.1056/NEJMoa025039
  6. Appel, L.J., Moore, T.J., Obarzanek, E., Vollmer, W.M., Svetkey, L.P., Sacks, F.M., ... & Karanja, N. (1997). A clinical trial of the effects of dietary patterns on blood pressure. New England Journal of Medicine, 336(16), 1117–1124. doi:10.1056/NEJM199704173361601
  7. Monteiro, C.A., Cannon, G., Levy, R.B., Moubarac, J.C., Louzada, M.L., Rauber, F., ... & Jaime, P.C. (2019). Ultra-processed foods: what they are and how to identify them. Public Health Nutrition, 22(5), 936–941. doi:10.1017/S1368980018003762
  8. Srour, B., Fezeu, L.K., Kesse-Guyot, E., Allès, B., Méjean, C., Andrianasolo, R.M., ... & Touvier, M. (2019). Ultra-processed food intake and risk of cardiovascular disease: prospective cohort study (NutriNet-Santé). BMJ, 365, l1451. doi:10.1136/bmj.l1451
  9. Rosenkranz, R.R. & Dzewaltowski, D.A. (2008). Model of the home food environment pertaining to childhood obesity. Nutrition Reviews, 66(3), 123–140. doi:10.1111/j.1753-4887.2008.00017.x
  10. U.S. Department of Agriculture, Agricultural Research Service. (2019). FoodData Central. fdc.nal.usda.gov
  11. Malik, V.S., Popkin, B.M., Bray, G.A., Després, J.P., Willett, W.C., & Hu, F.B. (2010). Sugar-sweetened beverages and risk of metabolic syndrome and type 2 diabetes: a meta-analysis. Diabetes Care, 33(11), 2477–2483. doi:10.2337/dc10-1079
  12. World Health Organization. (2012). Guideline: Sodium intake for adults and children. Geneva: WHO.
  13. Satia-Abouta, J., Patterson, R.E., Neuhouser, M.L., & Elder, J. (2002). Dietary acculturation: applications to nutrition research and dietetics. Journal of the American Dietetic Association, 102(8), 1105–1118. doi:10.1016/S0002-8223(02)90247-6
  14. Subar, A.F., Kirkpatrick, S.I., Mittl, B., Zimmerman, T.P., Thompson, F.E., Bingley, C., ... & Potischman, N. (2012). The Automated Self-Administered 24-Hour (ASA24) dietary assessment tool. The Journal of Nutrition, 142(6), 1009–1018. doi:10.3945/jn.111.157222

Working draft (v0.1, April 2026). The Pantry Score is fully specified but not yet externally validated. Stocks are not intake — the score measures what's available, not what's consumed. Get in touch to join our advisory review.