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-0001330 | Print column 2 only for rows where column 3 is exactly ready. | $3 == "ready"{print $2} | indigo chen paused 86
ember farah ready 57
harbor lina paused 34
amber jules paused 84
grove hana closed 29
amber gus ready 53
| farah
gus
| cobalt gus pending 70
harbor dina failed 28
juniper jules failed 89
fable gus active 5
fable lina active 23
juniper kim active 100
cobalt eli pending 102
grove alice pending 78
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0001330-p1 | Display the second column for rows where the third column matches 'ready' exactly. | $3 == "ready"{print $2} | indigo chen paused 86
ember farah ready 57
harbor lina paused 34
amber jules paused 84
grove hana closed 29
amber gus ready 53
| farah
gus
| cobalt gus pending 70
harbor dina failed 28
juniper jules failed 89
fable gus active 5
fable lina active 23
juniper kim active 100
cobalt eli pending 102
grove alice pending 78
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001330 | qwen/qwen3.7-plus | |
awkweave-0001331 | Print all fields from lines where field 3 begins with ERROR. | $3 ~ /^ERROR/ | 25 grove ERROR
119 harbor DEBUG
34 birch INFO
0 delta WARN
47 fable WARN
20 ember INFO
20 birch INFO
50 grove WARN
| 25 grove ERROR
| 60 ember ERROR
109 birch INFO
46 indigo WARN
104 ember INFO
37 delta WARN
113 delta ERROR
61 fable WARN
113 ember INFO
75 indigo ERROR
| 60 ember ERROR
113 delta ERROR
75 indigo ERROR
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001331-p1 | Output all fields from lines where the third field starts with 'ERROR'. | $3 ~ /^ERROR/ | 25 grove ERROR
119 harbor DEBUG
34 birch INFO
0 delta WARN
47 fable WARN
20 ember INFO
20 birch INFO
50 grove WARN
| 25 grove ERROR
| 60 ember ERROR
109 birch INFO
46 indigo WARN
104 ember INFO
37 delta WARN
113 delta ERROR
61 fable WARN
113 ember INFO
75 indigo ERROR
| 60 ember ERROR
113 delta ERROR
75 indigo ERROR
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001331 | qwen/qwen3.7-plus |
awkweave-0001332 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | grove 62 active
harbor 61 active
cobalt 19 ready
birch 65 closed
cobalt 36 paused
cobalt 34 pending
ember 17 ready
grove 19 pending
indigo 119 pending
amber 3 paused
ember 999 active
| grove 62 active
harbor 61 active
cobalt 19 ready
birch 65 closed
cobalt 36 paused
cobalt 34 pending
grove 19 pending
indigo 119 pending
amber 3 paused
| delta 51 closed
grove 25 pending
fable 56 active
ember 40 ready
cobalt 17 pending
cobalt 90 ready
juniper 100 pending
juniper 93 closed
ember 999 active
| delta 51 closed
grove 25 pending
fable 56 active
cobalt 17 pending
cobalt 90 ready
juniper 100 pending
juniper 93 closed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001332-p1 | Print every line that does not contain the exact string 'ember'. | $0 !~ /ember/ | grove 62 active
harbor 61 active
cobalt 19 ready
birch 65 closed
cobalt 36 paused
cobalt 34 pending
ember 17 ready
grove 19 pending
indigo 119 pending
amber 3 paused
ember 999 active
| grove 62 active
harbor 61 active
cobalt 19 ready
birch 65 closed
cobalt 36 paused
cobalt 34 pending
grove 19 pending
indigo 119 pending
amber 3 paused
| delta 51 closed
grove 25 pending
fable 56 active
ember 40 ready
cobalt 17 pending
cobalt 90 ready
juniper 100 pending
juniper 93 closed
ember 999 active
| delta 51 closed
grove 25 pending
fable 56 active
cobalt 17 pending
cobalt 90 ready
juniper 100 pending
juniper 93 closed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001332 | qwen/qwen3.7-plus |
awkweave-0001333 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | gus cobalt 96
ivan juniper 56
dina cobalt 27
hana birch 59
eli delta 36
farah amber 42
alice birch 42
| dina cobalt 27
hana birch 59
eli delta 36
farah amber 42
| lina ember 56
chen birch 94
kim harbor 75
hana delta 28
chen amber 56
alice fable 40
jules cobalt 78
jules harbor 9
farah harbor 67
kim harbor 35
| kim harbor 75
hana delta 28
chen amber 56
alice fable 40
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001333-p1 | Output lines 3 to 6, inclusive of both endpoints. | NR >= 3 && NR <= 6 | gus cobalt 96
ivan juniper 56
dina cobalt 27
hana birch 59
eli delta 36
farah amber 42
alice birch 42
| dina cobalt 27
hana birch 59
eli delta 36
farah amber 42
| lina ember 56
chen birch 94
kim harbor 75
hana delta 28
chen amber 56
alice fable 40
jules cobalt 78
jules harbor 9
farah harbor 67
kim harbor 35
| kim harbor 75
hana delta 28
chen amber 56
alice fable 40
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001333 | qwen/qwen3.7-plus |
awkweave-0001334 | Output only the first 5 records. | NR <= 5 | dina 37 ember
kim 2 amber
hana 57 fable
jules 109 fable
chen 58 juniper
gus 12 harbor
gus 103 delta
jules 64 amber
jules 19 birch
hana 10 birch
| dina 37 ember
kim 2 amber
hana 57 fable
jules 109 fable
chen 58 juniper
| chen 104 grove
bruno 96 harbor
kim 69 harbor
chen 115 birch
gus 113 amber
kim 109 fable
hana 89 cobalt
lina 44 birch
| chen 104 grove
bruno 96 harbor
kim 69 harbor
chen 115 birch
gus 113 amber
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001334-p1 | Show only the first 5 records. | NR <= 5 | dina 37 ember
kim 2 amber
hana 57 fable
jules 109 fable
chen 58 juniper
gus 12 harbor
gus 103 delta
jules 64 amber
jules 19 birch
hana 10 birch
| dina 37 ember
kim 2 amber
hana 57 fable
jules 109 fable
chen 58 juniper
| chen 104 grove
bruno 96 harbor
kim 69 harbor
chen 115 birch
gus 113 amber
kim 109 fable
hana 89 cobalt
lina 44 birch
| chen 104 grove
bruno 96 harbor
kim 69 harbor
chen 115 birch
gus 113 amber
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001334 | qwen/qwen3.7-plus |
awkweave-0001335 | Skip the first line and print every remaining line unchanged. | NR > 1 | eli 101 ember
lina 65 fable
dina 40 amber
chen 10 amber
alice 75 juniper
dina 98 amber
| lina 65 fable
dina 40 amber
chen 10 amber
alice 75 juniper
dina 98 amber
| eli 94 ember
gus 88 grove
alice 33 amber
eli 24 delta
hana 46 delta
farah 86 delta
dina 20 ember
ivan 35 amber
| gus 88 grove
alice 33 amber
eli 24 delta
hana 46 delta
farah 86 delta
dina 20 ember
ivan 35 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001335-p1 | Omit the first line and print all subsequent lines as they are. | NR > 1 | eli 101 ember
lina 65 fable
dina 40 amber
chen 10 amber
alice 75 juniper
dina 98 amber
| lina 65 fable
dina 40 amber
chen 10 amber
alice 75 juniper
dina 98 amber
| eli 94 ember
gus 88 grove
alice 33 amber
eli 24 delta
hana 46 delta
farah 86 delta
dina 20 ember
ivan 35 amber
| gus 88 grove
alice 33 amber
eli 24 delta
hana 46 delta
farah 86 delta
dina 20 ember
ivan 35 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001335 | qwen/qwen3.7-plus |
awkweave-0001336 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | lina paused 50
farah active 79
dina active 46
hana failed 43
alice ready 30
hana closed 99
lina active 111
dina failed 68
eli closed 81
alice paused 64
| 2
| farah pending 41
alice ready 114
chen failed 95
farah ready 45
hana closed 40
bruno paused 17
alice pending 59
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001336-p1 | Count records with 'failed' in column 2; output 0 if no such records exist. | $2 == "failed"{n++}END{print n+0} | lina paused 50
farah active 79
dina active 46
hana failed 43
alice ready 30
hana closed 99
lina active 111
dina failed 68
eli closed 81
alice paused 64
| 2
| farah pending 41
alice ready 114
chen failed 95
farah ready 45
hana closed 40
bruno paused 17
alice pending 59
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001336 | qwen/qwen3.7-plus |
awkweave-0001337 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | harbor 27 kim
ember 7 kim
juniper 29 gus
cobalt 28 farah
cobalt 4 alice
amber 8 hana
birch 23 hana
birch 5 bruno
juniper 15 kim
| 146
| grove 14 farah
cobalt 2 lina
cobalt 26 dina
ember 18 gus
cobalt 9 dina
juniper 1 kim
delta 22 ivan
amber 18 gus
fable 25 jules
| 135
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001337-p1 | Compute and display the sum of integer values in column 2. | {s+=$2}END{print s+0} | harbor 27 kim
ember 7 kim
juniper 29 gus
cobalt 28 farah
cobalt 4 alice
amber 8 hana
birch 23 hana
birch 5 bruno
juniper 15 kim
| 146
| grove 14 farah
cobalt 2 lina
cobalt 26 dina
ember 18 gus
cobalt 9 dina
juniper 1 kim
delta 22 ivan
amber 18 gus
fable 25 jules
| 135
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001337 | qwen/qwen3.7-plus |
awkweave-0001338 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | dina 1 harbor
chen 27 grove
kim 29 fable
dina 10 amber
kim 9 juniper
kim 19 cobalt
lina 11 harbor
lina 28 harbor
alice 13 indigo
| 16.33
| chen 26 fable
gus 15 juniper
alice 16 indigo
alice 16 birch
farah 28 harbor
ivan 24 cobalt
| 20.83
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001338-p1 | Print the average of column 2, rounded to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | dina 1 harbor
chen 27 grove
kim 29 fable
dina 10 amber
kim 9 juniper
kim 19 cobalt
lina 11 harbor
lina 28 harbor
alice 13 indigo
| 16.33
| chen 26 fable
gus 15 juniper
alice 16 indigo
alice 16 birch
farah 28 harbor
ivan 24 cobalt
| 20.83
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001338 | qwen/qwen3.7-plus |
awkweave-0001339 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 11 hana
indigo 16 kim
cobalt 7 ivan
indigo 24 chen
juniper 15 hana
juniper 22 eli
juniper 28 farah
| 7
| birch 29 bruno
grove 12 eli
fable 20 jules
grove 12 eli
fable 10 eli
amber 10 farah
amber 30 eli
harbor 14 ivan
| 10
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001339-p1 | Identify and output the minimum numeric value found in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 11 hana
indigo 16 kim
cobalt 7 ivan
indigo 24 chen
juniper 15 hana
juniper 22 eli
juniper 28 farah
| 7
| birch 29 bruno
grove 12 eli
fable 20 jules
grove 12 eli
fable 10 eli
amber 10 farah
amber 30 eli
harbor 14 ivan
| 10
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001339 | qwen/qwen3.7-plus |
awkweave-0001340 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 30 fable jules
18 cobalt gus
23 amber lina
8 juniper chen
23 indigo lina
29 juniper gus
10 delta alice
11 harbor hana
| 30
| 5 indigo lina
6 ember dina
26 grove chen
13 ember kim
4 ember bruno
1 fable chen
| 26
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001340-p1 | Identify and output the maximum numeric value found in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 30 fable jules
18 cobalt gus
23 amber lina
8 juniper chen
23 indigo lina
29 juniper gus
10 delta alice
11 harbor hana
| 30
| 5 indigo lina
6 ember dina
26 grove chen
13 ember kim
4 ember bruno
1 fable chen
| 26
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001340 | qwen/qwen3.7-plus |
awkweave-0001341 | Count all input records and print the total. | END{print NR} | bruno 86
alice 26
farah 8
eli 57
hana 65
lina 80
farah 28
| 7
| gus 58
bruno 57
bruno 35
jules 102
chen 58
jules 96
kim 71
ivan 74
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001341-p1 | Count the total number of input records and print the result. | END{print NR} | bruno 86
alice 26
farah 8
eli 57
hana 65
lina 80
farah 28
| 7
| gus 58
bruno 57
bruno 35
jules 102
chen 58
jules 96
kim 71
ivan 74
| 8
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001341 | qwen/qwen3.7-plus |
awkweave-0001342 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | dina cobalt 24
gus fable 36
jules birch 114
jules birch 114
gus amber 24
hana indigo 51
chen harbor 69
kim indigo 79
eli delta 98
dina harbor 50
| dina cobalt 24
gus fable 36
jules birch 114
gus amber 24
hana indigo 51
chen harbor 69
kim indigo 79
eli delta 98
dina harbor 50
| dina delta 49
kim indigo 106
alice delta 96
bruno cobalt 65
jules grove 71
chen grove 32
dina ember 50
eli cobalt 33
dina delta 49
alice ember 91
gus delta 5
| dina delta 49
kim indigo 106
alice delta 96
bruno cobalt 65
jules grove 71
chen grove 32
dina ember 50
eli cobalt 33
alice ember 91
gus delta 5
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001342-p1 | Deduplicate the input by removing exact duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | dina cobalt 24
gus fable 36
jules birch 114
jules birch 114
gus amber 24
hana indigo 51
chen harbor 69
kim indigo 79
eli delta 98
dina harbor 50
| dina cobalt 24
gus fable 36
jules birch 114
gus amber 24
hana indigo 51
chen harbor 69
kim indigo 79
eli delta 98
dina harbor 50
| dina delta 49
kim indigo 106
alice delta 96
bruno cobalt 65
jules grove 71
chen grove 32
dina ember 50
eli cobalt 33
dina delta 49
alice ember 91
gus delta 5
| dina delta 49
kim indigo 106
alice delta 96
bruno cobalt 65
jules grove 71
chen grove 32
dina ember 50
eli cobalt 33
alice ember 91
gus delta 5
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001342 | qwen/qwen3.7-plus |
awkweave-0001343 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | lina cobalt 49
hana juniper 24
jules ember 110
chen cobalt 44
bruno harbor 119
lina fable 15
| lina cobalt 49
hana juniper 24
jules ember 110
chen cobalt 44
bruno harbor 119
lina fable 15
| bruno birch 1
lina indigo 38
eli grove 22
chen indigo 53
eli harbor 52
kim juniper 100
| bruno birch 1
lina indigo 38
eli grove 22
chen indigo 53
eli harbor 52
kim juniper 100
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001343-p1 | Retain only the first row for every unique value found in the third column, ensuring the original input order is preserved. | !seen[$3]++ | lina cobalt 49
hana juniper 24
jules ember 110
chen cobalt 44
bruno harbor 119
lina fable 15
| lina cobalt 49
hana juniper 24
jules ember 110
chen cobalt 44
bruno harbor 119
lina fable 15
| bruno birch 1
lina indigo 38
eli grove 22
chen indigo 53
eli harbor 52
kim juniper 100
| bruno birch 1
lina indigo 38
eli grove 22
chen indigo 53
eli harbor 52
kim juniper 100
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001343 | qwen/qwen3.7-plus |
awkweave-0001344 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | dina 6 juniper
bruno 22 grove
farah 12 juniper
ivan 10 indigo
alice 4 fable
dina 15 harbor
chen 20 birch
kim 8 harbor
| dina 6
bruno 28
farah 40
ivan 50
alice 54
dina 69
chen 89
kim 97
| kim 28 grove
gus 7 delta
hana 1 ember
chen 20 harbor
farah 8 harbor
lina 20 cobalt
lina 30 cobalt
| kim 28
gus 35
hana 36
chen 56
farah 64
lina 84
lina 114
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001344-p1 | Output the first column alongside the cumulative sum of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | dina 6 juniper
bruno 22 grove
farah 12 juniper
ivan 10 indigo
alice 4 fable
dina 15 harbor
chen 20 birch
kim 8 harbor
| dina 6
bruno 28
farah 40
ivan 50
alice 54
dina 69
chen 89
kim 97
| kim 28 grove
gus 7 delta
hana 1 ember
chen 20 harbor
farah 8 harbor
lina 20 cobalt
lina 30 cobalt
| kim 28
gus 35
hana 36
chen 56
farah 64
lina 84
lina 114
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001344 | qwen/qwen3.7-plus |
awkweave-0001345 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | lina 28 14 delta
hana 22 18 grove
eli 13 7 harbor
ivan 14 20 indigo
chen 4 23 indigo
chen 2 23 birch
| lina 42
hana 40
eli 20
ivan 34
chen 27
chen 25
| jules 29 2 grove
chen 16 13 delta
farah 15 18 cobalt
chen 11 2 fable
chen 30 26 grove
lina 30 1 fable
dina 28 20 fable
alice 17 2 juniper
| jules 31
chen 29
farah 33
chen 13
chen 56
lina 31
dina 48
alice 19
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001345-p1 | For each row, display the first field followed by the total of the second and third fields. | {print $1,$2+$3} | lina 28 14 delta
hana 22 18 grove
eli 13 7 harbor
ivan 14 20 indigo
chen 4 23 indigo
chen 2 23 birch
| lina 42
hana 40
eli 20
ivan 34
chen 27
chen 25
| jules 29 2 grove
chen 16 13 delta
farah 15 18 cobalt
chen 11 2 fable
chen 30 26 grove
lina 30 1 fable
dina 28 20 fable
alice 17 2 juniper
| jules 31
chen 29
farah 33
chen 13
chen 56
lina 31
dina 48
alice 19
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001345 | qwen/qwen3.7-plus |
awkweave-0001346 | Print column 1 and pass when column 2 is at least 25; otherwise print fail. | {print $1,($2>=25?"pass":"fail")} | chen 11
ivan 3
lina 7
chen 20
lina 22
gus 23
farah 8
eli 12
kim 26
gus 7
| chen fail
ivan fail
lina fail
chen fail
lina fail
gus fail
farah fail
eli fail
kim pass
gus fail
| gus 14
gus 7
farah 1
farah 5
chen 18
gus 11
dina 3
farah 10
jules 10
| gus fail
gus fail
farah fail
farah fail
chen fail
gus fail
dina fail
farah fail
jules fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001346-p1 | Output the first column; if the second column is 25 or greater, append 'pass', otherwise append 'fail'. | {print $1,($2>=25?"pass":"fail")} | chen 11
ivan 3
lina 7
chen 20
lina 22
gus 23
farah 8
eli 12
kim 26
gus 7
| chen fail
ivan fail
lina fail
chen fail
lina fail
gus fail
farah fail
eli fail
kim pass
gus fail
| gus 14
gus 7
farah 1
farah 5
chen 18
gus 11
dina 3
farah 10
jules 10
| gus fail
gus fail
farah fail
farah fail
chen fail
gus fail
dina fail
farah fail
jules fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001346 | qwen/qwen3.7-plus |
awkweave-0001347 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | farah amber 73
farah delta 8
bruno harbor 38
kim amber 46
hana fable 18
hana birch 7
dina indigo 84
| FARAH
FARAH
BRUNO
KIM
HANA
HANA
DINA
| chen indigo 48
kim grove 43
farah indigo 19
chen fable 120
farah fable 53
bruno harbor 53
bruno cobalt 87
dina juniper 38
| CHEN
KIM
FARAH
CHEN
FARAH
BRUNO
BRUNO
DINA
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001347-p1 | Transform the first column to uppercase and output only that modified column. | {print toupper($1)} | farah amber 73
farah delta 8
bruno harbor 38
kim amber 46
hana fable 18
hana birch 7
dina indigo 84
| FARAH
FARAH
BRUNO
KIM
HANA
HANA
DINA
| chen indigo 48
kim grove 43
farah indigo 19
chen fable 120
farah fable 53
bruno harbor 53
bruno cobalt 87
dina juniper 38
| CHEN
KIM
FARAH
CHEN
FARAH
BRUNO
BRUNO
DINA
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001347 | qwen/qwen3.7-plus |
awkweave-0001348 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | delta 23
fable 78
delta 103
harbor 76
harbor 41
fable 104
| lta
ble
lta
rbo
rbo
ble
| birch 103
fable 16
juniper 46
grove 84
harbor 100
harbor 42
| rch
ble
nip
ove
rbo
rbo
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001348-p1 | Extract and print a substring of 3 characters from the first column, starting at the third character position. | {print substr($1,3,3)} | delta 23
fable 78
delta 103
harbor 76
harbor 41
fable 104
| lta
ble
lta
rbo
rbo
ble
| birch 103
fable 16
juniper 46
grove 84
harbor 100
harbor 42
| rch
ble
nip
ove
rbo
rbo
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001348 | qwen/qwen3.7-plus |
awkweave-0001349 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | amber_amber 70
harbor_amber 58
ember_harbor 67
harbor_juniper 73
grove_harbor 41
cobalt_ember 100
fable_ember 94
birch_birch 109
| amber amber
harbor amber
ember harbor
harbor juniper
grove harbor
cobalt ember
fable ember
birch birch
| cobalt_fable 92
cobalt_juniper 2
cobalt_grove 77
fable_harbor 23
fable_amber 118
amber_grove 83
| cobalt fable
cobalt juniper
cobalt grove
fable harbor
fable amber
amber grove
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001349-p1 | Substitute all underscores in the first column with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | amber_amber 70
harbor_amber 58
ember_harbor 67
harbor_juniper 73
grove_harbor 41
cobalt_ember 100
fable_ember 94
birch_birch 109
| amber amber
harbor amber
ember harbor
harbor juniper
grove harbor
cobalt ember
fable ember
birch birch
| cobalt_fable 92
cobalt_juniper 2
cobalt_grove 77
fable_harbor 23
fable_amber 118
amber_grove 83
| cobalt fable
cobalt juniper
cobalt grove
fable harbor
fable amber
amber grove
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001349 | qwen/qwen3.7-plus |
awkweave-0001350 | 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)} | kim fable 19 pending
alice indigo 82 closed
dina juniper 23 failed
kim ember 52 ready
lina delta 46 failed
gus delta 71 closed
hana delta 80 active
farah amber 20 active
bruno grove 65 paused
bruno delta 40 pending
| pending 19 fable kim
closed 82 indigo alice
failed 23 juniper dina
ready 52 ember kim
failed 46 delta lina
closed 71 delta gus
active 80 delta hana
active 20 amber farah
paused 65 grove bruno
pending 40 delta bruno
| chen ember 115 active
gus amber 55 closed
dina indigo 63 ready
hana delta 48 closed
eli cobalt 63 pending
gus juniper 92 ready
hana ember 117 closed
chen juniper 66 pending
lina fable 57 active
chen harbor 45 pending
| active 115 ember chen
closed 55 amber gus
ready 63 indigo dina
closed 48 delta hana
pending 63 cobalt eli
ready 92 juniper gus
closed 117 ember hana
pending 66 juniper chen
active 57 fable lina
pending 45 harbor chen
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001350-p1 | Reverse the sequence of fields for every line and print all fields in the new order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim fable 19 pending
alice indigo 82 closed
dina juniper 23 failed
kim ember 52 ready
lina delta 46 failed
gus delta 71 closed
hana delta 80 active
farah amber 20 active
bruno grove 65 paused
bruno delta 40 pending
| pending 19 fable kim
closed 82 indigo alice
failed 23 juniper dina
ready 52 ember kim
failed 46 delta lina
closed 71 delta gus
active 80 delta hana
active 20 amber farah
paused 65 grove bruno
pending 40 delta bruno
| chen ember 115 active
gus amber 55 closed
dina indigo 63 ready
hana delta 48 closed
eli cobalt 63 pending
gus juniper 92 ready
hana ember 117 closed
chen juniper 66 pending
lina fable 57 active
chen harbor 45 pending
| active 115 ember chen
closed 55 amber gus
ready 63 indigo dina
closed 48 delta hana
pending 63 cobalt eli
ready 92 juniper gus
closed 117 ember hana
pending 66 juniper chen
active 57 fable lina
pending 45 harbor chen
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001350 | qwen/qwen3.7-plus |
awkweave-0001351 | Print the number of whitespace-separated fields on each line. | {print NF} | jules cobalt 20 pending
alice ember 49 pending
lina juniper 66 ready
ivan indigo 30 closed
farah cobalt 32 failed
chen indigo 118 closed
| 4
4
4
4
4
4
| bruno harbor 64 closed
ivan harbor 61 active
farah birch 98 pending
eli indigo 37 paused
hana fable 22 pending
chen birch 90 active
kim delta 23 closed
| 4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001351-p1 | Output the count of whitespace-delimited fields present on each line. | {print NF} | jules cobalt 20 pending
alice ember 49 pending
lina juniper 66 ready
ivan indigo 30 closed
farah cobalt 32 failed
chen indigo 118 closed
| 4
4
4
4
4
4
| bruno harbor 64 closed
ivan harbor 61 active
farah birch 98 pending
eli indigo 37 paused
hana fable 22 pending
chen birch 90 active
kim delta 23 closed
| 4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001351 | qwen/qwen3.7-plus |
awkweave-0001352 | 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 alpha 35
ivan gamma 110
kim delta 73
kim gamma 9
dina delta 51
hana delta 54
| alpha 1
gamma 2
delta 3
| ivan alpha 59
hana delta 65
farah gamma 4
jules gamma 13
hana gamma 44
eli gamma 16
bruno gamma 39
gus gamma 4
ivan delta 40
| alpha 1
delta 2
gamma 6
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001352-p1 | Tally the number of records for each unique value in the second column, printing the value and its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | dina alpha 35
ivan gamma 110
kim delta 73
kim gamma 9
dina delta 51
hana delta 54
| alpha 1
gamma 2
delta 3
| ivan alpha 59
hana delta 65
farah gamma 4
jules gamma 13
hana gamma 44
eli gamma 16
bruno gamma 39
gus gamma 4
ivan delta 40
| alpha 1
delta 2
gamma 6
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001352 | qwen/qwen3.7-plus |
awkweave-0001353 | 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]]} | eli alpha 16
kim alpha 6
alice beta 5
dina delta 12
jules delta 27
eli beta 5
jules beta 27
kim gamma 9
| alpha 22
beta 37
delta 39
gamma 9
| dina gamma 27
jules gamma 12
farah beta 18
lina gamma 23
lina gamma 8
lina gamma 1
| gamma 71
beta 18
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001353-p1 | Calculate the sum of the third column for each group defined by the second column, displaying the results in the order of the group's 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]]} | eli alpha 16
kim alpha 6
alice beta 5
dina delta 12
jules delta 27
eli beta 5
jules beta 27
kim gamma 9
| alpha 22
beta 37
delta 39
gamma 9
| dina gamma 27
jules gamma 12
farah beta 18
lina gamma 23
lina gamma 8
lina gamma 1
| gamma 71
beta 18
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001353 | qwen/qwen3.7-plus |
awkweave-0001354 | 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 amber 88
alpha ember 91
alpha fable 120
alpha juniper 48
delta fable 52
beta fable 0
beta ember 94
delta ember 10
beta indigo 31
| alpha 4
delta 2
beta 3
| gamma grove 87
beta harbor 118
alpha ember 78
alpha birch 51
alpha cobalt 54
alpha harbor 90
delta ember 11
| alpha 4
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001354-p1 | List each unique value from the first column along with its frequency, ordered by when it first appears. | {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 amber 88
alpha ember 91
alpha fable 120
alpha juniper 48
delta fable 52
beta fable 0
beta ember 94
delta ember 10
beta indigo 31
| alpha 4
delta 2
beta 3
| gamma grove 87
beta harbor 118
alpha ember 78
alpha birch 51
alpha cobalt 54
alpha harbor 90
delta ember 11
| alpha 4
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001354 | qwen/qwen3.7-plus |
awkweave-0001355 | 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"]} | state region display_name record_id
r001 hana 7 active
r002 farah 10 failed
r003 chen 24 active
r004 hana 9 pending
r005 ivan 9 failed
r006 gus 13 paused
r007 chen 22 failed
r008 ivan 28 failed
r009 eli 3 closed
r010 eli 11 active
| hana
farah
chen
hana
ivan
gus
chen
ivan
eli
eli
| state region display_name record_id
r001 jules 23 paused
r002 chen 25 pending
r003 chen 11 ready
r004 jules 30 ready
r005 dina 6 closed
r006 bruno 10 pending
r007 bruno 30 ready
r008 jules 7 paused
r009 farah 9 paused
| jules
chen
chen
jules
dina
bruno
bruno
jules
farah
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001355-p1 | Skip the header row and output the region field for all remaining records. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | state region display_name record_id
r001 hana 7 active
r002 farah 10 failed
r003 chen 24 active
r004 hana 9 pending
r005 ivan 9 failed
r006 gus 13 paused
r007 chen 22 failed
r008 ivan 28 failed
r009 eli 3 closed
r010 eli 11 active
| hana
farah
chen
hana
ivan
gus
chen
ivan
eli
eli
| state region display_name record_id
r001 jules 23 paused
r002 chen 25 pending
r003 chen 11 ready
r004 jules 30 ready
r005 dina 6 closed
r006 bruno 10 pending
r007 bruno 30 ready
r008 jules 7 paused
r009 farah 9 paused
| jules
chen
chen
jules
dina
bruno
bruno
jules
farah
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001355 | qwen/qwen3.7-plus |
awkweave-0001356 | 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 lina 7 pending
r002 lina 9 pending
r003 chen 15 active
r004 farah 4 ready
r005 farah 5 ready
r006 alice 30 pending
r007 farah 24 pending
r008 chen 10 ready
r009 farah 4 ready
r010 gus 29 active
| alice
farah
gus
| record_id display_name score state
r001 chen 21 failed
r002 alice 9 ready
r003 kim 10 paused
r004 dina 10 failed
r005 jules 2 ready
r006 kim 8 active
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0001356-p1 | Ignoring the header, display the display_name for any row where the score is strictly 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 lina 7 pending
r002 lina 9 pending
r003 chen 15 active
r004 farah 4 ready
r005 farah 5 ready
r006 alice 30 pending
r007 farah 24 pending
r008 chen 10 ready
r009 farah 4 ready
r010 gus 29 active
| alice
farah
gus
| record_id display_name score state
r001 chen 21 failed
r002 alice 9 ready
r003 kim 10 paused
r004 dina 10 failed
r005 jules 2 ready
r006 kim 8 active
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001356 | qwen/qwen3.7-plus | |
awkweave-0001357 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | hana 2 pending
ivan 7 closed
farah 2 active
bruno 5 paused
dina 16 failed
bruno 25 pending
kim 23 active
ivan 8 pending
| hana
ivan
farah
bruno
dina
bruno
kim
ivan
| chen 27 failed
eli 14 failed
kim 26 failed
gus 15 closed
eli 14 pending
alice 28 ready
chen 29 closed
| chen
eli
kim
gus
eli
alice
chen
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001357-p1 | The input is tab-separated. Print column 1 from every record. | BEGIN{FS=OFS="\t"}{print $1} | hana 2 pending
ivan 7 closed
farah 2 active
bruno 5 paused
dina 16 failed
bruno 25 pending
kim 23 active
ivan 8 pending
| hana
ivan
farah
bruno
dina
bruno
kim
ivan
| chen 27 failed
eli 14 failed
kim 26 failed
gus 15 closed
eli 14 pending
alice 28 ready
chen 29 closed
| chen
eli
kim
gus
eli
alice
chen
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0001357 | qwen/qwen3.7-plus |
awkweave-0001358 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 13. | BEGIN{FS=OFS=","}$2>13{print $1} | farah,26,ready
bruno,15,paused
ivan,30,active
dina,19,closed
eli,13,active
ivan,27,closed
eli,15,ready
| farah
bruno
ivan
dina
ivan
eli
| chen,18,ready
farah,27,closed
farah,20,failed
farah,4,pending
jules,25,active
lina,10,closed
gus,14,failed
ivan,1,failed
jules,30,active
| chen
farah
farah
jules
gus
jules
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001358-p1 | For simple CSV data without quoted commas, output the first column only if the second column is greater than 13. | BEGIN{FS=OFS=","}$2>13{print $1} | farah,26,ready
bruno,15,paused
ivan,30,active
dina,19,closed
eli,13,active
ivan,27,closed
eli,15,ready
| farah
bruno
ivan
dina
ivan
eli
| chen,18,ready
farah,27,closed
farah,20,failed
farah,4,pending
jules,25,active
lina,10,closed
gus,14,failed
ivan,1,failed
jules,30,active
| chen
farah
farah
jules
gus
jules
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001358 | qwen/qwen3.7-plus |
awkweave-0001359 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | ivan birch 119
chen amber 62
lina cobalt 99
eli cobalt 99
alice cobalt 117
farah delta 81
| ivan birch 119
chen amber 62
lina cobalt 99
eli cobalt 99
alice cobalt 117
farah delta 81
| gus fable 117
kim indigo 41
kim ember 109
hana harbor 27
alice grove 60
chen birch 94
gus harbor 119
jules birch 54
bruno indigo 24
| gus fable 117
kim indigo 41
kim ember 109
hana harbor 27
alice grove 60
chen birch 94
gus harbor 119
jules birch 54
bruno indigo 24
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001359-p1 | Remove leading and trailing spaces from each line and replace sequences of internal whitespace with a single space. | {$1=$1;print} | ivan birch 119
chen amber 62
lina cobalt 99
eli cobalt 99
alice cobalt 117
farah delta 81
| ivan birch 119
chen amber 62
lina cobalt 99
eli cobalt 99
alice cobalt 117
farah delta 81
| gus fable 117
kim indigo 41
kim ember 109
hana harbor 27
alice grove 60
chen birch 94
gus harbor 119
jules birch 54
bruno indigo 24
| gus fable 117
kim indigo 41
kim ember 109
hana harbor 27
alice grove 60
chen birch 94
gus harbor 119
jules birch 54
bruno indigo 24
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001359 | qwen/qwen3.7-plus |
awkweave-0001360 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | dina cobalt 85 paused
hana indigo 78 closed
kim grove 94 paused
bruno grove 65 closed
gus amber 69 active
eli grove 120 ready
| dina cobalt 85 paused
| dina juniper 33 paused
hana cobalt 16 pending
kim birch 10 failed
eli birch 108 pending
bruno delta 50 active
dina delta 84 paused
eli grove 63 ready
kim delta 27 pending
alice birch 11 closed
gus cobalt 101 failed
| dina juniper 33 paused
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001360-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | dina cobalt 85 paused
hana indigo 78 closed
kim grove 94 paused
bruno grove 65 closed
gus amber 69 active
eli grove 120 ready
| dina cobalt 85 paused
| dina juniper 33 paused
hana cobalt 16 pending
kim birch 10 failed
eli birch 108 pending
bruno delta 50 active
dina delta 84 paused
eli grove 63 ready
kim delta 27 pending
alice birch 11 closed
gus cobalt 101 failed
| dina juniper 33 paused
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001360 | qwen/qwen3.7-plus |
awkweave-0001361 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | farah 71
gus 21
chen 66
lina 110
dina 116
bruno 8
lina 78
alice 29
bruno 36
lina 16
| gus 21
lina 110
bruno 8
alice 29
lina 16
| farah 77
lina 80
kim 40
hana 99
alice 11
ivan 94
alice 7
farah 52
farah 71
| lina 80
hana 99
ivan 94
farah 52
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001361-p1 | Print every even-numbered line, starting with line 2 (i.e., lines 2, 4, 6, ...). | NR%2==0 | farah 71
gus 21
chen 66
lina 110
dina 116
bruno 8
lina 78
alice 29
bruno 36
lina 16
| gus 21
lina 110
bruno 8
alice 29
lina 16
| farah 77
lina 80
kim 40
hana 99
alice 11
ivan 94
alice 7
farah 52
farah 71
| lina 80
hana 99
ivan 94
farah 52
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001361 | qwen/qwen3.7-plus |
awkweave-0001362 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | alpha amber 35
gamma amber 17
delta birch 43
beta indigo 70
delta harbor 117
gamma amber 50
beta delta 52
delta delta 94
beta grove 114
alpha harbor 24
| 6
| beta grove 74
gamma cobalt 119
gamma birch 77
beta ember 83
gamma grove 96
alpha indigo 83
gamma indigo 17
| 5
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001362-p1 | Calculate and print only the total number of unique values found in the second column. | {if(!seen[$2]++)n++}END{print n+0} | alpha amber 35
gamma amber 17
delta birch 43
beta indigo 70
delta harbor 117
gamma amber 50
beta delta 52
delta delta 94
beta grove 114
alpha harbor 24
| 6
| beta grove 74
gamma cobalt 119
gamma birch 77
beta ember 83
gamma grove 96
alpha indigo 83
gamma indigo 17
| 5
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001362 | qwen/qwen3.7-plus |
awkweave-0001363 | 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} | farah 25 0
farah 27 24
chen 18 21
farah 5 23
ivan 4 28
hana 17 18
| farah 1.12
chen 0.86
farah 0.22
ivan 0.14
hana 0.94
| ivan 8 0
chen 25 11
hana 20 12
gus 5 8
gus 4 27
bruno 7 16
alice 24 29
chen 26 12
bruno 30 9
| chen 2.27
hana 1.67
gus 0.62
gus 0.15
bruno 0.44
alice 0.83
chen 2.17
bruno 3.33
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001363-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, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | farah 25 0
farah 27 24
chen 18 21
farah 5 23
ivan 4 28
hana 17 18
| farah 1.12
chen 0.86
farah 0.22
ivan 0.14
hana 0.94
| ivan 8 0
chen 25 11
hana 20 12
gus 5 8
gus 4 27
bruno 7 16
alice 24 29
chen 26 12
bruno 30 9
| chen 2.27
hana 1.67
gus 0.62
gus 0.15
bruno 0.44
alice 0.83
chen 2.17
bruno 3.33
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001363 | qwen/qwen3.7-plus |
awkweave-0001364 | 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]} | eli cobalt 13
dina amber 4
bruno indigo 20
alice harbor 7
lina indigo 26
alice juniper 13
kim indigo 6
gus delta 14
| lina indigo 26
bruno indigo 20
gus delta 14
| farah amber 13
gus harbor 5
bruno delta 22
eli birch 13
jules cobalt 22
hana fable 19
| bruno delta 22
jules cobalt 22
hana fable 19
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001364-p1 | Output the top three rows 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]} | eli cobalt 13
dina amber 4
bruno indigo 20
alice harbor 7
lina indigo 26
alice juniper 13
kim indigo 6
gus delta 14
| lina indigo 26
bruno indigo 20
gus delta 14
| farah amber 13
gus harbor 5
bruno delta 22
eli birch 13
jules cobalt 22
hana fable 19
| bruno delta 22
jules cobalt 22
hana fable 19
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001364 | qwen/qwen3.7-plus |
awkweave-0001365 | Print column 2 followed by column 1 for every record. | {print $2, $1} | paused bruno failed 92
paused chen closed 8
active gus closed 8
pending hana closed 54
ready lina failed 111
paused farah pending 19
active ivan failed 62
pending alice active 6
closed farah closed 60
| bruno paused
chen paused
gus active
hana pending
lina ready
farah paused
ivan active
alice pending
farah closed
| closed jules pending 37
pending jules pending 37
closed kim failed 67
pending farah failed 117
active ivan paused 110
paused farah active 40
active gus closed 15
| jules closed
jules pending
kim closed
farah pending
ivan active
farah paused
gus active
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001365-p1 | For every record, print the second column followed by the first column. | {print $2, $1} | paused bruno failed 92
paused chen closed 8
active gus closed 8
pending hana closed 54
ready lina failed 111
paused farah pending 19
active ivan failed 62
pending alice active 6
closed farah closed 60
| bruno paused
chen paused
gus active
hana pending
lina ready
farah paused
ivan active
alice pending
farah closed
| closed jules pending 37
pending jules pending 37
closed kim failed 67
pending farah failed 117
active ivan paused 110
paused farah active 40
active gus closed 15
| jules closed
jules pending
kim closed
farah pending
ivan active
farah paused
gus active
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001365 | qwen/qwen3.7-plus |
awkweave-0001366 | Print the last field of every input line. | {print $NF} | eli 116 46 eli
lina 44 70 jules
dina 23 16 dina
alice 87 111 farah
gus 66 69 jules
farah 59 85 gus
farah 65 72 hana
chen 41 106 chen
ivan 2 116 bruno
chen 106 18 kim
| eli
jules
dina
farah
jules
gus
hana
chen
bruno
kim
| farah 100 90 bruno
ivan 109 83 alice
farah 92 52 eli
bruno 42 120 eli
bruno 49 65 farah
ivan 108 41 dina
lina 110 35 dina
eli 104 100 hana
farah 78 109 alice
dina 4 66 ivan
| bruno
alice
eli
eli
farah
dina
dina
hana
alice
ivan
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001366-p1 | Output the final field from each input line. | {print $NF} | eli 116 46 eli
lina 44 70 jules
dina 23 16 dina
alice 87 111 farah
gus 66 69 jules
farah 59 85 gus
farah 65 72 hana
chen 41 106 chen
ivan 2 116 bruno
chen 106 18 kim
| eli
jules
dina
farah
jules
gus
hana
chen
bruno
kim
| farah 100 90 bruno
ivan 109 83 alice
farah 92 52 eli
bruno 42 120 eli
bruno 49 65 farah
ivan 108 41 dina
lina 110 35 dina
eli 104 100 hana
farah 78 109 alice
dina 4 66 ivan
| bruno
alice
eli
eli
farah
dina
dina
hana
alice
ivan
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001366 | qwen/qwen3.7-plus |
awkweave-0001367 | Print the complete records where column 2 is at least 31. | $2 >= 31 | failed 119 hana dina jules
paused 37 alice alice gus
active 65 jules ivan ivan
closed 87 eli eli lina
paused 7 dina kim chen
active 71 chen chen alice
closed 74 chen alice ivan
ready 2 kim farah lina
| failed 119 hana dina jules
paused 37 alice alice gus
active 65 jules ivan ivan
closed 87 eli eli lina
active 71 chen chen alice
closed 74 chen alice ivan
| failed 34 kim hana kim
pending 75 eli alice gus
ready 88 gus bruno eli
ready 58 alice jules eli
failed 112 ivan dina bruno
active 85 eli kim bruno
| failed 34 kim hana kim
pending 75 eli alice gus
ready 88 gus bruno eli
ready 58 alice jules eli
failed 112 ivan dina bruno
active 85 eli kim bruno
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001367-p1 | Display full records where the second column has a value of 31 or greater. | $2 >= 31 | failed 119 hana dina jules
paused 37 alice alice gus
active 65 jules ivan ivan
closed 87 eli eli lina
paused 7 dina kim chen
active 71 chen chen alice
closed 74 chen alice ivan
ready 2 kim farah lina
| failed 119 hana dina jules
paused 37 alice alice gus
active 65 jules ivan ivan
closed 87 eli eli lina
active 71 chen chen alice
closed 74 chen alice ivan
| failed 34 kim hana kim
pending 75 eli alice gus
ready 88 gus bruno eli
ready 58 alice jules eli
failed 112 ivan dina bruno
active 85 eli kim bruno
| failed 34 kim hana kim
pending 75 eli alice gus
ready 88 gus bruno eli
ready 58 alice jules eli
failed 112 ivan dina bruno
active 85 eli kim bruno
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001367 | qwen/qwen3.7-plus |
awkweave-0001368 | Show whole lines whose 1st field is between 4 and 27, inclusive. | $1 >= 4 && $1 <= 27 | 1 paused farah jules
29 closed farah ivan
8 closed hana dina
9 ready gus dina
25 active jules ivan
16 closed jules alice
1 paused farah lina
27 paused jules alice
| 8 closed hana dina
9 ready gus dina
25 active jules ivan
16 closed jules alice
27 paused jules alice
| 7 ready alice kim
2 ready ivan farah
27 pending kim farah
8 failed gus farah
15 failed eli kim
22 active jules dina
11 paused lina bruno
24 closed hana dina
3 active kim bruno
13 pending farah gus
| 7 ready alice kim
27 pending kim farah
8 failed gus farah
15 failed eli kim
22 active jules dina
11 paused lina bruno
24 closed hana dina
13 pending farah gus
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001368-p1 | Show entire lines where the first field falls within the inclusive range of 4 to 27. | $1 >= 4 && $1 <= 27 | 1 paused farah jules
29 closed farah ivan
8 closed hana dina
9 ready gus dina
25 active jules ivan
16 closed jules alice
1 paused farah lina
27 paused jules alice
| 8 closed hana dina
9 ready gus dina
25 active jules ivan
16 closed jules alice
27 paused jules alice
| 7 ready alice kim
2 ready ivan farah
27 pending kim farah
8 failed gus farah
15 failed eli kim
22 active jules dina
11 paused lina bruno
24 closed hana dina
3 active kim bruno
13 pending farah gus
| 7 ready alice kim
27 pending kim farah
8 failed gus farah
15 failed eli kim
22 active jules dina
11 paused lina bruno
24 closed hana dina
13 pending farah gus
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001368 | qwen/qwen3.7-plus |
awkweave-0001369 | Print column 2 only for rows where column 4 is exactly pending. | $4 == "pending"{print $2} | 111 chen indigo failed
106 eli cobalt ready
24 alice juniper pending
62 kim delta paused
32 lina harbor closed
8 kim harbor pending
36 dina harbor pending
30 lina grove closed
| alice
kim
dina
| 66 bruno indigo failed
2 kim amber paused
86 jules delta ready
38 gus ember pending
92 eli ember ready
94 eli juniper paused
99 farah juniper paused
110 jules ember closed
| gus
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001369-p1 | Output only the second column for rows where the fourth column is exactly 'pending'. | $4 == "pending"{print $2} | 111 chen indigo failed
106 eli cobalt ready
24 alice juniper pending
62 kim delta paused
32 lina harbor closed
8 kim harbor pending
36 dina harbor pending
30 lina grove closed
| alice
kim
dina
| 66 bruno indigo failed
2 kim amber paused
86 jules delta ready
38 gus ember pending
92 eli ember ready
94 eli juniper paused
99 farah juniper paused
110 jules ember closed
| gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001369 | qwen/qwen3.7-plus |
awkweave-0001370 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | DEBUG 22 cobalt
WARN 64 harbor
ERROR 64 juniper
INFO 75 cobalt
DEBUG 64 delta
ERROR 57 amber
INFO 6 fable
INFO 74 birch
| ERROR 64 juniper
ERROR 57 amber
| DEBUG 36 indigo
DEBUG 32 grove
WARN 113 harbor
INFO 104 juniper
ERROR 57 grove
DEBUG 78 ember
WARN 73 harbor
DEBUG 40 birch
DEBUG 84 amber
ERROR 1 ember
| ERROR 57 grove
ERROR 1 ember
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001370-p1 | Print all fields from lines where the first field starts with 'ERROR'. | $1 ~ /^ERROR/ | DEBUG 22 cobalt
WARN 64 harbor
ERROR 64 juniper
INFO 75 cobalt
DEBUG 64 delta
ERROR 57 amber
INFO 6 fable
INFO 74 birch
| ERROR 64 juniper
ERROR 57 amber
| DEBUG 36 indigo
DEBUG 32 grove
WARN 113 harbor
INFO 104 juniper
ERROR 57 grove
DEBUG 78 ember
WARN 73 harbor
DEBUG 40 birch
DEBUG 84 amber
ERROR 1 ember
| ERROR 57 grove
ERROR 1 ember
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001370 | qwen/qwen3.7-plus |
awkweave-0001371 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | indigo 88 failed
delta 53 active
indigo 120 paused
amber 18 failed
ember 54 pending
amber 22 closed
ember 49 pending
grove 25 failed
fable 999 active
| indigo 88 failed
delta 53 active
indigo 120 paused
amber 18 failed
ember 54 pending
amber 22 closed
ember 49 pending
grove 25 failed
| birch 31 closed
amber 35 failed
harbor 79 ready
cobalt 55 paused
delta 29 ready
juniper 51 failed
cobalt 11 pending
cobalt 34 closed
ember 59 paused
indigo 82 failed
fable 999 active
| birch 31 closed
amber 35 failed
harbor 79 ready
cobalt 55 paused
delta 29 ready
juniper 51 failed
cobalt 11 pending
cobalt 34 closed
ember 59 paused
indigo 82 failed
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001371-p1 | Print every line that does not contain the exact string 'fable'. | $0 !~ /fable/ | indigo 88 failed
delta 53 active
indigo 120 paused
amber 18 failed
ember 54 pending
amber 22 closed
ember 49 pending
grove 25 failed
fable 999 active
| indigo 88 failed
delta 53 active
indigo 120 paused
amber 18 failed
ember 54 pending
amber 22 closed
ember 49 pending
grove 25 failed
| birch 31 closed
amber 35 failed
harbor 79 ready
cobalt 55 paused
delta 29 ready
juniper 51 failed
cobalt 11 pending
cobalt 34 closed
ember 59 paused
indigo 82 failed
fable 999 active
| birch 31 closed
amber 35 failed
harbor 79 ready
cobalt 55 paused
delta 29 ready
juniper 51 failed
cobalt 11 pending
cobalt 34 closed
ember 59 paused
indigo 82 failed
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001371 | qwen/qwen3.7-plus |
awkweave-0001372 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | eli indigo 37
jules harbor 80
eli birch 98
bruno cobalt 14
kim amber 116
chen birch 53
gus amber 47
ivan indigo 120
| eli birch 98
bruno cobalt 14
| alice cobalt 74
kim amber 80
jules ember 45
jules ember 5
dina grove 42
alice delta 28
eli ember 69
lina ember 69
ivan fable 28
| jules ember 45
jules ember 5
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001372-p1 | Output lines 3 and 4, inclusive. | NR >= 3 && NR <= 4 | eli indigo 37
jules harbor 80
eli birch 98
bruno cobalt 14
kim amber 116
chen birch 53
gus amber 47
ivan indigo 120
| eli birch 98
bruno cobalt 14
| alice cobalt 74
kim amber 80
jules ember 45
jules ember 5
dina grove 42
alice delta 28
eli ember 69
lina ember 69
ivan fable 28
| jules ember 45
jules ember 5
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001372 | qwen/qwen3.7-plus |
awkweave-0001373 | Output only the first 5 records. | NR <= 5 | bruno 33 birch
kim 54 amber
ivan 67 cobalt
kim 79 indigo
hana 18 birch
chen 9 ember
lina 66 juniper
| bruno 33 birch
kim 54 amber
ivan 67 cobalt
kim 79 indigo
hana 18 birch
| lina 53 delta
alice 74 grove
bruno 30 amber
ivan 27 indigo
chen 23 grove
lina 115 juniper
dina 33 delta
jules 14 delta
| lina 53 delta
alice 74 grove
bruno 30 amber
ivan 27 indigo
chen 23 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001373-p1 | Display only the first 5 records. | NR <= 5 | bruno 33 birch
kim 54 amber
ivan 67 cobalt
kim 79 indigo
hana 18 birch
chen 9 ember
lina 66 juniper
| bruno 33 birch
kim 54 amber
ivan 67 cobalt
kim 79 indigo
hana 18 birch
| lina 53 delta
alice 74 grove
bruno 30 amber
ivan 27 indigo
chen 23 grove
lina 115 juniper
dina 33 delta
jules 14 delta
| lina 53 delta
alice 74 grove
bruno 30 amber
ivan 27 indigo
chen 23 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001373 | qwen/qwen3.7-plus |
awkweave-0001374 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 11 birch
farah 27 juniper
gus 60 grove
chen 19 juniper
dina 106 indigo
gus 17 birch
gus 116 fable
kim 63 fable
jules 114 cobalt
farah 55 amber
| farah 27 juniper
gus 60 grove
chen 19 juniper
dina 106 indigo
gus 17 birch
gus 116 fable
kim 63 fable
jules 114 cobalt
farah 55 amber
| alice 39 ember
ivan 98 ember
ivan 54 delta
alice 114 fable
lina 119 juniper
chen 108 grove
hana 0 grove
| ivan 98 ember
ivan 54 delta
alice 114 fable
lina 119 juniper
chen 108 grove
hana 0 grove
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001374-p1 | Ignore the first line and print all subsequent lines as they are. | NR > 1 | gus 11 birch
farah 27 juniper
gus 60 grove
chen 19 juniper
dina 106 indigo
gus 17 birch
gus 116 fable
kim 63 fable
jules 114 cobalt
farah 55 amber
| farah 27 juniper
gus 60 grove
chen 19 juniper
dina 106 indigo
gus 17 birch
gus 116 fable
kim 63 fable
jules 114 cobalt
farah 55 amber
| alice 39 ember
ivan 98 ember
ivan 54 delta
alice 114 fable
lina 119 juniper
chen 108 grove
hana 0 grove
| ivan 98 ember
ivan 54 delta
alice 114 fable
lina 119 juniper
chen 108 grove
hana 0 grove
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001374 | qwen/qwen3.7-plus |
awkweave-0001375 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | farah active 27
bruno active 38
hana failed 77
lina active 22
ivan active 27
gus closed 4
ivan failed 117
kim paused 54
lina failed 52
| 4
| kim active 10
eli paused 95
chen failed 84
gus failed 105
chen closed 43
bruno ready 69
kim ready 109
bruno paused 75
eli active 6
dina paused 38
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001375-p1 | Count the number of records with 'active' in the second column; output 0 if none exist. | $2 == "active"{n++}END{print n+0} | farah active 27
bruno active 38
hana failed 77
lina active 22
ivan active 27
gus closed 4
ivan failed 117
kim paused 54
lina failed 52
| 4
| kim active 10
eli paused 95
chen failed 84
gus failed 105
chen closed 43
bruno ready 69
kim ready 109
bruno paused 75
eli active 6
dina paused 38
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001375 | qwen/qwen3.7-plus |
awkweave-0001376 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | ember 10 jules
cobalt 15 bruno
amber 30 bruno
juniper 25 eli
grove 30 bruno
amber 1 lina
| 111
| delta 18 kim
amber 20 hana
ember 21 bruno
harbor 11 bruno
grove 17 bruno
grove 18 kim
| 105
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001376-p1 | Compute and print the total sum of integer values in the second column. | {s+=$2}END{print s+0} | ember 10 jules
cobalt 15 bruno
amber 30 bruno
juniper 25 eli
grove 30 bruno
amber 1 lina
| 111
| delta 18 kim
amber 20 hana
ember 21 bruno
harbor 11 bruno
grove 17 bruno
grove 18 kim
| 105
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001376 | qwen/qwen3.7-plus |
awkweave-0001377 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | gus 20 grove
jules 21 amber
lina 12 indigo
hana 20 cobalt
dina 3 juniper
jules 24 birch
alice 17 cobalt
dina 4 grove
chen 23 birch
| 16.00
| gus 18 delta
chen 30 cobalt
dina 26 delta
jules 6 ember
gus 8 cobalt
farah 7 grove
| 15.83
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001377-p1 | Print the average of the values in the second column, rounded to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | gus 20 grove
jules 21 amber
lina 12 indigo
hana 20 cobalt
dina 3 juniper
jules 24 birch
alice 17 cobalt
dina 4 grove
chen 23 birch
| 16.00
| gus 18 delta
chen 30 cobalt
dina 26 delta
jules 6 ember
gus 8 cobalt
farah 7 grove
| 15.83
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001377 | qwen/qwen3.7-plus |
awkweave-0001378 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | amber 9 bruno
juniper 20 gus
amber 6 farah
indigo 23 jules
grove 22 hana
harbor 30 lina
| 6
| harbor 24 kim
cobalt 7 farah
cobalt 14 chen
ember 5 dina
birch 25 dina
birch 4 jules
fable 5 dina
fable 28 gus
ember 29 gus
grove 16 chen
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001378-p1 | Identify and output the minimum numerical value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | amber 9 bruno
juniper 20 gus
amber 6 farah
indigo 23 jules
grove 22 hana
harbor 30 lina
| 6
| harbor 24 kim
cobalt 7 farah
cobalt 14 chen
ember 5 dina
birch 25 dina
birch 4 jules
fable 5 dina
fable 28 gus
ember 29 gus
grove 16 chen
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001378 | qwen/qwen3.7-plus |
awkweave-0001379 | Find and print the largest numeric value in column 2. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ivan 21 ember
alice 20 ember
gus 18 indigo
bruno 28 fable
lina 30 juniper
bruno 22 fable
| 30
| chen 1 grove
eli 17 amber
kim 5 cobalt
dina 11 grove
alice 12 delta
jules 2 fable
alice 5 ember
dina 18 indigo
alice 30 delta
farah 22 birch
| 30
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0001379-p1 | Identify and output the maximum numerical value found in the second column. | NR==1||$2>extreme{extreme=$2}END{print extreme} | ivan 21 ember
alice 20 ember
gus 18 indigo
bruno 28 fable
lina 30 juniper
bruno 22 fable
| 30
| chen 1 grove
eli 17 amber
kim 5 cobalt
dina 11 grove
alice 12 delta
jules 2 fable
alice 5 ember
dina 18 indigo
alice 30 delta
farah 22 birch
| 30
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0001379 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.