import numpy as np

STANDARD_ROOF_CONSTRUCTIONS = {
    "pitched access to loft",
    "pitched no access to loft",
    "pitched unknown access to loft",
    "piched unknown insulation",
    "pitched insulated",
    "pitched less than 100mm insulation",
    "another dwelling above",
    "flat unknown insulation",
    "flat insulated",
    "flat uninsulated",
    "unknown insulated",
    "unknown",
    "room roof insulated",
    "room roof uninsulated",
    "average thermal transmittance",
}

ROOF_CONSTRUCTION_MAPPINGS = {
    'Flat': 'flat unknown insulation',
    'Pitched (access to loft)': 'pitched access to loft',
    'Pitched (no access to loft)': 'pitched no access to loft',
    'Another dwelling above': 'another dwelling above',
    'Same dwelling above': 'another dwelling above',
    'As-built': 'unknown',
    'ND (inferred)': 'unknown',
    '2018 onwards': 'unknown',
    'Pitched (vaulted ceiling)': 'pitched insulated',
    np.nan: "unknown",
    None: "unknown",
    'Unknown': 'unknown',
    '270mm': 'pitched insulated',
    '300mm+': 'pitched insulated',
    '100mm': 'pitched less than 100mm insulation',
    '250mm': 'pitched insulated',
    '300mm': 'pitched insulated',
    'No Loft space': 'pitched no access to loft',
    '75mm': 'pitched less than 100mm insulation',
    '150mm': 'pitched insulated',
    'No Loft Hatch': 'pitched unknown access to loft',
    '200mm': 'pitched insulated',
    '0-49mm': 'pitched less than 100mm insulation',
    '50mm': 'pitched less than 100mm insulation',
    '': 'unknown',
    'NR': 'unknown',
    'Non-joist': 'unknown',
    '25mm': 'pitched less than 100mm insulation',
    '400mm+': 'pitched insulated',
    '12mm': 'pitched less than 100mm insulation',

    '150MM': 'pitched insulated',
    '200MM': 'pitched insulated',
    '250MM': 'pitched insulated',
    '100MM': 'pitched less than 100mm insulation',
    'U/K': 'unknown',
    'U/K - 250MM RIR FLAT CEILING': 'flat unknown insulation',
    'U/K - 200MM RIR FLAT CEILING': 'flat unknown insulation',

    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: 100mm': 'another dwelling above',
    'PitchedNormalNoLoftAccess: 150mm': 'pitched insulated',
    'PitchedNormalLoftAccess: As Built, PitchedNormalNoLoftAccess: None': 'pitched insulated',
    'PitchedNormalLoftAccess: 150mm, PitchedNormalNoLoftAccess: Unknown': 'pitched insulated',
    'Flat: As Built, PitchedNormalLoftAccess: 200mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 200mm': 'pitched insulated',
    'PitchedNormalNoLoftAccess: 50mm': 'unknown',
    'PitchedNormalNoLoftAccess: No Insulation': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 50mm, PitchedNormalNoLoftAccess: None': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 50mm, PitchedNormalLoftAccess: No Insulation': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 150mm': 'unknown', 'Flat: None': 'pitched insulated',
    'Flat: As Built, PitchedNormalLoftAccess: 150mm, PitchedNormalNoLoftAccess: None': 'flat unknown insulation',
    'PitchedNormalNoLoftAccess: 250mm, PitchedNormalNoLoftAccess: Unknown': 'pitched insulated',
    'PitchedNormalLoftAccess: 75mm': 'pitched less than 100mm insulation',
    'Flat: Unknown, PitchedNormalLoftAccess: 200mm, SameDwellingAbove: Unknown': 'flat unknown insulation',
    'Flat: As Built, PitchedNormalLoftAccess: 100mm, PitchedNormalNoLoftAccess: None': 'flat unknown insulation',
    'PitchedNormalNoLoftAccess: 250mm': 'pitched insulated',
    'PitchedNormalLoftAccess: 150mm, PitchedNormalNoLoftAccess: 100mm': 'pitched insulated',
    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: 300mm': 'another dwelling above',
    'PitchedNormalLoftAccess: 200mm, PitchedNormalNoLoftAccess: 50mm': 'pitched insulated',
    'Flat: As Built, PitchedNormalNoLoftAccess: 100mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 250mm, PitchedNormalNoLoftAccess: Unknown': 'pitched insulated',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalLoftAccess: 150mm': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalLoftAccess: 200mm': 'pitched less than 100mm insulation',
    'PitchedNormalNoLoftAccess: 75mm': 'pitched less than 100mm insulation',
    'Flat: As Built, PitchedNormalLoftAccess: 25mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 150mm, SameDwellingAbove': 'pitched insulated',
    'PitchedNormalLoftAccess: 150mm, PitchedNormalLoftAccess: 50mm': 'pitched insulated',
    'Flat: As Built, PitchedNormalLoftAccess: 100mm': 'flat unknown insulation',
    'Flat: As Built, PitchedNormalNoLoftAccess: None': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 150mm, PitchedNormalLoftAccess: 200mm': 'pitched insulated',
    'PitchedNormalNoLoftAccess: 300mm': 'pitched insulated',
    'Flat: As Built, PitchedNormalNoLoftAccess: 150mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 150mm, PitchedNormalNoLoftAccess: None': 'pitched insulated',
    'PitchedNormalNoLoftAccess: 200mm': 'pitched insulated',
    'PitchedNormalLoftAccess: 300mm, PitchedNormalNoLoftAccess: Unknown': 'pitched insulated',
    'PitchedNormalLoftAccess: None': 'pitched less than 100mm insulation',
    'Flat: As Built': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalLoftAccess: 250mm': 'pitched less than 100mm insulation',
    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: 50mm': 'another dwelling above',
    'PitchedNormalLoftAccess: 200mm, PitchedNormalLoftAccess: 250mm, PitchedNormalNoLoftAccess: None': 'pitched '
                                                                                                       'insulated',
    'PitchedNormalLoftAccess: 200mm, PitchedNormalLoftAccess: 250mm': 'pitched insulated',
    'Flat: 50mm': 'flat unknown insulation',
    'AnotherDwellingAbove: Unknown, PitchedNormalNoLoftAccess: None': 'another dwelling above',
    'PitchedNormalNoLoftAccess: None': 'pitched uninsulated',
    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: 25mm': 'another dwelling above',
    'AnotherDwellingAbove: Unknown, Flat: As Built, PitchedNormalNoLoftAccess: Unknown': 'another dwelling above',
    'Flat: As Built, PitchedNormalLoftAccess: 200mm, PitchedNormalNoLoftAccess: Unknown': 'flat unknown insulation',
    'Flat: Unknown, PitchedNormalLoftAccess: 75mm, PitchedNormalLoftAccess: Unknown': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalLoftAccess: Unknown': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 200mm, PitchedNormalLoftAccess: 300mm': 'pitched insulated',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalNoLoftAccess: 100mm': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalLoftAccess: No Insulation': 'pitched less than 100mm insulation',
    'AnotherDwellingAbove: Unknown, Flat: As Built, PitchedNormalLoftAccess: 150mm': 'another dwelling above',
    'PitchedNormalLoftAccess: 75mm, PitchedNormalNoLoftAccess: Unknown': 'pitched less than 100mm insulation',
    'Flat: As Built, PitchedNormalLoftAccess: 300mm': 'unknown', 'Flat: 100mm': 'flat unknown insulation',
    'PitchedNormalNoLoftAccess: 150mm, PitchedNormalNoLoftAccess: Unknown': 'pitched insulated',
    'PitchedNormalNoLoftAccess: 100mm': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 12mm': 'pitched less than 100mm insulation',
    'AnotherDwellingAbove: Unknown, PitchedNormalNoLoftAccess: 150mm': 'another dwelling above',
    'PitchedNormalLoftAccess: No Insulation': 'pitched less than 100mm insulation',

    'PitchedNormalLoftAccess: 25mm, PitchedNormalNoLoftAccess: Unknown': 'pitched less than 100mm insulation',

    'PitchedNormalLoftAccess: 250mm, PitchedNormalNoLoftAccess: None, PitchedNormalNoLoftAccess: Unknown': 'pitched '
                                                                                                           'insulated',
    'PitchedNormalNoLoftAccess: 100mm, PitchedNormalNoLoftAccess: Unknown': 'pitched less than 100mm insulation',
    'Flat: As Built, PitchedNormalNoLoftAccess: 100mm, PitchedNormalNoLoftAccess: Unknown': 'flat unknown insulation',

    'PitchedNormalNoLoftAccess: Unknown, SameDwellingAbove: Unknown': 'pitched no access to loft',
    'PitchedNormalLoftAccess: 200mm, PitchedNormalNoLoftAccess: None': 'pitched insulated',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalNoLoftAccess: As Built': 'pitched less than 100mm insulation',
    'PitchedNormalNoLoftAccess: 50mm, PitchedNormalNoLoftAccess: Unknown': 'pitched less than 100mm insulation',
    'Flat: As Built, Flat: Unknown, PitchedNormalLoftAccess: 250mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 50mm': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 250mm, PitchedNormalNoLoftAccess: None': 'pitched insulated',
    'Flat: 100mm, Flat: As Built': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalNoLoftAccess: Unknown': 'pitched less than 100mm insulation',
    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: No Insulation': 'another dwelling above',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalNoLoftAccess: None': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 300mm': 'pitched insulated',
    'PitchedNormalLoftAccess: 100mm': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 270mm': 'pitched insulated',
    'PitchedNormalNoLoftAccess: 200mm, PitchedNormalNoLoftAccess: Unknown': 'pitched insulated',
    'PitchedNormalLoftAccess: 200mm, PitchedNormalNoLoftAccess: Unknown': 'pitched insulated',
    'Flat: As Built, PitchedNormalLoftAccess: 250mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 50mm, PitchedNormalLoftAccess: 75mm': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 300mm, PitchedNormalLoftAccess: Unknown': 'pitched insulated',
    'Flat: As Built, PitchedNormalNoLoftAccess: 250mm': 'flat unknown insulation',
    'Flat: As Built, PitchedNormalNoLoftAccess: 50mm': 'flat unknown insulation',
    'Flat: As Built, PitchedNormalLoftAccess: 75mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 250mm, PitchedNormalNoLoftAccess: No Insulation': 'pitched insulated',
    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: 150mm': 'another dwelling above',
    'PitchedNormalLoftAccess: 75mm, PitchedNormalNoLoftAccess: No Insulation': 'pitched less than 100mm insulation',
    'AnotherDwellingAbove: Unknown, PitchedNormalNoLoftAccess: Unknown': 'another dwelling above',
    'Flat: As Built, PitchedNormalNoLoftAccess: 200mm': 'flat unknown insulation',
    'Flat: As Built, Flat: Unknown, PitchedNormalLoftAccess: 150mm': 'flat unknown insulation',
    'Flat: As Built, PitchedNormalLoftAccess: 150mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 300mm, PitchedNormalNoLoftAccess: 100mm': 'pitched insulated',
    'PitchedNormalLoftAccess: 100mm, PitchedNormalLoftAccess: 75mm': 'pitched less than 100mm insulation',
    'AnotherDwellingAbove: Unknown, PitchedNormalNoLoftAccess: 50mm, PitchedNormalNoLoftAccess: No Insulation':
        'another dwelling above',
    'Flat: As Built, PitchedNormalLoftAccess: 50mm': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 25mm': 'pitched less than 100mm insulation',
    'PitchedNormalLoftAccess: 50mm, PitchedNormalNoLoftAccess: Unknown': 'pitched less than 100mm insulation',
    'PitchedNormalNoLoftAccess: 150mm, PitchedNormalNoLoftAccess: Unknown, PitchedThatched: 25mm': 'pitched insulated',
    'Flat: 150mm+': 'flat insulated',
    'Flat: Unknown, PitchedNormalLoftAccess: 100mm, PitchedNormalNoLoftAccess: Unknown': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 150mm, PitchedNormalLoftAccess: Unknown': 'pitched insulated',
    'PitchedNormalLoftAccess: 150mm, PitchedNormalLoftAccess: 250mm': 'pitched insulated',
    'Flat: As Built, PitchedNormalLoftAccess: 100mm, PitchedNormalNoLoftAccess: Unknown': 'flat unknown insulation',
    'PitchedNormalLoftAccess: 250mm': 'pitched insulated',
    'PitchedNormalLoftAccess: 250mm, PitchedNormalLoftAccess: 75mm': 'pitched insulated',
    'PitchedNormalLoftAccess: 250mm, PitchedNormalLoftAccess: 50mm': 'pitched insulated',
    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: 200mm': 'another dwelling above',

    'PitchedNormalNoLoftAccess: Unknown': 'pitched no access to loft',
    'PitchedNormalLoftAccess: Unknown': 'pitched unknown insulation',
    'AnotherDwellingAbove: Unknown': 'another dwelling above',

    'Flat, insulated': 'flat insulated',
    'Pitched, insulated (assumed)': 'pitched insulated',
    'Flat, insulated (assumed)': 'flat insulated',
    '(another dwelling above)': 'another dwelling above',
    'Pitched, insulated at rafters': 'pitched insulated',
    '(other premises above)': 'another dwelling above',
    'Average thermal transmittance 0.15 W/m-¦K': 'average thermal transmittance',
    'Pitched, 25 mm loft insulation': 'pitched less than 100mm insulation',
    'Roof room(s), insulated (assumed)': 'room roof insulated',
    'Pitched, limited insulation (assumed)': 'pitched less than 100mm insulation',
    'Pitched, 270 mm loft insulation': 'pitched insulated',
    'Pitched, 250 mm loft insulation': 'pitched insulated',
    'Pitched, 200mm loft insulation': 'pitched insulated',
    'Flat, no insulation': 'flat uninsulated',

    'Pitched, 75 mm loft insulation': 'pitched less than 100mm insulation',
    'Average thermal transmittance 0.09 W/m-¦K': 'average thermal transmittance',

    'SAP05:Roof': 'unknown',
    'Pitched, 400 mm loft insulation': 'pitched insulated',
    'Pitched, 150mm loft insulation': 'pitched insulated',
    'Average thermal transmittance 0.11 W/m-¦K': 'unknown',
    'Pitched, 100 mm loft insulation': 'pitched less than 100mm insulation',
    'Pitched, 300 mm loft insulation': 'pitched insulated',
    'Pitched, 75mm loft insulation': 'pitched less than 100mm insulation',
    'Pitched, 300+mm loft insulation': 'pitched insulated',
    'Pitched, 300+  mm loft insulation': 'pitched insulated',
    'Average thermal transmittance 0.11 W/m?K': 'average thermal transmittance',
    'Average thermal transmittance 0.10 W/m?K': 'average thermal transmittance',
    'Pitched, 250mm loft insulation': 'pitched insulated',
    'Pitched, 300+ mm loft insulation': 'pitched insulated',
    'Average thermal transmittance 0.1 W/m-¦K': 'average thermal transmittance',
    'Pitched, *** INVALID INPUT Code : 57 *** loft insulation': 'unknown',
    'Pitched, 100mm loft insulation': 'pitched less than 100mm insulation',
    'Pitched, loft insulation': 'pitched less than 100mm insulation',
    'Average thermal transmittance 0.20 W/m?K': 'average thermal transmittance',
    'Average thermal transmittance 0.1 W/m?K': 'average thermal transmittance',
    'Average thermal transmittance 0.16 W/m-¦K': 'average thermal transmittance',
    'Average thermal transmittance 0.14 W/m?K': 'average thermal transmittance',
    'Pitched, 50 mm loft insulation': 'pitched less than 100mm insulation',
    'Flat, limited insulation': 'flat uninsulated',
    'Average thermal transmittance 0.12 W/m?K': 'average thermal transmittance',
    'Roof room(s), ceiling insulated': 'room roof insulated',
    'Average thermal transmittance 0.18 W/m?K': 'average thermal transmittance',
    'Average thermal transmittance 0.10 W/m-¦K': 'average thermal transmittance',
    'Pitched, 400+ mm loft insulation': 'pitched insulated',
    'Average thermal transmittance 0.14 W/m&#0178;K': 'average thermal transmittance',
    'Pitched, no insulation (assumed)': 'pitched less than 100mm insulation',
    'Average thermal transmittance 0.16 W/m?K': 'average thermal transmittance',
    'Average thermal transmittance 0.21 W/m?K': 'average thermal transmittance',
    'Flat, no insulation (assumed)': 'flat uninsulated',
    'Pitched, no insulation': 'pitched less than 100mm insulation',

    'Average thermal transmittance 0.12 W/m-¦K': 'average thermal transmittance',
    'Pitched, 12 mm loft insulation': 'pitched less than 100mm insulation',
    'Average thermal transmittance 0.07 W/m-¦K': 'average thermal transmittance',
    'Roof room(s), no insulation (assumed)': 'room roof uninsulated',
    'Pitched, no insulation(assumed)': 'pitched less than 100mm insulation',
    'Average thermal transmittance 0.13 W/m-¦K': 'average thermal transmittance',
    'Average thermal transmittance 0.08 W/m-¦K': 'average thermal transmittance',
    'Average thermal transmittance 0.14 W/m-¦K': 'average thermal transmittance',
    'Pitched, 350 mm loft insulation': 'pitched insulated',
    'Average thermal transmittance 0 W/m-¦K': 'average thermal transmittance',
    'Pitched, 200 mm loft insulation': 'pitched insulated',
    'Pitched, 150 mm loft insulation': 'pitched insulated',
    'Flat, limited insulation (assumed)': 'flat uninsulated',

    'Pitched (no access to loft) 350mm': 'pitched insulated',
    'Pitched (no access to loft) 200mm': 'pitched insulated',
    'Pitched (access to loft) 200mm': 'pitched insulated',
    'Pitched (no access to loft) 250mm': 'pitched insulated',
    'Pitched (access to loft) 100mm': 'pitched insulated',
    'Another dwelling above ND (inferred)': 'another dwelling above',
    'Pitched (no access to loft) N/A': 'pitched no access to loft',
    'Pitched (no access to loft) ND (inferred)': 'pitched no access to loft',
    'Pitched (no access to loft) 150mm': 'pitched insulated',
    'Pitched (access to loft) 400mm+': 'pitched insulated',
    'Pitched (no access to loft) 300mm': 'pitched insulated',
    'Pitched (access to loft) <25mm': 'pitched less than 100mm insulation',
    'Pitched (access to loft) None': 'pitched less than 100mm insulation',
    'Pitched (access to loft) 300mm': 'pitched insulated',
    'Pitched (access to loft) 50mm': 'pitched less than 100mm insulation',
    'Pitched (access to loft) 270mm': 'pitched insulated',
    'Pitched (access to loft) Non-joist': 'pitched access to loft',
    'Pitched (access to loft) 250mm': 'pitched insulated',
    'Another dwelling above N/A': 'another dwelling above',
    'Pitched (access to loft) 150mm': 'pitched insulated',
    'Pitched (access to loft) ND (inferred)': 'pitched access to loft',
    'Pitched (access to loft) 350mm': 'pitched insulated',
    'Pitched (access to loft) NR': 'pitched unknown insulation',
    'Pitched (access to loft) 75mm': 'pitched less than 100mm insulation',
    'Pitched (access to loft) N/A': 'pitched access to loft',
    'ND (inferred) 250mm': 'unknown insulated',
    'Pitched (vaulted ceiling) Non-joist': 'pitched unknown insulation',
    'ND (inferred) ND (inferred)': 'unknown',
    'Flat Non-joist': 'flat insulated',
    'Same dwelling above N/A': 'another dwelling above',

    'Flat: As Built, PitchedNormalLoftAccess: Unknown': 'flat unknown insulation',
    'PitchedNormalLoftAccess: Unknown, PitchedNormalNoLoftAccess: Unknown': 'pitched unknown insulation',
    'PitchedNormalLoftAccess: 400mm+': 'pitched insulated',
    'AnotherDwellingAbove: 150mm': 'another dwelling above',
    'Flat: 150mm': 'flat insulated',
    'AnotherDwellingAbove: 50mm': 'another dwelling above',
    'PitchedNormalNoLoftAccess: As Built': 'pitched no access to loft',
    'PitchedNormalLoftAccess: 250mm, PitchedWithSlopingCeiling: As Built': 'pitched insulated',
    'PitchedNormalLoftAccess: 200mm, PitchedWithSlopingCeiling: As Built': 'pitched insulated',
    'PitchedNormalLoftAccess: 350mm': 'pitched insulated',
    'PitchedNormalNoLoftAccess: 270mm': 'pitched no access to loft',
    'AnotherDwellingAbove: 100mm': 'another dwelling above',

    'PitchedWithSlopingCeiling: Unknown': 'piched unknown insulation',
    'AnotherDwellingAbove: Unknown, Flat: As Built': 'another dwelling above',
    'Flat: Unknown, PitchedNormalLoftAccess: 25mm': 'flat unknown insulation',
    'SameDwellingAbove: Unknown': 'another dwelling above',
    'Flat: Unknown': 'flat unknown insulation',
    'Flat: 50mm, PitchedNormalLoftAccess: 100mm': 'flat insulated',
    'Flat: As Built, PitchedNormalLoftAccess: 250mm, PitchedWithSlopingCeiling: As Built': 'flat unknown insulation',
    'Flat: As Built, PitchedNormalLoftAccess: 400mm+': 'flat unknown insulation',
    'PitchedWithSlopingCeiling: As Built': 'pitched insulated',
    'PitchedNormalLoftAccess: As Built': 'pitched unknown insulation',

    'Flat: 150mm, Flat: Unknown': 'flat insulated',
    'AnotherDwellingAbove: Unknown, Flat: Unknown': 'another dwelling above',
    'AnotherDwellingAbove, AnotherDwellingAbove: Unknown': 'another dwelling above',
    'PitchedNormalNoLoftAccess: Unknown, PitchedWithSlopingCeiling: As Built': 'pitched unknown access to loft',
    'Flat: No Insulation': 'flat uninsulated',
    'AnotherDwellingAbove: Unknown, PitchedNormalLoftAccess: 250mm': 'another dwelling above',
    'PitchedNormalLoftAccess: 175mm': 'pitched insulated',
    'AnotherDwellingAbove: 300mm': 'another dwelling above',

    'Another dwelling above, As built': 'another dwelling above',
    'Pitched (slates or tiles)  no loft access, 400mm+': 'pitched insulated',
    'Pitched (slates or tiles)  access to loft, 400mm+': 'pitched insulated',
    'Pitched (slates or tiles)  access to loft, 300mm': 'pitched insulated',
    'Pitched (slates or tiles)  access to loft, 75mm': 'pitched less than 100mm insulation',
    'Pitched (slates or tiles)  no loft access, 300mm': 'pitched insulated',
    'Pitched (slates or tiles)  access to loft, 270mm': 'pitched insulated',
    'Pitched (slates or tiles)  access to loft, 100mm': 'pitched insulated',
    'Pitched (slates or tiles)  no loft access, 200mm': 'pitched insulated',
    'Pitched (slates or tiles)  access to loft, 200mm': 'pitched insulated',
    'Pitched (slates or tiles)  access to loft, 50mm': 'pitched less than 100mm insulation',

    'Pitched roofs': 'pitched unknown insulation',

}
