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-0049222-p1 | Output only column 4 for rows where column 1 contains the exact value 'closed'. | $1 == "closed"{print $4} | closed fable 12 chen
active birch 104 jules
active harbor 120 dina
failed amber 98 ivan
closed cobalt 86 chen
active delta 110 chen
pending fable 71 hana
closed fable 110 jules
paused ember 115 jules
paused fable 62 gus
| chen
chen
jules
| ready cobalt 94 hana
paused birch 18 kim
paused indigo 102 bruno
failed grove 48 hana
active harbor 49 chen
failed grove 29 dina
ready juniper 13 hana
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049222 | qwen/qwen3.7-plus | |
awkweave-0049223 | Print all fields from lines where field 2 begins with WARN. | $2 ~ /^WARN/ | 8 WARN cobalt
50 DEBUG indigo
41 ERROR birch
20 INFO ember
63 WARN fable
30 WARN fable
| 8 WARN cobalt
63 WARN fable
30 WARN fable
| 90 DEBUG indigo
88 INFO amber
0 INFO harbor
96 ERROR delta
59 ERROR cobalt
94 WARN harbor
87 ERROR indigo
101 DEBUG ember
| 94 WARN harbor
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049223-p1 | Print all fields from any line where the second field starts with the string 'WARN'. | $2 ~ /^WARN/ | 8 WARN cobalt
50 DEBUG indigo
41 ERROR birch
20 INFO ember
63 WARN fable
30 WARN fable
| 8 WARN cobalt
63 WARN fable
30 WARN fable
| 90 DEBUG indigo
88 INFO amber
0 INFO harbor
96 ERROR delta
59 ERROR cobalt
94 WARN harbor
87 ERROR indigo
101 DEBUG ember
| 94 WARN harbor
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049223 | qwen/qwen3.7-plus |
awkweave-0049224 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | grove 74 pending
amber 51 ready
ember 92 active
delta 61 ready
fable 21 ready
cobalt 46 closed
indigo 47 closed
grove 40 closed
birch 105 failed
fable 102 closed
cobalt 999 active
| grove 74 pending
amber 51 ready
ember 92 active
delta 61 ready
fable 21 ready
indigo 47 closed
grove 40 closed
birch 105 failed
fable 102 closed
| harbor 55 paused
fable 41 failed
fable 26 active
harbor 105 failed
harbor 78 failed
indigo 101 pending
grove 15 failed
harbor 100 ready
cobalt 999 active
| harbor 55 paused
fable 41 failed
fable 26 active
harbor 105 failed
harbor 78 failed
indigo 101 pending
grove 15 failed
harbor 100 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049224-p1 | Output all lines that do not contain the exact string cobalt. | $0 !~ /cobalt/ | grove 74 pending
amber 51 ready
ember 92 active
delta 61 ready
fable 21 ready
cobalt 46 closed
indigo 47 closed
grove 40 closed
birch 105 failed
fable 102 closed
cobalt 999 active
| grove 74 pending
amber 51 ready
ember 92 active
delta 61 ready
fable 21 ready
indigo 47 closed
grove 40 closed
birch 105 failed
fable 102 closed
| harbor 55 paused
fable 41 failed
fable 26 active
harbor 105 failed
harbor 78 failed
indigo 101 pending
grove 15 failed
harbor 100 ready
cobalt 999 active
| harbor 55 paused
fable 41 failed
fable 26 active
harbor 105 failed
harbor 78 failed
indigo 101 pending
grove 15 failed
harbor 100 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049224 | qwen/qwen3.7-plus |
awkweave-0049225 | Print lines 4 through 6, including both endpoints. | NR >= 4 && NR <= 6 | bruno harbor 41
jules grove 16
eli juniper 44
farah indigo 115
eli birch 56
farah amber 62
farah juniper 59
dina fable 64
ivan juniper 88
chen fable 91
| farah indigo 115
eli birch 56
farah amber 62
| bruno harbor 77
kim birch 104
ivan birch 27
farah delta 22
jules indigo 40
lina indigo 73
alice delta 109
| farah delta 22
jules indigo 40
lina indigo 73
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049225-p1 | Display lines 4 to 6, inclusive of both the start and end lines. | NR >= 4 && NR <= 6 | bruno harbor 41
jules grove 16
eli juniper 44
farah indigo 115
eli birch 56
farah amber 62
farah juniper 59
dina fable 64
ivan juniper 88
chen fable 91
| farah indigo 115
eli birch 56
farah amber 62
| bruno harbor 77
kim birch 104
ivan birch 27
farah delta 22
jules indigo 40
lina indigo 73
alice delta 109
| farah delta 22
jules indigo 40
lina indigo 73
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049225 | qwen/qwen3.7-plus |
awkweave-0049226 | Output only the first 3 records. | NR <= 3 | hana 20 birch
gus 7 fable
dina 46 juniper
bruno 49 ember
chen 29 cobalt
dina 5 grove
gus 110 grove
kim 89 grove
eli 54 amber
chen 25 juniper
| hana 20 birch
gus 7 fable
dina 46 juniper
| hana 22 birch
gus 32 cobalt
gus 59 grove
alice 9 cobalt
dina 49 birch
gus 56 grove
lina 102 fable
| hana 22 birch
gus 32 cobalt
gus 59 grove
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049226-p1 | Show only the initial 3 records. | NR <= 3 | hana 20 birch
gus 7 fable
dina 46 juniper
bruno 49 ember
chen 29 cobalt
dina 5 grove
gus 110 grove
kim 89 grove
eli 54 amber
chen 25 juniper
| hana 20 birch
gus 7 fable
dina 46 juniper
| hana 22 birch
gus 32 cobalt
gus 59 grove
alice 9 cobalt
dina 49 birch
gus 56 grove
lina 102 fable
| hana 22 birch
gus 32 cobalt
gus 59 grove
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049226 | qwen/qwen3.7-plus |
awkweave-0049227 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 59 indigo
jules 99 amber
dina 106 birch
lina 76 birch
eli 92 delta
bruno 61 amber
alice 45 amber
bruno 56 ember
| jules 99 amber
dina 106 birch
lina 76 birch
eli 92 delta
bruno 61 amber
alice 45 amber
bruno 56 ember
| jules 43 birch
chen 7 amber
chen 1 ember
farah 5 amber
farah 21 indigo
lina 61 grove
kim 0 harbor
hana 15 fable
farah 41 amber
| chen 7 amber
chen 1 ember
farah 5 amber
farah 21 indigo
lina 61 grove
kim 0 harbor
hana 15 fable
farah 41 amber
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049227-p1 | Omit the first line and print the rest of the lines as they are. | NR > 1 | farah 59 indigo
jules 99 amber
dina 106 birch
lina 76 birch
eli 92 delta
bruno 61 amber
alice 45 amber
bruno 56 ember
| jules 99 amber
dina 106 birch
lina 76 birch
eli 92 delta
bruno 61 amber
alice 45 amber
bruno 56 ember
| jules 43 birch
chen 7 amber
chen 1 ember
farah 5 amber
farah 21 indigo
lina 61 grove
kim 0 harbor
hana 15 fable
farah 41 amber
| chen 7 amber
chen 1 ember
farah 5 amber
farah 21 indigo
lina 61 grove
kim 0 harbor
hana 15 fable
farah 41 amber
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049227 | qwen/qwen3.7-plus |
awkweave-0049228 | Count how many records have pending in column 2. Print 0 if there are none. | $2 == "pending"{n++}END{print n+0} | bruno paused 48
gus failed 89
farah closed 3
farah pending 100
farah ready 90
chen pending 77
ivan paused 82
ivan ready 38
ivan paused 75
gus closed 92
| 2
| ivan active 58
ivan pending 3
bruno paused 23
kim ready 70
eli pending 40
gus ready 109
gus closed 117
kim active 29
jules paused 16
lina paused 22
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049228-p1 | Count the number of records where column 2 is pending. Output 0 if no such records exist. | $2 == "pending"{n++}END{print n+0} | bruno paused 48
gus failed 89
farah closed 3
farah pending 100
farah ready 90
chen pending 77
ivan paused 82
ivan ready 38
ivan paused 75
gus closed 92
| 2
| ivan active 58
ivan pending 3
bruno paused 23
kim ready 70
eli pending 40
gus ready 109
gus closed 117
kim active 29
jules paused 16
lina paused 22
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049228 | qwen/qwen3.7-plus |
awkweave-0049229 | Calculate and print the sum of the integers in column 1. | {s+=$1}END{print s+0} | 30 alice grove
13 lina ember
26 eli grove
20 farah cobalt
10 bruno ember
27 lina ember
15 eli delta
24 alice juniper
28 bruno amber
3 lina harbor
| 196
| 12 bruno fable
2 farah indigo
2 chen cobalt
25 alice ember
11 bruno fable
5 alice harbor
7 chen indigo
5 dina juniper
| 69
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049229-p1 | Compute and display the total sum of integer values in column 1. | {s+=$1}END{print s+0} | 30 alice grove
13 lina ember
26 eli grove
20 farah cobalt
10 bruno ember
27 lina ember
15 eli delta
24 alice juniper
28 bruno amber
3 lina harbor
| 196
| 12 bruno fable
2 farah indigo
2 chen cobalt
25 alice ember
11 bruno fable
5 alice harbor
7 chen indigo
5 dina juniper
| 69
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049229 | qwen/qwen3.7-plus |
awkweave-0049230 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 6 lina ember
6 ivan delta
1 bruno grove
5 bruno harbor
15 bruno delta
12 bruno indigo
4 hana juniper
6 kim grove
23 chen birch
30 ivan amber
| 10.80
| 14 bruno birch
18 ivan harbor
30 chen fable
23 bruno delta
7 alice cobalt
4 hana indigo
13 hana juniper
29 jules indigo
3 hana ember
17 kim amber
| 15.80
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049230-p1 | Print the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 6 lina ember
6 ivan delta
1 bruno grove
5 bruno harbor
15 bruno delta
12 bruno indigo
4 hana juniper
6 kim grove
23 chen birch
30 ivan amber
| 10.80
| 14 bruno birch
18 ivan harbor
30 chen fable
23 bruno delta
7 alice cobalt
4 hana indigo
13 hana juniper
29 jules indigo
3 hana ember
17 kim amber
| 15.80
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049230 | qwen/qwen3.7-plus |
awkweave-0049231 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | kim 30 cobalt
bruno 20 delta
gus 23 juniper
gus 16 ember
kim 25 cobalt
ivan 5 amber
| 5
| jules 29 birch
farah 6 birch
farah 7 birch
farah 25 delta
bruno 3 grove
lina 20 fable
alice 5 delta
farah 24 ember
lina 4 ember
chen 13 delta
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049231-p1 | Identify and output the minimum numeric value found in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | kim 30 cobalt
bruno 20 delta
gus 23 juniper
gus 16 ember
kim 25 cobalt
ivan 5 amber
| 5
| jules 29 birch
farah 6 birch
farah 7 birch
farah 25 delta
bruno 3 grove
lina 20 fable
alice 5 delta
farah 24 ember
lina 4 ember
chen 13 delta
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049231 | qwen/qwen3.7-plus |
awkweave-0049232 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 2 dina indigo
17 bruno delta
29 farah cobalt
25 eli juniper
4 kim birch
10 ivan grove
18 hana harbor
24 chen amber
30 kim birch
| 30
| 16 ivan ember
13 hana indigo
7 ivan juniper
29 eli harbor
28 kim amber
23 gus cobalt
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049232-p1 | Identify and output the maximum numeric value found in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 2 dina indigo
17 bruno delta
29 farah cobalt
25 eli juniper
4 kim birch
10 ivan grove
18 hana harbor
24 chen amber
30 kim birch
| 30
| 16 ivan ember
13 hana indigo
7 ivan juniper
29 eli harbor
28 kim amber
23 gus cobalt
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049232 | qwen/qwen3.7-plus |
awkweave-0049233 | Count all input records and print the total. | END{print NR} | hana 25
kim 4
ivan 120
ivan 61
bruno 18
hana 6
ivan 77
hana 2
chen 105
chen 65
| 10
| eli 3
dina 51
farah 83
farah 74
ivan 55
jules 86
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049233-p1 | Count the total number of input records and print the result. | END{print NR} | hana 25
kim 4
ivan 120
ivan 61
bruno 18
hana 6
ivan 77
hana 2
chen 105
chen 65
| 10
| eli 3
dina 51
farah 83
farah 74
ivan 55
jules 86
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049233 | qwen/qwen3.7-plus |
awkweave-0049234 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | kim juniper 34
alice birch 110
gus cobalt 42
alice fable 78
eli delta 92
bruno harbor 117
alice birch 110
ivan juniper 50
ivan delta 20
kim birch 3
dina amber 98
| kim juniper 34
alice birch 110
gus cobalt 42
alice fable 78
eli delta 92
bruno harbor 117
ivan juniper 50
ivan delta 20
kim birch 3
dina amber 98
| ivan delta 6
jules amber 23
kim juniper 91
farah fable 119
lina delta 95
farah fable 119
jules harbor 86
| ivan delta 6
jules amber 23
kim juniper 91
farah fable 119
lina delta 95
jules harbor 86
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049234-p1 | Eliminate exact duplicate lines while keeping the first occurrence and maintaining the original sequence. | !seen[$0]++ | kim juniper 34
alice birch 110
gus cobalt 42
alice fable 78
eli delta 92
bruno harbor 117
alice birch 110
ivan juniper 50
ivan delta 20
kim birch 3
dina amber 98
| kim juniper 34
alice birch 110
gus cobalt 42
alice fable 78
eli delta 92
bruno harbor 117
ivan juniper 50
ivan delta 20
kim birch 3
dina amber 98
| ivan delta 6
jules amber 23
kim juniper 91
farah fable 119
lina delta 95
farah fable 119
jules harbor 86
| ivan delta 6
jules amber 23
kim juniper 91
farah fable 119
lina delta 95
jules harbor 86
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049234 | qwen/qwen3.7-plus |
awkweave-0049235 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | jules cobalt 91
farah indigo 69
ivan indigo 15
dina harbor 40
hana juniper 12
gus amber 91
eli ember 26
farah amber 1
hana delta 54
lina birch 95
| jules cobalt 91
farah indigo 69
dina harbor 40
hana juniper 12
gus amber 91
eli ember 26
hana delta 54
lina birch 95
| bruno indigo 15
eli grove 61
lina delta 9
farah indigo 62
chen delta 85
ivan harbor 77
hana fable 43
lina juniper 120
hana harbor 93
| bruno indigo 15
eli grove 61
lina delta 9
ivan harbor 77
hana fable 43
lina juniper 120
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049235-p1 | Retain only the first line for each unique value in column 2, preserving the original input order. | !seen[$2]++ | jules cobalt 91
farah indigo 69
ivan indigo 15
dina harbor 40
hana juniper 12
gus amber 91
eli ember 26
farah amber 1
hana delta 54
lina birch 95
| jules cobalt 91
farah indigo 69
dina harbor 40
hana juniper 12
gus amber 91
eli ember 26
hana delta 54
lina birch 95
| bruno indigo 15
eli grove 61
lina delta 9
farah indigo 62
chen delta 85
ivan harbor 77
hana fable 43
lina juniper 120
hana harbor 93
| bruno indigo 15
eli grove 61
lina delta 9
ivan harbor 77
hana fable 43
lina juniper 120
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049235 | qwen/qwen3.7-plus |
awkweave-0049236 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | eli 6 delta
ivan 27 birch
eli 16 birch
ivan 21 fable
ivan 27 delta
lina 2 cobalt
| eli 6
ivan 33
eli 49
ivan 70
ivan 97
lina 99
| lina 15 amber
alice 14 fable
eli 15 amber
gus 6 grove
hana 24 amber
kim 25 harbor
chen 18 juniper
| lina 15
alice 29
eli 44
gus 50
hana 74
kim 99
chen 117
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049236-p1 | Output the first column and the cumulative total of the second column for every record, using a space as the delimiter. | {s+=$2;print $1,s} | eli 6 delta
ivan 27 birch
eli 16 birch
ivan 21 fable
ivan 27 delta
lina 2 cobalt
| eli 6
ivan 33
eli 49
ivan 70
ivan 97
lina 99
| lina 15 amber
alice 14 fable
eli 15 amber
gus 6 grove
hana 24 amber
kim 25 harbor
chen 18 juniper
| lina 15
alice 29
eli 44
gus 50
hana 74
kim 99
chen 117
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049236 | qwen/qwen3.7-plus |
awkweave-0049237 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | jules 4 26 grove
bruno 12 2 indigo
bruno 16 5 fable
chen 19 12 grove
lina 26 23 indigo
ivan 12 27 fable
alice 21 25 harbor
| jules 30
bruno 14
bruno 21
chen 31
lina 49
ivan 39
alice 46
| dina 27 30 ember
dina 27 12 cobalt
kim 3 15 cobalt
farah 25 6 harbor
dina 23 12 birch
bruno 23 6 amber
| dina 57
dina 39
kim 18
farah 31
dina 35
bruno 29
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049237-p1 | For each line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | jules 4 26 grove
bruno 12 2 indigo
bruno 16 5 fable
chen 19 12 grove
lina 26 23 indigo
ivan 12 27 fable
alice 21 25 harbor
| jules 30
bruno 14
bruno 21
chen 31
lina 49
ivan 39
alice 46
| dina 27 30 ember
dina 27 12 cobalt
kim 3 15 cobalt
farah 25 6 harbor
dina 23 12 birch
bruno 23 6 amber
| dina 57
dina 39
kim 18
farah 31
dina 35
bruno 29
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049237 | qwen/qwen3.7-plus |
awkweave-0049238 | Print column 1 and pass when column 2 is at least 20; otherwise print fail. | {print $1,($2>=20?"pass":"fail")} | bruno 6
lina 20
dina 5
eli 1
eli 14
kim 23
alice 8
| bruno fail
lina pass
dina fail
eli fail
eli fail
kim pass
alice fail
| chen 9
hana 3
hana 20
dina 23
gus 27
eli 15
farah 5
dina 24
| chen fail
hana fail
hana pass
dina pass
gus pass
eli fail
farah fail
dina pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049238-p1 | Show the value in column 1; if column 2 is 20 or greater, append 'pass', otherwise append 'fail'. | {print $1,($2>=20?"pass":"fail")} | bruno 6
lina 20
dina 5
eli 1
eli 14
kim 23
alice 8
| bruno fail
lina pass
dina fail
eli fail
eli fail
kim pass
alice fail
| chen 9
hana 3
hana 20
dina 23
gus 27
eli 15
farah 5
dina 24
| chen fail
hana fail
hana pass
dina pass
gus pass
eli fail
farah fail
dina pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049238 | qwen/qwen3.7-plus |
awkweave-0049239 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | dina ember 51
lina juniper 57
ivan fable 41
gus birch 96
hana amber 45
kim harbor 21
dina delta 6
| EMBER
JUNIPER
FABLE
BIRCH
AMBER
HARBOR
DELTA
| kim birch 73
jules juniper 71
chen juniper 61
ivan fable 93
hana indigo 86
lina fable 115
eli indigo 63
jules cobalt 28
bruno ember 61
kim ember 63
| BIRCH
JUNIPER
JUNIPER
FABLE
INDIGO
FABLE
INDIGO
COBALT
EMBER
EMBER
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049239-p1 | Transform the content of column 2 to uppercase letters and output only that modified column. | {print toupper($2)} | dina ember 51
lina juniper 57
ivan fable 41
gus birch 96
hana amber 45
kim harbor 21
dina delta 6
| EMBER
JUNIPER
FABLE
BIRCH
AMBER
HARBOR
DELTA
| kim birch 73
jules juniper 71
chen juniper 61
ivan fable 93
hana indigo 86
lina fable 115
eli indigo 63
jules cobalt 28
bruno ember 61
kim ember 63
| BIRCH
JUNIPER
JUNIPER
FABLE
INDIGO
FABLE
INDIGO
COBALT
EMBER
EMBER
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049239 | qwen/qwen3.7-plus |
awkweave-0049240 | From column 1, print 3 characters starting at character 1. | {print substr($1,1,3)} | harbor 25
delta 86
harbor 69
delta 19
indigo 74
juniper 74
| har
del
har
del
ind
jun
| juniper 109
grove 61
harbor 67
indigo 28
birch 25
fable 79
| jun
gro
har
ind
bir
fab
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049240-p1 | Extract and print the first 3 characters from column 1, starting at position 1. | {print substr($1,1,3)} | harbor 25
delta 86
harbor 69
delta 19
indigo 74
juniper 74
| har
del
har
del
ind
jun
| juniper 109
grove 61
harbor 67
indigo 28
birch 25
fable 79
| jun
gro
har
ind
bir
fab
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049240 | qwen/qwen3.7-plus |
awkweave-0049241 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | indigo_cobalt 73
harbor_juniper 120
grove_amber 46
ember_grove 83
cobalt_fable 39
delta_indigo 115
amber_birch 118
harbor_birch 73
| indigo cobalt
harbor juniper
grove amber
ember grove
cobalt fable
delta indigo
amber birch
harbor birch
| juniper_cobalt 54
cobalt_grove 79
delta_indigo 103
indigo_harbor 106
harbor_fable 117
indigo_juniper 49
| juniper cobalt
cobalt grove
delta indigo
indigo harbor
harbor fable
indigo juniper
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049241-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | indigo_cobalt 73
harbor_juniper 120
grove_amber 46
ember_grove 83
cobalt_fable 39
delta_indigo 115
amber_birch 118
harbor_birch 73
| indigo cobalt
harbor juniper
grove amber
ember grove
cobalt fable
delta indigo
amber birch
harbor birch
| juniper_cobalt 54
cobalt_grove 79
delta_indigo 103
indigo_harbor 106
harbor_fable 117
indigo_juniper 49
| juniper cobalt
cobalt grove
delta indigo
indigo harbor
harbor fable
indigo juniper
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049241 | qwen/qwen3.7-plus |
awkweave-0049242 | 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)} | ivan delta 80 ready
jules grove 78 closed
alice ember 48 pending
jules delta 21 active
jules indigo 38 failed
bruno indigo 43 failed
farah fable 84 failed
| ready 80 delta ivan
closed 78 grove jules
pending 48 ember alice
active 21 delta jules
failed 38 indigo jules
failed 43 indigo bruno
failed 84 fable farah
| gus grove 8 failed
dina juniper 66 ready
chen indigo 87 failed
dina ember 35 ready
chen birch 22 closed
dina grove 94 failed
gus harbor 93 pending
ivan indigo 56 paused
chen juniper 60 ready
ivan harbor 54 active
| failed 8 grove gus
ready 66 juniper dina
failed 87 indigo chen
ready 35 ember dina
closed 22 birch chen
failed 94 grove dina
pending 93 harbor gus
paused 56 indigo ivan
ready 60 juniper chen
active 54 harbor ivan
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049242-p1 | Reverse the sequence of all fields on each line and print the result. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | ivan delta 80 ready
jules grove 78 closed
alice ember 48 pending
jules delta 21 active
jules indigo 38 failed
bruno indigo 43 failed
farah fable 84 failed
| ready 80 delta ivan
closed 78 grove jules
pending 48 ember alice
active 21 delta jules
failed 38 indigo jules
failed 43 indigo bruno
failed 84 fable farah
| gus grove 8 failed
dina juniper 66 ready
chen indigo 87 failed
dina ember 35 ready
chen birch 22 closed
dina grove 94 failed
gus harbor 93 pending
ivan indigo 56 paused
chen juniper 60 ready
ivan harbor 54 active
| failed 8 grove gus
ready 66 juniper dina
failed 87 indigo chen
ready 35 ember dina
closed 22 birch chen
failed 94 grove dina
pending 93 harbor gus
paused 56 indigo ivan
ready 60 juniper chen
active 54 harbor ivan
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049242 | qwen/qwen3.7-plus |
awkweave-0049243 | Print the number of whitespace-separated fields on each line. | {print NF} | lina delta 81 pending
kim delta 21 pending
dina ember 118 ready
alice birch 108 pending
lina juniper 87 failed
gus fable 85 failed
eli grove 69 failed
bruno amber 61 failed
chen amber 114 failed
eli ember 8 failed
| 4
4
4
4
4
4
4
4
4
4
| gus harbor 105 failed
dina ember 5 failed
hana indigo 38 closed
farah amber 76 active
gus amber 14 failed
kim ember 78 pending
gus delta 117 pending
kim ember 43 closed
bruno juniper 83 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049243-p1 | Output the count of whitespace-delimited fields found on each line. | {print NF} | lina delta 81 pending
kim delta 21 pending
dina ember 118 ready
alice birch 108 pending
lina juniper 87 failed
gus fable 85 failed
eli grove 69 failed
bruno amber 61 failed
chen amber 114 failed
eli ember 8 failed
| 4
4
4
4
4
4
4
4
4
4
| gus harbor 105 failed
dina ember 5 failed
hana indigo 38 closed
farah amber 76 active
gus amber 14 failed
kim ember 78 pending
gus delta 117 pending
kim ember 43 closed
bruno juniper 83 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049243 | qwen/qwen3.7-plus |
awkweave-0049244 | 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]]} | kim alpha 32
lina beta 17
gus gamma 56
jules gamma 65
alice gamma 59
eli beta 73
eli alpha 13
jules delta 90
| alpha 2
beta 2
gamma 3
delta 1
| jules delta 113
kim delta 117
lina gamma 95
kim delta 90
chen delta 4
dina beta 87
dina beta 5
eli alpha 52
| delta 4
gamma 1
beta 2
alpha 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049244-p1 | Tally the number of records for each unique value in column 2, then print each value alongside its count in the order they first appeared. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | kim alpha 32
lina beta 17
gus gamma 56
jules gamma 65
alice gamma 59
eli beta 73
eli alpha 13
jules delta 90
| alpha 2
beta 2
gamma 3
delta 1
| jules delta 113
kim delta 117
lina gamma 95
kim delta 90
chen delta 4
dina beta 87
dina beta 5
eli alpha 52
| delta 4
gamma 1
beta 2
alpha 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049244 | qwen/qwen3.7-plus |
awkweave-0049245 | Sum column 3 for each category in column 2, printing groups in order of first appearance. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | kim gamma 8
jules beta 11
chen beta 18
eli gamma 2
lina gamma 27
bruno beta 28
gus delta 26
| gamma 37
beta 57
delta 26
| lina gamma 10
gus delta 5
dina gamma 5
lina gamma 12
alice delta 26
ivan gamma 21
kim gamma 19
| gamma 67
delta 31
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049245-p1 | Calculate the sum of column 3 grouped by the categories in column 2, and print the results in the order the groups first appeared. | {if(!($2 in sums))order[++n]=$2;sums[$2]+=$3}END{for(i=1;i<=n;i++)print order[i],sums[order[i]]} | kim gamma 8
jules beta 11
chen beta 18
eli gamma 2
lina gamma 27
bruno beta 28
gus delta 26
| gamma 37
beta 57
delta 26
| lina gamma 10
gus delta 5
dina gamma 5
lina gamma 12
alice delta 26
ivan gamma 21
kim gamma 19
| gamma 67
delta 31
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049245 | qwen/qwen3.7-plus |
awkweave-0049246 | 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]]} | beta indigo 7
alpha birch 22
beta fable 75
delta juniper 103
delta fable 48
beta delta 67
delta delta 86
alpha delta 4
alpha amber 51
| beta 3
alpha 3
delta 3
| alpha ember 118
delta indigo 39
beta birch 106
delta juniper 83
delta juniper 19
beta harbor 28
| delta 3
beta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049246-p1 | Identify duplicate values in column 1 and print each one with its occurrence count, maintaining the order of 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]]} | beta indigo 7
alpha birch 22
beta fable 75
delta juniper 103
delta fable 48
beta delta 67
delta delta 86
alpha delta 4
alpha amber 51
| beta 3
alpha 3
delta 3
| alpha ember 118
delta indigo 39
beta birch 106
delta juniper 83
delta juniper 19
beta harbor 28
| delta 3
beta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049246 | qwen/qwen3.7-plus |
awkweave-0049247 | The first row is a header. Print the score column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | region record_id score display_name
r001 bruno 20 pending
r002 kim 25 active
r003 kim 2 pending
r004 farah 7 failed
r005 bruno 30 pending
r006 jules 17 active
r007 hana 16 failed
r008 chen 29 paused
r009 bruno 27 closed
r010 hana 15 paused
| 20
25
2
7
30
17
16
29
27
15
| region record_id score display_name
r001 jules 24 pending
r002 eli 13 paused
r003 hana 10 ready
r004 gus 19 failed
r005 farah 18 active
r006 farah 14 pending
r007 alice 16 paused
r008 kim 12 paused
r009 lina 28 ready
| 24
13
10
19
18
14
16
12
28
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049247-p1 | Skip the header row and output the values from the score column for all remaining data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["score"]} | region record_id score display_name
r001 bruno 20 pending
r002 kim 25 active
r003 kim 2 pending
r004 farah 7 failed
r005 bruno 30 pending
r006 jules 17 active
r007 hana 16 failed
r008 chen 29 paused
r009 bruno 27 closed
r010 hana 15 paused
| 20
25
2
7
30
17
16
29
27
15
| region record_id score display_name
r001 jules 24 pending
r002 eli 13 paused
r003 hana 10 ready
r004 gus 19 failed
r005 farah 18 active
r006 farah 14 pending
r007 alice 16 paused
r008 kim 12 paused
r009 lina 28 ready
| 24
13
10
19
18
14
16
12
28
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049247 | qwen/qwen3.7-plus |
awkweave-0049248 | The first row is a header. Print display_name for data rows whose score is greater than 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 hana 1 failed
r002 alice 6 closed
r003 ivan 3 paused
r004 farah 2 ready
r005 farah 18 closed
r006 chen 4 ready
| farah
| record_id display_name score state
r001 bruno 22 failed
r002 lina 27 active
r003 kim 12 pending
r004 hana 29 paused
r005 eli 13 closed
r006 kim 13 failed
r007 bruno 12 failed
r008 dina 2 pending
r009 chen 12 closed
| bruno
lina
hana
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049248-p1 | Skip the header row and output the display_name field for any data rows where the score exceeds 16. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>16{print $h["display_name"]} | record_id display_name score state
r001 hana 1 failed
r002 alice 6 closed
r003 ivan 3 paused
r004 farah 2 ready
r005 farah 18 closed
r006 chen 4 ready
| farah
| record_id display_name score state
r001 bruno 22 failed
r002 lina 27 active
r003 kim 12 pending
r004 hana 29 paused
r005 eli 13 closed
r006 kim 13 failed
r007 bruno 12 failed
r008 dina 2 pending
r009 chen 12 closed
| bruno
lina
hana
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049248 | qwen/qwen3.7-plus |
awkweave-0049249 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | chen 22 ready
ivan 16 closed
kim 20 ready
alice 9 pending
chen 28 failed
farah 24 ready
chen 4 failed
| 22
16
20
9
28
24
4
| gus 2 failed
gus 14 ready
eli 16 pending
kim 30 pending
gus 18 closed
ivan 5 failed
dina 24 closed
jules 15 pending
ivan 19 pending
jules 30 failed
| 2
14
16
30
18
5
24
15
19
30
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049249-p1 | Given tab-separated input, extract and print the second column from each record. | BEGIN{FS=OFS="\t"}{print $2} | chen 22 ready
ivan 16 closed
kim 20 ready
alice 9 pending
chen 28 failed
farah 24 ready
chen 4 failed
| 22
16
20
9
28
24
4
| gus 2 failed
gus 14 ready
eli 16 pending
kim 30 pending
gus 18 closed
ivan 5 failed
dina 24 closed
jules 15 pending
ivan 19 pending
jules 30 failed
| 2
14
16
30
18
5
24
15
19
30
| tsv_projection | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049249 | qwen/qwen3.7-plus |
awkweave-0049250 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 21. | BEGIN{FS=OFS=","}$2>21{print $1} | bruno,23,ready
bruno,7,closed
chen,7,active
bruno,23,failed
eli,8,ready
dina,9,active
farah,23,active
farah,14,active
chen,13,ready
farah,6,pending
| bruno
bruno
farah
| lina,25,ready
lina,20,paused
farah,18,paused
eli,25,ready
gus,22,pending
chen,15,active
eli,22,closed
chen,9,ready
| lina
eli
gus
eli
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049250-p1 | For simple comma-separated input without quoted commas, output the first column whenever the second column is greater than 21. | BEGIN{FS=OFS=","}$2>21{print $1} | bruno,23,ready
bruno,7,closed
chen,7,active
bruno,23,failed
eli,8,ready
dina,9,active
farah,23,active
farah,14,active
chen,13,ready
farah,6,pending
| bruno
bruno
farah
| lina,25,ready
lina,20,paused
farah,18,paused
eli,25,ready
gus,22,pending
chen,15,active
eli,22,closed
chen,9,ready
| lina
eli
gus
eli
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049250 | qwen/qwen3.7-plus |
awkweave-0049251 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | chen birch 25
lina fable 11
chen ember 61
dina juniper 28
lina cobalt 36
chen amber 65
jules amber 53
alice amber 66
| chen birch 25
lina fable 11
chen ember 61
dina juniper 28
lina cobalt 36
chen amber 65
jules amber 53
alice amber 66
| hana indigo 103
farah juniper 87
bruno juniper 79
gus delta 37
gus grove 78
eli juniper 95
chen harbor 81
bruno harbor 8
eli harbor 112
dina grove 94
| hana indigo 103
farah juniper 87
bruno juniper 79
gus delta 37
gus grove 78
eli juniper 95
chen harbor 81
bruno harbor 8
eli harbor 112
dina grove 94
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049251-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | chen birch 25
lina fable 11
chen ember 61
dina juniper 28
lina cobalt 36
chen amber 65
jules amber 53
alice amber 66
| chen birch 25
lina fable 11
chen ember 61
dina juniper 28
lina cobalt 36
chen amber 65
jules amber 53
alice amber 66
| hana indigo 103
farah juniper 87
bruno juniper 79
gus delta 37
gus grove 78
eli juniper 95
chen harbor 81
bruno harbor 8
eli harbor 112
dina grove 94
| hana indigo 103
farah juniper 87
bruno juniper 79
gus delta 37
gus grove 78
eli juniper 95
chen harbor 81
bruno harbor 8
eli harbor 112
dina grove 94
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049251 | qwen/qwen3.7-plus |
awkweave-0049252 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | bruno amber 108 ready
eli delta 95 ready
gus grove 52 ready
hana birch 9 pending
alice grove 1 active
jules indigo 118 pending
bruno ember 101 active
bruno cobalt 71 ready
| jules indigo 118 pending
| lina amber 36 active
jules juniper 96 ready
gus grove 5 active
jules ember 3 pending
jules ember 23 active
ivan fable 90 failed
kim grove 120 ready
eli cobalt 119 active
| jules juniper 96 ready
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049252-p1 | Identify and print the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | bruno amber 108 ready
eli delta 95 ready
gus grove 52 ready
hana birch 9 pending
alice grove 1 active
jules indigo 118 pending
bruno ember 101 active
bruno cobalt 71 ready
| jules indigo 118 pending
| lina amber 36 active
jules juniper 96 ready
gus grove 5 active
jules ember 3 pending
jules ember 23 active
ivan fable 90 failed
kim grove 120 ready
eli cobalt 119 active
| jules juniper 96 ready
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049252 | qwen/qwen3.7-plus |
awkweave-0049253 | Print every 2nd line starting at line 2 (then line 4, and so on). | NR%2==0 | gus 7
gus 117
lina 82
gus 99
dina 29
ivan 106
| gus 117
gus 99
ivan 106
| kim 96
jules 71
dina 55
lina 3
chen 86
jules 106
bruno 45
jules 60
hana 59
| jules 71
lina 3
jules 106
jules 60
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049253-p1 | Output every second line of the input, beginning with line 2 (i.e., lines 2, 4, 6, etc.). | NR%2==0 | gus 7
gus 117
lina 82
gus 99
dina 29
ivan 106
| gus 117
gus 99
ivan 106
| kim 96
jules 71
dina 55
lina 3
chen 86
jules 106
bruno 45
jules 60
hana 59
| jules 71
lina 3
jules 106
jules 60
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049253 | qwen/qwen3.7-plus |
awkweave-0049254 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 63
alpha juniper 78
gamma harbor 22
alpha amber 35
alpha indigo 56
delta cobalt 61
beta amber 90
alpha fable 13
beta indigo 32
beta ember 102
| 4
| alpha birch 97
alpha ember 77
beta grove 39
beta amber 28
gamma cobalt 48
alpha amber 13
alpha grove 70
gamma birch 39
delta cobalt 75
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049254-p1 | Calculate the number of unique values in the first column and print only that total count. | {if(!seen[$1]++)n++}END{print n+0} | delta amber 63
alpha juniper 78
gamma harbor 22
alpha amber 35
alpha indigo 56
delta cobalt 61
beta amber 90
alpha fable 13
beta indigo 32
beta ember 102
| 4
| alpha birch 97
alpha ember 77
beta grove 39
beta amber 28
gamma cobalt 48
alpha amber 13
alpha grove 70
gamma birch 39
delta cobalt 75
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049254 | qwen/qwen3.7-plus |
awkweave-0049255 | 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 11 0
bruno 15 14
gus 18 22
alice 29 19
hana 21 3
hana 3 2
dina 23 27
gus 4 6
| bruno 1.07
gus 0.82
alice 1.53
hana 7.00
hana 1.50
dina 0.85
gus 0.67
| eli 4 0
jules 16 12
lina 3 28
jules 9 6
farah 7 14
alice 6 25
kim 13 22
| jules 1.33
lina 0.11
jules 1.50
farah 0.50
alice 0.24
kim 0.59
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049255-p1 | For each row, output the first column and the result of dividing the second column by the third column formatted to two decimal places, excluding rows where the third column is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | farah 11 0
bruno 15 14
gus 18 22
alice 29 19
hana 21 3
hana 3 2
dina 23 27
gus 4 6
| bruno 1.07
gus 0.82
alice 1.53
hana 7.00
hana 1.50
dina 0.85
gus 0.67
| eli 4 0
jules 16 12
lina 3 28
jules 9 6
farah 7 14
alice 6 25
kim 13 22
| jules 1.33
lina 0.11
jules 1.50
farah 0.50
alice 0.24
kim 0.59
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049255 | qwen/qwen3.7-plus |
awkweave-0049256 | 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]} | hana amber 29
dina delta 22
eli birch 15
lina harbor 23
ivan fable 4
eli ember 23
bruno indigo 26
alice harbor 27
| hana amber 29
alice harbor 27
bruno indigo 26
| dina indigo 13
alice cobalt 27
chen harbor 15
bruno amber 28
bruno juniper 2
dina birch 4
eli cobalt 29
dina delta 22
| eli cobalt 29
bruno amber 28
alice cobalt 27
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049256-p1 | Output the three full records with the highest numeric values in the third column, 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]} | hana amber 29
dina delta 22
eli birch 15
lina harbor 23
ivan fable 4
eli ember 23
bruno indigo 26
alice harbor 27
| hana amber 29
alice harbor 27
bruno indigo 26
| dina indigo 13
alice cobalt 27
chen harbor 15
bruno amber 28
bruno juniper 2
dina birch 4
eli cobalt 29
dina delta 22
| eli cobalt 29
bruno amber 28
alice cobalt 27
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049256 | qwen/qwen3.7-plus |
awkweave-0049257 | Print column 3 followed by column 1 for every record. | {print $3, $1} | 35 49 82 54
95 59 78 63
85 17 97 99
20 53 116 98
35 90 26 91
115 70 105 69
45 31 91 77
27 113 41 69
| 82 35
78 95
97 85
116 20
26 35
105 115
91 45
41 27
| 62 17 33 99
36 96 10 28
46 101 89 59
65 3 109 51
72 88 65 83
104 87 18 3
46 54 49 88
62 105 3 83
| 33 62
10 36
89 46
109 65
65 72
18 104
49 46
3 62
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049257-p1 | For every record, print the third column followed by the first column. | {print $3, $1} | 35 49 82 54
95 59 78 63
85 17 97 99
20 53 116 98
35 90 26 91
115 70 105 69
45 31 91 77
27 113 41 69
| 82 35
78 95
97 85
116 20
26 35
105 115
91 45
41 27
| 62 17 33 99
36 96 10 28
46 101 89 59
65 3 109 51
72 88 65 83
104 87 18 3
46 54 49 88
62 105 3 83
| 33 62
10 36
89 46
109 65
65 72
18 104
49 46
3 62
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049257 | qwen/qwen3.7-plus |
awkweave-0049258 | Print the last field of every input line. | {print $NF} | paused amber ivan dina 63
pending amber jules kim 13
ready delta alice gus 61
ready fable lina jules 115
ready cobalt alice bruno 117
paused ember kim lina 75
ready cobalt jules ivan 10
failed fable ivan lina 34
| 63
13
61
115
117
75
10
34
| pending harbor dina kim 58
active juniper bruno bruno 90
paused birch chen hana 20
closed grove kim dina 109
failed harbor bruno jules 101
closed amber dina alice 21
closed ember kim lina 8
ready grove hana chen 76
active birch lina alice 116
| 58
90
20
109
101
21
8
76
116
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049258-p1 | Extract and print the final field from each line of input. | {print $NF} | paused amber ivan dina 63
pending amber jules kim 13
ready delta alice gus 61
ready fable lina jules 115
ready cobalt alice bruno 117
paused ember kim lina 75
ready cobalt jules ivan 10
failed fable ivan lina 34
| 63
13
61
115
117
75
10
34
| pending harbor dina kim 58
active juniper bruno bruno 90
paused birch chen hana 20
closed grove kim dina 109
failed harbor bruno jules 101
closed amber dina alice 21
closed ember kim lina 8
ready grove hana chen 76
active birch lina alice 116
| 58
90
20
109
101
21
8
76
116
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049258 | qwen/qwen3.7-plus |
awkweave-0049259 | Print the complete records where column 2 is at least 32. | $2 >= 32 | gus 98 amber
alice 85 cobalt
alice 22 indigo
farah 20 amber
farah 16 grove
lina 77 cobalt
chen 81 juniper
kim 85 indigo
farah 88 delta
| gus 98 amber
alice 85 cobalt
lina 77 cobalt
chen 81 juniper
kim 85 indigo
farah 88 delta
| kim 112 grove
hana 95 juniper
dina 1 ember
bruno 106 indigo
dina 119 cobalt
dina 27 cobalt
farah 68 fable
| kim 112 grove
hana 95 juniper
bruno 106 indigo
dina 119 cobalt
farah 68 fable
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049259-p1 | Output the full records for which the value in the second column is 32 or higher. | $2 >= 32 | gus 98 amber
alice 85 cobalt
alice 22 indigo
farah 20 amber
farah 16 grove
lina 77 cobalt
chen 81 juniper
kim 85 indigo
farah 88 delta
| gus 98 amber
alice 85 cobalt
lina 77 cobalt
chen 81 juniper
kim 85 indigo
farah 88 delta
| kim 112 grove
hana 95 juniper
dina 1 ember
bruno 106 indigo
dina 119 cobalt
dina 27 cobalt
farah 68 fable
| kim 112 grove
hana 95 juniper
bruno 106 indigo
dina 119 cobalt
farah 68 fable
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049259 | qwen/qwen3.7-plus |
awkweave-0049260 | Show whole lines whose 3rd field is between 9 and 22, inclusive. | $3 >= 9 && $3 <= 22 | active alice 18 lina
pending dina 18 kim
closed eli 27 eli
failed ivan 14 ivan
paused ivan 2 ivan
failed lina 8 chen
ready alice 26 bruno
pending gus 5 hana
ready dina 5 ivan
| active alice 18 lina
pending dina 18 kim
failed ivan 14 ivan
| paused kim 17 dina
active eli 8 eli
active eli 12 chen
paused alice 7 lina
paused lina 4 gus
ready hana 12 dina
| paused kim 17 dina
active eli 12 chen
ready hana 12 dina
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049260-p1 | Display entire lines where the third field falls within the inclusive range of 9 to 22. | $3 >= 9 && $3 <= 22 | active alice 18 lina
pending dina 18 kim
closed eli 27 eli
failed ivan 14 ivan
paused ivan 2 ivan
failed lina 8 chen
ready alice 26 bruno
pending gus 5 hana
ready dina 5 ivan
| active alice 18 lina
pending dina 18 kim
failed ivan 14 ivan
| paused kim 17 dina
active eli 8 eli
active eli 12 chen
paused alice 7 lina
paused lina 4 gus
ready hana 12 dina
| paused kim 17 dina
active eli 12 chen
ready hana 12 dina
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049260 | qwen/qwen3.7-plus |
awkweave-0049261 | Print column 4 only for rows where column 3 is exactly ready. | $3 == "ready"{print $4} | 2 fable paused hana
119 birch closed eli
87 birch ready eli
28 amber failed eli
22 birch pending lina
33 amber pending ivan
74 delta active lina
106 birch ready gus
23 juniper paused dina
30 fable pending chen
| eli
gus
| 22 grove pending gus
36 birch paused gus
92 harbor failed farah
37 indigo pending bruno
11 delta failed chen
0 birch closed ivan
40 grove ready jules
| jules
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049261-p1 | Output only the fourth column for rows where the third column is exactly ready. | $3 == "ready"{print $4} | 2 fable paused hana
119 birch closed eli
87 birch ready eli
28 amber failed eli
22 birch pending lina
33 amber pending ivan
74 delta active lina
106 birch ready gus
23 juniper paused dina
30 fable pending chen
| eli
gus
| 22 grove pending gus
36 birch paused gus
92 harbor failed farah
37 indigo pending bruno
11 delta failed chen
0 birch closed ivan
40 grove ready jules
| jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049261 | qwen/qwen3.7-plus |
awkweave-0049262 | Print all fields from lines where field 3 begins with WARN. | $3 ~ /^WARN/ | juniper 39 DEBUG
ember 7 WARN
delta 105 ERROR
juniper 36 WARN
birch 107 ERROR
indigo 38 WARN
| ember 7 WARN
juniper 36 WARN
indigo 38 WARN
| birch 20 INFO
ember 49 DEBUG
delta 112 INFO
fable 20 WARN
indigo 5 INFO
grove 53 WARN
delta 11 WARN
fable 72 WARN
| fable 20 WARN
grove 53 WARN
delta 11 WARN
fable 72 WARN
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049262-p1 | Print all fields from lines where the third field starts with WARN. | $3 ~ /^WARN/ | juniper 39 DEBUG
ember 7 WARN
delta 105 ERROR
juniper 36 WARN
birch 107 ERROR
indigo 38 WARN
| ember 7 WARN
juniper 36 WARN
indigo 38 WARN
| birch 20 INFO
ember 49 DEBUG
delta 112 INFO
fable 20 WARN
indigo 5 INFO
grove 53 WARN
delta 11 WARN
fable 72 WARN
| fable 20 WARN
grove 53 WARN
delta 11 WARN
fable 72 WARN
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049262 | qwen/qwen3.7-plus |
awkweave-0049263 | Print every line except those containing the exact text ember. | $0 !~ /ember/ | harbor 35 closed
harbor 54 ready
delta 5 failed
juniper 118 ready
ember 91 failed
fable 99 failed
harbor 23 active
fable 93 ready
amber 5 failed
ember 999 active
| harbor 35 closed
harbor 54 ready
delta 5 failed
juniper 118 ready
fable 99 failed
harbor 23 active
fable 93 ready
amber 5 failed
| delta 10 ready
harbor 36 pending
juniper 21 paused
fable 6 ready
delta 112 failed
delta 89 paused
birch 67 active
ember 70 active
ember 999 active
| delta 10 ready
harbor 36 pending
juniper 21 paused
fable 6 ready
delta 112 failed
delta 89 paused
birch 67 active
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049263-p1 | Print every line that does not contain the exact string ember. | $0 !~ /ember/ | harbor 35 closed
harbor 54 ready
delta 5 failed
juniper 118 ready
ember 91 failed
fable 99 failed
harbor 23 active
fable 93 ready
amber 5 failed
ember 999 active
| harbor 35 closed
harbor 54 ready
delta 5 failed
juniper 118 ready
fable 99 failed
harbor 23 active
fable 93 ready
amber 5 failed
| delta 10 ready
harbor 36 pending
juniper 21 paused
fable 6 ready
delta 112 failed
delta 89 paused
birch 67 active
ember 70 active
ember 999 active
| delta 10 ready
harbor 36 pending
juniper 21 paused
fable 6 ready
delta 112 failed
delta 89 paused
birch 67 active
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049263 | qwen/qwen3.7-plus |
awkweave-0049264 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | eli ember 35
dina harbor 116
chen ember 1
jules birch 110
eli harbor 55
chen fable 1
kim juniper 35
gus birch 47
kim grove 74
| chen ember 1
jules birch 110
eli harbor 55
chen fable 1
| chen ember 32
bruno grove 13
hana delta 40
chen grove 1
farah juniper 10
gus harbor 74
alice ember 119
chen amber 66
dina grove 81
| hana delta 40
chen grove 1
farah juniper 10
gus harbor 74
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049264-p1 | Output lines 3 through 6, inclusive of both endpoints. | NR >= 3 && NR <= 6 | eli ember 35
dina harbor 116
chen ember 1
jules birch 110
eli harbor 55
chen fable 1
kim juniper 35
gus birch 47
kim grove 74
| chen ember 1
jules birch 110
eli harbor 55
chen fable 1
| chen ember 32
bruno grove 13
hana delta 40
chen grove 1
farah juniper 10
gus harbor 74
alice ember 119
chen amber 66
dina grove 81
| hana delta 40
chen grove 1
farah juniper 10
gus harbor 74
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049264 | qwen/qwen3.7-plus |
awkweave-0049265 | Output only the first 2 records. | NR <= 2 | bruno 1 delta
gus 33 ember
alice 22 indigo
lina 18 fable
bruno 117 ember
kim 49 ember
hana 0 delta
alice 55 ember
farah 96 grove
| bruno 1 delta
gus 33 ember
| bruno 55 birch
farah 120 fable
kim 113 amber
eli 40 juniper
chen 83 ember
eli 12 indigo
eli 18 indigo
jules 108 delta
hana 115 birch
| bruno 55 birch
farah 120 fable
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049265-p1 | Display only the first 2 records. | NR <= 2 | bruno 1 delta
gus 33 ember
alice 22 indigo
lina 18 fable
bruno 117 ember
kim 49 ember
hana 0 delta
alice 55 ember
farah 96 grove
| bruno 1 delta
gus 33 ember
| bruno 55 birch
farah 120 fable
kim 113 amber
eli 40 juniper
chen 83 ember
eli 12 indigo
eli 18 indigo
jules 108 delta
hana 115 birch
| bruno 55 birch
farah 120 fable
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049265 | qwen/qwen3.7-plus |
awkweave-0049266 | Skip the first line and print every remaining line unchanged. | NR > 1 | hana 116 cobalt
chen 29 delta
gus 11 birch
kim 29 grove
kim 76 birch
eli 26 fable
alice 106 juniper
farah 2 delta
alice 82 cobalt
chen 10 birch
| chen 29 delta
gus 11 birch
kim 29 grove
kim 76 birch
eli 26 fable
alice 106 juniper
farah 2 delta
alice 82 cobalt
chen 10 birch
| alice 6 juniper
hana 54 indigo
alice 113 indigo
jules 27 indigo
dina 113 fable
hana 11 fable
| hana 54 indigo
alice 113 indigo
jules 27 indigo
dina 113 fable
hana 11 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049266-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | hana 116 cobalt
chen 29 delta
gus 11 birch
kim 29 grove
kim 76 birch
eli 26 fable
alice 106 juniper
farah 2 delta
alice 82 cobalt
chen 10 birch
| chen 29 delta
gus 11 birch
kim 29 grove
kim 76 birch
eli 26 fable
alice 106 juniper
farah 2 delta
alice 82 cobalt
chen 10 birch
| alice 6 juniper
hana 54 indigo
alice 113 indigo
jules 27 indigo
dina 113 fable
hana 11 fable
| hana 54 indigo
alice 113 indigo
jules 27 indigo
dina 113 fable
hana 11 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049266 | qwen/qwen3.7-plus |
awkweave-0049267 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | chen active 98
lina closed 117
jules active 33
kim active 33
gus pending 52
eli paused 31
alice pending 37
ivan paused 51
bruno paused 10
farah failed 116
| 3
| kim failed 42
hana pending 26
alice paused 72
lina paused 72
farah paused 51
eli pending 96
gus active 10
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049267-p1 | Count the number of records with active in the second column; output 0 if none exist. | $2 == "active"{n++}END{print n+0} | chen active 98
lina closed 117
jules active 33
kim active 33
gus pending 52
eli paused 31
alice pending 37
ivan paused 51
bruno paused 10
farah failed 116
| 3
| kim failed 42
hana pending 26
alice paused 72
lina paused 72
farah paused 51
eli pending 96
gus active 10
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049267 | qwen/qwen3.7-plus |
awkweave-0049268 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | harbor dina 11
delta eli 21
delta gus 16
delta hana 8
cobalt alice 18
fable bruno 21
birch ivan 10
| 105
| fable eli 20
delta alice 21
juniper jules 13
amber chen 24
juniper eli 2
harbor hana 25
amber dina 6
| 111
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049268-p1 | Compute and display the sum of integer values in the third column. | {s+=$3}END{print s+0} | harbor dina 11
delta eli 21
delta gus 16
delta hana 8
cobalt alice 18
fable bruno 21
birch ivan 10
| 105
| fable eli 20
delta alice 21
juniper jules 13
amber chen 24
juniper eli 2
harbor hana 25
amber dina 6
| 111
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049268 | qwen/qwen3.7-plus |
awkweave-0049269 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 24 fable chen
23 amber gus
25 fable alice
6 ember gus
15 indigo ivan
15 birch hana
25 amber hana
| 19.00
| 15 juniper jules
23 juniper alice
25 birch alice
7 indigo hana
1 indigo bruno
12 birch lina
28 grove alice
20 harbor gus
| 16.38
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049269-p1 | Print the average of the first column, rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 24 fable chen
23 amber gus
25 fable alice
6 ember gus
15 indigo ivan
15 birch hana
25 amber hana
| 19.00
| 15 juniper jules
23 juniper alice
25 birch alice
7 indigo hana
1 indigo bruno
12 birch lina
28 grove alice
20 harbor gus
| 16.38
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049269 | qwen/qwen3.7-plus |
awkweave-0049270 | Find and print the smallest numeric value in column 1. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 cobalt lina
24 ember lina
10 ember dina
1 delta gus
20 harbor gus
3 delta jules
| 1
| 26 birch lina
4 birch kim
12 cobalt chen
19 harbor dina
26 grove lina
23 harbor kim
| 4
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049270-p1 | Identify and print the minimum numeric value in the first column. | NR==1||$1<extreme{extreme=$1}END{print extreme} | 29 cobalt lina
24 ember lina
10 ember dina
1 delta gus
20 harbor gus
3 delta jules
| 1
| 26 birch lina
4 birch kim
12 cobalt chen
19 harbor dina
26 grove lina
23 harbor kim
| 4
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049270 | qwen/qwen3.7-plus |
awkweave-0049271 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | grove hana 4
fable hana 28
amber hana 5
juniper chen 19
amber bruno 19
indigo dina 13
harbor dina 23
harbor dina 16
| 28
| indigo ivan 29
cobalt kim 6
indigo dina 13
delta jules 18
delta eli 6
harbor hana 20
cobalt lina 22
grove jules 25
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0049271-p1 | Identify and print the maximum numeric value in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | grove hana 4
fable hana 28
amber hana 5
juniper chen 19
amber bruno 19
indigo dina 13
harbor dina 23
harbor dina 16
| 28
| indigo ivan 29
cobalt kim 6
indigo dina 13
delta jules 18
delta eli 6
harbor hana 20
cobalt lina 22
grove jules 25
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0049271 | qwen/qwen3.7-plus |
awkweave-0049272 | Count all input records and print the total. | END{print NR} | kim 19
lina 78
ivan 91
kim 34
jules 108
gus 76
| 6
| dina 120
hana 82
alice 117
hana 103
ivan 9
gus 13
chen 112
kim 13
| 8
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.