Welcome to the store design team. The shop window's letter board has one tile per letter, and letterboard/ is meant to plan which product names to spell on it; the rules are in README.md. Start by running the tests: the…
Welcome to the store design team. The shop window's letter board has one tile per letter, and letterboard/ is meant to plan which product names to spell on it; the rules are in README.md. Start by running the tests: the check for a pick fails, and that comes first. Then build the planner.
You have 40 minutes. The checks are graded one by one, so each part you get working counts even if the rest is not done. Use the AI assistant if you like, but check what it gives you against the README and the tests.
tiles_used(["moon"]) says 3. The board has one o, so moon cannot be spelled at all.
tiles_used returns 0 for any pick where a letter appears twice, in one word or across words.most_tiles(words) returns the most tiles any pick can use.best_pick(words) returns the words of a best pick in list order, with ties broken by list position as the README describes.pytest tests/visible. Three tests fail on the current code.Visible test command
pytest tests/visibleThe repository’s own tests. Run all tests includes them, and so does every submission.
Repository
letter-board-unique-letters-fix-the-check-then-plan-the-best-pick
Changes under src/ are evaluated.