Refactor code structure for improved readability and maintainability

This commit is contained in:
bolade
2025-10-22 16:01:17 +01:00
parent 85ea73ade8
commit e58d9b0158
5 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -44,11 +44,11 @@ page_5_context = {
"fuel_source_chart": image_to_base64(
"/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/fuel_source_chart.png"
),
"resting_calories": 1540,
"neat_calories": 310,
"weight_loss_calories": 1725,
"resting_calories": 1385,
"neat_calories": "null",
"weight_loss_calories": "null",
"weight_loss_rate": "1lb/week",
"total_calories": 3575,
"total_calories": "null",
}
page_6_context = {
@@ -108,8 +108,8 @@ page_8_context = {
"zone1_bpm": "81-96bpm",
"zone2_bpm": "96-100bpm",
"zone3_bpm": "100-178bpm",
"zone4_bpm": "178-188bpm",
"zone5_bpm": "188-198bpm",
"zone4_bpm": "178-189bpm",
"zone5_bpm": "189-199bpm",
"zone1_speed": "3.5mph",
"zone2_speed": "3.5-4.0mph",
"zone3_speed": "4.0-6.5mph",