mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
Classify the landlord Glazing column into a glazing category 🟥
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
608e96bb09
commit
0b782bd1a6
1 changed files with 13 additions and 0 deletions
|
|
@ -25,3 +25,16 @@ def test_build_columns_wires_a_main_fuel_classifier_column() -> None:
|
|||
assert len(columns) == 1
|
||||
assert columns[0].name == "main_fuel"
|
||||
assert columns[0].source_column == "Main Fuel"
|
||||
|
||||
|
||||
def test_build_columns_wires_a_glazing_classifier_column() -> None:
|
||||
# Arrange
|
||||
chat_gpt = cast(ChatGPT, object())
|
||||
|
||||
# Act
|
||||
columns = _build_columns({"glazing": "Glazing"}, chat_gpt, None)
|
||||
|
||||
# Assert — one column, named glazing, reading the "Glazing" header.
|
||||
assert len(columns) == 1
|
||||
assert columns[0].name == "glazing"
|
||||
assert columns[0].source_column == "Glazing"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue