chore(hyde): fix 100061275133 Elmhurst build faithfulness (lighting 5 LED, wall thickness 400)

Input reconciliation (Elmhurst summary vs EpcPropertyData vs raw cert) exposed
two Playwright-entry errors: lighting entered as 6 incandescent (cert has 5 LED,
100% low-energy) and wall thickness left at Elmhurst's 260mm default (cert lodges
400mm). Fixing both moved Elmhurst 67->69. Confirmed the MAPPER is faithful
(every fabric/heating/lighting field matches the raw cert) and the engine uses
the correct PCDB 18908 efficiency (88.7%). The remaining Elmhurst gap to lodged
76 is the un-enterable PCDB boiler (automation falls back to generic BGW 84% +
keep-hot); the engine (77) is faithful. Not a mapping error.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Jun-te Kim 2026-07-03 06:13:09 +00:00
parent a593921a83
commit 61934af97b
3 changed files with 8 additions and 2 deletions

View file

@ -75,6 +75,12 @@ def walls(page):
print("insulation ->", _pick(page, f"{WALL}DropDownListInsulation", "external"))
print("party ->", _pick(page, f"{PWALL}DropDownListPartyWallType", "determine")
or _pick(page, f"{PWALL}DropDownListPartyWallType", "masonry"))
# wall thickness (cert lodges 400 mm; Elmhurst else defaults 260)
for suf in (f"{WALL}TextBoxThickness", f"{WALL}TextBoxWallThickness"):
if page.locator(f"#{E.FP}{suf}").count():
E.set_text(page, suf, "400"); print("wall thickness set 400 via", suf); break
else:
print("thickness field not found; wall fields:", [i for i in page.evaluate("()=>Array.from(document.querySelectorAll('[id*=Wall]')).map(e=>e.id)")][:20])
E.save_close(page)
@ -129,8 +135,8 @@ def ventilation(page):
E.click_tab(page, "TabContainer_TabPanelAirPressureTest")
E.set_select(page, f"{APT}DropDownListTestMethod", "Not available")
E.click_tab(page, "TabContainer_TabPanelLighting")
E.set_text(page, f"{LP}TextBoxLightsTotal", "6")
E.set_text(page, f"{LP}TextBoxLedLightsTotal", "0")
E.set_text(page, f"{LP}TextBoxLightsTotal", "5")
E.set_text(page, f"{LP}TextBoxLedLightsTotal", "5")
E.set_text(page, f"{LP}TextBoxCflLightsTotal", "0")
E.save_close(page)