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-0005000-p1 | Display only the initial three records. | NR <= 3 | kim 92 delta
eli 75 fable
kim 92 delta
ivan 44 birch
alice 17 fable
kim 73 fable
dina 6 grove
ivan 43 birch
kim 49 harbor
chen 77 grove
| kim 92 delta
eli 75 fable
kim 92 delta
| jules 28 ember
jules 76 cobalt
chen 87 harbor
farah 10 ember
kim 11 fable
ivan 103 cobalt
ivan 9 cobalt
bruno 66 harbor
alice 94 birch
| jules 28 ember
jules 76 cobalt
chen 87 harbor
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005000 | qwen/qwen3.7-plus |
awkweave-0005001 | Skip the first line and print every remaining line unchanged. | NR > 1 | kim 68 indigo
alice 111 fable
farah 102 fable
dina 92 amber
eli 15 grove
gus 7 birch
hana 60 juniper
bruno 77 birch
| alice 111 fable
farah 102 fable
dina 92 amber
eli 15 grove
gus 7 birch
hana 60 juniper
bruno 77 birch
| alice 52 ember
alice 79 indigo
bruno 52 birch
jules 83 amber
farah 101 harbor
hana 75 birch
bruno 96 indigo
alice 96 juniper
gus 30 harbor
| alice 79 indigo
bruno 52 birch
jules 83 amber
farah 101 harbor
hana 75 birch
bruno 96 indigo
alice 96 juniper
gus 30 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005001-p1 | Omit the first line and output all subsequent lines exactly as they appear. | NR > 1 | kim 68 indigo
alice 111 fable
farah 102 fable
dina 92 amber
eli 15 grove
gus 7 birch
hana 60 juniper
bruno 77 birch
| alice 111 fable
farah 102 fable
dina 92 amber
eli 15 grove
gus 7 birch
hana 60 juniper
bruno 77 birch
| alice 52 ember
alice 79 indigo
bruno 52 birch
jules 83 amber
farah 101 harbor
hana 75 birch
bruno 96 indigo
alice 96 juniper
gus 30 harbor
| alice 79 indigo
bruno 52 birch
jules 83 amber
farah 101 harbor
hana 75 birch
bruno 96 indigo
alice 96 juniper
gus 30 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005001 | qwen/qwen3.7-plus |
awkweave-0005002 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | bruno active 82
kim closed 46
alice active 56
chen closed 65
lina closed 48
lina active 94
dina closed 4
lina paused 5
ivan active 11
dina ready 91
| 0
| farah failed 18
hana ready 55
gus active 76
kim ready 32
lina pending 54
ivan active 6
gus active 84
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005002-p1 | Determine the number of entries where column 2 contains 'pending', outputting 0 if no such entries exist. | $2 == "pending"{n++}END{print n+0} | bruno active 82
kim closed 46
alice active 56
chen closed 65
lina closed 48
lina active 94
dina closed 4
lina paused 5
ivan active 11
dina ready 91
| 0
| farah failed 18
hana ready 55
gus active 76
kim ready 32
lina pending 54
ivan active 6
gus active 84
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005002 | qwen/qwen3.7-plus |
awkweave-0005003 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | jules 15 indigo
alice 13 cobalt
farah 20 harbor
dina 22 delta
dina 18 fable
farah 12 cobalt
gus 5 fable
bruno 13 amber
kim 6 cobalt
chen 15 ember
| 139
| gus 21 cobalt
gus 21 birch
bruno 30 fable
alice 26 harbor
gus 21 fable
alice 11 grove
| 130
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005003-p1 | Compute and display the total sum of integer values found in column 2. | {s+=$2}END{print s+0} | jules 15 indigo
alice 13 cobalt
farah 20 harbor
dina 22 delta
dina 18 fable
farah 12 cobalt
gus 5 fable
bruno 13 amber
kim 6 cobalt
chen 15 ember
| 139
| gus 21 cobalt
gus 21 birch
bruno 30 fable
alice 26 harbor
gus 21 fable
alice 11 grove
| 130
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005003 | qwen/qwen3.7-plus |
awkweave-0005004 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | eli 21 indigo
dina 21 delta
alice 11 grove
bruno 28 juniper
ivan 18 cobalt
bruno 16 grove
alice 19 harbor
gus 3 fable
| 17.12
| gus 13 birch
dina 23 amber
hana 9 fable
dina 16 ember
eli 16 cobalt
jules 4 harbor
lina 10 fable
| 13.00
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005004-p1 | Output the average of values in column 2, formatted to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | eli 21 indigo
dina 21 delta
alice 11 grove
bruno 28 juniper
ivan 18 cobalt
bruno 16 grove
alice 19 harbor
gus 3 fable
| 17.12
| gus 13 birch
dina 23 amber
hana 9 fable
dina 16 ember
eli 16 cobalt
jules 4 harbor
lina 10 fable
| 13.00
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005004 | qwen/qwen3.7-plus |
awkweave-0005005 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | bruno birch 26
gus cobalt 29
lina cobalt 27
hana indigo 5
jules fable 30
dina fable 7
bruno delta 28
ivan ember 11
bruno grove 4
alice amber 26
| 4
| dina juniper 29
dina juniper 4
lina delta 26
hana harbor 5
jules cobalt 21
gus fable 13
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005005-p1 | Identify and print the minimum numeric value located in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | bruno birch 26
gus cobalt 29
lina cobalt 27
hana indigo 5
jules fable 30
dina fable 7
bruno delta 28
ivan ember 11
bruno grove 4
alice amber 26
| 4
| dina juniper 29
dina juniper 4
lina delta 26
hana harbor 5
jules cobalt 21
gus fable 13
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005005 | qwen/qwen3.7-plus |
awkweave-0005006 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | hana fable 15
lina amber 5
alice indigo 25
kim cobalt 9
alice indigo 24
eli ember 21
| 25
| kim cobalt 8
lina grove 15
ivan amber 8
chen grove 19
bruno harbor 21
alice cobalt 7
kim grove 17
ivan amber 30
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005006-p1 | Identify and print the maximum numeric value located in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | hana fable 15
lina amber 5
alice indigo 25
kim cobalt 9
alice indigo 24
eli ember 21
| 25
| kim cobalt 8
lina grove 15
ivan amber 8
chen grove 19
bruno harbor 21
alice cobalt 7
kim grove 17
ivan amber 30
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005006 | qwen/qwen3.7-plus |
awkweave-0005007 | Count all input records and print the total. | END{print NR} | bruno 88
hana 48
ivan 37
dina 22
bruno 31
kim 69
| 6
| dina 40
gus 59
bruno 77
alice 79
hana 51
gus 74
farah 41
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005007-p1 | Count the total number of input records and print the result. | END{print NR} | bruno 88
hana 48
ivan 37
dina 22
bruno 31
kim 69
| 6
| dina 40
gus 59
bruno 77
alice 79
hana 51
gus 74
farah 41
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005007 | qwen/qwen3.7-plus |
awkweave-0005008 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | ivan ember 72
hana grove 10
farah amber 79
farah birch 47
farah birch 47
lina juniper 47
kim juniper 26
jules juniper 9
ivan birch 70
| ivan ember 72
hana grove 10
farah amber 79
farah birch 47
lina juniper 47
kim juniper 26
jules juniper 9
ivan birch 70
| bruno birch 4
hana indigo 111
dina fable 38
bruno birch 4
ivan indigo 9
hana birch 76
farah indigo 46
| bruno birch 4
hana indigo 111
dina fable 38
ivan indigo 9
hana birch 76
farah indigo 46
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005008-p1 | Eliminate exact duplicate lines while maintaining the original order and keeping the first instance of each. | !seen[$0]++ | ivan ember 72
hana grove 10
farah amber 79
farah birch 47
farah birch 47
lina juniper 47
kim juniper 26
jules juniper 9
ivan birch 70
| ivan ember 72
hana grove 10
farah amber 79
farah birch 47
lina juniper 47
kim juniper 26
jules juniper 9
ivan birch 70
| bruno birch 4
hana indigo 111
dina fable 38
bruno birch 4
ivan indigo 9
hana birch 76
farah indigo 46
| bruno birch 4
hana indigo 111
dina fable 38
ivan indigo 9
hana birch 76
farah indigo 46
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005008 | qwen/qwen3.7-plus |
awkweave-0005009 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | hana birch 71
chen juniper 28
chen fable 59
farah delta 33
lina juniper 111
chen juniper 38
kim amber 112
eli grove 87
| hana birch 71
chen juniper 28
chen fable 59
farah delta 33
lina juniper 111
chen juniper 38
kim amber 112
eli grove 87
| jules cobalt 7
ivan fable 98
jules fable 51
ivan amber 70
ivan harbor 110
kim cobalt 66
gus amber 108
kim harbor 1
chen harbor 119
| jules cobalt 7
ivan fable 98
jules fable 51
ivan amber 70
ivan harbor 110
kim cobalt 66
gus amber 108
kim harbor 1
chen harbor 119
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005009-p1 | Retain only the first occurrence for every unique value in column 3, preserving the original sequence. | !seen[$3]++ | hana birch 71
chen juniper 28
chen fable 59
farah delta 33
lina juniper 111
chen juniper 38
kim amber 112
eli grove 87
| hana birch 71
chen juniper 28
chen fable 59
farah delta 33
lina juniper 111
chen juniper 38
kim amber 112
eli grove 87
| jules cobalt 7
ivan fable 98
jules fable 51
ivan amber 70
ivan harbor 110
kim cobalt 66
gus amber 108
kim harbor 1
chen harbor 119
| jules cobalt 7
ivan fable 98
jules fable 51
ivan amber 70
ivan harbor 110
kim cobalt 66
gus amber 108
kim harbor 1
chen harbor 119
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005009 | qwen/qwen3.7-plus |
awkweave-0005010 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 24 fable
ivan 20 amber
lina 10 birch
eli 9 cobalt
ivan 16 grove
dina 27 harbor
kim 9 juniper
lina 14 amber
eli 16 birch
| alice 24
ivan 44
lina 54
eli 63
ivan 79
dina 106
kim 115
lina 129
eli 145
| eli 4 amber
eli 9 indigo
chen 23 indigo
ivan 20 grove
bruno 2 delta
chen 30 amber
| eli 4
eli 13
chen 36
ivan 56
bruno 58
chen 88
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005010-p1 | For each entry, output column 1 alongside the cumulative sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 24 fable
ivan 20 amber
lina 10 birch
eli 9 cobalt
ivan 16 grove
dina 27 harbor
kim 9 juniper
lina 14 amber
eli 16 birch
| alice 24
ivan 44
lina 54
eli 63
ivan 79
dina 106
kim 115
lina 129
eli 145
| eli 4 amber
eli 9 indigo
chen 23 indigo
ivan 20 grove
bruno 2 delta
chen 30 amber
| eli 4
eli 13
chen 36
ivan 56
bruno 58
chen 88
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005010 | qwen/qwen3.7-plus |
awkweave-0005011 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 22 21 grove
ivan 2 8 amber
bruno 29 5 harbor
bruno 30 12 harbor
ivan 24 19 cobalt
farah 8 25 amber
gus 8 1 ember
ivan 29 23 birch
ivan 2 26 juniper
kim 18 28 fable
| lina 43
ivan 10
bruno 34
bruno 42
ivan 43
farah 33
gus 9
ivan 52
ivan 28
kim 46
| alice 14 11 indigo
alice 28 30 amber
chen 22 5 birch
bruno 28 3 birch
farah 23 23 cobalt
kim 22 1 amber
farah 15 25 grove
farah 9 30 ember
| alice 25
alice 58
chen 27
bruno 31
farah 46
kim 23
farah 40
farah 39
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005011-p1 | For each row, output field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 22 21 grove
ivan 2 8 amber
bruno 29 5 harbor
bruno 30 12 harbor
ivan 24 19 cobalt
farah 8 25 amber
gus 8 1 ember
ivan 29 23 birch
ivan 2 26 juniper
kim 18 28 fable
| lina 43
ivan 10
bruno 34
bruno 42
ivan 43
farah 33
gus 9
ivan 52
ivan 28
kim 46
| alice 14 11 indigo
alice 28 30 amber
chen 22 5 birch
bruno 28 3 birch
farah 23 23 cobalt
kim 22 1 amber
farah 15 25 grove
farah 9 30 ember
| alice 25
alice 58
chen 27
bruno 31
farah 46
kim 23
farah 40
farah 39
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005011 | qwen/qwen3.7-plus |
awkweave-0005012 | Print column 1 and pass when column 2 is at least 24; otherwise print fail. | {print $1,($2>=24?"pass":"fail")} | hana 30
jules 15
alice 24
hana 19
dina 12
kim 9
eli 9
chen 23
ivan 29
jules 12
| hana pass
jules fail
alice pass
hana fail
dina fail
kim fail
eli fail
chen fail
ivan pass
jules fail
| kim 29
hana 24
lina 26
chen 10
lina 21
hana 26
kim 14
chen 23
ivan 8
| kim pass
hana pass
lina pass
chen fail
lina fail
hana pass
kim fail
chen fail
ivan fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005012-p1 | Output the value of column 1; if column 2 is 24 or greater, output 'pass', otherwise output 'fail'. | {print $1,($2>=24?"pass":"fail")} | hana 30
jules 15
alice 24
hana 19
dina 12
kim 9
eli 9
chen 23
ivan 29
jules 12
| hana pass
jules fail
alice pass
hana fail
dina fail
kim fail
eli fail
chen fail
ivan pass
jules fail
| kim 29
hana 24
lina 26
chen 10
lina 21
hana 26
kim 14
chen 23
ivan 8
| kim pass
hana pass
lina pass
chen fail
lina fail
hana pass
kim fail
chen fail
ivan fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005012 | qwen/qwen3.7-plus |
awkweave-0005013 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | hana juniper 66
hana indigo 41
lina delta 5
hana grove 17
kim fable 67
bruno delta 118
eli amber 25
hana indigo 109
| HANA
HANA
LINA
HANA
KIM
BRUNO
ELI
HANA
| chen ember 67
bruno fable 14
farah birch 51
lina indigo 106
hana fable 66
ivan cobalt 120
bruno harbor 38
chen birch 3
kim juniper 42
lina indigo 74
| CHEN
BRUNO
FARAH
LINA
HANA
IVAN
BRUNO
CHEN
KIM
LINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005013-p1 | Transform column 1 to uppercase and display only that column. | {print toupper($1)} | hana juniper 66
hana indigo 41
lina delta 5
hana grove 17
kim fable 67
bruno delta 118
eli amber 25
hana indigo 109
| HANA
HANA
LINA
HANA
KIM
BRUNO
ELI
HANA
| chen ember 67
bruno fable 14
farah birch 51
lina indigo 106
hana fable 66
ivan cobalt 120
bruno harbor 38
chen birch 3
kim juniper 42
lina indigo 74
| CHEN
BRUNO
FARAH
LINA
HANA
IVAN
BRUNO
CHEN
KIM
LINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005013 | qwen/qwen3.7-plus |
awkweave-0005014 | From column 1, print 4 characters starting at character 3. | {print substr($1,3,4)} | amber 96
fable 15
juniper 4
grove 1
amber 30
indigo 38
grove 66
| ber
ble
nipe
ove
ber
digo
ove
| amber 45
amber 11
delta 24
harbor 50
grove 35
cobalt 93
harbor 33
| ber
ber
lta
rbor
ove
balt
rbor
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005014-p1 | Extract and print a substring of length 4 from column 1, starting at index 3. | {print substr($1,3,4)} | amber 96
fable 15
juniper 4
grove 1
amber 30
indigo 38
grove 66
| ber
ble
nipe
ove
ber
digo
ove
| amber 45
amber 11
delta 24
harbor 50
grove 35
cobalt 93
harbor 33
| ber
ber
lta
rbor
ove
balt
rbor
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005014 | qwen/qwen3.7-plus |
awkweave-0005015 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_grove 31
amber_indigo 34
indigo_indigo 100
juniper_amber 55
juniper_birch 25
harbor_harbor 7
ember_grove 38
indigo_ember 67
| birch grove
amber indigo
indigo indigo
juniper amber
juniper birch
harbor harbor
ember grove
indigo ember
| birch_harbor 67
ember_amber 31
cobalt_delta 83
fable_fable 31
birch_fable 1
cobalt_ember 20
cobalt_cobalt 95
grove_juniper 61
| birch harbor
ember amber
cobalt delta
fable fable
birch fable
cobalt ember
cobalt cobalt
grove juniper
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005015-p1 | Substitute all underscores in column 1 with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | birch_grove 31
amber_indigo 34
indigo_indigo 100
juniper_amber 55
juniper_birch 25
harbor_harbor 7
ember_grove 38
indigo_ember 67
| birch grove
amber indigo
indigo indigo
juniper amber
juniper birch
harbor harbor
ember grove
indigo ember
| birch_harbor 67
ember_amber 31
cobalt_delta 83
fable_fable 31
birch_fable 1
cobalt_ember 20
cobalt_cobalt 95
grove_juniper 61
| birch harbor
ember amber
cobalt delta
fable fable
birch fable
cobalt ember
cobalt cobalt
grove juniper
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005015 | qwen/qwen3.7-plus |
awkweave-0005016 | 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 indigo 55 closed
farah indigo 52 closed
bruno fable 88 closed
kim grove 45 ready
hana juniper 117 failed
bruno amber 114 paused
gus ember 96 paused
alice birch 82 active
| closed 55 indigo eli
closed 52 indigo farah
closed 88 fable bruno
ready 45 grove kim
failed 117 juniper hana
paused 114 amber bruno
paused 96 ember gus
active 82 birch alice
| farah cobalt 111 active
ivan ember 55 failed
lina fable 53 paused
ivan fable 61 active
dina delta 93 ready
farah harbor 6 pending
lina cobalt 25 closed
dina birch 104 pending
| active 111 cobalt farah
failed 55 ember ivan
paused 53 fable lina
active 61 fable ivan
ready 93 delta dina
pending 6 harbor farah
closed 25 cobalt lina
pending 104 birch dina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005016-p1 | Reverse the sequence of fields for each line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | eli indigo 55 closed
farah indigo 52 closed
bruno fable 88 closed
kim grove 45 ready
hana juniper 117 failed
bruno amber 114 paused
gus ember 96 paused
alice birch 82 active
| closed 55 indigo eli
closed 52 indigo farah
closed 88 fable bruno
ready 45 grove kim
failed 117 juniper hana
paused 114 amber bruno
paused 96 ember gus
active 82 birch alice
| farah cobalt 111 active
ivan ember 55 failed
lina fable 53 paused
ivan fable 61 active
dina delta 93 ready
farah harbor 6 pending
lina cobalt 25 closed
dina birch 104 pending
| active 111 cobalt farah
failed 55 ember ivan
paused 53 fable lina
active 61 fable ivan
ready 93 delta dina
pending 6 harbor farah
closed 25 cobalt lina
pending 104 birch dina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005016 | qwen/qwen3.7-plus |
awkweave-0005017 | Print the number of whitespace-separated fields on each line. | {print NF} | alice grove 62 paused
ivan birch 91 closed
jules indigo 65 closed
jules harbor 108 pending
gus ember 51 paused
hana juniper 88 failed
bruno grove 63 closed
| 4
4
4
4
4
4
4
| farah indigo 1 ready
farah birch 44 failed
alice ember 16 active
bruno grove 52 failed
jules ember 61 failed
farah ember 102 failed
| 4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005017-p1 | Display the count of whitespace-delimited fields for every line. | {print NF} | alice grove 62 paused
ivan birch 91 closed
jules indigo 65 closed
jules harbor 108 pending
gus ember 51 paused
hana juniper 88 failed
bruno grove 63 closed
| 4
4
4
4
4
4
4
| farah indigo 1 ready
farah birch 44 failed
alice ember 16 active
bruno grove 52 failed
jules ember 61 failed
farah ember 102 failed
| 4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005017 | qwen/qwen3.7-plus |
awkweave-0005018 | 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]]} | gus beta 105
kim gamma 40
kim delta 68
ivan alpha 36
jules beta 24
dina delta 82
| beta 2
gamma 1
delta 2
alpha 1
| alice alpha 58
kim gamma 78
alice beta 39
eli beta 31
gus beta 112
alice alpha 20
farah gamma 20
eli delta 67
| alpha 2
gamma 2
beta 3
delta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005018-p1 | Tally the number of records for each unique value in column 2. Output each value alongside its count, maintaining the 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]]} | gus beta 105
kim gamma 40
kim delta 68
ivan alpha 36
jules beta 24
dina delta 82
| beta 2
gamma 1
delta 2
alpha 1
| alice alpha 58
kim gamma 78
alice beta 39
eli beta 31
gus beta 112
alice alpha 20
farah gamma 20
eli delta 67
| alpha 2
gamma 2
beta 3
delta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005018 | qwen/qwen3.7-plus |
awkweave-0005019 | 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]]} | ivan gamma 17
eli gamma 15
alice delta 29
jules alpha 29
eli gamma 26
lina alpha 9
ivan alpha 4
| gamma 58
delta 29
alpha 42
| lina beta 11
ivan delta 26
farah delta 6
gus alpha 3
jules gamma 24
hana beta 18
eli beta 16
farah alpha 8
| beta 45
delta 32
alpha 11
gamma 24
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005019-p1 | Calculate the sum of column 3 grouped by column 2 categories, printing the results in the order groups first appear. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | ivan gamma 17
eli gamma 15
alice delta 29
jules alpha 29
eli gamma 26
lina alpha 9
ivan alpha 4
| gamma 58
delta 29
alpha 42
| lina beta 11
ivan delta 26
farah delta 6
gus alpha 3
jules gamma 24
hana beta 18
eli beta 16
farah alpha 8
| beta 45
delta 32
alpha 11
gamma 24
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005019 | qwen/qwen3.7-plus |
awkweave-0005020 | 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 ember 46
delta grove 113
alpha fable 93
delta delta 75
beta juniper 101
beta harbor 90
beta delta 111
alpha delta 32
| alpha 3
delta 2
beta 3
| beta fable 28
delta grove 38
beta grove 89
gamma amber 101
gamma amber 35
alpha cobalt 34
| beta 2
gamma 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005020-p1 | List each duplicate value from column 1 along with its occurrence count, 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 ember 46
delta grove 113
alpha fable 93
delta delta 75
beta juniper 101
beta harbor 90
beta delta 111
alpha delta 32
| alpha 3
delta 2
beta 3
| beta fable 28
delta grove 38
beta grove 89
gamma amber 101
gamma amber 35
alpha cobalt 34
| beta 2
gamma 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005020 | qwen/qwen3.7-plus |
awkweave-0005021 | The first row is a header. Print the note column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | region score note state
r001 kim 28 ready
r002 gus 5 ready
r003 farah 18 closed
r004 kim 7 closed
r005 bruno 1 pending
r006 alice 6 paused
| 28
5
18
7
1
6
| region score note state
r001 kim 24 active
r002 ivan 3 pending
r003 jules 25 pending
r004 dina 11 closed
r005 farah 5 active
r006 alice 30 paused
r007 gus 18 ready
r008 hana 15 closed
| 24
3
25
11
5
30
18
15
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005021-p1 | Skip the header row and print the 'note' column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["note"]} | region score note state
r001 kim 28 ready
r002 gus 5 ready
r003 farah 18 closed
r004 kim 7 closed
r005 bruno 1 pending
r006 alice 6 paused
| 28
5
18
7
1
6
| region score note state
r001 kim 24 active
r002 ivan 3 pending
r003 jules 25 pending
r004 dina 11 closed
r005 farah 5 active
r006 alice 30 paused
r007 gus 18 ready
r008 hana 15 closed
| 24
3
25
11
5
30
18
15
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005021 | qwen/qwen3.7-plus |
awkweave-0005022 | The first row is a header. Print display_name for data rows whose score is greater than 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 eli 15 ready
r002 gus 22 active
r003 farah 29 paused
r004 bruno 24 pending
r005 hana 12 failed
r006 eli 22 failed
r007 alice 5 failed
r008 farah 27 pending
r009 farah 18 active
r010 lina 6 active
| eli
gus
farah
bruno
eli
farah
farah
| record_id display_name score state
r001 ivan 2 closed
r002 farah 14 paused
r003 lina 14 paused
r004 bruno 20 failed
r005 lina 10 failed
r006 ivan 5 active
r007 farah 6 closed
r008 dina 19 pending
r009 lina 16 paused
r010 farah 14 failed
| bruno
dina
lina
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005022-p1 | Ignoring the header row, print the 'display_name' column for data rows where the 'score' exceeds 14. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>14{print $h["display_name"]} | record_id display_name score state
r001 eli 15 ready
r002 gus 22 active
r003 farah 29 paused
r004 bruno 24 pending
r005 hana 12 failed
r006 eli 22 failed
r007 alice 5 failed
r008 farah 27 pending
r009 farah 18 active
r010 lina 6 active
| eli
gus
farah
bruno
eli
farah
farah
| record_id display_name score state
r001 ivan 2 closed
r002 farah 14 paused
r003 lina 14 paused
r004 bruno 20 failed
r005 lina 10 failed
r006 ivan 5 active
r007 farah 6 closed
r008 dina 19 pending
r009 lina 16 paused
r010 farah 14 failed
| bruno
dina
lina
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005022 | qwen/qwen3.7-plus |
awkweave-0005023 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | eli 30 closed
dina 21 ready
bruno 24 failed
chen 17 failed
gus 11 ready
alice 2 closed
| 30
21
24
17
11
2
| chen 24 failed
jules 2 failed
eli 2 closed
alice 25 failed
farah 12 closed
gus 24 failed
lina 7 active
| 24
2
2
25
12
24
7
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005023-p1 | Given tab-separated input, output column 2 for every record. | BEGIN{FS=OFS="\t"}{print $2} | eli 30 closed
dina 21 ready
bruno 24 failed
chen 17 failed
gus 11 ready
alice 2 closed
| 30
21
24
17
11
2
| chen 24 failed
jules 2 failed
eli 2 closed
alice 25 failed
farah 12 closed
gus 24 failed
lina 7 active
| 24
2
2
25
12
24
7
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005023 | qwen/qwen3.7-plus |
awkweave-0005024 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 11. | BEGIN{FS=OFS=","}$2>11{print $1} | kim,21,closed
gus,15,paused
bruno,1,active
kim,15,failed
eli,5,failed
chen,28,closed
lina,29,closed
| kim
gus
kim
chen
lina
| alice,22,paused
lina,25,active
eli,28,active
alice,18,pending
hana,25,closed
jules,28,failed
chen,2,paused
chen,14,paused
hana,2,paused
dina,24,paused
| alice
lina
eli
alice
hana
jules
chen
dina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005024-p1 | Given comma-separated input without quoted commas, output the first field whenever the second field is greater than 11. | BEGIN{FS=OFS=","}$2>11{print $1} | kim,21,closed
gus,15,paused
bruno,1,active
kim,15,failed
eli,5,failed
chen,28,closed
lina,29,closed
| kim
gus
kim
chen
lina
| alice,22,paused
lina,25,active
eli,28,active
alice,18,pending
hana,25,closed
jules,28,failed
chen,2,paused
chen,14,paused
hana,2,paused
dina,24,paused
| alice
lina
eli
alice
hana
jules
chen
dina
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005024 | qwen/qwen3.7-plus |
awkweave-0005025 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | bruno juniper 68
chen juniper 0
alice harbor 105
farah amber 50
chen juniper 115
alice cobalt 120
eli fable 31
gus cobalt 90
lina juniper 13
gus cobalt 38
| bruno juniper 68
chen juniper 0
alice harbor 105
farah amber 50
chen juniper 115
alice cobalt 120
eli fable 31
gus cobalt 90
lina juniper 13
gus cobalt 38
| jules amber 31
ivan juniper 4
gus amber 59
dina birch 92
alice harbor 88
bruno amber 47
farah ember 75
hana birch 75
| jules amber 31
ivan juniper 4
gus amber 59
dina birch 92
alice harbor 88
bruno amber 47
farah ember 75
hana birch 75
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005025-p1 | Remove leading and trailing whitespace, and replace any sequence of internal whitespace characters with a single space. | {$1=$1;print} | bruno juniper 68
chen juniper 0
alice harbor 105
farah amber 50
chen juniper 115
alice cobalt 120
eli fable 31
gus cobalt 90
lina juniper 13
gus cobalt 38
| bruno juniper 68
chen juniper 0
alice harbor 105
farah amber 50
chen juniper 115
alice cobalt 120
eli fable 31
gus cobalt 90
lina juniper 13
gus cobalt 38
| jules amber 31
ivan juniper 4
gus amber 59
dina birch 92
alice harbor 88
bruno amber 47
farah ember 75
hana birch 75
| jules amber 31
ivan juniper 4
gus amber 59
dina birch 92
alice harbor 88
bruno amber 47
farah ember 75
hana birch 75
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005025 | qwen/qwen3.7-plus |
awkweave-0005026 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno cobalt 108 active
lina grove 43 closed
chen harbor 30 pending
bruno birch 118 pending
gus fable 104 closed
eli amber 3 pending
lina harbor 19 paused
lina grove 61 paused
ivan birch 98 closed
jules ember 15 active
| bruno cobalt 108 active
| gus amber 67 active
lina delta 3 closed
ivan fable 19 active
lina indigo 28 paused
alice juniper 77 closed
alice indigo 8 active
gus ember 53 ready
lina harbor 104 paused
jules juniper 70 closed
eli grove 29 failed
| alice juniper 77 closed
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005026-p1 | Identify and print the longest line from the input; in case of a tie in length, select the line that appears first. | {if(length($0)>length(best))best=$0}END{print best} | bruno cobalt 108 active
lina grove 43 closed
chen harbor 30 pending
bruno birch 118 pending
gus fable 104 closed
eli amber 3 pending
lina harbor 19 paused
lina grove 61 paused
ivan birch 98 closed
jules ember 15 active
| bruno cobalt 108 active
| gus amber 67 active
lina delta 3 closed
ivan fable 19 active
lina indigo 28 paused
alice juniper 77 closed
alice indigo 8 active
gus ember 53 ready
lina harbor 104 paused
jules juniper 70 closed
eli grove 29 failed
| alice juniper 77 closed
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005026 | qwen/qwen3.7-plus |
awkweave-0005027 | Print every 4th line starting at line 3 (then line 7, and so on). | NR%4==3 | kim 4
gus 55
jules 95
jules 41
gus 96
farah 59
| jules 95
| alice 66
kim 40
gus 70
dina 32
gus 65
lina 9
alice 111
lina 13
| gus 70
alice 111
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005027-p1 | Output every fourth line beginning with line 3 (i.e., lines 3, 7, 11, etc.). | NR%4==3 | kim 4
gus 55
jules 95
jules 41
gus 96
farah 59
| jules 95
| alice 66
kim 40
gus 70
dina 32
gus 65
lina 9
alice 111
lina 13
| gus 70
alice 111
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005027 | qwen/qwen3.7-plus |
awkweave-0005028 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | gamma ember 112
gamma fable 87
delta fable 54
beta fable 57
delta birch 116
beta delta 61
gamma cobalt 3
beta delta 75
delta cobalt 77
| 5
| alpha indigo 10
delta delta 16
alpha ember 60
alpha indigo 95
beta juniper 7
alpha delta 40
alpha fable 79
beta amber 102
beta ember 31
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005028-p1 | Calculate the number of unique values in the second column and print only that total count. | {if(!seen[$2]++)n++}END{print n+0} | gamma ember 112
gamma fable 87
delta fable 54
beta fable 57
delta birch 116
beta delta 61
gamma cobalt 3
beta delta 75
delta cobalt 77
| 5
| alpha indigo 10
delta delta 16
alpha ember 60
alpha indigo 95
beta juniper 7
alpha delta 40
alpha fable 79
beta amber 102
beta ember 31
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005028 | qwen/qwen3.7-plus |
awkweave-0005029 | 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} | kim 14 0
hana 9 24
kim 4 3
kim 6 4
ivan 6 9
bruno 27 25
kim 19 5
kim 9 2
| hana 0.38
kim 1.33
kim 1.50
ivan 0.67
bruno 1.08
kim 3.80
kim 4.50
| dina 5 0
chen 28 15
lina 1 15
chen 30 22
gus 10 25
alice 13 18
chen 7 19
| chen 1.87
lina 0.07
chen 1.36
gus 0.40
alice 0.72
chen 0.37
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005029-p1 | For each row where the third column is not zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 14 0
hana 9 24
kim 4 3
kim 6 4
ivan 6 9
bruno 27 25
kim 19 5
kim 9 2
| hana 0.38
kim 1.33
kim 1.50
ivan 0.67
bruno 1.08
kim 3.80
kim 4.50
| dina 5 0
chen 28 15
lina 1 15
chen 30 22
gus 10 25
alice 13 18
chen 7 19
| chen 1.87
lina 0.07
chen 1.36
gus 0.40
alice 0.72
chen 0.37
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005029 | qwen/qwen3.7-plus |
awkweave-0005030 | 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]} | gus birch 16
jules delta 11
ivan ember 14
farah delta 24
jules grove 23
kim amber 24
ivan fable 3
| farah delta 24
kim amber 24
jules grove 23
| bruno birch 14
ivan cobalt 13
dina ember 13
kim birch 12
gus indigo 8
chen fable 19
chen cobalt 7
dina birch 4
dina juniper 16
| chen fable 19
dina juniper 16
bruno birch 14
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005030-p1 | Display the 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]} | gus birch 16
jules delta 11
ivan ember 14
farah delta 24
jules grove 23
kim amber 24
ivan fable 3
| farah delta 24
kim amber 24
jules grove 23
| bruno birch 14
ivan cobalt 13
dina ember 13
kim birch 12
gus indigo 8
chen fable 19
chen cobalt 7
dina birch 4
dina juniper 16
| chen fable 19
dina juniper 16
bruno birch 14
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005030 | qwen/qwen3.7-plus |
awkweave-0005031 | Select the 4th and 1st fields in that order. | {print $4, $1} | active lina failed jules harbor
closed hana failed jules grove
paused kim failed kim delta
ready alice active kim birch
ready bruno failed lina birch
pending ivan ready lina grove
failed lina ready hana amber
| jules active
jules closed
kim paused
kim ready
lina ready
lina pending
hana failed
| failed alice pending gus ember
active gus paused dina cobalt
closed alice closed eli cobalt
failed hana active kim fable
ready bruno pending farah amber
paused chen ready chen grove
pending ivan active alice ember
| gus failed
dina active
eli closed
kim failed
farah ready
chen paused
alice pending
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005031-p1 | Extract and print the fourth field followed by the first field, in that specific order. | {print $4, $1} | active lina failed jules harbor
closed hana failed jules grove
paused kim failed kim delta
ready alice active kim birch
ready bruno failed lina birch
pending ivan ready lina grove
failed lina ready hana amber
| jules active
jules closed
kim paused
kim ready
lina ready
lina pending
hana failed
| failed alice pending gus ember
active gus paused dina cobalt
closed alice closed eli cobalt
failed hana active kim fable
ready bruno pending farah amber
paused chen ready chen grove
pending ivan active alice ember
| gus failed
dina active
eli closed
kim failed
farah ready
chen paused
alice pending
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005031 | qwen/qwen3.7-plus |
awkweave-0005032 | Print the last field of every input line. | {print $NF} | 8 closed 112 birch
8 ready 70 harbor
0 failed 53 fable
32 pending 113 fable
118 active 17 ember
4 paused 76 cobalt
84 paused 35 indigo
110 paused 79 birch
68 active 29 grove
| birch
harbor
fable
fable
ember
cobalt
indigo
birch
grove
| 56 ready 56 harbor
35 failed 35 grove
20 paused 93 juniper
13 paused 75 delta
74 closed 37 amber
79 paused 16 fable
77 failed 61 juniper
| harbor
grove
juniper
delta
amber
fable
juniper
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005032-p1 | Output the final field from every line of input. | {print $NF} | 8 closed 112 birch
8 ready 70 harbor
0 failed 53 fable
32 pending 113 fable
118 active 17 ember
4 paused 76 cobalt
84 paused 35 indigo
110 paused 79 birch
68 active 29 grove
| birch
harbor
fable
fable
ember
cobalt
indigo
birch
grove
| 56 ready 56 harbor
35 failed 35 grove
20 paused 93 juniper
13 paused 75 delta
74 closed 37 amber
79 paused 16 fable
77 failed 61 juniper
| harbor
grove
juniper
delta
amber
fable
juniper
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005032 | qwen/qwen3.7-plus |
awkweave-0005033 | Print the complete records where column 3 is at least 70. | $3 >= 70 | bruno birch 81 bruno
alice juniper 13 chen
jules indigo 6 ivan
kim ember 99 hana
bruno fable 6 dina
bruno indigo 32 bruno
jules harbor 100 lina
alice cobalt 114 gus
ivan birch 12 farah
| bruno birch 81 bruno
kim ember 99 hana
jules harbor 100 lina
alice cobalt 114 gus
| hana fable 83 dina
dina indigo 12 dina
ivan indigo 92 lina
gus cobalt 84 alice
bruno fable 94 jules
chen grove 52 kim
chen grove 110 farah
| hana fable 83 dina
ivan indigo 92 lina
gus cobalt 84 alice
bruno fable 94 jules
chen grove 110 farah
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005033-p1 | Print all complete records where the value in column 3 is 70 or higher. | $3 >= 70 | bruno birch 81 bruno
alice juniper 13 chen
jules indigo 6 ivan
kim ember 99 hana
bruno fable 6 dina
bruno indigo 32 bruno
jules harbor 100 lina
alice cobalt 114 gus
ivan birch 12 farah
| bruno birch 81 bruno
kim ember 99 hana
jules harbor 100 lina
alice cobalt 114 gus
| hana fable 83 dina
dina indigo 12 dina
ivan indigo 92 lina
gus cobalt 84 alice
bruno fable 94 jules
chen grove 52 kim
chen grove 110 farah
| hana fable 83 dina
ivan indigo 92 lina
gus cobalt 84 alice
bruno fable 94 jules
chen grove 110 farah
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005033 | qwen/qwen3.7-plus |
awkweave-0005034 | Show whole lines whose 1st field is between 3 and 29, inclusive. | $1 >= 3 && $1 <= 29 | 29 pending juniper failed
26 ready indigo closed
8 active juniper active
17 ready indigo closed
19 active ember failed
21 closed grove failed
21 pending amber closed
| 29 pending juniper failed
26 ready indigo closed
8 active juniper active
17 ready indigo closed
19 active ember failed
21 closed grove failed
21 pending amber closed
| 9 paused harbor active
19 failed fable active
28 ready juniper active
24 paused ember pending
26 active birch active
29 closed indigo closed
9 pending delta failed
12 ready grove ready
| 9 paused harbor active
19 failed fable active
28 ready juniper active
24 paused ember pending
26 active birch active
29 closed indigo closed
9 pending delta failed
12 ready grove ready
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005034-p1 | Display entire lines where the first field falls within the inclusive range of 3 to 29. | $1 >= 3 && $1 <= 29 | 29 pending juniper failed
26 ready indigo closed
8 active juniper active
17 ready indigo closed
19 active ember failed
21 closed grove failed
21 pending amber closed
| 29 pending juniper failed
26 ready indigo closed
8 active juniper active
17 ready indigo closed
19 active ember failed
21 closed grove failed
21 pending amber closed
| 9 paused harbor active
19 failed fable active
28 ready juniper active
24 paused ember pending
26 active birch active
29 closed indigo closed
9 pending delta failed
12 ready grove ready
| 9 paused harbor active
19 failed fable active
28 ready juniper active
24 paused ember pending
26 active birch active
29 closed indigo closed
9 pending delta failed
12 ready grove ready
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005034 | qwen/qwen3.7-plus |
awkweave-0005035 | Print column 3 only for rows where column 2 is exactly failed. | $2 == "failed"{print $3} | 67 failed alice delta
23 paused alice cobalt
87 failed farah grove
63 failed alice indigo
105 failed alice birch
49 paused ivan amber
| alice
farah
alice
alice
| 32 failed farah birch
21 pending jules juniper
107 ready jules delta
100 ready kim juniper
38 paused hana indigo
3 closed chen grove
79 closed alice harbor
0 ready bruno cobalt
63 active eli amber
23 failed bruno cobalt
| farah
bruno
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005035-p1 | Output only the third column for rows where the second column is exactly 'failed'. | $2 == "failed"{print $3} | 67 failed alice delta
23 paused alice cobalt
87 failed farah grove
63 failed alice indigo
105 failed alice birch
49 paused ivan amber
| alice
farah
alice
alice
| 32 failed farah birch
21 pending jules juniper
107 ready jules delta
100 ready kim juniper
38 paused hana indigo
3 closed chen grove
79 closed alice harbor
0 ready bruno cobalt
63 active eli amber
23 failed bruno cobalt
| farah
bruno
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005035 | qwen/qwen3.7-plus |
awkweave-0005036 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | 109 fable ERROR
77 fable ERROR
27 ember ERROR
80 amber WARN
21 indigo WARN
61 harbor WARN
| 80 amber WARN
21 indigo WARN
61 harbor WARN
| 56 grove WARN
1 amber ERROR
67 cobalt ERROR
106 indigo DEBUG
89 ember INFO
99 birch ERROR
30 fable ERROR
32 grove INFO
85 birch WARN
| 56 grove WARN
85 birch WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005036-p1 | Display all fields for lines where the third field starts with WARN. | $3 ~ /^WARN/ | 109 fable ERROR
77 fable ERROR
27 ember ERROR
80 amber WARN
21 indigo WARN
61 harbor WARN
| 80 amber WARN
21 indigo WARN
61 harbor WARN
| 56 grove WARN
1 amber ERROR
67 cobalt ERROR
106 indigo DEBUG
89 ember INFO
99 birch ERROR
30 fable ERROR
32 grove INFO
85 birch WARN
| 56 grove WARN
85 birch WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005036 | qwen/qwen3.7-plus |
awkweave-0005037 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | cobalt 56 pending
ember 100 active
ember 80 pending
harbor 6 paused
delta 72 closed
juniper 79 closed
delta 55 failed
harbor 12 active
harbor 84 active
cobalt 999 active
| ember 100 active
ember 80 pending
harbor 6 paused
delta 72 closed
juniper 79 closed
delta 55 failed
harbor 12 active
harbor 84 active
| fable 93 paused
grove 11 pending
ember 76 failed
grove 6 ready
birch 37 ready
amber 99 active
cobalt 80 pending
amber 45 active
fable 13 paused
cobalt 100 paused
cobalt 999 active
| fable 93 paused
grove 11 pending
ember 76 failed
grove 6 ready
birch 37 ready
amber 99 active
amber 45 active
fable 13 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005037-p1 | Output every line that does not contain the exact string cobalt. | $0 !~ /cobalt/ | cobalt 56 pending
ember 100 active
ember 80 pending
harbor 6 paused
delta 72 closed
juniper 79 closed
delta 55 failed
harbor 12 active
harbor 84 active
cobalt 999 active
| ember 100 active
ember 80 pending
harbor 6 paused
delta 72 closed
juniper 79 closed
delta 55 failed
harbor 12 active
harbor 84 active
| fable 93 paused
grove 11 pending
ember 76 failed
grove 6 ready
birch 37 ready
amber 99 active
cobalt 80 pending
amber 45 active
fable 13 paused
cobalt 100 paused
cobalt 999 active
| fable 93 paused
grove 11 pending
ember 76 failed
grove 6 ready
birch 37 ready
amber 99 active
amber 45 active
fable 13 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005037 | qwen/qwen3.7-plus |
awkweave-0005038 | Print lines 4 through 7, including both endpoints. | NR >= 4 && NR <= 7 | dina indigo 48
lina delta 56
kim fable 113
kim harbor 17
eli cobalt 106
hana amber 94
| kim harbor 17
eli cobalt 106
hana amber 94
| jules juniper 48
kim birch 66
eli juniper 36
hana birch 110
chen juniper 4
eli amber 103
farah indigo 17
lina ember 64
bruno delta 23
| hana birch 110
chen juniper 4
eli amber 103
farah indigo 17
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005038-p1 | Print lines 4 to 7, inclusive of both endpoints. | NR >= 4 && NR <= 7 | dina indigo 48
lina delta 56
kim fable 113
kim harbor 17
eli cobalt 106
hana amber 94
| kim harbor 17
eli cobalt 106
hana amber 94
| jules juniper 48
kim birch 66
eli juniper 36
hana birch 110
chen juniper 4
eli amber 103
farah indigo 17
lina ember 64
bruno delta 23
| hana birch 110
chen juniper 4
eli amber 103
farah indigo 17
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005038 | qwen/qwen3.7-plus |
awkweave-0005039 | Output only the first 2 records. | NR <= 2 | gus 71 delta
dina 57 indigo
alice 105 harbor
gus 78 ember
farah 99 delta
farah 42 harbor
| gus 71 delta
dina 57 indigo
| dina 66 amber
chen 38 amber
bruno 43 fable
ivan 94 ember
bruno 96 ember
jules 15 birch
chen 114 juniper
alice 24 amber
kim 117 amber
| dina 66 amber
chen 38 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005039-p1 | Output only the first 2 records. | NR <= 2 | gus 71 delta
dina 57 indigo
alice 105 harbor
gus 78 ember
farah 99 delta
farah 42 harbor
| gus 71 delta
dina 57 indigo
| dina 66 amber
chen 38 amber
bruno 43 fable
ivan 94 ember
bruno 96 ember
jules 15 birch
chen 114 juniper
alice 24 amber
kim 117 amber
| dina 66 amber
chen 38 amber
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0005039 | qwen/qwen3.7-plus |
awkweave-0005040 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 43 harbor
dina 118 fable
kim 31 juniper
farah 32 birch
dina 35 ember
bruno 14 fable
| dina 118 fable
kim 31 juniper
farah 32 birch
dina 35 ember
bruno 14 fable
| dina 118 ember
alice 66 harbor
bruno 8 juniper
eli 45 birch
eli 113 delta
hana 37 grove
| alice 66 harbor
bruno 8 juniper
eli 45 birch
eli 113 delta
hana 37 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005040-p1 | Skip the first line and print all subsequent lines without modification. | NR > 1 | eli 43 harbor
dina 118 fable
kim 31 juniper
farah 32 birch
dina 35 ember
bruno 14 fable
| dina 118 fable
kim 31 juniper
farah 32 birch
dina 35 ember
bruno 14 fable
| dina 118 ember
alice 66 harbor
bruno 8 juniper
eli 45 birch
eli 113 delta
hana 37 grove
| alice 66 harbor
bruno 8 juniper
eli 45 birch
eli 113 delta
hana 37 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005040 | qwen/qwen3.7-plus |
awkweave-0005041 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | gus pending 71
jules failed 70
dina pending 5
lina ready 10
ivan active 48
ivan ready 83
| 2
| dina active 74
jules closed 59
eli failed 0
bruno closed 101
lina active 58
kim ready 115
dina ready 74
kim ready 22
chen paused 97
| 3
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005041-p1 | Count the number of records with ready in column 2; output 0 if none exist. | $2 == "ready"{n++}END{print n+0} | gus pending 71
jules failed 70
dina pending 5
lina ready 10
ivan active 48
ivan ready 83
| 2
| dina active 74
jules closed 59
eli failed 0
bruno closed 101
lina active 58
kim ready 115
dina ready 74
kim ready 22
chen paused 97
| 3
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005041 | qwen/qwen3.7-plus |
awkweave-0005042 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | cobalt lina 1
amber lina 19
indigo gus 17
birch alice 3
ember gus 4
cobalt kim 17
amber eli 22
grove lina 11
ember ivan 24
amber gus 1
| 119
| cobalt lina 12
juniper alice 12
amber farah 10
amber bruno 7
fable farah 14
grove chen 3
indigo hana 1
| 59
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005042-p1 | Compute and display the sum of integer values in column 3. | {s+=$3}END{print s+0} | cobalt lina 1
amber lina 19
indigo gus 17
birch alice 3
ember gus 4
cobalt kim 17
amber eli 22
grove lina 11
ember ivan 24
amber gus 1
| 119
| cobalt lina 12
juniper alice 12
amber farah 10
amber bruno 7
fable farah 14
grove chen 3
indigo hana 1
| 59
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005042 | qwen/qwen3.7-plus |
awkweave-0005043 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | fable 14 chen
juniper 27 gus
birch 20 eli
grove 24 eli
fable 10 hana
birch 7 gus
indigo 28 lina
indigo 25 jules
ember 2 bruno
| 17.44
| cobalt 27 alice
grove 24 farah
fable 10 jules
fable 24 ivan
harbor 9 jules
delta 28 dina
indigo 3 jules
harbor 8 hana
indigo 8 farah
| 15.67
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005043-p1 | Print the average of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | fable 14 chen
juniper 27 gus
birch 20 eli
grove 24 eli
fable 10 hana
birch 7 gus
indigo 28 lina
indigo 25 jules
ember 2 bruno
| 17.44
| cobalt 27 alice
grove 24 farah
fable 10 jules
fable 24 ivan
harbor 9 jules
delta 28 dina
indigo 3 jules
harbor 8 hana
indigo 8 farah
| 15.67
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005043 | qwen/qwen3.7-plus |
awkweave-0005044 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | indigo eli 17
indigo hana 11
harbor jules 29
juniper eli 13
ember bruno 21
indigo kim 25
amber dina 25
| 11
| juniper farah 15
birch dina 4
fable eli 2
delta dina 9
grove kim 10
delta hana 15
harbor hana 11
harbor alice 7
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005044-p1 | Identify and print the minimum numeric value found in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | indigo eli 17
indigo hana 11
harbor jules 29
juniper eli 13
ember bruno 21
indigo kim 25
amber dina 25
| 11
| juniper farah 15
birch dina 4
fable eli 2
delta dina 9
grove kim 10
delta hana 15
harbor hana 11
harbor alice 7
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005044 | qwen/qwen3.7-plus |
awkweave-0005045 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | amber farah 23
cobalt chen 18
indigo gus 23
fable dina 3
harbor eli 11
amber alice 16
harbor jules 15
amber bruno 11
delta eli 6
| 23
| fable dina 12
delta lina 3
amber jules 25
indigo ivan 2
amber chen 11
birch jules 9
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005045-p1 | Identify and print the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | amber farah 23
cobalt chen 18
indigo gus 23
fable dina 3
harbor eli 11
amber alice 16
harbor jules 15
amber bruno 11
delta eli 6
| 23
| fable dina 12
delta lina 3
amber jules 25
indigo ivan 2
amber chen 11
birch jules 9
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005045 | qwen/qwen3.7-plus |
awkweave-0005046 | Count all input records and print the total. | END{print NR} | kim 81
kim 2
lina 4
alice 37
bruno 25
lina 22
ivan 90
| 7
| hana 65
bruno 108
alice 88
lina 31
bruno 85
hana 70
eli 91
| 7
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005046-p1 | Count the total number of input records and print the result. | END{print NR} | kim 81
kim 2
lina 4
alice 37
bruno 25
lina 22
ivan 90
| 7
| hana 65
bruno 108
alice 88
lina 31
bruno 85
hana 70
eli 91
| 7
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005046 | qwen/qwen3.7-plus |
awkweave-0005047 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | ivan ember 67
gus amber 8
eli fable 67
chen harbor 108
lina juniper 71
hana delta 36
lina ember 56
gus harbor 60
ivan amber 86
gus cobalt 0
ivan ember 67
| ivan ember 67
gus amber 8
eli fable 67
chen harbor 108
lina juniper 71
hana delta 36
lina ember 56
gus harbor 60
ivan amber 86
gus cobalt 0
| ivan delta 39
chen cobalt 19
jules amber 95
jules ember 71
hana birch 52
jules grove 113
ivan delta 39
farah birch 32
dina cobalt 67
jules indigo 2
| ivan delta 39
chen cobalt 19
jules amber 95
jules ember 71
hana birch 52
jules grove 113
farah birch 32
dina cobalt 67
jules indigo 2
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005047-p1 | Eliminate exact duplicate lines while keeping the first occurrence and maintaining original order. | !seen[$0]++ | ivan ember 67
gus amber 8
eli fable 67
chen harbor 108
lina juniper 71
hana delta 36
lina ember 56
gus harbor 60
ivan amber 86
gus cobalt 0
ivan ember 67
| ivan ember 67
gus amber 8
eli fable 67
chen harbor 108
lina juniper 71
hana delta 36
lina ember 56
gus harbor 60
ivan amber 86
gus cobalt 0
| ivan delta 39
chen cobalt 19
jules amber 95
jules ember 71
hana birch 52
jules grove 113
ivan delta 39
farah birch 32
dina cobalt 67
jules indigo 2
| ivan delta 39
chen cobalt 19
jules amber 95
jules ember 71
hana birch 52
jules grove 113
farah birch 32
dina cobalt 67
jules indigo 2
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005047 | qwen/qwen3.7-plus |
awkweave-0005048 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | gus birch 112
bruno fable 19
chen cobalt 21
hana birch 0
farah amber 24
chen grove 111
| gus birch 112
bruno fable 19
chen cobalt 21
farah amber 24
chen grove 111
| kim indigo 107
dina indigo 3
farah ember 28
ivan harbor 10
gus birch 108
lina indigo 108
| kim indigo 107
farah ember 28
ivan harbor 10
gus birch 108
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005048-p1 | Retain only the initial occurrence of each unique value in column 2, maintaining the original input sequence. | !seen[$2]++ | gus birch 112
bruno fable 19
chen cobalt 21
hana birch 0
farah amber 24
chen grove 111
| gus birch 112
bruno fable 19
chen cobalt 21
farah amber 24
chen grove 111
| kim indigo 107
dina indigo 3
farah ember 28
ivan harbor 10
gus birch 108
lina indigo 108
| kim indigo 107
farah ember 28
ivan harbor 10
gus birch 108
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005048 | qwen/qwen3.7-plus |
awkweave-0005049 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | chen 27 harbor
hana 23 harbor
dina 23 harbor
alice 14 harbor
farah 5 delta
dina 1 harbor
hana 6 delta
jules 19 indigo
| chen 27
hana 50
dina 73
alice 87
farah 92
dina 93
hana 99
jules 118
| ivan 1 birch
jules 11 birch
hana 28 juniper
kim 25 amber
eli 27 birch
ivan 7 ember
jules 4 harbor
bruno 1 birch
| ivan 1
jules 12
hana 40
kim 65
eli 92
ivan 99
jules 103
bruno 104
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0005049-p1 | Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter. | {s+=$2;print $1,s} | chen 27 harbor
hana 23 harbor
dina 23 harbor
alice 14 harbor
farah 5 delta
dina 1 harbor
hana 6 delta
jules 19 indigo
| chen 27
hana 50
dina 73
alice 87
farah 92
dina 93
hana 99
jules 118
| ivan 1 birch
jules 11 birch
hana 28 juniper
kim 25 amber
eli 27 birch
ivan 7 ember
jules 4 harbor
bruno 1 birch
| ivan 1
jules 12
hana 40
kim 65
eli 92
ivan 99
jules 103
bruno 104
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0005049 | qwen/qwen3.7-plus |
awkweave-0005050 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | gus 11 21 amber
bruno 29 16 cobalt
jules 13 17 amber
lina 18 15 birch
kim 5 21 harbor
gus 20 3 indigo
jules 25 4 harbor
bruno 16 28 fable
chen 25 20 fable
hana 7 15 harbor
| gus 32
bruno 45
jules 30
lina 33
kim 26
gus 23
jules 29
bruno 44
chen 45
hana 22
| dina 13 14 fable
gus 1 4 grove
eli 26 26 cobalt
jules 5 17 delta
chen 19 16 indigo
farah 21 22 juniper
alice 28 25 indigo
chen 5 7 grove
alice 15 18 fable
kim 13 5 delta
| dina 27
gus 5
eli 52
jules 22
chen 35
farah 43
alice 53
chen 12
alice 33
kim 18
| computed_field | 1 | 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.