description
stringlengths 3
46
| input
stringlengths 4
74
| output
stringlengths 1
90
⌀ | types
stringclasses 9
values |
---|---|---|---|
Replace '-' w/ ',' | ('2-FreeHafer-+188',) | 2,FreeHafer,+188 | list(char) -> list(char) |
Replace ',' w/ '(' | ('+132,Tobias',) | +132(Tobias | list(char) -> list(char) |
rotate-k with k=4 | ([16, 11, 13, 11, 3, 1, 8, 15, 7, 7],) | [8, 15, 7, 7, 16, 11, 13, 11, 3, 1] | list(int) -> list(int) |
append-k with k=5 | ([3, 1, 4, 9],) | [3, 1, 4, 9, 5] | list(int) -> list(int) |
Replace ',' w/ '.' | ('+197,980,Hage,Cencici',) | +197.980.Hage.Cencici | list(char) -> list(char) |
nth (n=0) word delimited by ' ' | ('42 597 J',) | 42 | list(char) -> list(char) |
remove-mod-k with k=2 | ([10, 10, 16, 7, 2],) | [7] | list(int) -> list(int) |
slice-k-n with k=1 and n=3 | ([14, 13, 13, 2, 12, 5, 15, 3],) | [14, 13, 13] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=5 and n=3 | ([0, 0, 2, 1, 0, 2, 2],) | [2, 2, 1, 0, 2, 1, 1] | list(int) -> list(int) |
Abbreviate words separated by '-' | ('941-162',) | 9.1. | list(char) -> list(char) |
bool-identify-k with k=3 | ([5, 16, 12],) | [False, False, False] | list(int) -> list(bool) |
Extract word delimited by ',' - '.' | ('86,+161.13,+7',) | +161 | list(char) -> list(char) |
drop first word delimited by '.' | ('Acura.Urbana',) | Urbana | list(char) -> list(char) |
Extract word delimited by ')' - '-' | ('141)Penn-Jani-Clasen',) | Penn | list(char) -> list(char) |
remove-index-k with k=4 | ([15, 1, 4, 12],) | [15, 1, 4] | list(int) -> list(int) |
index-head | ([2, 0, 15, 9, 10, 14],) | 15 | list(int) -> int |
pow-k with k=2 | ([13, 11, 10, 12, 13],) | [169, 121, 100, 144, 169] | list(int) -> list(int) |
slice-k-n with k=3 and n=5 | ([2, 8, 14, 13, 9, 7, 3, 1, 8, 3],) | [14, 13, 9, 7, 3] | list(int) -> list(int) |
count-k with k=3 | ([3, 3, 3, 4],) | 3 | list(int) -> int |
slice-k-n with k=4 and n=3 | ([0, 1, 7, 16, 12, 13, 12, 1, 2],) | [16, 12, 13] | list(int) -> list(int) |
Take first character and append ' ' | ('MI',) | M | list(char) -> list(char) |
Prepend 'Sergienko' | ('Barbara',) | SergienkoBarbara | list(char) -> list(char) |
Drop last 2 characters | ('Nancy',) | Nan | list(char) -> list(char) |
slice-k-n with k=3 and n=3 | ([1, 15, 7, 4, 2, 15, 1, 7, 10, 3],) | [7, 4, 2] | list(int) -> list(int) |
Append two words delimited by '.' | ('Bradford', 'Beata') | Bradford.Beata | list(char) -> list(char) -> list(char) |
count-k with k=3 | ([2, 8, 0, 14, 3, 10],) | 1 | list(int) -> int |
nth (n=-1) word delimited by '.' | ('Latimore.Joaquin.Bobo.G',) | G | list(char) -> list(char) |
sort | ([8],) | [8] | list(int) -> list(int) |
Replace '(' w/ ')' | ('Hornak(Q(Mackenzie',) | Hornak)Q)Mackenzie | list(char) -> list(char) |
dup | ([10, 7],) | [10, 10, 7, 7] | list(int) -> list(int) |
remove-mod-head | ([6, 36],) | [] | list(int) -> list(int) |
caesar-cipher-k-modulo-n with k=3 and n=2 | ([0],) | [1] | list(int) -> list(int) |
drop-k with k=2 | ([5, 16, 1, 6, 12, 5, 6, 10, 10],) | [1, 6, 12, 5, 6, 10, 10] | list(int) -> list(int) |
parentheses around word delimited by ' ' & '-' | (' +194-9',) | (+194)-9 | list(char) -> list(char) |
drop-k with k=2 | ([13, 10, 5, 13, 5, 1],) | [5, 13, 5, 1] | list(int) -> list(int) |
Replace '-' w/ ' ' | ('+183-13',) | +183 13 | list(char) -> list(char) |
parentheses around a single word (III) | ('Ducati',) | (Ducati) | list(char) -> list(char) |
mult-k with k=3 | ([0, 13, 3, 9, 1],) | [0, 39, 9, 27, 3] | list(int) -> list(int) |
remove-mod-head | ([1, 2, 3],) | [] | list(int) -> list(int) |
bool-identify-k with k=1 | ([15, 16],) | [False, False] | list(int) -> list(bool) |
remove eq 0 | ([6, 2, 4, 0, 2],) | [6, 2, 4, 2] | list(int) -> list(int) |
nth (n=0) word delimited by ',' | ('MA,B,+95',) | MA | list(char) -> list(char) |
caesar-cipher-k-modulo-n with k=1 and n=2 | ([1, 1, 0],) | [0, 0, 1] | list(int) -> list(int) |
Drop last 2 characters | ('Stefany',) | Stefa | list(char) -> list(char) |
add-k with k=1 | ([],) | [] | list(int) -> list(int) |
ensure suffix `997` | ('Marcus +108 Ramthun Rudolf',) | Marcus +108 Ramthun Rudolf997 | list(char) -> list(char) |
nth (n=1) word delimited by ')' | ('Partida)FreeHafer)+130)D',) | FreeHafer | list(char) -> list(char) |
Replace ',' w/ '.' | ('+197,980,Hage,Cencici',) | +197.980.Hage.Cencici | list(char) -> list(char) |
append-index-k with k=3 | ([8, 6, 13, 11, 15, 2],) | [8, 6, 13, 11, 15, 2, 13] | list(int) -> list(int) |
parentheses around word delimited by '.' & ',' | ('.DPhiladelphia,+132 G',) | .(DPhiladelphia),+132 G | list(char) -> list(char) |
append-index-k with k=2 | ([12, 14, 9],) | [12, 14, 9, 14] | list(int) -> list(int) |
has-k with k=1 | ([15, 7, 6, 15, 7],) | False | list(int) -> bool |
Abbreviate words separated by '-' | ('Kathlyn-Beata',) | K.B. | list(char) -> list(char) |
min | ([15, 5, 8, 12],) | 5 | list(int) -> int |
Append 2 strings (III) | ('Tobias', '58') | Tobias58 | list(char) -> list(char) -> list(char) |
nth (n=1) word delimited by ',' | ('Arbor,Scalia,Seamons,847',) | Scalia | list(char) -> list(char) |
Replace '-' w/ ' ' | ('+183-13',) | +183 13 | list(char) -> list(char) |
count-k with k=1 | ([5, 8, 4, 13, 12],) | 0 | list(int) -> int |
index-k with k=2 | ([13, 2],) | 2 | list(int) -> int |
First letters of words (IIIIII) | ('43 390 Phillip',) | 43P | list(char) -> list(char) |
Abbreviate separate words (III) | ('692', 'Soderstrom') | 6.S. | list(char) -> list(char) -> list(char) |
head | ([5, 6, 2, 8, 9],) | 5 | list(int) -> int |
range | (2,) | [0, 1] | int -> list(int) |
nth (n=-1) word delimited by ',' | ('468,376',) | 376 | list(char) -> list(char) |
Append two words delimited by ' ' | ('2', '+151') | 2 +151 | list(char) -> list(char) -> list(char) |
slice-k-n with k=1 and n=1 | ([8, 6, 15, 14],) | [8] | list(int) -> list(int) |
bool-identify-is-mod-k with k=1 | ([1, 1, 1],) | [True, True, True] | list(int) -> list(bool) |
Extract word delimited by ',' - '.' | ('426,Lain.45,Honda125',) | Lain | list(char) -> list(char) |
take-k with k=2 | ([1, 9, 12, 12, 2, 3, 5, 15],) | [1, 9] | list(int) -> list(int) |
Take first 2 characters | ('Stefany',) | St | list(char) -> list(char) |
append-k with k=0 | ([8, 10, 0],) | [8, 10, 0, 0] | list(int) -> list(int) |
append-index-k with k=5 | ([12, 4, 7, 10, 13, 3, 14, 4, 12, 4],) | [12, 4, 7, 10, 13, 3, 14, 4, 12, 4, 13] | list(int) -> list(int) |
rotate-k with k=4 | ([2, 6, 10, 10, 8, 15, 16, 15, 1, 2, 7, 5, 4, 0, 13],) | [5, 4, 0, 13, 2, 6, 10, 10, 8, 15, 16, 15, 1, 2, 7] | list(int) -> list(int) |
Extract word delimited by '-' - ')' | ('T-188)Brendan-736',) | 188 | list(char) -> list(char) |
remove-mod-head | ([4, 5, 11, 11],) | [5, 11, 11] | list(int) -> list(int) |
parentheses around first word | ('TX 33 Pennsylvania',) | (TX) | list(char) -> list(char) |
Append 'Cornell' | ('IL',) | ILCornell | list(char) -> list(char) |
remove-mod-k with k=5 | ([30],) | [] | list(int) -> list(int) |
Replace '(' w/ ' ' | ('CT(Heintz(Cornell(Phillip',) | CT Heintz Cornell Phillip | list(char) -> list(char) |
Append '+138' | ('Hopkins',) | Hopkins+138 | list(char) -> list(char) |
replace-all-with-index-k with k=2 | ([11, 7, 16, 14, 13, 12],) | [7, 7, 7, 7, 7, 7] | list(int) -> list(int) |
Replace '.' w/ ')' | ('83.Ramthun',) | 83)Ramthun | list(char) -> list(char) |
Drop last 4 characters | ('+167',) | null | list(char) -> list(char) |
bool-identify-k with k=2 | ([8],) | [False] | list(int) -> list(bool) |
Prepend '170' to first word | ('Drexel Maryann',) | 170Drexel | list(char) -> list(char) |
nth (n=-1) word delimited by ')' | ('+151)50)Withers',) | Withers | list(char) -> list(char) |
remove-mod-head | ([2, 9, 1, 6],) | [9, 1] | list(int) -> list(int) |
ensure suffix `568` | ('+194 517 Bobo568',) | +194 517 Bobo568 | list(char) -> list(char) |
repeat-k with k=4 | ([6],) | [6, 6, 6, 6] | list(int) -> list(int) |
prepend-k with k=2 | ([],) | [2] | list(int) -> list(int) |
Abbreviate separate words (III) | ('+189', '856') | +.8. | list(char) -> list(char) -> list(char) |
remove-index-k with k=3 | ([1, 14, 9, 7, 11, 16],) | [1, 14, 7, 11, 16] | list(int) -> list(int) |
repeat-k with k=2 | ([2, 10, 13, 15, 3],) | [2, 10, 13, 15, 3, 2, 10, 13, 15, 3] | list(int) -> list(int) |
Drop last 5 characters | ('Heintz',) | H | list(char) -> list(char) |
repeat-k with k=4 | ([5, 8, 13, 0],) | [5, 8, 13, 0, 5, 8, 13, 0, 5, 8, 13, 0, 5, 8, 13, 0] | list(int) -> list(int) |
mult-k with k=5 | ([8, 2, 14],) | [40, 10, 70] | list(int) -> list(int) |
nth (n=0) word delimited by '.' | ('B.25.Jeanice',) | B | list(char) -> list(char) |
parentheses around word delimited by '.' & ',' | ('476.47,017',) | 476.(47),017 | list(char) -> list(char) |
Extract word delimited by ',' - '.' | ('426,Lain.45,Honda125',) | Lain | list(char) -> list(char) |
nth (n=-1) word delimited by ',' | ('468,376',) | 376 | list(char) -> list(char) |
End of preview. Expand
in Dataset Viewer.
Program Synthesis Data
Generated program synthesis datasets used to train dreamcoder.
Currently just supports text & list data.
- Downloads last month
- 652