<jupyter_start><jupyter_text>departments = []"{"name": "dining", "area": 175, "adjacency": ["outside", "living", "kitchen"], "aspect ratio": 1},"{"name": "dining""area": 175"adjacent":["living", "kitchen"]"windows": True}type: public; minimum: 1; maximum: 1;attach: Bathroom, Kitchen, Dining Room, Bedroom, Hallway, Social Room;min-width: 7;min-area: 150;max-ratio: 1.5;bigger-than: Bedroom, Kitchen, Dining Room;}<jupyter_code>grid = build_grid((9,9),3,3)
room_list = ["Living room","Bathroom","Hall"]

desired_layout = ["Living room,10","Bathroom","Hall"]
room_order, room_assignment_order = random_design(grid,room_list)

score_floor_plan(grid,  room_order, room_assignment_order, desired_layout)<jupyter_output>[0 0 0 0 0]
[0 Hall Hall Hall 0]
[0 Hall Bathroom Hall 0]
[0 Living room Living room Hall 0]
[0 0 0 0 0]
{'fraction_non_alphanumeric': 0.17826617826617827, 'fraction_numerical': 0.045177045177045176, 'mean_word_length': 8.213483146067416, 'pattern_counts': {'":': 8, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '364944', 'license': 'MIT', 'n_tokens_mistral': 336, 'n_tokens_neox': 297, 'n_words': 76, 'path': '.ipynb_checkpoints/New space plan-checkpoint.ipynb', 'repo_name': 'kristiangreve/generativedesign', 'size': '819'}