id stringlengths 16 19 | request stringlengths 21 206 | program stringlengths 6 211 | input_text stringlengths 40 477 | expected_output stringlengths 2 276 | validation_input stringlengths 39 469 | validation_output stringlengths 0 298 | family stringclasses 39
values | difficulty int64 1 3 | split stringclasses 1
value | source stringclasses 3
values | license stringclasses 1
value | paraphrase_of stringlengths 16 16 ⌀ | paraphrase_model stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
awkweave-0008000-p1 | Display the entire line for any record where the third field starts with ERROR. | $3 ~ /^ERROR/ | fable 64 INFO
amber 70 ERROR
delta 69 ERROR
fable 120 DEBUG
delta 66 WARN
birch 75 INFO
juniper 38 ERROR
indigo 105 DEBUG
birch 10 ERROR
grove 27 DEBUG
| amber 70 ERROR
delta 69 ERROR
juniper 38 ERROR
birch 10 ERROR
| cobalt 99 ERROR
juniper 67 WARN
juniper 104 WARN
ember 43 ERROR
fable 49 WARN
juniper 0 WARN
fable 7 WARN
cobalt 3 ERROR
ember 104 INFO
harbor 99 INFO
| cobalt 99 ERROR
ember 43 ERROR
cobalt 3 ERROR
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008000 | qwen/qwen3.7-plus |
awkweave-0008001 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | grove 73 active
cobalt 73 failed
cobalt 11 paused
cobalt 54 active
fable 80 closed
delta 18 closed
indigo 81 ready
amber 31 closed
ember 999 active
| grove 73 active
cobalt 73 failed
cobalt 11 paused
cobalt 54 active
fable 80 closed
delta 18 closed
indigo 81 ready
amber 31 closed
| indigo 77 closed
harbor 20 closed
grove 97 failed
amber 41 pending
cobalt 4 failed
fable 15 closed
grove 35 ready
cobalt 111 ready
grove 103 ready
indigo 108 active
ember 999 active
| indigo 77 closed
harbor 20 closed
grove 97 failed
amber 41 pending
cobalt 4 failed
fable 15 closed
grove 35 ready
cobalt 111 ready
grove 103 ready
indigo 108 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008001-p1 | Output all lines that do not contain the exact string ember. | $0 !~ /ember/ | grove 73 active
cobalt 73 failed
cobalt 11 paused
cobalt 54 active
fable 80 closed
delta 18 closed
indigo 81 ready
amber 31 closed
ember 999 active
| grove 73 active
cobalt 73 failed
cobalt 11 paused
cobalt 54 active
fable 80 closed
delta 18 closed
indigo 81 ready
amber 31 closed
| indigo 77 closed
harbor 20 closed
grove 97 failed
amber 41 pending
cobalt 4 failed
fable 15 closed
grove 35 ready
cobalt 111 ready
grove 103 ready
indigo 108 active
ember 999 active
| indigo 77 closed
harbor 20 closed
grove 97 failed
amber 41 pending
cobalt 4 failed
fable 15 closed
grove 35 ready
cobalt 111 ready
grove 103 ready
indigo 108 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008001 | qwen/qwen3.7-plus |
awkweave-0008002 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | lina ember 58
lina birch 109
dina ember 44
bruno fable 61
ivan harbor 24
jules juniper 110
dina fable 74
hana fable 102
chen juniper 89
hana harbor 1
| bruno fable 61
ivan harbor 24
jules juniper 110
dina fable 74
| bruno fable 2
lina cobalt 107
gus birch 35
hana harbor 28
kim fable 29
hana amber 84
| hana harbor 28
kim fable 29
hana amber 84
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008002-p1 | Print lines 4 to 7, inclusive of both the start and end lines. | NR >= 4 && NR <= 7 | lina ember 58
lina birch 109
dina ember 44
bruno fable 61
ivan harbor 24
jules juniper 110
dina fable 74
hana fable 102
chen juniper 89
hana harbor 1
| bruno fable 61
ivan harbor 24
jules juniper 110
dina fable 74
| bruno fable 2
lina cobalt 107
gus birch 35
hana harbor 28
kim fable 29
hana amber 84
| hana harbor 28
kim fable 29
hana amber 84
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008002 | qwen/qwen3.7-plus |
awkweave-0008003 | Output only the first 4 records. | NR <= 4 | ivan 80 harbor
jules 108 ember
eli 106 birch
kim 40 delta
alice 98 amber
alice 50 cobalt
| ivan 80 harbor
jules 108 ember
eli 106 birch
kim 40 delta
| chen 101 cobalt
eli 33 ember
dina 41 harbor
chen 119 birch
farah 57 grove
gus 109 juniper
| chen 101 cobalt
eli 33 ember
dina 41 harbor
chen 119 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008003-p1 | Show only the initial 4 records from the input. | NR <= 4 | ivan 80 harbor
jules 108 ember
eli 106 birch
kim 40 delta
alice 98 amber
alice 50 cobalt
| ivan 80 harbor
jules 108 ember
eli 106 birch
kim 40 delta
| chen 101 cobalt
eli 33 ember
dina 41 harbor
chen 119 birch
farah 57 grove
gus 109 juniper
| chen 101 cobalt
eli 33 ember
dina 41 harbor
chen 119 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008003 | qwen/qwen3.7-plus |
awkweave-0008004 | Skip the first line and print every remaining line unchanged. | NR > 1 | ivan 104 birch
hana 46 grove
gus 16 delta
gus 60 fable
alice 53 cobalt
jules 101 birch
| hana 46 grove
gus 16 delta
gus 60 fable
alice 53 cobalt
jules 101 birch
| eli 46 ember
chen 89 indigo
jules 0 delta
chen 76 cobalt
chen 35 harbor
hana 58 juniper
kim 32 cobalt
ivan 3 harbor
gus 18 grove
ivan 37 birch
| chen 89 indigo
jules 0 delta
chen 76 cobalt
chen 35 harbor
hana 58 juniper
kim 32 cobalt
ivan 3 harbor
gus 18 grove
ivan 37 birch
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008004-p1 | Omit the header line and output the rest of the file as-is. | NR > 1 | ivan 104 birch
hana 46 grove
gus 16 delta
gus 60 fable
alice 53 cobalt
jules 101 birch
| hana 46 grove
gus 16 delta
gus 60 fable
alice 53 cobalt
jules 101 birch
| eli 46 ember
chen 89 indigo
jules 0 delta
chen 76 cobalt
chen 35 harbor
hana 58 juniper
kim 32 cobalt
ivan 3 harbor
gus 18 grove
ivan 37 birch
| chen 89 indigo
jules 0 delta
chen 76 cobalt
chen 35 harbor
hana 58 juniper
kim 32 cobalt
ivan 3 harbor
gus 18 grove
ivan 37 birch
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008004 | qwen/qwen3.7-plus |
awkweave-0008005 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | gus active 36
chen pending 87
ivan failed 106
dina ready 118
hana closed 14
eli paused 23
alice paused 42
eli paused 69
eli ready 4
| 1
| ivan pending 89
dina pending 91
dina ready 12
lina pending 47
chen ready 52
jules failed 77
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008005-p1 | Tally the number of entries with 'closed' in the second column; output 0 if the count is zero. | $2 == "closed"{n++}END{print n+0} | gus active 36
chen pending 87
ivan failed 106
dina ready 118
hana closed 14
eli paused 23
alice paused 42
eli paused 69
eli ready 4
| 1
| ivan pending 89
dina pending 91
dina ready 12
lina pending 47
chen ready 52
jules failed 77
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008005 | qwen/qwen3.7-plus |
awkweave-0008006 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | delta 9 dina
grove 10 gus
ember 9 ivan
ember 8 eli
grove 2 kim
juniper 30 farah
birch 7 lina
harbor 21 jules
| 96
| delta 19 chen
amber 25 eli
fable 22 jules
delta 28 jules
juniper 14 lina
juniper 27 hana
| 135
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008006-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | delta 9 dina
grove 10 gus
ember 9 ivan
ember 8 eli
grove 2 kim
juniper 30 farah
birch 7 lina
harbor 21 jules
| 96
| delta 19 chen
amber 25 eli
fable 22 jules
delta 28 jules
juniper 14 lina
juniper 27 hana
| 135
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008006 | qwen/qwen3.7-plus |
awkweave-0008007 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | jules 28 birch
kim 25 indigo
jules 28 cobalt
chen 18 harbor
dina 22 fable
lina 9 ember
| 21.67
| eli 5 delta
dina 3 amber
jules 15 grove
farah 22 ember
kim 10 grove
gus 18 amber
farah 23 delta
hana 17 indigo
hana 14 ember
hana 29 birch
| 15.60
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008007-p1 | Calculate the average of the values in column 2 and format the result to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | jules 28 birch
kim 25 indigo
jules 28 cobalt
chen 18 harbor
dina 22 fable
lina 9 ember
| 21.67
| eli 5 delta
dina 3 amber
jules 15 grove
farah 22 ember
kim 10 grove
gus 18 amber
farah 23 delta
hana 17 indigo
hana 14 ember
hana 29 birch
| 15.60
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008007 | qwen/qwen3.7-plus |
awkweave-0008008 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 ember jules
6 indigo kim
7 ember chen
24 fable gus
23 birch chen
3 juniper bruno
16 amber gus
| 3
| 4 cobalt eli
14 birch kim
17 cobalt eli
26 ember lina
24 juniper lina
11 delta alice
18 amber gus
21 birch kim
10 delta ivan
5 juniper alice
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008008-p1 | Identify and output the minimum numeric value present in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 21 ember jules
6 indigo kim
7 ember chen
24 fable gus
23 birch chen
3 juniper bruno
16 amber gus
| 3
| 4 cobalt eli
14 birch kim
17 cobalt eli
26 ember lina
24 juniper lina
11 delta alice
18 amber gus
21 birch kim
10 delta ivan
5 juniper alice
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008008 | qwen/qwen3.7-plus |
awkweave-0008009 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | fable lina 1
ember bruno 14
ember hana 24
indigo farah 25
juniper gus 27
indigo alice 6
delta ivan 29
juniper chen 13
| 29
| juniper lina 27
ember chen 30
fable kim 10
indigo gus 17
fable farah 9
grove kim 2
juniper chen 22
birch hana 13
harbor alice 25
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008009-p1 | Identify and output the maximum numeric value present in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | fable lina 1
ember bruno 14
ember hana 24
indigo farah 25
juniper gus 27
indigo alice 6
delta ivan 29
juniper chen 13
| 29
| juniper lina 27
ember chen 30
fable kim 10
indigo gus 17
fable farah 9
grove kim 2
juniper chen 22
birch hana 13
harbor alice 25
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008009 | qwen/qwen3.7-plus |
awkweave-0008010 | Count all input records and print the total. | END{print NR} | jules 22
farah 105
dina 81
kim 51
alice 55
chen 66
ivan 10
kim 8
kim 102
dina 61
| 10
| alice 46
ivan 62
jules 82
bruno 50
gus 109
eli 19
farah 27
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008010-p1 | Count the total number of input lines and print the result. | END{print NR} | jules 22
farah 105
dina 81
kim 51
alice 55
chen 66
ivan 10
kim 8
kim 102
dina 61
| 10
| alice 46
ivan 62
jules 82
bruno 50
gus 109
eli 19
farah 27
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008010 | qwen/qwen3.7-plus |
awkweave-0008011 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | jules birch 39
gus amber 42
lina grove 76
gus indigo 45
bruno ember 87
eli fable 18
jules harbor 105
lina delta 80
bruno ember 87
eli birch 103
| jules birch 39
gus amber 42
lina grove 76
gus indigo 45
bruno ember 87
eli fable 18
jules harbor 105
lina delta 80
eli birch 103
| eli delta 34
hana delta 22
bruno amber 112
alice fable 67
ivan fable 30
lina cobalt 81
jules juniper 91
eli delta 34
| eli delta 34
hana delta 22
bruno amber 112
alice fable 67
ivan fable 30
lina cobalt 81
jules juniper 91
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008011-p1 | Eliminate duplicate lines while keeping the first instance of each and maintaining the original sequence. | !seen[$0]++ | jules birch 39
gus amber 42
lina grove 76
gus indigo 45
bruno ember 87
eli fable 18
jules harbor 105
lina delta 80
bruno ember 87
eli birch 103
| jules birch 39
gus amber 42
lina grove 76
gus indigo 45
bruno ember 87
eli fable 18
jules harbor 105
lina delta 80
eli birch 103
| eli delta 34
hana delta 22
bruno amber 112
alice fable 67
ivan fable 30
lina cobalt 81
jules juniper 91
eli delta 34
| eli delta 34
hana delta 22
bruno amber 112
alice fable 67
ivan fable 30
lina cobalt 81
jules juniper 91
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008011 | qwen/qwen3.7-plus |
awkweave-0008012 | Keep only the first line for each distinct value in column 1; preserve input order. | !seen[$1]++ | farah amber 8
lina delta 98
chen ember 77
kim cobalt 7
jules delta 106
jules indigo 92
kim juniper 58
gus harbor 80
gus grove 65
lina juniper 111
| farah amber 8
lina delta 98
chen ember 77
kim cobalt 7
jules delta 106
gus harbor 80
| bruno amber 56
lina harbor 31
farah fable 107
lina cobalt 94
bruno fable 74
bruno delta 106
| bruno amber 56
lina harbor 31
farah fable 107
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008012-p1 | Retain only the first occurrence of each unique value in column 1, maintaining the original input sequence. | !seen[$1]++ | farah amber 8
lina delta 98
chen ember 77
kim cobalt 7
jules delta 106
jules indigo 92
kim juniper 58
gus harbor 80
gus grove 65
lina juniper 111
| farah amber 8
lina delta 98
chen ember 77
kim cobalt 7
jules delta 106
gus harbor 80
| bruno amber 56
lina harbor 31
farah fable 107
lina cobalt 94
bruno fable 74
bruno delta 106
| bruno amber 56
lina harbor 31
farah fable 107
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008012 | qwen/qwen3.7-plus |
awkweave-0008013 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | farah 6 cobalt
eli 28 grove
hana 24 amber
alice 2 harbor
kim 11 cobalt
lina 16 harbor
kim 4 indigo
chen 30 cobalt
bruno 9 amber
| farah 6
eli 34
hana 58
alice 60
kim 71
lina 87
kim 91
chen 121
bruno 130
| ivan 25 cobalt
hana 11 juniper
kim 22 ember
hana 6 juniper
jules 22 indigo
eli 26 amber
bruno 18 ember
ivan 7 ember
| ivan 25
hana 36
kim 58
hana 64
jules 86
eli 112
bruno 130
ivan 137
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008013-p1 | Output column 1 alongside the cumulative total of column 2 for each row, using a space as the delimiter. | {s+=$2;print $1,s} | farah 6 cobalt
eli 28 grove
hana 24 amber
alice 2 harbor
kim 11 cobalt
lina 16 harbor
kim 4 indigo
chen 30 cobalt
bruno 9 amber
| farah 6
eli 34
hana 58
alice 60
kim 71
lina 87
kim 91
chen 121
bruno 130
| ivan 25 cobalt
hana 11 juniper
kim 22 ember
hana 6 juniper
jules 22 indigo
eli 26 amber
bruno 18 ember
ivan 7 ember
| ivan 25
hana 36
kim 58
hana 64
jules 86
eli 112
bruno 130
ivan 137
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008013 | qwen/qwen3.7-plus |
awkweave-0008014 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 28 5 cobalt
gus 27 12 birch
farah 28 19 grove
kim 3 3 fable
jules 8 10 indigo
alice 28 5 indigo
gus 25 5 grove
kim 15 1 grove
| kim 33
gus 39
farah 47
kim 6
jules 18
alice 33
gus 30
kim 16
| jules 24 7 grove
alice 1 28 fable
gus 24 2 amber
lina 30 9 amber
chen 27 11 birch
dina 2 6 fable
| jules 31
alice 29
gus 26
lina 39
chen 38
dina 8
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008014-p1 | For every line, display field 1 followed by the combined total of fields 2 and 3. | {print $1,$2+$3} | kim 28 5 cobalt
gus 27 12 birch
farah 28 19 grove
kim 3 3 fable
jules 8 10 indigo
alice 28 5 indigo
gus 25 5 grove
kim 15 1 grove
| kim 33
gus 39
farah 47
kim 6
jules 18
alice 33
gus 30
kim 16
| jules 24 7 grove
alice 1 28 fable
gus 24 2 amber
lina 30 9 amber
chen 27 11 birch
dina 2 6 fable
| jules 31
alice 29
gus 26
lina 39
chen 38
dina 8
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008014 | qwen/qwen3.7-plus |
awkweave-0008015 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | bruno 2
hana 14
kim 28
chen 23
jules 8
farah 20
| bruno fail
hana fail
kim pass
chen pass
jules fail
farah fail
| jules 20
ivan 18
bruno 26
ivan 10
hana 22
farah 10
jules 23
eli 14
| jules fail
ivan fail
bruno pass
ivan fail
hana pass
farah fail
jules pass
eli fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008015-p1 | Show column 1 and output 'pass' if column 2 is 21 or greater; otherwise, output 'fail'. | {print $1,($2>=21?"pass":"fail")} | bruno 2
hana 14
kim 28
chen 23
jules 8
farah 20
| bruno fail
hana fail
kim pass
chen pass
jules fail
farah fail
| jules 20
ivan 18
bruno 26
ivan 10
hana 22
farah 10
jules 23
eli 14
| jules fail
ivan fail
bruno pass
ivan fail
hana pass
farah fail
jules pass
eli fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008015 | qwen/qwen3.7-plus |
awkweave-0008016 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | gus cobalt 91
hana fable 41
lina juniper 115
gus amber 4
dina harbor 108
lina grove 120
eli ember 110
eli ember 86
| COBALT
FABLE
JUNIPER
AMBER
HARBOR
GROVE
EMBER
EMBER
| bruno ember 74
chen cobalt 26
gus birch 39
farah grove 82
dina ember 4
dina juniper 106
chen amber 29
farah cobalt 77
| EMBER
COBALT
BIRCH
GROVE
EMBER
JUNIPER
AMBER
COBALT
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008016-p1 | Transform column 2 to uppercase letters and output only this modified column. | {print toupper($2)} | gus cobalt 91
hana fable 41
lina juniper 115
gus amber 4
dina harbor 108
lina grove 120
eli ember 110
eli ember 86
| COBALT
FABLE
JUNIPER
AMBER
HARBOR
GROVE
EMBER
EMBER
| bruno ember 74
chen cobalt 26
gus birch 39
farah grove 82
dina ember 4
dina juniper 106
chen amber 29
farah cobalt 77
| EMBER
COBALT
BIRCH
GROVE
EMBER
JUNIPER
AMBER
COBALT
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008016 | qwen/qwen3.7-plus |
awkweave-0008017 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | delta 28
delta 113
ember 41
ember 104
cobalt 120
cobalt 81
birch 66
birch 62
indigo 109
grove 78
| lt
lt
be
be
ba
ba
rc
rc
di
ov
| amber 120
juniper 68
indigo 79
fable 68
harbor 48
ember 55
amber 3
delta 50
| be
ni
di
bl
rb
be
be
lt
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008017-p1 | From column 1, print 2 characters starting at character 3. | {print substr($1,3,2)} | delta 28
delta 113
ember 41
ember 104
cobalt 120
cobalt 81
birch 66
birch 62
indigo 109
grove 78
| lt
lt
be
be
ba
ba
rc
rc
di
ov
| amber 120
juniper 68
indigo 79
fable 68
harbor 48
ember 55
amber 3
delta 50
| be
ni
di
bl
rb
be
be
lt
| substring | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0008017 | qwen/qwen3.7-plus |
awkweave-0008018 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_birch 79
juniper_harbor 80
harbor_indigo 3
amber_ember 21
fable_amber 55
cobalt_harbor 49
| birch birch
juniper harbor
harbor indigo
amber ember
fable amber
cobalt harbor
| harbor_grove 5
indigo_fable 17
harbor_indigo 33
birch_indigo 96
juniper_fable 102
amber_indigo 39
birch_cobalt 114
juniper_cobalt 84
cobalt_amber 1
fable_amber 74
| harbor grove
indigo fable
harbor indigo
birch indigo
juniper fable
amber indigo
birch cobalt
juniper cobalt
cobalt amber
fable amber
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008018-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_birch 79
juniper_harbor 80
harbor_indigo 3
amber_ember 21
fable_amber 55
cobalt_harbor 49
| birch birch
juniper harbor
harbor indigo
amber ember
fable amber
cobalt harbor
| harbor_grove 5
indigo_fable 17
harbor_indigo 33
birch_indigo 96
juniper_fable 102
amber_indigo 39
birch_cobalt 114
juniper_cobalt 84
cobalt_amber 1
fable_amber 74
| harbor grove
indigo fable
harbor indigo
birch indigo
juniper fable
amber indigo
birch cobalt
juniper cobalt
cobalt amber
fable amber
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008018 | qwen/qwen3.7-plus |
awkweave-0008019 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli grove 106 active
chen grove 118 failed
bruno delta 80 ready
gus ember 48 failed
kim birch 101 ready
kim indigo 108 ready
hana cobalt 37 ready
| active 106 grove eli
failed 118 grove chen
ready 80 delta bruno
failed 48 ember gus
ready 101 birch kim
ready 108 indigo kim
ready 37 cobalt hana
| lina grove 95 pending
gus grove 18 failed
chen fable 76 paused
eli juniper 109 active
kim ember 69 paused
farah ember 59 failed
bruno harbor 56 active
chen ember 21 paused
| pending 95 grove lina
failed 18 grove gus
paused 76 fable chen
active 109 juniper eli
paused 69 ember kim
failed 59 ember farah
active 56 harbor bruno
paused 21 ember chen
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008019-p1 | Invert the sequence of fields for each line and display all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli grove 106 active
chen grove 118 failed
bruno delta 80 ready
gus ember 48 failed
kim birch 101 ready
kim indigo 108 ready
hana cobalt 37 ready
| active 106 grove eli
failed 118 grove chen
ready 80 delta bruno
failed 48 ember gus
ready 101 birch kim
ready 108 indigo kim
ready 37 cobalt hana
| lina grove 95 pending
gus grove 18 failed
chen fable 76 paused
eli juniper 109 active
kim ember 69 paused
farah ember 59 failed
bruno harbor 56 active
chen ember 21 paused
| pending 95 grove lina
failed 18 grove gus
paused 76 fable chen
active 109 juniper eli
paused 69 ember kim
failed 59 ember farah
active 56 harbor bruno
paused 21 ember chen
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008019 | qwen/qwen3.7-plus |
awkweave-0008020 | Print the number of whitespace-separated fields on each line. | {print NF} | lina harbor 116 ready
bruno fable 21 failed
hana fable 72 closed
dina delta 30 ready
farah grove 116 active
farah indigo 78 ready
jules delta 75 closed
hana grove 101 failed
hana amber 0 active
| 4
4
4
4
4
4
4
4
4
| dina grove 4 failed
jules ember 71 ready
jules amber 110 active
jules indigo 78 active
jules indigo 23 failed
alice cobalt 41 paused
jules amber 32 active
kim delta 64 paused
gus cobalt 33 active
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008020-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | lina harbor 116 ready
bruno fable 21 failed
hana fable 72 closed
dina delta 30 ready
farah grove 116 active
farah indigo 78 ready
jules delta 75 closed
hana grove 101 failed
hana amber 0 active
| 4
4
4
4
4
4
4
4
4
| dina grove 4 failed
jules ember 71 ready
jules amber 110 active
jules indigo 78 active
jules indigo 23 failed
alice cobalt 41 paused
jules amber 32 active
kim delta 64 paused
gus cobalt 33 active
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008020 | qwen/qwen3.7-plus |
awkweave-0008021 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana gamma 30
lina gamma 59
gus delta 16
bruno gamma 67
lina beta 41
hana alpha 81
hana gamma 46
kim delta 74
alice alpha 32
lina alpha 96
| gamma 4
delta 2
beta 1
alpha 3
| gus gamma 76
lina alpha 54
chen delta 84
gus alpha 59
lina beta 41
jules alpha 15
dina gamma 13
alice beta 45
alice alpha 33
bruno alpha 52
| gamma 2
alpha 5
delta 1
beta 2
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008021-p1 | Tally the number of records for each distinct value in column 2, listing each value and its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | hana gamma 30
lina gamma 59
gus delta 16
bruno gamma 67
lina beta 41
hana alpha 81
hana gamma 46
kim delta 74
alice alpha 32
lina alpha 96
| gamma 4
delta 2
beta 1
alpha 3
| gus gamma 76
lina alpha 54
chen delta 84
gus alpha 59
lina beta 41
jules alpha 15
dina gamma 13
alice beta 45
alice alpha 33
bruno alpha 52
| gamma 2
alpha 5
delta 1
beta 2
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008021 | qwen/qwen3.7-plus |
awkweave-0008022 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | kim beta 16
chen beta 2
eli delta 20
lina alpha 29
hana gamma 27
lina alpha 14
bruno beta 16
bruno delta 12
| beta 34
delta 32
alpha 43
gamma 27
| alice delta 3
alice beta 18
dina gamma 1
farah alpha 11
gus alpha 2
dina gamma 10
eli beta 25
| delta 3
beta 43
gamma 11
alpha 13
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008022-p1 | Calculate the sum of column 3 grouped by each category in column 2, displaying the results in the order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | kim beta 16
chen beta 2
eli delta 20
lina alpha 29
hana gamma 27
lina alpha 14
bruno beta 16
bruno delta 12
| beta 34
delta 32
alpha 43
gamma 27
| alice delta 3
alice beta 18
dina gamma 1
farah alpha 11
gus alpha 2
dina gamma 10
eli beta 25
| delta 3
beta 43
gamma 11
alpha 13
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008022 | qwen/qwen3.7-plus |
awkweave-0008023 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha birch 16
gamma amber 73
alpha amber 32
gamma cobalt 12
alpha cobalt 110
delta fable 71
delta grove 77
delta indigo 61
alpha birch 96
delta indigo 83
| alpha 4
gamma 2
delta 4
| beta fable 58
beta delta 105
delta cobalt 81
beta ember 81
delta ember 44
alpha amber 58
delta juniper 79
| beta 3
delta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008023-p1 | List each value from column 1 that appears more than once, along with its frequency, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha birch 16
gamma amber 73
alpha amber 32
gamma cobalt 12
alpha cobalt 110
delta fable 71
delta grove 77
delta indigo 61
alpha birch 96
delta indigo 83
| alpha 4
gamma 2
delta 4
| beta fable 58
beta delta 105
delta cobalt 81
beta ember 81
delta ember 44
alpha amber 58
delta juniper 79
| beta 3
delta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008023 | qwen/qwen3.7-plus |
awkweave-0008024 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | state note display_name record_id
r001 alice 27 pending
r002 hana 14 active
r003 dina 9 closed
r004 dina 25 ready
r005 kim 23 failed
r006 chen 19 closed
r007 dina 15 closed
r008 bruno 25 ready
r009 gus 8 active
| 27
14
9
25
23
19
15
25
8
| state note display_name record_id
r001 dina 26 pending
r002 alice 7 active
r003 alice 6 active
r004 gus 3 pending
r005 hana 18 ready
r006 chen 7 closed
r007 hana 10 pending
r008 jules 30 failed
r009 alice 12 active
| 26
7
6
3
18
7
10
30
12
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008024-p1 | Skip the header row and output the display_name column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | state note display_name record_id
r001 alice 27 pending
r002 hana 14 active
r003 dina 9 closed
r004 dina 25 ready
r005 kim 23 failed
r006 chen 19 closed
r007 dina 15 closed
r008 bruno 25 ready
r009 gus 8 active
| 27
14
9
25
23
19
15
25
8
| state note display_name record_id
r001 dina 26 pending
r002 alice 7 active
r003 alice 6 active
r004 gus 3 pending
r005 hana 18 ready
r006 chen 7 closed
r007 hana 10 pending
r008 jules 30 failed
r009 alice 12 active
| 26
7
6
3
18
7
10
30
12
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008024 | qwen/qwen3.7-plus |
awkweave-0008025 | The first row is a header. Print display_name for data rows whose score is greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 kim 29 active
r002 gus 14 paused
r003 lina 13 ready
r004 eli 23 failed
r005 hana 20 failed
r006 eli 23 pending
r007 alice 13 ready
| kim
gus
lina
eli
hana
eli
alice
| record_id display_name score state
r001 chen 11 active
r002 dina 27 pending
r003 hana 5 ready
r004 alice 26 pending
r005 farah 22 active
r006 chen 11 closed
r007 kim 16 pending
r008 ivan 26 ready
r009 ivan 4 failed
r010 alice 23 closed
| dina
alice
farah
kim
ivan
alice
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008025-p1 | Ignore the header, then print the display_name for any data row where the score is strictly greater than 11. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>11{print $h["display_name"]} | record_id display_name score state
r001 kim 29 active
r002 gus 14 paused
r003 lina 13 ready
r004 eli 23 failed
r005 hana 20 failed
r006 eli 23 pending
r007 alice 13 ready
| kim
gus
lina
eli
hana
eli
alice
| record_id display_name score state
r001 chen 11 active
r002 dina 27 pending
r003 hana 5 ready
r004 alice 26 pending
r005 farah 22 active
r006 chen 11 closed
r007 kim 16 pending
r008 ivan 26 ready
r009 ivan 4 failed
r010 alice 23 closed
| dina
alice
farah
kim
ivan
alice
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008025 | qwen/qwen3.7-plus |
awkweave-0008026 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | hana 14 failed
bruno 6 ready
kim 23 paused
kim 4 paused
dina 19 closed
dina 6 paused
alice 29 ready
eli 4 paused
| 14
6
23
4
19
6
29
4
| alice 29 pending
chen 7 pending
lina 11 pending
gus 8 failed
farah 23 ready
lina 1 ready
bruno 1 active
| 29
7
11
8
23
1
1
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008026-p1 | Given tab-separated input, extract and print the second column from every record. | BEGIN{FS=OFS="\t"}{print $2} | hana 14 failed
bruno 6 ready
kim 23 paused
kim 4 paused
dina 19 closed
dina 6 paused
alice 29 ready
eli 4 paused
| 14
6
23
4
19
6
29
4
| alice 29 pending
chen 7 pending
lina 11 pending
gus 8 failed
farah 23 ready
lina 1 ready
bruno 1 active
| 29
7
11
8
23
1
1
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008026 | qwen/qwen3.7-plus |
awkweave-0008027 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10. | BEGIN{FS=OFS=","}$2>10{print $1} | alice,16,active
kim,8,ready
kim,24,active
chen,7,pending
bruno,20,pending
eli,12,ready
gus,3,failed
eli,1,pending
jules,20,paused
| alice
kim
bruno
eli
jules
| hana,12,active
jules,26,failed
chen,25,ready
bruno,23,pending
gus,6,ready
alice,8,ready
| hana
jules
chen
bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008027-p1 | For simple comma-separated data without quoted commas, print the first column only if the second column is greater than 10. | BEGIN{FS=OFS=","}$2>10{print $1} | alice,16,active
kim,8,ready
kim,24,active
chen,7,pending
bruno,20,pending
eli,12,ready
gus,3,failed
eli,1,pending
jules,20,paused
| alice
kim
bruno
eli
jules
| hana,12,active
jules,26,failed
chen,25,ready
bruno,23,pending
gus,6,ready
alice,8,ready
| hana
jules
chen
bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008027 | qwen/qwen3.7-plus |
awkweave-0008028 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli cobalt 55
gus delta 22
jules delta 68
dina grove 46
hana cobalt 51
chen harbor 101
| eli cobalt 55
gus delta 22
jules delta 68
dina grove 46
hana cobalt 51
chen harbor 101
| eli amber 11
jules grove 116
alice delta 47
gus fable 83
hana harbor 67
gus juniper 77
hana cobalt 91
alice delta 119
| eli amber 11
jules grove 116
alice delta 47
gus fable 83
hana harbor 67
gus juniper 77
hana cobalt 91
alice delta 119
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008028-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | eli cobalt 55
gus delta 22
jules delta 68
dina grove 46
hana cobalt 51
chen harbor 101
| eli cobalt 55
gus delta 22
jules delta 68
dina grove 46
hana cobalt 51
chen harbor 101
| eli amber 11
jules grove 116
alice delta 47
gus fable 83
hana harbor 67
gus juniper 77
hana cobalt 91
alice delta 119
| eli amber 11
jules grove 116
alice delta 47
gus fable 83
hana harbor 67
gus juniper 77
hana cobalt 91
alice delta 119
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008028 | qwen/qwen3.7-plus |
awkweave-0008029 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | jules birch 2 ready
hana birch 52 ready
chen delta 85 paused
bruno delta 80 failed
dina juniper 112 paused
chen ember 106 pending
bruno cobalt 88 failed
chen ember 57 pending
dina fable 36 paused
chen indigo 42 pending
| dina juniper 112 paused
| chen fable 83 failed
bruno birch 66 pending
ivan delta 114 closed
alice ember 46 failed
kim amber 55 failed
kim cobalt 49 closed
hana ember 6 ready
ivan birch 20 ready
kim harbor 100 pending
gus indigo 50 closed
| bruno birch 66 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008029-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | jules birch 2 ready
hana birch 52 ready
chen delta 85 paused
bruno delta 80 failed
dina juniper 112 paused
chen ember 106 pending
bruno cobalt 88 failed
chen ember 57 pending
dina fable 36 paused
chen indigo 42 pending
| dina juniper 112 paused
| chen fable 83 failed
bruno birch 66 pending
ivan delta 114 closed
alice ember 46 failed
kim amber 55 failed
kim cobalt 49 closed
hana ember 6 ready
ivan birch 20 ready
kim harbor 100 pending
gus indigo 50 closed
| bruno birch 66 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008029 | qwen/qwen3.7-plus |
awkweave-0008030 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | chen 21
jules 103
ivan 74
jules 35
lina 10
eli 34
chen 59
kim 8
ivan 3
| jules 103
jules 35
eli 34
kim 8
| dina 107
gus 102
hana 83
bruno 81
ivan 80
bruno 17
dina 79
| gus 102
bruno 81
bruno 17
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008030-p1 | Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | chen 21
jules 103
ivan 74
jules 35
lina 10
eli 34
chen 59
kim 8
ivan 3
| jules 103
jules 35
eli 34
kim 8
| dina 107
gus 102
hana 83
bruno 81
ivan 80
bruno 17
dina 79
| gus 102
bruno 81
bruno 17
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008030 | qwen/qwen3.7-plus |
awkweave-0008031 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta delta 59
delta grove 106
gamma delta 41
beta birch 7
beta ember 115
gamma fable 42
delta fable 89
| 3
| gamma birch 65
alpha harbor 85
alpha delta 88
beta amber 92
delta birch 114
delta ember 26
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008031-p1 | Calculate the number of unique values in the first column and output only that total count. | {if(!seen[$1]++)n++}END{print n+0} | beta delta 59
delta grove 106
gamma delta 41
beta birch 7
beta ember 115
gamma fable 42
delta fable 89
| 3
| gamma birch 65
alpha harbor 85
alpha delta 88
beta amber 92
delta birch 114
delta ember 26
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008031 | qwen/qwen3.7-plus |
awkweave-0008032 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 20 0
dina 29 24
jules 11 24
alice 22 29
eli 11 19
farah 13 21
farah 21 21
farah 4 18
lina 19 8
hana 10 27
| dina 1.21
jules 0.46
alice 0.76
eli 0.58
farah 0.62
farah 1.00
farah 0.22
lina 2.38
hana 0.37
| hana 3 0
alice 24 3
hana 18 21
lina 27 9
lina 26 17
gus 28 14
hana 4 19
farah 4 20
| alice 8.00
hana 0.86
lina 3.00
lina 1.53
gus 2.00
hana 0.21
farah 0.20
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008032-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding any rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | alice 20 0
dina 29 24
jules 11 24
alice 22 29
eli 11 19
farah 13 21
farah 21 21
farah 4 18
lina 19 8
hana 10 27
| dina 1.21
jules 0.46
alice 0.76
eli 0.58
farah 0.62
farah 1.00
farah 0.22
lina 2.38
hana 0.37
| hana 3 0
alice 24 3
hana 18 21
lina 27 9
lina 26 17
gus 28 14
hana 4 19
farah 4 20
| alice 8.00
hana 0.86
lina 3.00
lina 1.53
gus 2.00
hana 0.21
farah 0.20
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008032 | qwen/qwen3.7-plus |
awkweave-0008033 | Print the three complete records with the highest numeric values in column 3, sorted descending. Preserve input order for ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules delta 10
kim birch 21
farah indigo 26
lina indigo 1
alice grove 17
ivan amber 20
farah harbor 11
| farah indigo 26
kim birch 21
ivan amber 20
| farah birch 17
jules delta 24
ivan juniper 3
hana delta 5
kim ember 25
farah ember 23
| kim ember 25
jules delta 24
farah ember 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008033-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | jules delta 10
kim birch 21
farah indigo 26
lina indigo 1
alice grove 17
ivan amber 20
farah harbor 11
| farah indigo 26
kim birch 21
ivan amber 20
| farah birch 17
jules delta 24
ivan juniper 3
hana delta 5
kim ember 25
farah ember 23
| kim ember 25
jules delta 24
farah ember 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008033 | qwen/qwen3.7-plus |
awkweave-0008034 | Select the 5th and 4th fields in that order. | {print $5, $4} | amber lina eli 83 pending
ember chen kim 23 active
birch hana bruno 53 ready
harbor eli chen 101 paused
delta chen eli 51 ready
birch dina chen 18 ready
grove alice chen 83 closed
juniper chen lina 100 paused
fable hana chen 24 active
fable eli eli 59 active
| pending 83
active 23
ready 53
paused 101
ready 51
ready 18
closed 83
paused 100
active 24
active 59
| harbor kim ivan 93 active
indigo jules eli 106 closed
fable kim gus 65 failed
cobalt chen ivan 103 ready
cobalt kim chen 36 ready
cobalt hana eli 120 closed
grove gus kim 101 paused
harbor gus kim 67 pending
| active 93
closed 106
failed 65
ready 103
ready 36
closed 120
paused 101
pending 67
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008034-p1 | Extract and print the 5th field followed by the 4th field for each record. | {print $5, $4} | amber lina eli 83 pending
ember chen kim 23 active
birch hana bruno 53 ready
harbor eli chen 101 paused
delta chen eli 51 ready
birch dina chen 18 ready
grove alice chen 83 closed
juniper chen lina 100 paused
fable hana chen 24 active
fable eli eli 59 active
| pending 83
active 23
ready 53
paused 101
ready 51
ready 18
closed 83
paused 100
active 24
active 59
| harbor kim ivan 93 active
indigo jules eli 106 closed
fable kim gus 65 failed
cobalt chen ivan 103 ready
cobalt kim chen 36 ready
cobalt hana eli 120 closed
grove gus kim 101 paused
harbor gus kim 67 pending
| active 93
closed 106
failed 65
ready 103
ready 36
closed 120
paused 101
pending 67
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008034 | qwen/qwen3.7-plus |
awkweave-0008035 | Print the last field of every input line. | {print $NF} | gus hana 98 lina pending 10
kim alice 71 hana active 74
lina bruno 97 lina closed 20
gus alice 5 lina active 78
farah chen 44 dina active 31
jules dina 107 lina paused 65
gus farah 61 bruno failed 32
lina farah 91 ivan ready 34
dina gus 50 jules closed 93
| 10
74
20
78
31
65
32
34
93
| chen ivan 38 gus ready 102
chen bruno 106 hana active 45
lina farah 63 hana pending 4
chen dina 71 bruno active 5
farah ivan 56 eli pending 96
dina lina 106 bruno pending 85
jules eli 77 gus failed 109
chen jules 44 farah ready 92
ivan gus 104 chen paused 18
hana jules 65 jules paused 39
| 102
45
4
5
96
85
109
92
18
39
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008035-p1 | Print the final field from every line of the input. | {print $NF} | gus hana 98 lina pending 10
kim alice 71 hana active 74
lina bruno 97 lina closed 20
gus alice 5 lina active 78
farah chen 44 dina active 31
jules dina 107 lina paused 65
gus farah 61 bruno failed 32
lina farah 91 ivan ready 34
dina gus 50 jules closed 93
| 10
74
20
78
31
65
32
34
93
| chen ivan 38 gus ready 102
chen bruno 106 hana active 45
lina farah 63 hana pending 4
chen dina 71 bruno active 5
farah ivan 56 eli pending 96
dina lina 106 bruno pending 85
jules eli 77 gus failed 109
chen jules 44 farah ready 92
ivan gus 104 chen paused 18
hana jules 65 jules paused 39
| 102
45
4
5
96
85
109
92
18
39
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008035 | qwen/qwen3.7-plus |
awkweave-0008036 | Print the complete records where column 2 is less than 31. | $2 < 31 | ready 14 birch
closed 10 birch
closed 119 grove
failed 18 grove
failed 74 cobalt
active 10 juniper
closed 26 cobalt
| ready 14 birch
closed 10 birch
failed 18 grove
active 10 juniper
closed 26 cobalt
| closed 106 indigo
active 66 indigo
paused 74 juniper
paused 52 indigo
failed 66 amber
paused 95 indigo
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0008036-p1 | Output full records where the value in the second column is strictly less than 31. | $2 < 31 | ready 14 birch
closed 10 birch
closed 119 grove
failed 18 grove
failed 74 cobalt
active 10 juniper
closed 26 cobalt
| ready 14 birch
closed 10 birch
failed 18 grove
active 10 juniper
closed 26 cobalt
| closed 106 indigo
active 66 indigo
paused 74 juniper
paused 52 indigo
failed 66 amber
paused 95 indigo
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008036 | qwen/qwen3.7-plus | |
awkweave-0008037 | Show whole lines whose 3rd field is between 5 and 26, inclusive. | $3 >= 5 && $3 <= 26 | paused farah 14 paused
paused eli 23 paused
pending lina 22 ready
failed eli 8 ready
pending alice 30 ready
failed gus 20 paused
| paused farah 14 paused
paused eli 23 paused
pending lina 22 ready
failed eli 8 ready
failed gus 20 paused
| failed chen 28 active
ready kim 4 pending
paused lina 24 failed
paused jules 21 failed
pending alice 20 failed
failed alice 5 closed
ready hana 22 pending
active lina 8 failed
| paused lina 24 failed
paused jules 21 failed
pending alice 20 failed
failed alice 5 closed
ready hana 22 pending
active lina 8 failed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008037-p1 | Display entire lines where the third field falls within the inclusive range of 5 to 26. | $3 >= 5 && $3 <= 26 | paused farah 14 paused
paused eli 23 paused
pending lina 22 ready
failed eli 8 ready
pending alice 30 ready
failed gus 20 paused
| paused farah 14 paused
paused eli 23 paused
pending lina 22 ready
failed eli 8 ready
failed gus 20 paused
| failed chen 28 active
ready kim 4 pending
paused lina 24 failed
paused jules 21 failed
pending alice 20 failed
failed alice 5 closed
ready hana 22 pending
active lina 8 failed
| paused lina 24 failed
paused jules 21 failed
pending alice 20 failed
failed alice 5 closed
ready hana 22 pending
active lina 8 failed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008037 | qwen/qwen3.7-plus |
awkweave-0008038 | Print column 4 only for rows where column 1 is exactly closed. | $1 == "closed"{print $4} | ready 109 indigo jules
ready 56 amber kim
closed 6 juniper chen
active 33 grove ivan
failed 32 harbor dina
failed 24 ember jules
| chen
| pending 68 ember dina
pending 89 grove jules
closed 114 cobalt eli
failed 116 indigo ivan
paused 45 delta jules
active 23 cobalt lina
| eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008038-p1 | Extract and print only the fourth column for rows where the first column matches 'closed' exactly. | $1 == "closed"{print $4} | ready 109 indigo jules
ready 56 amber kim
closed 6 juniper chen
active 33 grove ivan
failed 32 harbor dina
failed 24 ember jules
| chen
| pending 68 ember dina
pending 89 grove jules
closed 114 cobalt eli
failed 116 indigo ivan
paused 45 delta jules
active 23 cobalt lina
| eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008038 | qwen/qwen3.7-plus |
awkweave-0008039 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 95 harbor WARN
18 amber DEBUG
78 grove WARN
78 fable INFO
92 indigo INFO
52 birch DEBUG
86 delta WARN
| 95 harbor WARN
78 grove WARN
86 delta WARN
| 55 harbor DEBUG
25 indigo WARN
84 ember WARN
28 grove ERROR
60 indigo WARN
87 grove WARN
| 25 indigo WARN
84 ember WARN
60 indigo WARN
87 grove WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008039-p1 | Print all fields from any line where the third field starts with the string 'WARN'. | $3 ~ /^WARN/ | 95 harbor WARN
18 amber DEBUG
78 grove WARN
78 fable INFO
92 indigo INFO
52 birch DEBUG
86 delta WARN
| 95 harbor WARN
78 grove WARN
86 delta WARN
| 55 harbor DEBUG
25 indigo WARN
84 ember WARN
28 grove ERROR
60 indigo WARN
87 grove WARN
| 25 indigo WARN
84 ember WARN
60 indigo WARN
87 grove WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008039 | qwen/qwen3.7-plus |
awkweave-0008040 | Print every line except those containing the exact text harbor. | $0 !~ /harbor/ | birch 120 ready
birch 97 paused
cobalt 106 active
ember 64 pending
delta 70 paused
cobalt 61 closed
harbor 999 active
| birch 120 ready
birch 97 paused
cobalt 106 active
ember 64 pending
delta 70 paused
cobalt 61 closed
| amber 36 pending
juniper 102 failed
indigo 40 paused
fable 66 closed
fable 54 pending
fable 114 failed
indigo 86 failed
ember 110 active
indigo 5 ready
birch 100 ready
harbor 999 active
| amber 36 pending
juniper 102 failed
indigo 40 paused
fable 66 closed
fable 54 pending
fable 114 failed
indigo 86 failed
ember 110 active
indigo 5 ready
birch 100 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008040-p1 | Output every line that does not contain the exact substring 'harbor'. | $0 !~ /harbor/ | birch 120 ready
birch 97 paused
cobalt 106 active
ember 64 pending
delta 70 paused
cobalt 61 closed
harbor 999 active
| birch 120 ready
birch 97 paused
cobalt 106 active
ember 64 pending
delta 70 paused
cobalt 61 closed
| amber 36 pending
juniper 102 failed
indigo 40 paused
fable 66 closed
fable 54 pending
fable 114 failed
indigo 86 failed
ember 110 active
indigo 5 ready
birch 100 ready
harbor 999 active
| amber 36 pending
juniper 102 failed
indigo 40 paused
fable 66 closed
fable 54 pending
fable 114 failed
indigo 86 failed
ember 110 active
indigo 5 ready
birch 100 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008040 | qwen/qwen3.7-plus |
awkweave-0008041 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | chen harbor 17
kim juniper 68
hana indigo 16
eli cobalt 43
lina juniper 21
dina indigo 80
| kim juniper 68
hana indigo 16
eli cobalt 43
lina juniper 21
| alice ember 40
ivan amber 86
hana indigo 10
chen delta 100
ivan cobalt 116
eli grove 42
| ivan amber 86
hana indigo 10
chen delta 100
ivan cobalt 116
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008041-p1 | Print lines 2 through 5, inclusive of both the start and end lines. | NR >= 2 && NR <= 5 | chen harbor 17
kim juniper 68
hana indigo 16
eli cobalt 43
lina juniper 21
dina indigo 80
| kim juniper 68
hana indigo 16
eli cobalt 43
lina juniper 21
| alice ember 40
ivan amber 86
hana indigo 10
chen delta 100
ivan cobalt 116
eli grove 42
| ivan amber 86
hana indigo 10
chen delta 100
ivan cobalt 116
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008041 | qwen/qwen3.7-plus |
awkweave-0008042 | Output only the first 2 records. | NR <= 2 | dina 31 cobalt
alice 97 juniper
dina 21 harbor
ivan 120 juniper
jules 3 cobalt
gus 64 indigo
| dina 31 cobalt
alice 97 juniper
| dina 19 grove
jules 49 indigo
alice 22 delta
jules 75 cobalt
kim 71 indigo
chen 75 fable
alice 76 ember
lina 8 harbor
| dina 19 grove
jules 49 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008042-p1 | Output only the first 2 records from the input. | NR <= 2 | dina 31 cobalt
alice 97 juniper
dina 21 harbor
ivan 120 juniper
jules 3 cobalt
gus 64 indigo
| dina 31 cobalt
alice 97 juniper
| dina 19 grove
jules 49 indigo
alice 22 delta
jules 75 cobalt
kim 71 indigo
chen 75 fable
alice 76 ember
lina 8 harbor
| dina 19 grove
jules 49 indigo
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008042 | qwen/qwen3.7-plus |
awkweave-0008043 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 82 indigo
farah 54 birch
kim 82 delta
eli 106 fable
dina 60 harbor
chen 116 cobalt
dina 62 grove
| farah 54 birch
kim 82 delta
eli 106 fable
dina 60 harbor
chen 116 cobalt
dina 62 grove
| bruno 14 fable
ivan 111 delta
dina 99 juniper
dina 56 indigo
bruno 104 birch
gus 19 birch
alice 85 ember
alice 50 amber
| ivan 111 delta
dina 99 juniper
dina 56 indigo
bruno 104 birch
gus 19 birch
alice 85 ember
alice 50 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008043-p1 | Ignore the first line and print all subsequent lines without modification. | NR > 1 | eli 82 indigo
farah 54 birch
kim 82 delta
eli 106 fable
dina 60 harbor
chen 116 cobalt
dina 62 grove
| farah 54 birch
kim 82 delta
eli 106 fable
dina 60 harbor
chen 116 cobalt
dina 62 grove
| bruno 14 fable
ivan 111 delta
dina 99 juniper
dina 56 indigo
bruno 104 birch
gus 19 birch
alice 85 ember
alice 50 amber
| ivan 111 delta
dina 99 juniper
dina 56 indigo
bruno 104 birch
gus 19 birch
alice 85 ember
alice 50 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008043 | qwen/qwen3.7-plus |
awkweave-0008044 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | gus ready 112
farah paused 4
farah paused 21
bruno ready 107
dina ready 31
dina pending 75
chen closed 106
jules closed 33
jules ready 117
ivan failed 24
| 0
| hana active 24
farah closed 119
farah paused 52
gus closed 47
lina paused 59
gus closed 61
alice closed 117
alice active 118
eli closed 90
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008044-p1 | Count the number of records where the second column contains 'active', outputting 0 if no such records exist. | $2 == "active"{n++}END{print n+0} | gus ready 112
farah paused 4
farah paused 21
bruno ready 107
dina ready 31
dina pending 75
chen closed 106
jules closed 33
jules ready 117
ivan failed 24
| 0
| hana active 24
farah closed 119
farah paused 52
gus closed 47
lina paused 59
gus closed 61
alice closed 117
alice active 118
eli closed 90
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008044 | qwen/qwen3.7-plus |
awkweave-0008045 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | fable bruno 27
indigo alice 25
birch lina 11
amber ivan 20
ember eli 2
delta alice 21
| 106
| juniper farah 6
indigo eli 17
indigo chen 30
birch hana 8
ember hana 23
juniper dina 24
indigo eli 16
| 124
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008045-p1 | Compute and display the total sum of integer values found in the third column. | {s+=$3}END{print s+0} | fable bruno 27
indigo alice 25
birch lina 11
amber ivan 20
ember eli 2
delta alice 21
| 106
| juniper farah 6
indigo eli 17
indigo chen 30
birch hana 8
ember hana 23
juniper dina 24
indigo eli 16
| 124
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008045 | qwen/qwen3.7-plus |
awkweave-0008046 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 13 fable dina
9 fable chen
14 fable kim
12 juniper alice
13 amber ivan
4 juniper farah
17 grove jules
10 delta hana
| 11.50
| 9 indigo gus
17 amber alice
1 cobalt gus
7 birch jules
8 indigo gus
16 amber jules
| 9.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008046-p1 | Calculate the average of the values in the first column and print it rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 13 fable dina
9 fable chen
14 fable kim
12 juniper alice
13 amber ivan
4 juniper farah
17 grove jules
10 delta hana
| 11.50
| 9 indigo gus
17 amber alice
1 cobalt gus
7 birch jules
8 indigo gus
16 amber jules
| 9.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008046 | qwen/qwen3.7-plus |
awkweave-0008047 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | grove 25 bruno
harbor 10 kim
harbor 26 alice
delta 27 jules
amber 18 hana
amber 19 farah
ember 9 gus
fable 29 alice
| 9
| birch 10 eli
indigo 1 bruno
grove 8 ivan
delta 11 eli
ember 20 eli
juniper 13 dina
juniper 10 eli
amber 23 bruno
amber 17 kim
fable 23 kim
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008047-p1 | Identify and print the minimum numeric value present in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | grove 25 bruno
harbor 10 kim
harbor 26 alice
delta 27 jules
amber 18 hana
amber 19 farah
ember 9 gus
fable 29 alice
| 9
| birch 10 eli
indigo 1 bruno
grove 8 ivan
delta 11 eli
ember 20 eli
juniper 13 dina
juniper 10 eli
amber 23 bruno
amber 17 kim
fable 23 kim
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008047 | qwen/qwen3.7-plus |
awkweave-0008048 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 9 amber jules
11 ember kim
17 amber lina
17 cobalt dina
13 cobalt hana
1 grove ivan
| 17
| 14 juniper gus
16 fable dina
14 fable lina
2 indigo bruno
17 indigo bruno
28 birch eli
25 birch dina
5 fable gus
| 28
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008048-p1 | Identify and output the maximum number found in the first column. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 9 amber jules
11 ember kim
17 amber lina
17 cobalt dina
13 cobalt hana
1 grove ivan
| 17
| 14 juniper gus
16 fable dina
14 fable lina
2 indigo bruno
17 indigo bruno
28 birch eli
25 birch dina
5 fable gus
| 28
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008048 | qwen/qwen3.7-plus |
awkweave-0008049 | Count all input records and print the total. | END{print NR} | ivan 32
ivan 88
farah 71
jules 15
kim 116
jules 58
farah 89
farah 47
ivan 14
| 9
| kim 97
gus 38
lina 56
jules 68
chen 89
dina 85
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0008049-p1 | Calculate the total number of input records and display the count. | END{print NR} | ivan 32
ivan 88
farah 71
jules 15
kim 116
jules 58
farah 89
farah 47
ivan 14
| 9
| kim 97
gus 38
lina 56
jules 68
chen 89
dina 85
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0008049 | qwen/qwen3.7-plus |
awkweave-0008050 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | bruno cobalt 13
bruno cobalt 13
gus amber 71
farah indigo 70
ivan juniper 23
jules harbor 85
eli birch 106
| bruno cobalt 13
gus amber 71
farah indigo 70
ivan juniper 23
jules harbor 85
eli birch 106
| dina juniper 88
gus delta 57
dina juniper 88
ivan juniper 25
dina amber 83
eli fable 86
farah harbor 25
| dina juniper 88
gus delta 57
ivan juniper 25
dina amber 83
eli fable 86
farah harbor 25
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.