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-0000550 | Print column 2 only for rows where column 3 is exactly paused. | $3 == "paused"{print $2} | 11 farah paused harbor
16 farah active grove
83 bruno paused birch
27 hana failed indigo
79 gus failed juniper
43 gus failed grove
40 ivan ready amber
47 ivan paused fable
27 dina pending ember
61 eli active amber
| farah
bruno
ivan
| 43 gus paused cobalt
76 bruno failed cobalt
93 chen pending birch
83 eli active delta
40 eli pending ember
61 eli paused birch
77 jules closed grove
11 lina paused birch
| gus
eli
lina
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000550-p1 | Print only column 2 for rows where column 3 contains the exact value 'paused'. | $3 == "paused"{print $2} | 11 farah paused harbor
16 farah active grove
83 bruno paused birch
27 hana failed indigo
79 gus failed juniper
43 gus failed grove
40 ivan ready amber
47 ivan paused fable
27 dina pending ember
61 eli active amber
| farah
bruno
ivan
| 43 gus paused cobalt
76 bruno failed cobalt
93 chen pending birch
83 eli active delta
40 eli pending ember
61 eli paused birch
77 jules closed grove
11 lina paused birch
| gus
eli
lina
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000550 | qwen/qwen3.7-plus |
awkweave-0000551 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | grove DEBUG 74
ember ERROR 43
birch ERROR 100
birch INFO 60
juniper INFO 52
ember WARN 83
| birch INFO 60
juniper INFO 52
| delta INFO 102
amber INFO 59
cobalt WARN 68
indigo WARN 88
juniper WARN 39
delta WARN 98
| delta INFO 102
amber INFO 59
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000551-p1 | Output all fields from lines where the second field starts with the string 'INFO'. | $2 ~ /^INFO/ | grove DEBUG 74
ember ERROR 43
birch ERROR 100
birch INFO 60
juniper INFO 52
ember WARN 83
| birch INFO 60
juniper INFO 52
| delta INFO 102
amber INFO 59
cobalt WARN 68
indigo WARN 88
juniper WARN 39
delta WARN 98
| delta INFO 102
amber INFO 59
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000551 | qwen/qwen3.7-plus |
awkweave-0000552 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | harbor 65 paused
harbor 33 pending
cobalt 33 ready
delta 91 pending
birch 12 ready
harbor 8 failed
amber 72 active
fable 999 active
| harbor 65 paused
harbor 33 pending
cobalt 33 ready
delta 91 pending
birch 12 ready
harbor 8 failed
amber 72 active
| grove 97 pending
birch 113 ready
indigo 9 ready
birch 107 pending
juniper 24 failed
juniper 108 closed
fable 999 active
| grove 97 pending
birch 113 ready
indigo 9 ready
birch 107 pending
juniper 24 failed
juniper 108 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000552-p1 | Print every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | harbor 65 paused
harbor 33 pending
cobalt 33 ready
delta 91 pending
birch 12 ready
harbor 8 failed
amber 72 active
fable 999 active
| harbor 65 paused
harbor 33 pending
cobalt 33 ready
delta 91 pending
birch 12 ready
harbor 8 failed
amber 72 active
| grove 97 pending
birch 113 ready
indigo 9 ready
birch 107 pending
juniper 24 failed
juniper 108 closed
fable 999 active
| grove 97 pending
birch 113 ready
indigo 9 ready
birch 107 pending
juniper 24 failed
juniper 108 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000552 | qwen/qwen3.7-plus |
awkweave-0000553 | Print lines 3 through 5, including both endpoints. | NR >= 3 && NR <= 5 | jules amber 37
chen juniper 23
dina ember 25
bruno birch 13
gus harbor 61
eli delta 84
ivan juniper 45
chen delta 64
alice grove 86
| dina ember 25
bruno birch 13
gus harbor 61
| dina ember 87
ivan ember 57
farah fable 28
lina indigo 70
hana fable 104
dina birch 22
farah fable 12
dina delta 25
bruno harbor 115
dina amber 117
| farah fable 28
lina indigo 70
hana fable 104
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000553-p1 | Output lines 3 through 5, inclusive. | NR >= 3 && NR <= 5 | jules amber 37
chen juniper 23
dina ember 25
bruno birch 13
gus harbor 61
eli delta 84
ivan juniper 45
chen delta 64
alice grove 86
| dina ember 25
bruno birch 13
gus harbor 61
| dina ember 87
ivan ember 57
farah fable 28
lina indigo 70
hana fable 104
dina birch 22
farah fable 12
dina delta 25
bruno harbor 115
dina amber 117
| farah fable 28
lina indigo 70
hana fable 104
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000553 | qwen/qwen3.7-plus |
awkweave-0000554 | Output only the first 4 records. | NR <= 4 | lina 102 harbor
farah 85 juniper
gus 103 delta
gus 118 delta
lina 0 ember
eli 61 delta
kim 111 grove
chen 71 fable
gus 119 delta
| lina 102 harbor
farah 85 juniper
gus 103 delta
gus 118 delta
| lina 61 amber
kim 46 amber
ivan 108 ember
hana 59 cobalt
chen 32 delta
chen 52 juniper
alice 109 grove
lina 69 cobalt
alice 99 delta
lina 88 birch
| lina 61 amber
kim 46 amber
ivan 108 ember
hana 59 cobalt
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000554-p1 | Display only the initial four records. | NR <= 4 | lina 102 harbor
farah 85 juniper
gus 103 delta
gus 118 delta
lina 0 ember
eli 61 delta
kim 111 grove
chen 71 fable
gus 119 delta
| lina 102 harbor
farah 85 juniper
gus 103 delta
gus 118 delta
| lina 61 amber
kim 46 amber
ivan 108 ember
hana 59 cobalt
chen 32 delta
chen 52 juniper
alice 109 grove
lina 69 cobalt
alice 99 delta
lina 88 birch
| lina 61 amber
kim 46 amber
ivan 108 ember
hana 59 cobalt
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000554 | qwen/qwen3.7-plus |
awkweave-0000555 | Skip the first line and print every remaining line unchanged. | NR > 1 | kim 8 delta
hana 111 fable
dina 76 juniper
bruno 16 cobalt
alice 72 birch
gus 66 juniper
bruno 21 amber
bruno 67 amber
| hana 111 fable
dina 76 juniper
bruno 16 cobalt
alice 72 birch
gus 66 juniper
bruno 21 amber
bruno 67 amber
| dina 105 amber
lina 55 juniper
lina 51 delta
dina 46 juniper
farah 77 cobalt
gus 80 fable
bruno 12 delta
| lina 55 juniper
lina 51 delta
dina 46 juniper
farah 77 cobalt
gus 80 fable
bruno 12 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000555-p1 | Omit the first line and output all subsequent lines exactly as they appear. | NR > 1 | kim 8 delta
hana 111 fable
dina 76 juniper
bruno 16 cobalt
alice 72 birch
gus 66 juniper
bruno 21 amber
bruno 67 amber
| hana 111 fable
dina 76 juniper
bruno 16 cobalt
alice 72 birch
gus 66 juniper
bruno 21 amber
bruno 67 amber
| dina 105 amber
lina 55 juniper
lina 51 delta
dina 46 juniper
farah 77 cobalt
gus 80 fable
bruno 12 delta
| lina 55 juniper
lina 51 delta
dina 46 juniper
farah 77 cobalt
gus 80 fable
bruno 12 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000555 | qwen/qwen3.7-plus |
awkweave-0000556 | Count how many records have paused in column 2. Print 0 if there are none. | $2 == "paused"{n++}END{print n+0} | gus active 70
kim closed 68
chen failed 111
gus closed 49
gus active 62
farah closed 119
farah active 61
hana paused 117
bruno active 17
eli active 16
| 1
| chen active 5
farah active 92
alice failed 69
kim paused 7
chen failed 47
kim pending 21
eli paused 42
lina pending 16
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000556-p1 | Determine the number of entries with 'paused' in the second column; output 0 if none exist. | $2 == "paused"{n++}END{print n+0} | gus active 70
kim closed 68
chen failed 111
gus closed 49
gus active 62
farah closed 119
farah active 61
hana paused 117
bruno active 17
eli active 16
| 1
| chen active 5
farah active 92
alice failed 69
kim paused 7
chen failed 47
kim pending 21
eli paused 42
lina pending 16
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000556 | qwen/qwen3.7-plus |
awkweave-0000557 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | indigo 15 kim
indigo 28 bruno
ember 24 dina
birch 8 hana
grove 30 gus
fable 22 lina
delta 24 hana
birch 27 hana
grove 18 dina
| 196
| birch 10 eli
delta 9 eli
juniper 19 lina
delta 3 farah
harbor 25 chen
harbor 25 jules
juniper 3 farah
cobalt 6 gus
| 100
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000557-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | indigo 15 kim
indigo 28 bruno
ember 24 dina
birch 8 hana
grove 30 gus
fable 22 lina
delta 24 hana
birch 27 hana
grove 18 dina
| 196
| birch 10 eli
delta 9 eli
juniper 19 lina
delta 3 farah
harbor 25 chen
harbor 25 jules
juniper 3 farah
cobalt 6 gus
| 100
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000557 | qwen/qwen3.7-plus |
awkweave-0000558 | Print the arithmetic mean of column 3, rounded to exactly two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo dina 15
ember bruno 27
cobalt farah 12
delta lina 27
delta gus 12
grove chen 21
ember bruno 21
| 19.29
| birch jules 20
juniper dina 30
amber hana 26
cobalt ivan 15
ember chen 26
birch ivan 30
harbor dina 11
| 22.57
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000558-p1 | Output the average of the third column, rounded to two decimal places. | {s+=$3;n++}END{printf "%.2f\n",s/n} | indigo dina 15
ember bruno 27
cobalt farah 12
delta lina 27
delta gus 12
grove chen 21
ember bruno 21
| 19.29
| birch jules 20
juniper dina 30
amber hana 26
cobalt ivan 15
ember chen 26
birch ivan 30
harbor dina 11
| 22.57
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000558 | qwen/qwen3.7-plus |
awkweave-0000559 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | chen delta 19
jules amber 27
dina indigo 17
dina birch 30
jules delta 29
eli birch 5
| 5
| kim delta 8
eli amber 1
chen ember 9
dina harbor 1
dina delta 28
chen delta 23
kim fable 26
jules cobalt 13
lina fable 24
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000559-p1 | Identify and print the minimum numeric value located in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | chen delta 19
jules amber 27
dina indigo 17
dina birch 30
jules delta 29
eli birch 5
| 5
| kim delta 8
eli amber 1
chen ember 9
dina harbor 1
dina delta 28
chen delta 23
kim fable 26
jules cobalt 13
lina fable 24
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000559 | qwen/qwen3.7-plus |
awkweave-0000560 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | cobalt 10 bruno
ember 27 alice
juniper 27 ivan
delta 9 ivan
grove 3 lina
indigo 28 dina
| 28
| harbor 1 jules
juniper 19 ivan
ember 25 chen
cobalt 22 lina
indigo 12 alice
fable 5 alice
cobalt 7 ivan
indigo 24 bruno
amber 13 chen
fable 2 kim
| 25
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000560-p1 | Identify and print the maximum numeric value located in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | cobalt 10 bruno
ember 27 alice
juniper 27 ivan
delta 9 ivan
grove 3 lina
indigo 28 dina
| 28
| harbor 1 jules
juniper 19 ivan
ember 25 chen
cobalt 22 lina
indigo 12 alice
fable 5 alice
cobalt 7 ivan
indigo 24 bruno
amber 13 chen
fable 2 kim
| 25
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000560 | qwen/qwen3.7-plus |
awkweave-0000561 | Count all input records and print the total. | END{print NR} | chen 44
hana 67
jules 33
kim 23
kim 4
ivan 79
ivan 104
hana 3
| 8
| farah 119
farah 20
hana 38
ivan 92
jules 4
eli 33
farah 94
eli 45
alice 95
eli 66
| 10
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000561-p1 | Count the total number of input records and print the result. | END{print NR} | chen 44
hana 67
jules 33
kim 23
kim 4
ivan 79
ivan 104
hana 3
| 8
| farah 119
farah 20
hana 38
ivan 92
jules 4
eli 33
farah 94
eli 45
alice 95
eli 66
| 10
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000561 | qwen/qwen3.7-plus |
awkweave-0000562 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | farah birch 80
eli harbor 106
farah delta 18
bruno fable 73
hana amber 31
bruno harbor 53
farah birch 80
gus juniper 25
farah birch 99
| farah birch 80
eli harbor 106
farah delta 18
bruno fable 73
hana amber 31
bruno harbor 53
gus juniper 25
farah birch 99
| hana delta 19
alice juniper 1
farah grove 11
kim indigo 97
chen indigo 109
chen indigo 50
farah grove 11
farah delta 63
jules indigo 108
farah ember 66
| hana delta 19
alice juniper 1
farah grove 11
kim indigo 97
chen indigo 109
chen indigo 50
farah delta 63
jules indigo 108
farah ember 66
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000562-p1 | Eliminate exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | farah birch 80
eli harbor 106
farah delta 18
bruno fable 73
hana amber 31
bruno harbor 53
farah birch 80
gus juniper 25
farah birch 99
| farah birch 80
eli harbor 106
farah delta 18
bruno fable 73
hana amber 31
bruno harbor 53
gus juniper 25
farah birch 99
| hana delta 19
alice juniper 1
farah grove 11
kim indigo 97
chen indigo 109
chen indigo 50
farah grove 11
farah delta 63
jules indigo 108
farah ember 66
| hana delta 19
alice juniper 1
farah grove 11
kim indigo 97
chen indigo 109
chen indigo 50
farah delta 63
jules indigo 108
farah ember 66
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000562 | qwen/qwen3.7-plus |
awkweave-0000563 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | eli cobalt 6
lina ember 104
ivan indigo 95
ivan indigo 37
bruno fable 77
gus juniper 106
| eli cobalt 6
lina ember 104
ivan indigo 95
ivan indigo 37
bruno fable 77
gus juniper 106
| kim juniper 58
lina juniper 115
eli harbor 60
kim harbor 85
lina indigo 64
hana cobalt 84
bruno cobalt 74
dina harbor 3
kim amber 32
ivan grove 10
| kim juniper 58
lina juniper 115
eli harbor 60
kim harbor 85
lina indigo 64
hana cobalt 84
bruno cobalt 74
dina harbor 3
kim amber 32
ivan grove 10
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000563-p1 | Retain only the first occurrence for each unique value in the third column, preserving the input order. | !seen[$3]++ | eli cobalt 6
lina ember 104
ivan indigo 95
ivan indigo 37
bruno fable 77
gus juniper 106
| eli cobalt 6
lina ember 104
ivan indigo 95
ivan indigo 37
bruno fable 77
gus juniper 106
| kim juniper 58
lina juniper 115
eli harbor 60
kim harbor 85
lina indigo 64
hana cobalt 84
bruno cobalt 74
dina harbor 3
kim amber 32
ivan grove 10
| kim juniper 58
lina juniper 115
eli harbor 60
kim harbor 85
lina indigo 64
hana cobalt 84
bruno cobalt 74
dina harbor 3
kim amber 32
ivan grove 10
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000563 | qwen/qwen3.7-plus |
awkweave-0000564 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 25 grove
dina 26 ember
gus 27 juniper
hana 2 indigo
lina 23 juniper
farah 14 indigo
lina 7 cobalt
| dina 25
dina 51
gus 78
hana 80
lina 103
farah 117
lina 124
| jules 21 fable
hana 29 birch
hana 25 fable
kim 3 grove
chen 22 delta
hana 6 harbor
ivan 1 ember
farah 7 delta
jules 20 delta
gus 7 fable
| jules 21
hana 50
hana 75
kim 78
chen 100
hana 106
ivan 107
farah 114
jules 134
gus 141
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000564-p1 | For each entry, output the first column and the cumulative sum of the second column, separated by a space. | {s+=$2;print $1,s} | dina 25 grove
dina 26 ember
gus 27 juniper
hana 2 indigo
lina 23 juniper
farah 14 indigo
lina 7 cobalt
| dina 25
dina 51
gus 78
hana 80
lina 103
farah 117
lina 124
| jules 21 fable
hana 29 birch
hana 25 fable
kim 3 grove
chen 22 delta
hana 6 harbor
ivan 1 ember
farah 7 delta
jules 20 delta
gus 7 fable
| jules 21
hana 50
hana 75
kim 78
chen 100
hana 106
ivan 107
farah 114
jules 134
gus 141
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000564 | qwen/qwen3.7-plus |
awkweave-0000565 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | eli 3 26 juniper
hana 21 30 birch
dina 5 9 amber
farah 30 26 amber
lina 9 6 indigo
lina 29 18 birch
dina 25 15 ember
| eli 29
hana 51
dina 14
farah 56
lina 15
lina 47
dina 40
| bruno 10 20 birch
chen 30 9 indigo
jules 24 17 cobalt
gus 16 9 harbor
chen 16 21 delta
bruno 25 1 harbor
eli 30 11 fable
gus 9 19 delta
gus 11 14 ember
| bruno 30
chen 39
jules 41
gus 25
chen 37
bruno 26
eli 41
gus 28
gus 25
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000565-p1 | For each row, output the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | eli 3 26 juniper
hana 21 30 birch
dina 5 9 amber
farah 30 26 amber
lina 9 6 indigo
lina 29 18 birch
dina 25 15 ember
| eli 29
hana 51
dina 14
farah 56
lina 15
lina 47
dina 40
| bruno 10 20 birch
chen 30 9 indigo
jules 24 17 cobalt
gus 16 9 harbor
chen 16 21 delta
bruno 25 1 harbor
eli 30 11 fable
gus 9 19 delta
gus 11 14 ember
| bruno 30
chen 39
jules 41
gus 25
chen 37
bruno 26
eli 41
gus 28
gus 25
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000565 | qwen/qwen3.7-plus |
awkweave-0000566 | Print column 1 and pass when column 2 is at least 23; otherwise print fail. | {print $1,($2>=23?"pass":"fail")} | kim 12
ivan 30
kim 1
bruno 22
gus 16
farah 3
lina 30
jules 22
| kim fail
ivan pass
kim fail
bruno fail
gus fail
farah fail
lina pass
jules fail
| jules 29
dina 8
dina 1
alice 17
farah 19
jules 8
ivan 9
| jules pass
dina fail
dina fail
alice fail
farah fail
jules fail
ivan fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000566-p1 | Output the value in column 1; if column 2 is greater than or equal to 23, output 'pass', otherwise output 'fail'. | {print $1,($2>=23?"pass":"fail")} | kim 12
ivan 30
kim 1
bruno 22
gus 16
farah 3
lina 30
jules 22
| kim fail
ivan pass
kim fail
bruno fail
gus fail
farah fail
lina pass
jules fail
| jules 29
dina 8
dina 1
alice 17
farah 19
jules 8
ivan 9
| jules pass
dina fail
dina fail
alice fail
farah fail
jules fail
ivan fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000566 | qwen/qwen3.7-plus |
awkweave-0000567 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | hana indigo 117
alice birch 40
lina amber 64
lina birch 77
bruno harbor 7
eli amber 26
farah juniper 89
| HANA
ALICE
LINA
LINA
BRUNO
ELI
FARAH
| bruno birch 79
lina birch 4
jules grove 90
ivan amber 70
farah birch 112
dina delta 105
ivan cobalt 108
kim amber 84
| BRUNO
LINA
JULES
IVAN
FARAH
DINA
IVAN
KIM
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000567-p1 | Transform column 1 to uppercase letters and display only this modified column. | {print toupper($1)} | hana indigo 117
alice birch 40
lina amber 64
lina birch 77
bruno harbor 7
eli amber 26
farah juniper 89
| HANA
ALICE
LINA
LINA
BRUNO
ELI
FARAH
| bruno birch 79
lina birch 4
jules grove 90
ivan amber 70
farah birch 112
dina delta 105
ivan cobalt 108
kim amber 84
| BRUNO
LINA
JULES
IVAN
FARAH
DINA
IVAN
KIM
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000567 | qwen/qwen3.7-plus |
awkweave-0000568 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | delta 10
juniper 0
harbor 30
amber 50
birch 35
birch 13
indigo 9
ember 94
grove 27
| elta
unip
arbo
mber
irch
irch
ndig
mber
rove
| cobalt 97
fable 72
delta 19
grove 4
grove 60
cobalt 7
ember 51
birch 2
cobalt 93
birch 33
| obal
able
elta
rove
rove
obal
mber
irch
obal
irch
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000568-p1 | Extract and print a substring of length 4 from column 1, beginning at index 2. | {print substr($1,2,4)} | delta 10
juniper 0
harbor 30
amber 50
birch 35
birch 13
indigo 9
ember 94
grove 27
| elta
unip
arbo
mber
irch
irch
ndig
mber
rove
| cobalt 97
fable 72
delta 19
grove 4
grove 60
cobalt 7
ember 51
birch 2
cobalt 93
birch 33
| obal
able
elta
rove
rove
obal
mber
irch
obal
irch
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000568 | qwen/qwen3.7-plus |
awkweave-0000569 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_ember 26
grove_grove 95
grove_juniper 14
amber_fable 51
fable_grove 33
delta_cobalt 91
grove_juniper 13
| indigo ember
grove grove
grove juniper
amber fable
fable grove
delta cobalt
grove juniper
| ember_grove 63
grove_cobalt 72
ember_birch 107
ember_delta 43
harbor_indigo 52
juniper_juniper 118
harbor_juniper 84
harbor_ember 72
| ember grove
grove cobalt
ember birch
ember delta
harbor indigo
juniper juniper
harbor juniper
harbor ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000569-p1 | Substitute all underscores in column 1 with spaces and output the modified strings. | {gsub(/_/," ",$1);print $1} | indigo_ember 26
grove_grove 95
grove_juniper 14
amber_fable 51
fable_grove 33
delta_cobalt 91
grove_juniper 13
| indigo ember
grove grove
grove juniper
amber fable
fable grove
delta cobalt
grove juniper
| ember_grove 63
grove_cobalt 72
ember_birch 107
ember_delta 43
harbor_indigo 52
juniper_juniper 118
harbor_juniper 84
harbor_ember 72
| ember grove
grove cobalt
ember birch
ember delta
harbor indigo
juniper juniper
harbor juniper
harbor ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000569 | qwen/qwen3.7-plus |
awkweave-0000570 | 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)} | hana birch 13 paused
farah cobalt 50 pending
gus cobalt 100 failed
chen cobalt 64 pending
lina harbor 81 active
jules birch 89 failed
lina juniper 47 ready
dina juniper 51 closed
gus juniper 67 failed
hana delta 1 active
| paused 13 birch hana
pending 50 cobalt farah
failed 100 cobalt gus
pending 64 cobalt chen
active 81 harbor lina
failed 89 birch jules
ready 47 juniper lina
closed 51 juniper dina
failed 67 juniper gus
active 1 delta hana
| dina cobalt 4 failed
bruno birch 89 pending
bruno delta 58 paused
farah fable 36 pending
bruno grove 64 active
jules cobalt 105 closed
gus fable 11 pending
ivan indigo 81 closed
jules delta 105 active
gus indigo 64 pending
| failed 4 cobalt dina
pending 89 birch bruno
paused 58 delta bruno
pending 36 fable farah
active 64 grove bruno
closed 105 cobalt jules
pending 11 fable gus
closed 81 indigo ivan
active 105 delta jules
pending 64 indigo gus
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000570-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)} | hana birch 13 paused
farah cobalt 50 pending
gus cobalt 100 failed
chen cobalt 64 pending
lina harbor 81 active
jules birch 89 failed
lina juniper 47 ready
dina juniper 51 closed
gus juniper 67 failed
hana delta 1 active
| paused 13 birch hana
pending 50 cobalt farah
failed 100 cobalt gus
pending 64 cobalt chen
active 81 harbor lina
failed 89 birch jules
ready 47 juniper lina
closed 51 juniper dina
failed 67 juniper gus
active 1 delta hana
| dina cobalt 4 failed
bruno birch 89 pending
bruno delta 58 paused
farah fable 36 pending
bruno grove 64 active
jules cobalt 105 closed
gus fable 11 pending
ivan indigo 81 closed
jules delta 105 active
gus indigo 64 pending
| failed 4 cobalt dina
pending 89 birch bruno
paused 58 delta bruno
pending 36 fable farah
active 64 grove bruno
closed 105 cobalt jules
pending 11 fable gus
closed 81 indigo ivan
active 105 delta jules
pending 64 indigo gus
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000570 | qwen/qwen3.7-plus |
awkweave-0000571 | Print the number of whitespace-separated fields on each line. | {print NF} | bruno delta 0 pending
chen indigo 49 failed
gus amber 65 closed
dina juniper 14 pending
kim birch 79 closed
chen cobalt 96 closed
ivan juniper 66 closed
chen amber 38 paused
dina delta 118 closed
alice grove 13 active
| 4
4
4
4
4
4
4
4
4
4
| kim harbor 29 closed
hana fable 34 failed
lina grove 97 closed
alice juniper 40 failed
chen harbor 43 paused
kim cobalt 3 ready
kim birch 76 active
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000571-p1 | Display the count of whitespace-delimited fields present in each line. | {print NF} | bruno delta 0 pending
chen indigo 49 failed
gus amber 65 closed
dina juniper 14 pending
kim birch 79 closed
chen cobalt 96 closed
ivan juniper 66 closed
chen amber 38 paused
dina delta 118 closed
alice grove 13 active
| 4
4
4
4
4
4
4
4
4
4
| kim harbor 29 closed
hana fable 34 failed
lina grove 97 closed
alice juniper 40 failed
chen harbor 43 paused
kim cobalt 3 ready
kim birch 76 active
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000571 | qwen/qwen3.7-plus |
awkweave-0000572 | 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]]} | dina delta 87
alice gamma 19
bruno delta 98
farah delta 11
hana alpha 99
kim delta 1
| delta 4
gamma 1
alpha 1
| lina gamma 15
jules gamma 85
bruno gamma 29
dina delta 39
ivan gamma 112
dina beta 75
| gamma 4
delta 1
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000572-p1 | Tally the occurrences of each unique value in column 2. Output each value alongside its count, maintaining the order of their first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | dina delta 87
alice gamma 19
bruno delta 98
farah delta 11
hana alpha 99
kim delta 1
| delta 4
gamma 1
alpha 1
| lina gamma 15
jules gamma 85
bruno gamma 29
dina delta 39
ivan gamma 112
dina beta 75
| gamma 4
delta 1
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000572 | qwen/qwen3.7-plus |
awkweave-0000573 | 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]]} | farah delta 8
hana alpha 22
hana alpha 8
chen alpha 2
gus delta 25
chen alpha 28
| delta 33
alpha 60
| gus delta 28
chen delta 20
bruno alpha 25
lina delta 27
gus alpha 28
gus delta 7
lina delta 24
| delta 106
alpha 53
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000573-p1 | Calculate the sum of column 3 grouped by the values in column 2. Print each group's total in the order the 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]]} | farah delta 8
hana alpha 22
hana alpha 8
chen alpha 2
gus delta 25
chen alpha 28
| delta 33
alpha 60
| gus delta 28
chen delta 20
bruno alpha 25
lina delta 27
gus alpha 28
gus delta 7
lina delta 24
| delta 106
alpha 53
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000573 | qwen/qwen3.7-plus |
awkweave-0000574 | 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]]} | gamma harbor 62
beta birch 91
beta juniper 78
beta amber 106
gamma ember 64
beta juniper 110
alpha ember 34
alpha harbor 20
beta birch 16
| gamma 2
beta 5
alpha 2
| delta cobalt 82
alpha amber 3
delta fable 82
gamma birch 13
alpha amber 2
alpha harbor 100
| delta 2
alpha 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000574-p1 | Identify duplicate values in column 1. Print each repeated value and 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]]} | gamma harbor 62
beta birch 91
beta juniper 78
beta amber 106
gamma ember 64
beta juniper 110
alpha ember 34
alpha harbor 20
beta birch 16
| gamma 2
beta 5
alpha 2
| delta cobalt 82
alpha amber 3
delta fable 82
gamma birch 13
alpha amber 2
alpha harbor 100
| delta 2
alpha 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000574 | qwen/qwen3.7-plus |
awkweave-0000575 | The first row is a header. Print the region column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note state region display_name
r001 eli 2 closed
r002 dina 10 failed
r003 eli 16 failed
r004 lina 15 pending
r005 ivan 17 ready
r006 chen 21 failed
| 2
10
16
15
17
21
| note state region display_name
r001 chen 7 paused
r002 dina 13 pending
r003 eli 18 active
r004 dina 5 pending
r005 hana 6 pending
r006 farah 25 pending
r007 eli 3 pending
r008 eli 16 closed
r009 alice 17 paused
| 7
13
18
5
6
25
3
16
17
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000575-p1 | Treating the first row as a header, output the values from the region column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | note state region display_name
r001 eli 2 closed
r002 dina 10 failed
r003 eli 16 failed
r004 lina 15 pending
r005 ivan 17 ready
r006 chen 21 failed
| 2
10
16
15
17
21
| note state region display_name
r001 chen 7 paused
r002 dina 13 pending
r003 eli 18 active
r004 dina 5 pending
r005 hana 6 pending
r006 farah 25 pending
r007 eli 3 pending
r008 eli 16 closed
r009 alice 17 paused
| 7
13
18
5
6
25
3
16
17
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000575 | qwen/qwen3.7-plus |
awkweave-0000576 | The first row is a header. Print display_name for data rows whose score is greater than 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 eli 10 active
r002 lina 26 ready
r003 dina 3 closed
r004 farah 22 pending
r005 jules 21 pending
r006 chen 1 paused
| lina
| record_id display_name score state
r001 gus 27 failed
r002 chen 26 active
r003 lina 25 paused
r004 lina 28 paused
r005 jules 9 active
r006 jules 24 active
r007 gus 4 active
r008 dina 22 ready
r009 hana 8 closed
| gus
chen
lina
lina
jules
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000576-p1 | With the first row as a header, print the display_name for data rows where the score exceeds 22. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>22{print $h["display_name"]} | record_id display_name score state
r001 eli 10 active
r002 lina 26 ready
r003 dina 3 closed
r004 farah 22 pending
r005 jules 21 pending
r006 chen 1 paused
| lina
| record_id display_name score state
r001 gus 27 failed
r002 chen 26 active
r003 lina 25 paused
r004 lina 28 paused
r005 jules 9 active
r006 jules 24 active
r007 gus 4 active
r008 dina 22 ready
r009 hana 8 closed
| gus
chen
lina
lina
jules
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000576 | qwen/qwen3.7-plus |
awkweave-0000577 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 24 pending
alice 8 active
lina 1 failed
farah 18 pending
farah 25 ready
eli 28 closed
farah 26 paused
| pending
active
failed
pending
ready
closed
paused
| ivan 2 paused
alice 7 failed
dina 11 paused
alice 28 ready
kim 28 ready
ivan 11 failed
lina 20 paused
alice 21 failed
kim 27 pending
| paused
failed
paused
ready
ready
failed
paused
failed
pending
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000577-p1 | Given tab-separated input, extract and print the third column from every record. | BEGIN{FS=OFS="\t"}{print $3} | jules 24 pending
alice 8 active
lina 1 failed
farah 18 pending
farah 25 ready
eli 28 closed
farah 26 paused
| pending
active
failed
pending
ready
closed
paused
| ivan 2 paused
alice 7 failed
dina 11 paused
alice 28 ready
kim 28 ready
ivan 11 failed
lina 20 paused
alice 21 failed
kim 27 pending
| paused
failed
paused
ready
ready
failed
paused
failed
pending
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000577 | qwen/qwen3.7-plus |
awkweave-0000578 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17. | BEGIN{FS=OFS=","}$2>17{print $1} | alice,14,closed
bruno,18,ready
ivan,23,paused
ivan,8,closed
farah,21,active
chen,25,ready
hana,6,failed
eli,23,paused
| bruno
ivan
farah
chen
eli
| chen,24,pending
farah,1,pending
kim,23,active
hana,13,closed
dina,19,active
lina,10,paused
chen,5,paused
ivan,12,paused
| chen
kim
dina
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000578-p1 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 17. | BEGIN{FS=OFS=","}$2>17{print $1} | alice,14,closed
bruno,18,ready
ivan,23,paused
ivan,8,closed
farah,21,active
chen,25,ready
hana,6,failed
eli,23,paused
| bruno
ivan
farah
chen
eli
| chen,24,pending
farah,1,pending
kim,23,active
hana,13,closed
dina,19,active
lina,10,paused
chen,5,paused
ivan,12,paused
| chen
kim
dina
| csv_filter | 2 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0000578 | qwen/qwen3.7-plus |
awkweave-0000579 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | bruno delta 60
hana cobalt 43
kim fable 32
chen ember 48
ivan cobalt 9
hana ember 23
alice grove 10
| bruno delta 60
hana cobalt 43
kim fable 32
chen ember 48
ivan cobalt 9
hana ember 23
alice grove 10
| gus fable 15
bruno grove 26
ivan indigo 17
chen juniper 105
hana harbor 21
gus birch 21
bruno birch 110
chen cobalt 14
gus indigo 109
chen cobalt 31
| gus fable 15
bruno grove 26
ivan indigo 17
chen juniper 105
hana harbor 21
gus birch 21
bruno birch 110
chen cobalt 14
gus indigo 109
chen cobalt 31
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000579-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | bruno delta 60
hana cobalt 43
kim fable 32
chen ember 48
ivan cobalt 9
hana ember 23
alice grove 10
| bruno delta 60
hana cobalt 43
kim fable 32
chen ember 48
ivan cobalt 9
hana ember 23
alice grove 10
| gus fable 15
bruno grove 26
ivan indigo 17
chen juniper 105
hana harbor 21
gus birch 21
bruno birch 110
chen cobalt 14
gus indigo 109
chen cobalt 31
| gus fable 15
bruno grove 26
ivan indigo 17
chen juniper 105
hana harbor 21
gus birch 21
bruno birch 110
chen cobalt 14
gus indigo 109
chen cobalt 31
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000579 | qwen/qwen3.7-plus |
awkweave-0000580 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | lina ember 109 failed
bruno cobalt 32 pending
gus ember 116 closed
kim indigo 90 failed
lina juniper 48 paused
eli ember 64 closed
| bruno cobalt 32 pending
| hana ember 67 ready
jules harbor 88 active
chen delta 20 failed
farah juniper 98 active
dina birch 2 paused
gus harbor 101 closed
lina indigo 36 paused
chen birch 36 ready
| farah juniper 98 active
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000580-p1 | Identify and display the longest line in the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | lina ember 109 failed
bruno cobalt 32 pending
gus ember 116 closed
kim indigo 90 failed
lina juniper 48 paused
eli ember 64 closed
| bruno cobalt 32 pending
| hana ember 67 ready
jules harbor 88 active
chen delta 20 failed
farah juniper 98 active
dina birch 2 paused
gus harbor 101 closed
lina indigo 36 paused
chen birch 36 ready
| farah juniper 98 active
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000580 | qwen/qwen3.7-plus |
awkweave-0000581 | Print every 3rd line starting at line 2 (then line 5, and so on). | NR%3==2 | eli 97
kim 70
gus 83
chen 105
chen 39
dina 105
gus 96
| kim 70
chen 39
| bruno 28
kim 32
gus 63
eli 66
bruno 77
farah 2
| kim 32
bruno 77
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000581-p1 | Output every third line beginning with the second line (i.e., lines 2, 5, 8, etc.). | NR%3==2 | eli 97
kim 70
gus 83
chen 105
chen 39
dina 105
gus 96
| kim 70
chen 39
| bruno 28
kim 32
gus 63
eli 66
bruno 77
farah 2
| kim 32
bruno 77
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000581 | qwen/qwen3.7-plus |
awkweave-0000582 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta juniper 77
delta indigo 37
gamma indigo 24
alpha harbor 83
alpha fable 54
delta juniper 41
alpha delta 8
| 3
| beta cobalt 38
alpha delta 12
beta amber 1
delta ember 55
alpha birch 86
beta grove 4
beta birch 1
alpha birch 101
gamma juniper 85
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000582-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} | delta juniper 77
delta indigo 37
gamma indigo 24
alpha harbor 83
alpha fable 54
delta juniper 41
alpha delta 8
| 3
| beta cobalt 38
alpha delta 12
beta amber 1
delta ember 55
alpha birch 86
beta grove 4
beta birch 1
alpha birch 101
gamma juniper 85
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000582 | qwen/qwen3.7-plus |
awkweave-0000583 | 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 29 0
gus 26 21
gus 5 3
gus 28 5
jules 17 19
jules 7 29
bruno 4 6
eli 20 21
| gus 1.24
gus 1.67
gus 5.60
jules 0.89
jules 0.24
bruno 0.67
eli 0.95
| bruno 5 0
jules 29 6
lina 5 1
eli 28 16
dina 18 11
bruno 15 5
| jules 4.83
lina 5.00
eli 1.75
dina 1.64
bruno 3.00
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000583-p1 | For each row where the third column is non-zero, output 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} | alice 29 0
gus 26 21
gus 5 3
gus 28 5
jules 17 19
jules 7 29
bruno 4 6
eli 20 21
| gus 1.24
gus 1.67
gus 5.60
jules 0.89
jules 0.24
bruno 0.67
eli 0.95
| bruno 5 0
jules 29 6
lina 5 1
eli 28 16
dina 18 11
bruno 15 5
| jules 4.83
lina 5.00
eli 1.75
dina 1.64
bruno 3.00
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000583 | qwen/qwen3.7-plus |
awkweave-0000584 | 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]} | ivan amber 13
dina delta 1
chen cobalt 28
hana ember 10
kim harbor 27
alice amber 29
ivan ember 26
chen indigo 15
| alice amber 29
chen cobalt 28
kim harbor 27
| farah grove 23
ivan delta 1
hana indigo 27
ivan harbor 4
kim cobalt 30
dina indigo 28
farah cobalt 2
dina fable 25
eli amber 21
| kim cobalt 30
dina indigo 28
hana indigo 27
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000584-p1 | Display the top three records based on 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]} | ivan amber 13
dina delta 1
chen cobalt 28
hana ember 10
kim harbor 27
alice amber 29
ivan ember 26
chen indigo 15
| alice amber 29
chen cobalt 28
kim harbor 27
| farah grove 23
ivan delta 1
hana indigo 27
ivan harbor 4
kim cobalt 30
dina indigo 28
farah cobalt 2
dina fable 25
eli amber 21
| kim cobalt 30
dina indigo 28
hana indigo 27
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000584 | qwen/qwen3.7-plus |
awkweave-0000585 | Select the 4th and 3rd fields in that order. | {print $4, $3} | gus eli harbor closed
eli eli grove active
ivan eli fable pending
jules jules grove closed
farah lina birch closed
dina farah indigo pending
| closed harbor
active grove
pending fable
closed grove
closed birch
pending indigo
| kim ivan cobalt paused
bruno alice harbor active
dina gus indigo closed
bruno kim grove closed
jules gus indigo closed
dina hana birch paused
ivan ivan fable active
| paused cobalt
active harbor
closed indigo
closed grove
closed indigo
paused birch
active fable
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000585-p1 | Extract and print the fourth field followed by the third field. | {print $4, $3} | gus eli harbor closed
eli eli grove active
ivan eli fable pending
jules jules grove closed
farah lina birch closed
dina farah indigo pending
| closed harbor
active grove
pending fable
closed grove
closed birch
pending indigo
| kim ivan cobalt paused
bruno alice harbor active
dina gus indigo closed
bruno kim grove closed
jules gus indigo closed
dina hana birch paused
ivan ivan fable active
| paused cobalt
active harbor
closed indigo
closed grove
closed indigo
paused birch
active fable
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000585 | qwen/qwen3.7-plus |
awkweave-0000586 | Print the last field of every input line. | {print $NF} | bruno 114 kim lina fable
kim 56 eli farah grove
kim 36 ivan gus harbor
alice 117 kim eli grove
bruno 52 eli bruno amber
ivan 110 chen jules harbor
alice 53 dina hana indigo
chen 80 lina farah birch
| fable
grove
harbor
grove
amber
harbor
indigo
birch
| eli 36 alice lina birch
ivan 10 jules hana harbor
gus 95 lina farah harbor
bruno 52 farah bruno harbor
alice 93 lina gus grove
alice 91 lina gus grove
alice 30 dina farah harbor
| birch
harbor
harbor
harbor
grove
grove
harbor
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000586-p1 | Output the final field from every line of input. | {print $NF} | bruno 114 kim lina fable
kim 56 eli farah grove
kim 36 ivan gus harbor
alice 117 kim eli grove
bruno 52 eli bruno amber
ivan 110 chen jules harbor
alice 53 dina hana indigo
chen 80 lina farah birch
| fable
grove
harbor
grove
amber
harbor
indigo
birch
| eli 36 alice lina birch
ivan 10 jules hana harbor
gus 95 lina farah harbor
bruno 52 farah bruno harbor
alice 93 lina gus grove
alice 91 lina gus grove
alice 30 dina farah harbor
| birch
harbor
harbor
harbor
grove
grove
harbor
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000586 | qwen/qwen3.7-plus |
awkweave-0000587 | Print the complete records where column 2 is less than 52. | $2 < 52 | paused 91 farah
closed 61 gus
paused 111 farah
ready 31 alice
pending 10 ivan
pending 107 farah
active 94 dina
paused 7 hana
| ready 31 alice
pending 10 ivan
paused 7 hana
| closed 45 jules
pending 41 kim
paused 112 alice
failed 86 hana
failed 1 eli
pending 120 dina
failed 60 bruno
ready 79 ivan
closed 65 ivan
paused 111 chen
| closed 45 jules
pending 41 kim
failed 1 eli
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000587-p1 | Print entire records where the value in the second column is strictly less than 52. | $2 < 52 | paused 91 farah
closed 61 gus
paused 111 farah
ready 31 alice
pending 10 ivan
pending 107 farah
active 94 dina
paused 7 hana
| ready 31 alice
pending 10 ivan
paused 7 hana
| closed 45 jules
pending 41 kim
paused 112 alice
failed 86 hana
failed 1 eli
pending 120 dina
failed 60 bruno
ready 79 ivan
closed 65 ivan
paused 111 chen
| closed 45 jules
pending 41 kim
failed 1 eli
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000587 | qwen/qwen3.7-plus |
awkweave-0000588 | Show whole lines whose 3rd field is between 6 and 21, inclusive. | $3 >= 6 && $3 <= 21 | farah delta 28 paused
alice birch 5 pending
jules harbor 30 failed
bruno cobalt 8 paused
lina harbor 27 pending
dina birch 4 ready
bruno indigo 3 closed
| bruno cobalt 8 paused
| gus indigo 7 ready
hana amber 10 ready
lina indigo 1 closed
dina juniper 2 failed
ivan juniper 25 active
eli grove 9 paused
dina juniper 27 pending
| gus indigo 7 ready
hana amber 10 ready
eli grove 9 paused
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000588-p1 | Display full lines where the third field falls within the inclusive range of 6 to 21. | $3 >= 6 && $3 <= 21 | farah delta 28 paused
alice birch 5 pending
jules harbor 30 failed
bruno cobalt 8 paused
lina harbor 27 pending
dina birch 4 ready
bruno indigo 3 closed
| bruno cobalt 8 paused
| gus indigo 7 ready
hana amber 10 ready
lina indigo 1 closed
dina juniper 2 failed
ivan juniper 25 active
eli grove 9 paused
dina juniper 27 pending
| gus indigo 7 ready
hana amber 10 ready
eli grove 9 paused
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000588 | qwen/qwen3.7-plus |
awkweave-0000589 | Print column 3 only for rows where column 4 is exactly active. | $4 == "active"{print $3} | harbor 2 jules ready
birch 56 gus paused
cobalt 104 hana active
ember 35 eli ready
delta 94 ivan paused
delta 34 kim ready
ember 61 farah closed
delta 61 eli pending
cobalt 75 dina ready
birch 65 chen pending
| hana
| indigo 85 bruno pending
amber 8 farah pending
juniper 31 eli pending
birch 108 farah closed
cobalt 21 lina failed
amber 108 dina failed
harbor 71 lina failed
fable 32 jules active
ember 11 ivan ready
cobalt 90 kim failed
| jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000589-p1 | Output only the third column for rows where the fourth column matches the literal string 'active'. | $4 == "active"{print $3} | harbor 2 jules ready
birch 56 gus paused
cobalt 104 hana active
ember 35 eli ready
delta 94 ivan paused
delta 34 kim ready
ember 61 farah closed
delta 61 eli pending
cobalt 75 dina ready
birch 65 chen pending
| hana
| indigo 85 bruno pending
amber 8 farah pending
juniper 31 eli pending
birch 108 farah closed
cobalt 21 lina failed
amber 108 dina failed
harbor 71 lina failed
fable 32 jules active
ember 11 ivan ready
cobalt 90 kim failed
| jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000589 | qwen/qwen3.7-plus |
awkweave-0000600 | Count all input records and print the total. | END{print NR} | kim 43
lina 94
dina 96
lina 40
chen 95
jules 52
eli 99
dina 20
chen 6
| 9
| ivan 79
jules 120
farah 83
alice 108
gus 1
ivan 82
gus 84
bruno 1
ivan 68
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000600-p1 | Output the total count of all input records. | END{print NR} | kim 43
lina 94
dina 96
lina 40
chen 95
jules 52
eli 99
dina 20
chen 6
| 9
| ivan 79
jules 120
farah 83
alice 108
gus 1
ivan 82
gus 84
bruno 1
ivan 68
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000600 | qwen/qwen3.7-plus |
awkweave-0000601 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina amber 37
ivan cobalt 10
gus amber 0
dina amber 37
eli grove 79
alice delta 72
chen indigo 80
| dina amber 37
ivan cobalt 10
gus amber 0
eli grove 79
alice delta 72
chen indigo 80
| kim fable 94
ivan harbor 98
jules amber 110
bruno ember 116
hana amber 119
jules amber 110
gus indigo 4
chen grove 68
| kim fable 94
ivan harbor 98
jules amber 110
bruno ember 116
hana amber 119
gus indigo 4
chen grove 68
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000601-p1 | Eliminate exact duplicate lines while maintaining the original sequence and keeping the first instance of each. | !seen[$0]++ | dina amber 37
ivan cobalt 10
gus amber 0
dina amber 37
eli grove 79
alice delta 72
chen indigo 80
| dina amber 37
ivan cobalt 10
gus amber 0
eli grove 79
alice delta 72
chen indigo 80
| kim fable 94
ivan harbor 98
jules amber 110
bruno ember 116
hana amber 119
jules amber 110
gus indigo 4
chen grove 68
| kim fable 94
ivan harbor 98
jules amber 110
bruno ember 116
hana amber 119
gus indigo 4
chen grove 68
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000601 | qwen/qwen3.7-plus |
awkweave-0000602 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | gus juniper 54
lina ember 93
jules indigo 76
gus delta 72
dina ember 8
chen harbor 33
| gus juniper 54
lina ember 93
jules indigo 76
gus delta 72
dina ember 8
chen harbor 33
| dina juniper 25
jules birch 55
chen fable 60
alice delta 106
ivan harbor 111
eli birch 35
eli indigo 101
| dina juniper 25
jules birch 55
chen fable 60
alice delta 106
ivan harbor 111
eli birch 35
eli indigo 101
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000602-p1 | Retain only the initial line for every unique value found in the third column, ensuring the original input order is preserved. | !seen[$3]++ | gus juniper 54
lina ember 93
jules indigo 76
gus delta 72
dina ember 8
chen harbor 33
| gus juniper 54
lina ember 93
jules indigo 76
gus delta 72
dina ember 8
chen harbor 33
| dina juniper 25
jules birch 55
chen fable 60
alice delta 106
ivan harbor 111
eli birch 35
eli indigo 101
| dina juniper 25
jules birch 55
chen fable 60
alice delta 106
ivan harbor 111
eli birch 35
eli indigo 101
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000602 | qwen/qwen3.7-plus |
awkweave-0000603 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | lina 6 birch
jules 11 birch
ivan 21 birch
kim 27 juniper
farah 6 birch
lina 4 cobalt
jules 20 harbor
gus 15 cobalt
chen 12 ember
jules 27 birch
| lina 6
jules 17
ivan 38
kim 65
farah 71
lina 75
jules 95
gus 110
chen 122
jules 149
| lina 17 fable
alice 18 cobalt
ivan 25 amber
farah 5 harbor
jules 19 birch
chen 29 delta
chen 20 harbor
| lina 17
alice 35
ivan 60
farah 65
jules 84
chen 113
chen 133
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000603-p1 | For each entry, output the first column alongside the cumulative sum of the second column, using a space as the delimiter. | {s+=$2;print $1,s} | lina 6 birch
jules 11 birch
ivan 21 birch
kim 27 juniper
farah 6 birch
lina 4 cobalt
jules 20 harbor
gus 15 cobalt
chen 12 ember
jules 27 birch
| lina 6
jules 17
ivan 38
kim 65
farah 71
lina 75
jules 95
gus 110
chen 122
jules 149
| lina 17 fable
alice 18 cobalt
ivan 25 amber
farah 5 harbor
jules 19 birch
chen 29 delta
chen 20 harbor
| lina 17
alice 35
ivan 60
farah 65
jules 84
chen 113
chen 133
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000603 | qwen/qwen3.7-plus |
awkweave-0000604 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 22 8 delta
lina 27 27 juniper
gus 22 12 fable
jules 14 14 indigo
kim 28 10 delta
ivan 17 17 cobalt
lina 17 5 ember
dina 21 17 ember
| kim 30
lina 54
gus 34
jules 28
kim 38
ivan 34
lina 22
dina 38
| lina 12 7 grove
chen 3 30 fable
hana 14 24 ember
eli 20 29 harbor
eli 14 16 ember
gus 11 5 grove
| lina 19
chen 33
hana 38
eli 49
eli 30
gus 16
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000604-p1 | Display the first field followed by the sum of the second and third fields for every row. | {print $1,$2+$3} | kim 22 8 delta
lina 27 27 juniper
gus 22 12 fable
jules 14 14 indigo
kim 28 10 delta
ivan 17 17 cobalt
lina 17 5 ember
dina 21 17 ember
| kim 30
lina 54
gus 34
jules 28
kim 38
ivan 34
lina 22
dina 38
| lina 12 7 grove
chen 3 30 fable
hana 14 24 ember
eli 20 29 harbor
eli 14 16 ember
gus 11 5 grove
| lina 19
chen 33
hana 38
eli 49
eli 30
gus 16
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000604 | qwen/qwen3.7-plus |
awkweave-0000605 | Print column 1 and pass when column 2 is at least 26; otherwise print fail. | {print $1,($2>=26?"pass":"fail")} | jules 12
farah 2
lina 4
eli 21
dina 12
gus 8
| jules fail
farah fail
lina fail
eli fail
dina fail
gus fail
| hana 7
chen 3
chen 18
chen 13
dina 30
gus 29
hana 3
kim 13
| hana fail
chen fail
chen fail
chen fail
dina pass
gus pass
hana fail
kim fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000605-p1 | Output the first column along with 'pass' if the second column is 26 or greater; otherwise, output 'fail'. | {print $1,($2>=26?"pass":"fail")} | jules 12
farah 2
lina 4
eli 21
dina 12
gus 8
| jules fail
farah fail
lina fail
eli fail
dina fail
gus fail
| hana 7
chen 3
chen 18
chen 13
dina 30
gus 29
hana 3
kim 13
| hana fail
chen fail
chen fail
chen fail
dina pass
gus pass
hana fail
kim fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000605 | qwen/qwen3.7-plus |
awkweave-0000606 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | ivan cobalt 17
dina cobalt 79
eli indigo 1
hana amber 22
dina delta 63
eli amber 12
ivan amber 11
jules delta 29
bruno indigo 93
eli ember 89
| IVAN
DINA
ELI
HANA
DINA
ELI
IVAN
JULES
BRUNO
ELI
| jules cobalt 64
bruno delta 9
chen harbor 39
farah grove 81
kim cobalt 21
ivan grove 50
jules harbor 25
bruno birch 86
hana delta 1
| JULES
BRUNO
CHEN
FARAH
KIM
IVAN
JULES
BRUNO
HANA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000606-p1 | Transform the first column to uppercase and display only that modified column. | {print toupper($1)} | ivan cobalt 17
dina cobalt 79
eli indigo 1
hana amber 22
dina delta 63
eli amber 12
ivan amber 11
jules delta 29
bruno indigo 93
eli ember 89
| IVAN
DINA
ELI
HANA
DINA
ELI
IVAN
JULES
BRUNO
ELI
| jules cobalt 64
bruno delta 9
chen harbor 39
farah grove 81
kim cobalt 21
ivan grove 50
jules harbor 25
bruno birch 86
hana delta 1
| JULES
BRUNO
CHEN
FARAH
KIM
IVAN
JULES
BRUNO
HANA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000606 | qwen/qwen3.7-plus |
awkweave-0000607 | From column 1, print 3 characters starting at character 2. | {print substr($1,2,3)} | amber 99
delta 82
juniper 87
ember 97
delta 86
harbor 79
harbor 96
grove 1
fable 108
ember 28
| mbe
elt
uni
mbe
elt
arb
arb
rov
abl
mbe
| grove 82
ember 119
harbor 14
grove 16
delta 120
juniper 102
cobalt 5
grove 27
grove 34
| rov
mbe
arb
rov
elt
uni
oba
rov
rov
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000607-p1 | Extract and print a substring of 3 characters from the first column, beginning at the second character. | {print substr($1,2,3)} | amber 99
delta 82
juniper 87
ember 97
delta 86
harbor 79
harbor 96
grove 1
fable 108
ember 28
| mbe
elt
uni
mbe
elt
arb
arb
rov
abl
mbe
| grove 82
ember 119
harbor 14
grove 16
delta 120
juniper 102
cobalt 5
grove 27
grove 34
| rov
mbe
arb
rov
elt
uni
oba
rov
rov
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000607 | qwen/qwen3.7-plus |
awkweave-0000608 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | birch_ember 69
fable_delta 18
indigo_delta 39
harbor_birch 65
delta_harbor 44
cobalt_grove 118
juniper_ember 73
grove_cobalt 90
delta_ember 91
| birch ember
fable delta
indigo delta
harbor birch
delta harbor
cobalt grove
juniper ember
grove cobalt
delta ember
| amber_indigo 68
indigo_ember 41
juniper_harbor 73
fable_ember 26
grove_indigo 23
amber_amber 86
ember_harbor 39
amber_indigo 38
grove_grove 6
fable_ember 45
| amber indigo
indigo ember
juniper harbor
fable ember
grove indigo
amber amber
ember harbor
amber indigo
grove grove
fable ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000608-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | birch_ember 69
fable_delta 18
indigo_delta 39
harbor_birch 65
delta_harbor 44
cobalt_grove 118
juniper_ember 73
grove_cobalt 90
delta_ember 91
| birch ember
fable delta
indigo delta
harbor birch
delta harbor
cobalt grove
juniper ember
grove cobalt
delta ember
| amber_indigo 68
indigo_ember 41
juniper_harbor 73
fable_ember 26
grove_indigo 23
amber_amber 86
ember_harbor 39
amber_indigo 38
grove_grove 6
fable_ember 45
| amber indigo
indigo ember
juniper harbor
fable ember
grove indigo
amber amber
ember harbor
amber indigo
grove grove
fable ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000608 | qwen/qwen3.7-plus |
awkweave-0000609 | 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)} | dina birch 69 ready
gus juniper 48 ready
farah grove 116 closed
gus ember 33 failed
ivan grove 79 active
hana juniper 111 pending
| ready 69 birch dina
ready 48 juniper gus
closed 116 grove farah
failed 33 ember gus
active 79 grove ivan
pending 111 juniper hana
| farah grove 75 pending
bruno juniper 33 failed
bruno cobalt 37 paused
eli amber 28 failed
alice indigo 71 ready
farah harbor 62 paused
| pending 75 grove farah
failed 33 juniper bruno
paused 37 cobalt bruno
failed 28 amber eli
ready 71 indigo alice
paused 62 harbor farah
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0000609-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)} | dina birch 69 ready
gus juniper 48 ready
farah grove 116 closed
gus ember 33 failed
ivan grove 79 active
hana juniper 111 pending
| ready 69 birch dina
ready 48 juniper gus
closed 116 grove farah
failed 33 ember gus
active 79 grove ivan
pending 111 juniper hana
| farah grove 75 pending
bruno juniper 33 failed
bruno cobalt 37 paused
eli amber 28 failed
alice indigo 71 ready
farah harbor 62 paused
| pending 75 grove farah
failed 33 juniper bruno
paused 37 cobalt bruno
failed 28 amber eli
ready 71 indigo alice
paused 62 harbor farah
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0000609 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.