A missing valueis a decision.
Nutrition and activity data belong to the same day. Explore when this workflow calculates, withholds a result, or rejects the input.
Calculate from explicit inputs
The fixture has a matching date, a nutrition total and an activity observation. Every term in the toy estimate is inspectable.
Inspect the generated JSON
{
"activity": {
"source": "synthetic Garmin-shaped fixture; not a Garmin API response",
"status": "available",
"steps": 7000
},
"estimate": {
"activity_kcal": 280.0,
"base_kcal": 1600.0,
"estimated_expenditure_kcal": 2222.0,
"intake_minus_estimate_kcal": -2.0,
"tef_kcal": 222.0,
"workout_kcal": 120.0
},
"macro_kcal_check": 2220,
"mode": "offline_fixture_demo",
"model": {
"calls": 0,
"mode": "deterministic_mock"
},
"next_action": "Review the synthetic report; no training or dietary prescription is generated.",
"nutrition": {
"carbs": 260.0,
"fat": 80.0,
"k_mg": 1700.0,
"kcal": 2220.0,
"na_mg": 1200.0,
"protein": 115.0
},
"report_date": "2024-03-15",
"synthetic": true,
"warnings": []
}Keep missing data visible
Nutrition remains readable. Activity and the resulting estimate are absent, rather than silently treated as zero.
Inspect the generated JSON
{
"activity": {
"source": "synthetic Garmin-shaped fixture; not a Garmin API response",
"status": "missing",
"steps": null
},
"estimate": null,
"macro_kcal_check": 2220,
"mode": "offline_fixture_demo",
"model": {
"calls": 0,
"mode": "deterministic_mock"
},
"next_action": "Review the synthetic report; no training or dietary prescription is generated.",
"nutrition": {
"carbs": 260.0,
"fat": 80.0,
"k_mg": 1700.0,
"kcal": 2220.0,
"na_mg": 1200.0,
"protein": 115.0
},
"report_date": "2024-03-15",
"synthetic": true,
"warnings": []
}Withhold an outdated estimate
An old observation does not stand in for current activity. The workflow preserves the distinction between stale and available.
Inspect the generated JSON
{
"activity": {
"source": "synthetic Garmin-shaped fixture; not a Garmin API response",
"status": "stale",
"steps": null
},
"estimate": null,
"macro_kcal_check": 2220,
"mode": "offline_fixture_demo",
"model": {
"calls": 0,
"mode": "deterministic_mock"
},
"next_action": "Review the synthetic report; no training or dietary prescription is generated.",
"nutrition": {
"carbs": 260.0,
"fat": 80.0,
"k_mg": 1700.0,
"kcal": 2220.0,
"na_mg": 1200.0,
"protein": 115.0
},
"report_date": "2024-03-15",
"synthetic": true,
"warnings": []
}Stop before writing
Nutrition and activity dates disagree. The demo returns an error before creating report files.
Inspect the generated JSON
{
"synthetic": true,
"error": "nutrition and activity dates differ"
}Synthetic software fixtures with invented coefficients. This is not a health assessment. Browser results were generated offline; Hermes Agent, Telegram and Garmin are not connected here.