Skip to content

Comprehensive set of test cases for a wordle matcher.

License

Notifications You must be signed in to change notification settings

yukosgiti/wordle-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Tests

Wordle Tests is a set of comprehensive tests for a guesser function for the game Wordle.


Each line follows the template: <word1>,<word2>,<result>

word1 Base word.
word2 Guess to be made onto word1 to get result.
result Output of a guess made by word2 onto word1.

This file was generated by matching all base words with all possible 5 length words that can be genereted with letters abcdefghij.

The output was then pruned to have only unique lex(word2)+result pairs for each word1.

lex is the lexicographically ordering function and + being concatination.


Each line follows the template: <word>

A 5 letter word can consist of 1-5 unique letters. Below, you can find all 52 lexicographically ordered possibilities. Every 5 letter word after lexicographically ordering is one of the values below.

Class specifies counts of each unique letter.

ULC Class Values
1 <5,0,0,0,0> aaaaa
2 <4,1,0,0,0> aaaab, aaaba, aabaa, abaaa, abbbb
2 <3,2,0,0,0> aaabb, aabab, aabba, aabbb, abaab, ababa, ababb, abbaa, abbab, abbba
3 <3,1,1,0,0> aaabc, aabac, aabca, abaac, abaca, abbbc, abbcb, abcaa, abcbb, abccc
3 <2,2,1,0,0> aabbc, aabcb, aabcc, ababc, abacb, abacc, abbac, abbca, abbcc, abcab, abcac, abcba, abcbc, abcca, abccb
4 <2,1,1,1,0> aabcd, abacd, abbcd, abcad, abcbd, abccd, abcda, abcdb, abcdc, abcdd
5 <1,1,1,1,1> abcde

*ULC: Unique Letter Count


Each line follows the template: <result>

The result is all possibilities between ccccc to wwwww. (Also contains invalid results.)


Each line follows the template: <word>,<result>

Not all possible results are valid. For example it is impossible to get ccccm as a result.

Sometimes, some results are not possible for a given word. For example, abcca can never have a guess result with mcccw.

So each line can be interpreted as there are no matches for word to obtain result.

About

Comprehensive set of test cases for a wordle matcher.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published