Model/recommendations/config.py
2023-10-09 10:31:08 +08:00

16 lines
729 B
Python

# This map defines the upgrades that are possible to be recommended by the recommendation engine
# For example,
# TODO: once we use cleaned descriptions, this should be updated using the cleaned descriptions
UPGRADES_MAP = {
'Solid brick, as built, no insulation (assumed)': 'Solid brick, as built, insulated (assumed)',
'Suspended, no insulation (assumed)': 'Suspended, insulated (assumed)',
'Solid, no insulation (assumed)': 'Solid, insulated (assumed)',
}
PARTIAL_CAVITY_DESCRIPTIONS = [
"Cavity wall, as built, partial insulation",
"Cavity wall, partial insulation",
]
# We assume that the cavity is partially filled with insulation, and is filled 25% full
PARTIALLY_FILLED_PERCENTAGE_ASSUMPTION = 0.25