{"id":18004723,"url":"https://github.com/oscarknagg/wordle-solver","last_synced_at":"2026-07-06T12:31:16.786Z","repository":{"id":96853760,"uuid":"445878059","full_name":"oscarknagg/wordle-solver","owner":"oscarknagg","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-09T20:47:56.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T10:21:23.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oscarknagg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-08T17:00:40.000Z","updated_at":"2023-04-11T21:14:27.000Z","dependencies_parsed_at":"2023-05-09T20:33:12.008Z","dependency_job_id":null,"html_url":"https://github.com/oscarknagg/wordle-solver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oscarknagg/wordle-solver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarknagg%2Fwordle-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarknagg%2Fwordle-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarknagg%2Fwordle-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarknagg%2Fwordle-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscarknagg","download_url":"https://codeload.github.com/oscarknagg/wordle-solver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscarknagg%2Fwordle-solver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281366886,"owners_count":26488696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T00:15:34.535Z","updated_at":"2025-10-28T00:38:55.942Z","avatar_url":"https://github.com/oscarknagg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordle-solver\n\n```python\nimport nltk\nnltk.download(\"words\")\n```\n\n| Corpus                | Algorithm                            | Win rate |\n|-----------------------|--------------------------------------|----------|\n| NLTK words            | RandomVocabElimination               | 0.72     |\n| NLTK words            | CharacterFrequencyVocabElimination   | 0.14     |\n| NLTK words            | RandomUniqueCharVocabElimination     | 0.83     |\n| NLTK words            | RandomCharFreqUniqueVocabElimination | 0.80     |\n| NLTK words            | RandomVocabElimination+              | 0.91     |\n| NLTK words            | RandomUniqueCharVocabElimination+    | 0.94     |\n| NLTK words            | InfoSeekingVocabElimination (v1)     | 0.40     |\n\nCharacterFrequencyVocabElimination picks \"arara\" first in NLTK words corpus which \n\nNew strategy: pick the word which you think will eliminate the most options\n- This includes words that we know can't be the target but might give us lots of information\n\nConsider this failure case:\n```\nAnswer: bulky\na w f u l\nc l o u d\ns l u i t\ng l u m p\nl u r k y\nh u l k y\n```\n\nHeuristics for what words are \"valuable\":\n- Contains all unique letters\n- Doesn't repeat any (char, position) that we're used before and we know are wrong\n- Contains lots of letters we haven't tried yet\n- Contains letters that we know are in the word but haven't positioned yet\n\nOther heuristics based on this idea:\n- If there's only one letter remaining to guess\n  - e.g. * u s h y, could be \"bushy\", \"cushy\" or \"mushy\"\n  - then it might be worth submitting \"climb\" as it will find out which of c, m or b is in the remaining slot\n\n\nMore failure cases:\n```\nAnswer: douse\nb i l g e\nc o p s e\nh o r s e\ny o u s e\nt o u s e\nm o u s e\n\nAnswer: varve\nm o i s e\na r u k e\nc a r t e\np a r g e\nl a r v e\nw a r v e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscarknagg%2Fwordle-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscarknagg%2Fwordle-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscarknagg%2Fwordle-solver/lists"}