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-0058503 | Show whole lines whose 1st field is between 10 and 18, inclusive. | $1 >= 10 && $1 <= 18 | 16 birch alice bruno
22 grove kim bruno
1 cobalt chen kim
19 ember bruno eli
21 indigo bruno chen
1 indigo eli gus
13 grove chen gus
4 cobalt ivan farah
5 cobalt dina alice
10 ember lina gus
| 16 birch alice bruno
13 grove chen gus
10 ember lina gus
| 23 indigo jules ivan
18 fable eli farah
24 indigo alice kim
20 harbor hana lina
30 birch gus jules
9 fable eli dina
| 18 fable eli farah
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058503-p1 | Show entire lines where the first field falls within the inclusive range of 10 to 18. | $1 >= 10 && $1 <= 18 | 16 birch alice bruno
22 grove kim bruno
1 cobalt chen kim
19 ember bruno eli
21 indigo bruno chen
1 indigo eli gus
13 grove chen gus
4 cobalt ivan farah
5 cobalt dina alice
10 ember lina gus
| 16 birch alice bruno
13 grove chen gus
10 ember lina gus
| 23 indigo jules ivan
18 fable eli farah
24 indigo alice kim
20 harbor hana lina
30 birch gus jules
9 fable eli dina
| 18 fable eli farah
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058503 | qwen/qwen3.7-plus |
awkweave-0058504 | Print column 1 only for rows where column 4 is exactly paused. | $4 == "paused"{print $1} | ivan 18 ember active
alice 16 harbor active
alice 39 grove pending
bruno 57 birch pending
eli 15 delta active
kim 98 harbor active
kim 11 birch pending
eli 47 ember closed
ivan 75 fable paused
chen 109 ember closed
| ivan
| kim 43 fable ready
eli 44 ember paused
dina 70 amber pending
gus 109 juniper failed
bruno 13 delta ready
eli 62 fable ready
bruno 120 harbor pending
ivan 82 grove failed
| eli
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058504-p1 | Output only the first column for rows where the fourth column equals 'paused'. | $4 == "paused"{print $1} | ivan 18 ember active
alice 16 harbor active
alice 39 grove pending
bruno 57 birch pending
eli 15 delta active
kim 98 harbor active
kim 11 birch pending
eli 47 ember closed
ivan 75 fable paused
chen 109 ember closed
| ivan
| kim 43 fable ready
eli 44 ember paused
dina 70 amber pending
gus 109 juniper failed
bruno 13 delta ready
eli 62 fable ready
bruno 120 harbor pending
ivan 82 grove failed
| eli
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058504 | qwen/qwen3.7-plus |
awkweave-0058505 | Print all fields from lines where field 2 begins with INFO. | $2 ~ /^INFO/ | 68 ERROR indigo
99 WARN harbor
58 DEBUG indigo
38 ERROR grove
46 INFO indigo
44 ERROR fable
| 46 INFO indigo
| 41 ERROR delta
11 ERROR cobalt
15 DEBUG juniper
19 DEBUG fable
43 ERROR fable
101 ERROR indigo
4 DEBUG indigo
106 DEBUG delta
112 DEBUG ember
52 INFO amber
| 52 INFO amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058505-p1 | Print all fields from lines where the second field starts with 'INFO'. | $2 ~ /^INFO/ | 68 ERROR indigo
99 WARN harbor
58 DEBUG indigo
38 ERROR grove
46 INFO indigo
44 ERROR fable
| 46 INFO indigo
| 41 ERROR delta
11 ERROR cobalt
15 DEBUG juniper
19 DEBUG fable
43 ERROR fable
101 ERROR indigo
4 DEBUG indigo
106 DEBUG delta
112 DEBUG ember
52 INFO amber
| 52 INFO amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058505 | qwen/qwen3.7-plus |
awkweave-0058506 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | cobalt 118 ready
ember 107 active
fable 4 paused
amber 88 paused
harbor 47 active
fable 28 ready
grove 999 active
| cobalt 118 ready
ember 107 active
fable 4 paused
amber 88 paused
harbor 47 active
fable 28 ready
| birch 34 closed
grove 2 failed
fable 74 active
ember 108 failed
harbor 44 active
harbor 50 pending
juniper 93 ready
grove 999 active
| birch 34 closed
fable 74 active
ember 108 failed
harbor 44 active
harbor 50 pending
juniper 93 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058506-p1 | Display all lines that do not contain the exact string grove. | $0 !~ /grove/ | cobalt 118 ready
ember 107 active
fable 4 paused
amber 88 paused
harbor 47 active
fable 28 ready
grove 999 active
| cobalt 118 ready
ember 107 active
fable 4 paused
amber 88 paused
harbor 47 active
fable 28 ready
| birch 34 closed
grove 2 failed
fable 74 active
ember 108 failed
harbor 44 active
harbor 50 pending
juniper 93 ready
grove 999 active
| birch 34 closed
fable 74 active
ember 108 failed
harbor 44 active
harbor 50 pending
juniper 93 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058506 | qwen/qwen3.7-plus |
awkweave-0058507 | Print lines 3 through 4, including both endpoints. | NR >= 3 && NR <= 4 | alice ember 85
kim harbor 113
bruno delta 111
ivan indigo 59
gus delta 20
ivan ember 29
lina fable 38
bruno delta 87
dina grove 1
| bruno delta 111
ivan indigo 59
| alice grove 23
jules delta 33
jules delta 108
eli cobalt 112
lina birch 44
farah amber 98
chen indigo 72
bruno amber 80
kim harbor 105
| jules delta 108
eli cobalt 112
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058507-p1 | Output lines 3 to 4, inclusive of both ends. | NR >= 3 && NR <= 4 | alice ember 85
kim harbor 113
bruno delta 111
ivan indigo 59
gus delta 20
ivan ember 29
lina fable 38
bruno delta 87
dina grove 1
| bruno delta 111
ivan indigo 59
| alice grove 23
jules delta 33
jules delta 108
eli cobalt 112
lina birch 44
farah amber 98
chen indigo 72
bruno amber 80
kim harbor 105
| jules delta 108
eli cobalt 112
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058507 | qwen/qwen3.7-plus |
awkweave-0058508 | Output only the first 2 records. | NR <= 2 | chen 106 birch
farah 24 cobalt
kim 79 harbor
eli 12 grove
alice 31 fable
lina 5 grove
gus 69 cobalt
dina 78 amber
kim 59 indigo
dina 46 indigo
| chen 106 birch
farah 24 cobalt
| lina 2 grove
gus 113 juniper
chen 57 fable
lina 4 cobalt
dina 49 fable
ivan 103 grove
lina 46 ember
chen 65 amber
lina 75 juniper
alice 6 grove
| lina 2 grove
gus 113 juniper
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058508-p1 | Show only the initial 2 records. | NR <= 2 | chen 106 birch
farah 24 cobalt
kim 79 harbor
eli 12 grove
alice 31 fable
lina 5 grove
gus 69 cobalt
dina 78 amber
kim 59 indigo
dina 46 indigo
| chen 106 birch
farah 24 cobalt
| lina 2 grove
gus 113 juniper
chen 57 fable
lina 4 cobalt
dina 49 fable
ivan 103 grove
lina 46 ember
chen 65 amber
lina 75 juniper
alice 6 grove
| lina 2 grove
gus 113 juniper
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058508 | qwen/qwen3.7-plus |
awkweave-0058509 | Skip the first line and print every remaining line unchanged. | NR > 1 | farah 117 delta
eli 26 harbor
lina 8 fable
dina 9 amber
hana 32 birch
ivan 17 ember
alice 15 cobalt
ivan 67 grove
lina 21 grove
jules 35 harbor
| eli 26 harbor
lina 8 fable
dina 9 amber
hana 32 birch
ivan 17 ember
alice 15 cobalt
ivan 67 grove
lina 21 grove
jules 35 harbor
| kim 13 harbor
bruno 87 amber
dina 108 cobalt
eli 99 grove
farah 116 fable
jules 109 amber
eli 9 indigo
chen 85 ember
chen 110 fable
| bruno 87 amber
dina 108 cobalt
eli 99 grove
farah 116 fable
jules 109 amber
eli 9 indigo
chen 85 ember
chen 110 fable
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058509-p1 | Omit the first line and print the rest as they are. | NR > 1 | farah 117 delta
eli 26 harbor
lina 8 fable
dina 9 amber
hana 32 birch
ivan 17 ember
alice 15 cobalt
ivan 67 grove
lina 21 grove
jules 35 harbor
| eli 26 harbor
lina 8 fable
dina 9 amber
hana 32 birch
ivan 17 ember
alice 15 cobalt
ivan 67 grove
lina 21 grove
jules 35 harbor
| kim 13 harbor
bruno 87 amber
dina 108 cobalt
eli 99 grove
farah 116 fable
jules 109 amber
eli 9 indigo
chen 85 ember
chen 110 fable
| bruno 87 amber
dina 108 cobalt
eli 99 grove
farah 116 fable
jules 109 amber
eli 9 indigo
chen 85 ember
chen 110 fable
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058509 | qwen/qwen3.7-plus |
awkweave-0058510 | Count how many records have ready in column 2. Print 0 if there are none. | $2 == "ready"{n++}END{print n+0} | hana pending 109
alice active 104
kim failed 18
kim paused 65
jules failed 24
lina closed 77
| 0
| ivan failed 28
kim active 8
farah failed 42
gus paused 77
gus closed 44
gus pending 70
lina ready 117
| 1
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058510-p1 | Count records where column 2 equals ready; output 0 if the count is zero. | $2 == "ready"{n++}END{print n+0} | hana pending 109
alice active 104
kim failed 18
kim paused 65
jules failed 24
lina closed 77
| 0
| ivan failed 28
kim active 8
farah failed 42
gus paused 77
gus closed 44
gus pending 70
lina ready 117
| 1
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058510 | qwen/qwen3.7-plus |
awkweave-0058511 | Calculate and print the sum of the integers in column 3. | {s+=$3}END{print s+0} | dina amber 27
ivan delta 18
eli grove 1
alice indigo 2
dina grove 18
ivan ember 27
hana cobalt 5
| 98
| gus ember 6
alice fable 7
dina delta 10
jules juniper 11
jules delta 21
farah birch 27
gus cobalt 27
gus juniper 7
alice delta 25
| 141
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058511-p1 | Compute and display the total sum of integer values in column 3. | {s+=$3}END{print s+0} | dina amber 27
ivan delta 18
eli grove 1
alice indigo 2
dina grove 18
ivan ember 27
hana cobalt 5
| 98
| gus ember 6
alice fable 7
dina delta 10
jules juniper 11
jules delta 21
farah birch 27
gus cobalt 27
gus juniper 7
alice delta 25
| 141
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058511 | qwen/qwen3.7-plus |
awkweave-0058512 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 29 chen delta
15 hana grove
24 eli grove
10 gus delta
15 ivan amber
23 farah juniper
28 farah juniper
12 chen harbor
16 lina amber
8 bruno cobalt
| 18.00
| 17 dina delta
19 gus juniper
22 eli delta
25 jules indigo
9 bruno delta
29 alice cobalt
28 lina fable
17 farah cobalt
| 20.75
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058512-p1 | Print the average of column 1, formatted to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 29 chen delta
15 hana grove
24 eli grove
10 gus delta
15 ivan amber
23 farah juniper
28 farah juniper
12 chen harbor
16 lina amber
8 bruno cobalt
| 18.00
| 17 dina delta
19 gus juniper
22 eli delta
25 jules indigo
9 bruno delta
29 alice cobalt
28 lina fable
17 farah cobalt
| 20.75
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058512 | qwen/qwen3.7-plus |
awkweave-0058513 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | alice 21 birch
jules 5 birch
jules 14 amber
farah 28 delta
lina 12 amber
farah 20 juniper
ivan 30 delta
jules 21 cobalt
eli 28 delta
farah 6 cobalt
| 5
| jules 23 birch
bruno 29 fable
hana 10 juniper
alice 18 cobalt
kim 2 harbor
hana 11 juniper
| 2
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058513-p1 | Identify and output the minimum numeric value found in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | alice 21 birch
jules 5 birch
jules 14 amber
farah 28 delta
lina 12 amber
farah 20 juniper
ivan 30 delta
jules 21 cobalt
eli 28 delta
farah 6 cobalt
| 5
| jules 23 birch
bruno 29 fable
hana 10 juniper
alice 18 cobalt
kim 2 harbor
hana 11 juniper
| 2
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058513 | qwen/qwen3.7-plus |
awkweave-0058514 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | hana grove 8
hana indigo 24
hana indigo 21
kim cobalt 25
kim harbor 30
eli harbor 6
| 30
| alice grove 27
chen fable 23
alice cobalt 14
kim harbor 6
eli amber 29
jules ember 1
lina indigo 10
farah cobalt 13
dina fable 12
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058514-p1 | Identify and output the maximum numeric value found in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | hana grove 8
hana indigo 24
hana indigo 21
kim cobalt 25
kim harbor 30
eli harbor 6
| 30
| alice grove 27
chen fable 23
alice cobalt 14
kim harbor 6
eli amber 29
jules ember 1
lina indigo 10
farah cobalt 13
dina fable 12
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058514 | qwen/qwen3.7-plus |
awkweave-0058515 | Count all input records and print the total. | END{print NR} | lina 56
alice 93
bruno 99
jules 18
gus 16
ivan 112
| 6
| kim 92
eli 44
kim 70
farah 32
farah 1
bruno 106
| 6
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058515-p1 | Count the total number of input records and print the result. | END{print NR} | lina 56
alice 93
bruno 99
jules 18
gus 16
ivan 112
| 6
| kim 92
eli 44
kim 70
farah 32
farah 1
bruno 106
| 6
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058515 | qwen/qwen3.7-plus |
awkweave-0058516 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice ember 30
jules juniper 65
lina grove 76
chen fable 43
kim cobalt 3
farah birch 86
farah delta 92
dina juniper 9
kim amber 104
farah delta 92
| alice ember 30
jules juniper 65
lina grove 76
chen fable 43
kim cobalt 3
farah birch 86
farah delta 92
dina juniper 9
kim amber 104
| hana delta 70
jules indigo 100
chen amber 105
kim indigo 5
eli juniper 10
ivan delta 42
eli grove 101
chen amber 105
alice delta 45
| hana delta 70
jules indigo 100
chen amber 105
kim indigo 5
eli juniper 10
ivan delta 42
eli grove 101
alice delta 45
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058516-p1 | Eliminate exact duplicate lines while keeping the first occurrence and maintaining original order. | !seen[$0]++ | alice ember 30
jules juniper 65
lina grove 76
chen fable 43
kim cobalt 3
farah birch 86
farah delta 92
dina juniper 9
kim amber 104
farah delta 92
| alice ember 30
jules juniper 65
lina grove 76
chen fable 43
kim cobalt 3
farah birch 86
farah delta 92
dina juniper 9
kim amber 104
| hana delta 70
jules indigo 100
chen amber 105
kim indigo 5
eli juniper 10
ivan delta 42
eli grove 101
chen amber 105
alice delta 45
| hana delta 70
jules indigo 100
chen amber 105
kim indigo 5
eli juniper 10
ivan delta 42
eli grove 101
alice delta 45
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058516 | qwen/qwen3.7-plus |
awkweave-0058517 | Keep only the first line for each distinct value in column 2; preserve input order. | !seen[$2]++ | kim amber 85
jules amber 15
dina juniper 114
alice fable 24
kim grove 82
dina cobalt 4
bruno harbor 19
bruno fable 81
alice harbor 46
ivan juniper 94
| kim amber 85
dina juniper 114
alice fable 24
kim grove 82
dina cobalt 4
bruno harbor 19
| hana grove 69
chen indigo 74
kim indigo 49
farah indigo 103
bruno fable 80
bruno ember 115
hana harbor 57
kim delta 11
eli grove 75
| hana grove 69
chen indigo 74
bruno fable 80
bruno ember 115
hana harbor 57
kim delta 11
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058517-p1 | Retain only the first line for each unique value in column 2, preserving the input sequence. | !seen[$2]++ | kim amber 85
jules amber 15
dina juniper 114
alice fable 24
kim grove 82
dina cobalt 4
bruno harbor 19
bruno fable 81
alice harbor 46
ivan juniper 94
| kim amber 85
dina juniper 114
alice fable 24
kim grove 82
dina cobalt 4
bruno harbor 19
| hana grove 69
chen indigo 74
kim indigo 49
farah indigo 103
bruno fable 80
bruno ember 115
hana harbor 57
kim delta 11
eli grove 75
| hana grove 69
chen indigo 74
bruno fable 80
bruno ember 115
hana harbor 57
kim delta 11
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058517 | qwen/qwen3.7-plus |
awkweave-0058518 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 19 amber
bruno 13 harbor
jules 24 indigo
jules 26 fable
alice 13 fable
bruno 4 fable
ivan 4 indigo
jules 22 harbor
eli 26 amber
| alice 19
bruno 32
jules 56
jules 82
alice 95
bruno 99
ivan 103
jules 125
eli 151
| gus 14 fable
hana 2 birch
alice 25 ember
ivan 10 birch
hana 13 fable
lina 4 cobalt
alice 6 harbor
| gus 14
hana 16
alice 41
ivan 51
hana 64
lina 68
alice 74
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058518-p1 | Output the first column and the cumulative total of the second column for each record, using a space as the delimiter. | {s+=$2;print $1,s} | alice 19 amber
bruno 13 harbor
jules 24 indigo
jules 26 fable
alice 13 fable
bruno 4 fable
ivan 4 indigo
jules 22 harbor
eli 26 amber
| alice 19
bruno 32
jules 56
jules 82
alice 95
bruno 99
ivan 103
jules 125
eli 151
| gus 14 fable
hana 2 birch
alice 25 ember
ivan 10 birch
hana 13 fable
lina 4 cobalt
alice 6 harbor
| gus 14
hana 16
alice 41
ivan 51
hana 64
lina 68
alice 74
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058518 | qwen/qwen3.7-plus |
awkweave-0058519 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | hana 13 14 ember
hana 13 28 delta
hana 22 29 ember
ivan 30 26 delta
ivan 25 20 harbor
eli 22 22 indigo
| hana 27
hana 41
hana 51
ivan 56
ivan 45
eli 44
| farah 4 7 indigo
bruno 16 13 juniper
hana 7 24 delta
chen 26 11 cobalt
hana 5 4 harbor
ivan 15 1 juniper
chen 25 23 indigo
| farah 11
bruno 29
hana 31
chen 37
hana 9
ivan 16
chen 48
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058519-p1 | For every line, display the first field followed by the sum of the second and third fields. | {print $1,$2+$3} | hana 13 14 ember
hana 13 28 delta
hana 22 29 ember
ivan 30 26 delta
ivan 25 20 harbor
eli 22 22 indigo
| hana 27
hana 41
hana 51
ivan 56
ivan 45
eli 44
| farah 4 7 indigo
bruno 16 13 juniper
hana 7 24 delta
chen 26 11 cobalt
hana 5 4 harbor
ivan 15 1 juniper
chen 25 23 indigo
| farah 11
bruno 29
hana 31
chen 37
hana 9
ivan 16
chen 48
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058519 | qwen/qwen3.7-plus |
awkweave-0058520 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | hana 11
jules 6
bruno 24
farah 18
lina 4
bruno 28
farah 16
lina 7
| hana fail
jules fail
bruno pass
farah fail
lina fail
bruno pass
farah fail
lina fail
| alice 25
farah 9
dina 21
alice 20
kim 30
chen 14
hana 20
gus 27
lina 5
| alice pass
farah fail
dina pass
alice fail
kim pass
chen fail
hana fail
gus pass
lina fail
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058520-p1 | Print the value in the first column; if the second column is 21 or greater, append 'pass', otherwise append 'fail'. | {print $1,($2>=21?"pass":"fail")} | hana 11
jules 6
bruno 24
farah 18
lina 4
bruno 28
farah 16
lina 7
| hana fail
jules fail
bruno pass
farah fail
lina fail
bruno pass
farah fail
lina fail
| alice 25
farah 9
dina 21
alice 20
kim 30
chen 14
hana 20
gus 27
lina 5
| alice pass
farah fail
dina pass
alice fail
kim pass
chen fail
hana fail
gus pass
lina fail
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058520 | qwen/qwen3.7-plus |
awkweave-0058521 | Convert column 1 to uppercase and print only that column. | {print toupper($1)} | kim amber 51
jules harbor 71
dina indigo 96
dina delta 71
hana cobalt 4
lina cobalt 90
ivan amber 72
| KIM
JULES
DINA
DINA
HANA
LINA
IVAN
| lina cobalt 53
dina indigo 117
kim amber 35
chen cobalt 84
lina ember 81
jules amber 38
| LINA
DINA
KIM
CHEN
LINA
JULES
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058521-p1 | Transform the first column to uppercase letters and output only that modified column. | {print toupper($1)} | kim amber 51
jules harbor 71
dina indigo 96
dina delta 71
hana cobalt 4
lina cobalt 90
ivan amber 72
| KIM
JULES
DINA
DINA
HANA
LINA
IVAN
| lina cobalt 53
dina indigo 117
kim amber 35
chen cobalt 84
lina ember 81
jules amber 38
| LINA
DINA
KIM
CHEN
LINA
JULES
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058521 | qwen/qwen3.7-plus |
awkweave-0058522 | From column 1, print 3 characters starting at character 3. | {print substr($1,3,3)} | harbor 111
ember 63
amber 89
birch 88
fable 25
harbor 28
fable 43
| rbo
ber
ber
rch
ble
rbo
ble
| harbor 64
delta 103
grove 73
indigo 26
indigo 13
grove 39
birch 59
juniper 19
| rbo
lta
ove
dig
dig
ove
rch
nip
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058522-p1 | Extract and print a substring of length 3 from the first column, beginning at the third character. | {print substr($1,3,3)} | harbor 111
ember 63
amber 89
birch 88
fable 25
harbor 28
fable 43
| rbo
ber
ber
rch
ble
rbo
ble
| harbor 64
delta 103
grove 73
indigo 26
indigo 13
grove 39
birch 59
juniper 19
| rbo
lta
ove
dig
dig
ove
rch
nip
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058522 | qwen/qwen3.7-plus |
awkweave-0058523 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | harbor_delta 76
harbor_harbor 48
juniper_fable 49
delta_fable 16
amber_amber 78
harbor_birch 12
cobalt_fable 101
grove_juniper 45
indigo_juniper 87
| harbor delta
harbor harbor
juniper fable
delta fable
amber amber
harbor birch
cobalt fable
grove juniper
indigo juniper
| grove_grove 72
juniper_fable 100
fable_fable 15
delta_birch 90
indigo_cobalt 101
amber_ember 9
fable_amber 30
ember_indigo 117
| grove grove
juniper fable
fable fable
delta birch
indigo cobalt
amber ember
fable amber
ember indigo
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058523-p1 | Substitute all underscores in the first column with spaces and print the modified values. | {gsub(/_/," ",$1);print $1} | harbor_delta 76
harbor_harbor 48
juniper_fable 49
delta_fable 16
amber_amber 78
harbor_birch 12
cobalt_fable 101
grove_juniper 45
indigo_juniper 87
| harbor delta
harbor harbor
juniper fable
delta fable
amber amber
harbor birch
cobalt fable
grove juniper
indigo juniper
| grove_grove 72
juniper_fable 100
fable_fable 15
delta_birch 90
indigo_cobalt 101
amber_ember 9
fable_amber 30
ember_indigo 117
| grove grove
juniper fable
fable fable
delta birch
indigo cobalt
amber ember
fable amber
ember indigo
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058523 | qwen/qwen3.7-plus |
awkweave-0058524 | 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)} | chen birch 51 paused
jules birch 81 pending
lina delta 61 closed
jules fable 111 paused
kim amber 1 closed
ivan amber 43 failed
kim indigo 17 ready
gus ember 45 closed
farah grove 83 ready
| paused 51 birch chen
pending 81 birch jules
closed 61 delta lina
paused 111 fable jules
closed 1 amber kim
failed 43 amber ivan
ready 17 indigo kim
closed 45 ember gus
ready 83 grove farah
| jules harbor 110 pending
bruno cobalt 59 failed
eli fable 83 paused
alice harbor 92 failed
dina grove 31 paused
ivan harbor 102 closed
lina grove 21 paused
| pending 110 harbor jules
failed 59 cobalt bruno
paused 83 fable eli
failed 92 harbor alice
paused 31 grove dina
closed 102 harbor ivan
paused 21 grove lina
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058524-p1 | Reverse the sequence of fields for each line and output all fields in the new order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | chen birch 51 paused
jules birch 81 pending
lina delta 61 closed
jules fable 111 paused
kim amber 1 closed
ivan amber 43 failed
kim indigo 17 ready
gus ember 45 closed
farah grove 83 ready
| paused 51 birch chen
pending 81 birch jules
closed 61 delta lina
paused 111 fable jules
closed 1 amber kim
failed 43 amber ivan
ready 17 indigo kim
closed 45 ember gus
ready 83 grove farah
| jules harbor 110 pending
bruno cobalt 59 failed
eli fable 83 paused
alice harbor 92 failed
dina grove 31 paused
ivan harbor 102 closed
lina grove 21 paused
| pending 110 harbor jules
failed 59 cobalt bruno
paused 83 fable eli
failed 92 harbor alice
paused 31 grove dina
closed 102 harbor ivan
paused 21 grove lina
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058524 | qwen/qwen3.7-plus |
awkweave-0058525 | Print the number of whitespace-separated fields on each line. | {print NF} | gus harbor 4 failed
hana delta 115 failed
kim amber 44 paused
ivan delta 104 paused
alice amber 102 closed
eli birch 116 closed
alice ember 27 ready
hana harbor 27 paused
alice indigo 50 pending
| 4
4
4
4
4
4
4
4
4
| gus birch 90 paused
jules harbor 4 pending
ivan birch 100 pending
eli indigo 17 paused
bruno amber 36 pending
alice birch 84 failed
alice harbor 63 active
hana grove 72 active
gus amber 1 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058525-p1 | Display the count of whitespace-delimited fields present on each line. | {print NF} | gus harbor 4 failed
hana delta 115 failed
kim amber 44 paused
ivan delta 104 paused
alice amber 102 closed
eli birch 116 closed
alice ember 27 ready
hana harbor 27 paused
alice indigo 50 pending
| 4
4
4
4
4
4
4
4
4
| gus birch 90 paused
jules harbor 4 pending
ivan birch 100 pending
eli indigo 17 paused
bruno amber 36 pending
alice birch 84 failed
alice harbor 63 active
hana grove 72 active
gus amber 1 paused
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058525 | qwen/qwen3.7-plus |
awkweave-0058526 | Count records for each value in column 2. Print each value and its count in order of first appearance. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | gus alpha 71
farah gamma 114
farah beta 108
lina gamma 118
bruno beta 80
eli alpha 41
| alpha 2
gamma 2
beta 2
| ivan gamma 40
jules beta 97
gus alpha 75
ivan beta 2
kim delta 33
chen alpha 81
dina alpha 114
kim gamma 50
lina alpha 15
alice gamma 53
| gamma 3
beta 2
alpha 4
delta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058526-p1 | Tally the number of records for each unique value in the second column, 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]]} | gus alpha 71
farah gamma 114
farah beta 108
lina gamma 118
bruno beta 80
eli alpha 41
| alpha 2
gamma 2
beta 2
| ivan gamma 40
jules beta 97
gus alpha 75
ivan beta 2
kim delta 33
chen alpha 81
dina alpha 114
kim gamma 50
lina alpha 15
alice gamma 53
| gamma 3
beta 2
alpha 4
delta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058526 | qwen/qwen3.7-plus |
awkweave-0058527 | 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]]} | chen alpha 8
gus alpha 11
farah delta 30
gus beta 12
dina delta 9
gus delta 24
alice alpha 5
jules alpha 30
jules alpha 12
gus gamma 9
| alpha 66
delta 63
beta 12
gamma 9
| dina alpha 10
jules delta 27
farah delta 20
gus gamma 24
hana gamma 26
alice alpha 19
kim alpha 13
| alpha 42
delta 47
gamma 50
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058527-p1 | Calculate the sum of the third column for each distinct category in the second column, listing the results in the order the categories 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]]} | chen alpha 8
gus alpha 11
farah delta 30
gus beta 12
dina delta 9
gus delta 24
alice alpha 5
jules alpha 30
jules alpha 12
gus gamma 9
| alpha 66
delta 63
beta 12
gamma 9
| dina alpha 10
jules delta 27
farah delta 20
gus gamma 24
hana gamma 26
alice alpha 19
kim alpha 13
| alpha 42
delta 47
gamma 50
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058527 | qwen/qwen3.7-plus |
awkweave-0058528 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma juniper 11
alpha cobalt 51
alpha cobalt 4
alpha grove 85
alpha fable 59
alpha harbor 14
beta ember 119
gamma fable 9
alpha indigo 57
| gamma 2
alpha 6
| alpha grove 27
gamma grove 87
alpha harbor 53
gamma harbor 1
gamma harbor 2
delta juniper 56
delta ember 9
beta delta 65
delta cobalt 1
| alpha 2
gamma 3
delta 3
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058528-p1 | Identify duplicate values in the first column and print each one with its frequency, ordered by first appearance. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | gamma juniper 11
alpha cobalt 51
alpha cobalt 4
alpha grove 85
alpha fable 59
alpha harbor 14
beta ember 119
gamma fable 9
alpha indigo 57
| gamma 2
alpha 6
| alpha grove 27
gamma grove 87
alpha harbor 53
gamma harbor 1
gamma harbor 2
delta juniper 56
delta ember 9
beta delta 65
delta cobalt 1
| alpha 2
gamma 3
delta 3
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058528 | qwen/qwen3.7-plus |
awkweave-0058529 | 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"]} | display_name region record_id state
r001 farah 15 paused
r002 gus 18 closed
r003 gus 23 closed
r004 jules 16 pending
r005 hana 13 pending
r006 lina 30 paused
| farah
gus
gus
jules
hana
lina
| display_name region record_id state
r001 bruno 29 failed
r002 ivan 9 failed
r003 chen 4 ready
r004 eli 20 ready
r005 gus 26 paused
r006 alice 8 failed
r007 jules 3 pending
r008 farah 10 active
r009 ivan 27 ready
| bruno
ivan
chen
eli
gus
alice
jules
farah
ivan
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058529-p1 | Treating the initial row as a header, output the contents of the region column for all subsequent data rows. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["region"]} | display_name region record_id state
r001 farah 15 paused
r002 gus 18 closed
r003 gus 23 closed
r004 jules 16 pending
r005 hana 13 pending
r006 lina 30 paused
| farah
gus
gus
jules
hana
lina
| display_name region record_id state
r001 bruno 29 failed
r002 ivan 9 failed
r003 chen 4 ready
r004 eli 20 ready
r005 gus 26 paused
r006 alice 8 failed
r007 jules 3 pending
r008 farah 10 active
r009 ivan 27 ready
| bruno
ivan
chen
eli
gus
alice
jules
farah
ivan
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058529 | qwen/qwen3.7-plus |
awkweave-0058530 | The first row is a header. Print display_name for data rows whose score is greater than 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 hana 26 ready
r002 jules 26 pending
r003 gus 14 pending
r004 bruno 21 paused
r005 chen 12 ready
r006 ivan 12 pending
r007 jules 5 pending
| hana
jules
bruno
| record_id display_name score state
r001 hana 28 failed
r002 eli 24 pending
r003 lina 30 closed
r004 chen 22 closed
r005 lina 24 paused
r006 hana 15 ready
r007 bruno 11 pending
r008 lina 15 active
r009 ivan 24 ready
r010 gus 7 closed
| hana
eli
lina
chen
lina
ivan
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058530-p1 | Skip the header row and output the display_name field for any data row where the score exceeds 19. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>19{print $h["display_name"]} | record_id display_name score state
r001 hana 26 ready
r002 jules 26 pending
r003 gus 14 pending
r004 bruno 21 paused
r005 chen 12 ready
r006 ivan 12 pending
r007 jules 5 pending
| hana
jules
bruno
| record_id display_name score state
r001 hana 28 failed
r002 eli 24 pending
r003 lina 30 closed
r004 chen 22 closed
r005 lina 24 paused
r006 hana 15 ready
r007 bruno 11 pending
r008 lina 15 active
r009 ivan 24 ready
r010 gus 7 closed
| hana
eli
lina
chen
lina
ivan
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058530 | qwen/qwen3.7-plus |
awkweave-0058531 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | kim 10 ready
bruno 7 closed
eli 18 pending
alice 10 closed
ivan 2 ready
jules 23 pending
chen 21 closed
| ready
closed
pending
closed
ready
pending
closed
| jules 6 ready
jules 2 failed
hana 26 closed
eli 1 ready
eli 18 active
chen 10 paused
alice 19 paused
gus 11 active
| ready
failed
closed
ready
active
paused
paused
active
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058531-p1 | The input is tab-separated. Print column 3 from every record. | BEGIN{FS=OFS="\t"}{print $3} | kim 10 ready
bruno 7 closed
eli 18 pending
alice 10 closed
ivan 2 ready
jules 23 pending
chen 21 closed
| ready
closed
pending
closed
ready
pending
closed
| jules 6 ready
jules 2 failed
hana 26 closed
eli 1 ready
eli 18 active
chen 10 paused
alice 19 paused
gus 11 active
| ready
failed
closed
ready
active
paused
paused
active
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0058531 | qwen/qwen3.7-plus |
awkweave-0058532 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 10. | BEGIN{FS=OFS=","}$2>10{print $1} | lina,19,failed
dina,23,paused
hana,30,active
hana,5,pending
jules,3,active
ivan,25,closed
eli,1,paused
kim,23,pending
| lina
dina
hana
ivan
kim
| chen,5,active
dina,1,active
farah,8,failed
kim,25,active
farah,6,ready
ivan,21,closed
chen,18,ready
hana,4,ready
bruno,28,pending
| kim
ivan
chen
bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058532-p1 | For simple CSV data without quoted commas, print the first column if the second column is greater than 10. | BEGIN{FS=OFS=","}$2>10{print $1} | lina,19,failed
dina,23,paused
hana,30,active
hana,5,pending
jules,3,active
ivan,25,closed
eli,1,paused
kim,23,pending
| lina
dina
hana
ivan
kim
| chen,5,active
dina,1,active
farah,8,failed
kim,25,active
farah,6,ready
ivan,21,closed
chen,18,ready
hana,4,ready
bruno,28,pending
| kim
ivan
chen
bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058532 | qwen/qwen3.7-plus |
awkweave-0058533 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | jules birch 2
dina harbor 8
chen fable 59
lina amber 112
alice cobalt 84
lina grove 118
dina juniper 107
lina fable 27
hana ember 39
| jules birch 2
dina harbor 8
chen fable 59
lina amber 112
alice cobalt 84
lina grove 118
dina juniper 107
lina fable 27
hana ember 39
| farah cobalt 97
chen birch 21
ivan juniper 23
eli fable 97
bruno amber 74
lina fable 51
kim ember 32
farah birch 108
| farah cobalt 97
chen birch 21
ivan juniper 23
eli fable 97
bruno amber 74
lina fable 51
kim ember 32
farah birch 108
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058533-p1 | Remove leading and trailing whitespace, and replace sequences of internal whitespace with a single space. | {$1=$1;print} | jules birch 2
dina harbor 8
chen fable 59
lina amber 112
alice cobalt 84
lina grove 118
dina juniper 107
lina fable 27
hana ember 39
| jules birch 2
dina harbor 8
chen fable 59
lina amber 112
alice cobalt 84
lina grove 118
dina juniper 107
lina fable 27
hana ember 39
| farah cobalt 97
chen birch 21
ivan juniper 23
eli fable 97
bruno amber 74
lina fable 51
kim ember 32
farah birch 108
| farah cobalt 97
chen birch 21
ivan juniper 23
eli fable 97
bruno amber 74
lina fable 51
kim ember 32
farah birch 108
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058533 | qwen/qwen3.7-plus |
awkweave-0058534 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | alice birch 48 closed
dina amber 73 paused
lina amber 39 paused
chen harbor 102 closed
lina cobalt 12 closed
eli fable 99 active
chen amber 9 active
hana ember 73 pending
chen cobalt 29 closed
gus amber 23 pending
| chen harbor 102 closed
| gus amber 70 ready
bruno juniper 51 active
dina grove 118 paused
jules harbor 20 ready
alice grove 26 active
jules grove 57 ready
farah fable 109 pending
ivan fable 39 closed
hana indigo 94 paused
eli birch 97 paused
| bruno juniper 51 active
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058534-p1 | Identify and print the longest line from the input; in case of a tie in length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | alice birch 48 closed
dina amber 73 paused
lina amber 39 paused
chen harbor 102 closed
lina cobalt 12 closed
eli fable 99 active
chen amber 9 active
hana ember 73 pending
chen cobalt 29 closed
gus amber 23 pending
| chen harbor 102 closed
| gus amber 70 ready
bruno juniper 51 active
dina grove 118 paused
jules harbor 20 ready
alice grove 26 active
jules grove 57 ready
farah fable 109 pending
ivan fable 39 closed
hana indigo 94 paused
eli birch 97 paused
| bruno juniper 51 active
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058534 | qwen/qwen3.7-plus |
awkweave-0058535 | Print every 4th line starting at line 1 (then line 5, and so on). | NR%4==1 | bruno 105
gus 41
kim 76
bruno 101
bruno 92
kim 40
hana 24
alice 43
| bruno 105
bruno 92
| farah 67
eli 6
chen 32
jules 86
gus 41
bruno 116
kim 108
| farah 67
gus 41
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058535-p1 | Output every fourth line, beginning with line 1 (i.e., lines 1, 5, 9, etc.). | NR%4==1 | bruno 105
gus 41
kim 76
bruno 101
bruno 92
kim 40
hana 24
alice 43
| bruno 105
bruno 92
| farah 67
eli 6
chen 32
jules 86
gus 41
bruno 116
kim 108
| farah 67
gus 41
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058535 | qwen/qwen3.7-plus |
awkweave-0058536 | Count the distinct values in column 2 and print only the count. | {if(!seen[$2]++)n++}END{print n+0} | beta harbor 26
alpha juniper 40
beta grove 92
alpha cobalt 60
beta grove 57
gamma ember 26
beta juniper 70
alpha ember 104
alpha indigo 108
| 6
| delta harbor 84
alpha grove 25
alpha juniper 115
gamma delta 85
beta ember 100
gamma fable 59
gamma grove 14
| 6
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058536-p1 | Calculate the number of unique values in the second column and print only that total count. | {if(!seen[$2]++)n++}END{print n+0} | beta harbor 26
alpha juniper 40
beta grove 92
alpha cobalt 60
beta grove 57
gamma ember 26
beta juniper 70
alpha ember 104
alpha indigo 108
| 6
| delta harbor 84
alpha grove 25
alpha juniper 115
gamma delta 85
beta ember 100
gamma fable 59
gamma grove 14
| 6
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058536 | qwen/qwen3.7-plus |
awkweave-0058537 | For each row, print column 1 and column 2 divided by column 3 to two decimal places; skip rows where column 3 is zero. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 10 0
alice 28 30
hana 18 29
lina 13 1
kim 2 30
ivan 13 1
| alice 0.93
hana 0.62
lina 13.00
kim 0.07
ivan 13.00
| alice 21 0
farah 18 19
alice 7 1
kim 16 3
alice 25 28
hana 21 16
alice 30 25
ivan 10 30
hana 21 27
jules 7 12
| farah 0.95
alice 7.00
kim 5.33
alice 0.89
hana 1.31
alice 1.20
ivan 0.33
hana 0.78
jules 0.58
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058537-p1 | For each row where the third column is not zero, print the first column and the result of dividing the second column by the third, formatted to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | kim 10 0
alice 28 30
hana 18 29
lina 13 1
kim 2 30
ivan 13 1
| alice 0.93
hana 0.62
lina 13.00
kim 0.07
ivan 13.00
| alice 21 0
farah 18 19
alice 7 1
kim 16 3
alice 25 28
hana 21 16
alice 30 25
ivan 10 30
hana 21 27
jules 7 12
| farah 0.95
alice 7.00
kim 5.33
alice 0.89
hana 1.31
alice 1.20
ivan 0.33
hana 0.78
jules 0.58
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058537 | qwen/qwen3.7-plus |
awkweave-0058538 | 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]} | kim indigo 10
hana ember 19
hana delta 1
hana amber 7
bruno juniper 13
farah amber 17
lina harbor 9
| hana ember 19
farah amber 17
bruno juniper 13
| ivan amber 24
lina ember 11
hana ember 23
gus juniper 20
gus amber 28
jules grove 23
alice amber 4
jules amber 27
kim birch 11
| gus amber 28
jules amber 27
ivan amber 24
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058538-p1 | Output the top three records with the highest numeric values in column 3, sorted in descending order; maintain the original input order for any ties. | {value[NR]=$3;line[NR]=$0}END{for(i=2;i<=NR;i++){v=value[i];text=line[i];j=i-1;while(j>=1&&value[j]<v){value[j+1]=value[j];line[j+1]=line[j];j--}value[j+1]=v;line[j+1]=text}for(i=1;i<=3&&i<=NR;i++)print line[i]} | kim indigo 10
hana ember 19
hana delta 1
hana amber 7
bruno juniper 13
farah amber 17
lina harbor 9
| hana ember 19
farah amber 17
bruno juniper 13
| ivan amber 24
lina ember 11
hana ember 23
gus juniper 20
gus amber 28
jules grove 23
alice amber 4
jules amber 27
kim birch 11
| gus amber 28
jules amber 27
ivan amber 24
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058538 | qwen/qwen3.7-plus |
awkweave-0058539 | For each line, output fields 5 and 4, in that order. | {print $5, $4} | bruno 10 paused 70 91
ivan 97 paused 11 61
chen 89 ready 83 23
jules 51 failed 55 114
alice 97 pending 18 38
chen 40 pending 84 75
| 91 70
61 11
23 83
114 55
38 18
75 84
| farah 27 paused 82 35
gus 63 pending 110 67
jules 32 active 39 79
lina 104 active 63 44
alice 27 failed 20 26
jules 96 active 109 116
kim 64 pending 21 3
jules 101 active 64 50
| 35 82
67 110
79 39
44 63
26 20
116 109
3 21
50 64
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058539-p1 | For every line, print the fifth field followed by the fourth field. | {print $5, $4} | bruno 10 paused 70 91
ivan 97 paused 11 61
chen 89 ready 83 23
jules 51 failed 55 114
alice 97 pending 18 38
chen 40 pending 84 75
| 91 70
61 11
23 83
114 55
38 18
75 84
| farah 27 paused 82 35
gus 63 pending 110 67
jules 32 active 39 79
lina 104 active 63 44
alice 27 failed 20 26
jules 96 active 109 116
kim 64 pending 21 3
jules 101 active 64 50
| 35 82
67 110
79 39
44 63
26 20
116 109
3 21
50 64
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058539 | qwen/qwen3.7-plus |
awkweave-0058540 | Print the last field of every input line. | {print $NF} | pending juniper grove
closed birch grove
active juniper amber
active cobalt juniper
paused fable amber
ready amber amber
paused juniper amber
failed delta delta
paused juniper ember
| grove
grove
amber
juniper
amber
amber
amber
delta
ember
| pending fable birch
ready grove birch
closed juniper amber
active harbor fable
closed indigo grove
active delta grove
closed birch cobalt
failed fable ember
| birch
birch
amber
fable
grove
grove
cobalt
ember
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058540-p1 | Print the final field from each line of input. | {print $NF} | pending juniper grove
closed birch grove
active juniper amber
active cobalt juniper
paused fable amber
ready amber amber
paused juniper amber
failed delta delta
paused juniper ember
| grove
grove
amber
juniper
amber
amber
amber
delta
ember
| pending fable birch
ready grove birch
closed juniper amber
active harbor fable
closed indigo grove
active delta grove
closed birch cobalt
failed fable ember
| birch
birch
amber
fable
grove
grove
cobalt
ember
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058540 | qwen/qwen3.7-plus |
awkweave-0058541 | Print the complete records where column 3 is at least 34. | $3 >= 34 | amber closed 102 ember amber
cobalt closed 119 juniper amber
grove pending 80 grove grove
harbor pending 34 amber cobalt
birch failed 72 ember grove
cobalt paused 83 indigo juniper
amber pending 27 birch juniper
| amber closed 102 ember amber
cobalt closed 119 juniper amber
grove pending 80 grove grove
harbor pending 34 amber cobalt
birch failed 72 ember grove
cobalt paused 83 indigo juniper
| delta pending 118 cobalt birch
juniper closed 22 harbor ember
juniper ready 42 grove cobalt
birch ready 18 amber harbor
indigo closed 112 juniper fable
grove active 20 delta fable
grove closed 54 amber delta
harbor closed 11 birch delta
juniper closed 68 grove fable
| delta pending 118 cobalt birch
juniper ready 42 grove cobalt
indigo closed 112 juniper fable
grove closed 54 amber delta
juniper closed 68 grove fable
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058541-p1 | Output all complete records where the value in column 3 is 34 or higher. | $3 >= 34 | amber closed 102 ember amber
cobalt closed 119 juniper amber
grove pending 80 grove grove
harbor pending 34 amber cobalt
birch failed 72 ember grove
cobalt paused 83 indigo juniper
amber pending 27 birch juniper
| amber closed 102 ember amber
cobalt closed 119 juniper amber
grove pending 80 grove grove
harbor pending 34 amber cobalt
birch failed 72 ember grove
cobalt paused 83 indigo juniper
| delta pending 118 cobalt birch
juniper closed 22 harbor ember
juniper ready 42 grove cobalt
birch ready 18 amber harbor
indigo closed 112 juniper fable
grove active 20 delta fable
grove closed 54 amber delta
harbor closed 11 birch delta
juniper closed 68 grove fable
| delta pending 118 cobalt birch
juniper ready 42 grove cobalt
indigo closed 112 juniper fable
grove closed 54 amber delta
juniper closed 68 grove fable
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058541 | qwen/qwen3.7-plus |
awkweave-0058542 | Show whole lines whose 3rd field is between 6 and 29, inclusive. | $3 >= 6 && $3 <= 29 | juniper grove 28 pending
juniper amber 27 closed
amber juniper 15 active
delta delta 14 failed
birch juniper 1 ready
delta indigo 12 active
harbor fable 27 closed
delta amber 30 ready
harbor birch 7 active
birch indigo 4 closed
| juniper grove 28 pending
juniper amber 27 closed
amber juniper 15 active
delta delta 14 failed
delta indigo 12 active
harbor fable 27 closed
harbor birch 7 active
| grove grove 3 failed
ember ember 8 active
harbor cobalt 23 failed
cobalt harbor 22 paused
delta birch 20 pending
cobalt birch 3 pending
cobalt cobalt 3 pending
| ember ember 8 active
harbor cobalt 23 failed
cobalt harbor 22 paused
delta birch 20 pending
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058542-p1 | Display entire lines where the third field falls within the inclusive range of 6 to 29. | $3 >= 6 && $3 <= 29 | juniper grove 28 pending
juniper amber 27 closed
amber juniper 15 active
delta delta 14 failed
birch juniper 1 ready
delta indigo 12 active
harbor fable 27 closed
delta amber 30 ready
harbor birch 7 active
birch indigo 4 closed
| juniper grove 28 pending
juniper amber 27 closed
amber juniper 15 active
delta delta 14 failed
delta indigo 12 active
harbor fable 27 closed
harbor birch 7 active
| grove grove 3 failed
ember ember 8 active
harbor cobalt 23 failed
cobalt harbor 22 paused
delta birch 20 pending
cobalt birch 3 pending
cobalt cobalt 3 pending
| ember ember 8 active
harbor cobalt 23 failed
cobalt harbor 22 paused
delta birch 20 pending
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058542 | qwen/qwen3.7-plus |
awkweave-0058543 | Print column 4 only for rows where column 3 is exactly paused. | $3 == "paused"{print $4} | grove 91 active jules
delta 19 failed farah
indigo 7 failed alice
ember 70 paused kim
amber 89 ready alice
birch 32 ready farah
amber 73 ready dina
birch 48 paused dina
| kim
dina
| grove 104 pending hana
cobalt 9 failed farah
birch 29 ready gus
amber 109 failed bruno
fable 46 pending bruno
juniper 96 pending hana
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null | |
awkweave-0058543-p1 | Output only the fourth column for rows where the third column matches 'paused' exactly. | $3 == "paused"{print $4} | grove 91 active jules
delta 19 failed farah
indigo 7 failed alice
ember 70 paused kim
amber 89 ready alice
birch 32 ready farah
amber 73 ready dina
birch 48 paused dina
| kim
dina
| grove 104 pending hana
cobalt 9 failed farah
birch 29 ready gus
amber 109 failed bruno
fable 46 pending bruno
juniper 96 pending hana
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058543 | qwen/qwen3.7-plus | |
awkweave-0058544 | Print all fields from lines where field 2 begins with ERROR. | $2 ~ /^ERROR/ | 93 WARN juniper
77 DEBUG juniper
93 ERROR fable
81 INFO ember
62 INFO birch
41 INFO harbor
| 93 ERROR fable
| 107 WARN delta
26 INFO ember
67 WARN delta
117 DEBUG ember
67 ERROR amber
106 INFO amber
| 67 ERROR amber
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058544-p1 | Print all fields from lines where the second field starts with 'ERROR'. | $2 ~ /^ERROR/ | 93 WARN juniper
77 DEBUG juniper
93 ERROR fable
81 INFO ember
62 INFO birch
41 INFO harbor
| 93 ERROR fable
| 107 WARN delta
26 INFO ember
67 WARN delta
117 DEBUG ember
67 ERROR amber
106 INFO amber
| 67 ERROR amber
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058544 | qwen/qwen3.7-plus |
awkweave-0058545 | Print every line except those containing the exact text grove. | $0 !~ /grove/ | indigo 28 ready
indigo 90 failed
juniper 71 closed
ember 75 pending
harbor 36 paused
fable 102 failed
grove 999 active
| indigo 28 ready
indigo 90 failed
juniper 71 closed
ember 75 pending
harbor 36 paused
fable 102 failed
| cobalt 9 ready
fable 81 failed
fable 59 pending
delta 16 closed
amber 102 active
cobalt 48 closed
amber 116 paused
grove 999 active
| cobalt 9 ready
fable 81 failed
fable 59 pending
delta 16 closed
amber 102 active
cobalt 48 closed
amber 116 paused
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058545-p1 | Output every line that does not contain the exact string 'grove'. | $0 !~ /grove/ | indigo 28 ready
indigo 90 failed
juniper 71 closed
ember 75 pending
harbor 36 paused
fable 102 failed
grove 999 active
| indigo 28 ready
indigo 90 failed
juniper 71 closed
ember 75 pending
harbor 36 paused
fable 102 failed
| cobalt 9 ready
fable 81 failed
fable 59 pending
delta 16 closed
amber 102 active
cobalt 48 closed
amber 116 paused
grove 999 active
| cobalt 9 ready
fable 81 failed
fable 59 pending
delta 16 closed
amber 102 active
cobalt 48 closed
amber 116 paused
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058545 | qwen/qwen3.7-plus |
awkweave-0058546 | Print lines 2 through 5, including both endpoints. | NR >= 2 && NR <= 5 | bruno delta 100
farah juniper 114
gus amber 9
farah indigo 109
jules grove 69
lina grove 84
farah amber 81
lina juniper 106
jules grove 120
| farah juniper 114
gus amber 9
farah indigo 109
jules grove 69
| chen ember 85
dina fable 87
hana delta 112
bruno indigo 59
farah juniper 80
eli harbor 14
bruno delta 47
lina birch 102
alice fable 70
| dina fable 87
hana delta 112
bruno indigo 59
farah juniper 80
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058546-p1 | Display lines 2 through 5, inclusive of both endpoints. | NR >= 2 && NR <= 5 | bruno delta 100
farah juniper 114
gus amber 9
farah indigo 109
jules grove 69
lina grove 84
farah amber 81
lina juniper 106
jules grove 120
| farah juniper 114
gus amber 9
farah indigo 109
jules grove 69
| chen ember 85
dina fable 87
hana delta 112
bruno indigo 59
farah juniper 80
eli harbor 14
bruno delta 47
lina birch 102
alice fable 70
| dina fable 87
hana delta 112
bruno indigo 59
farah juniper 80
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058546 | qwen/qwen3.7-plus |
awkweave-0058547 | Output only the first 5 records. | NR <= 5 | eli 27 harbor
farah 11 ember
lina 87 delta
lina 34 birch
lina 90 fable
hana 54 birch
ivan 62 indigo
jules 72 indigo
hana 117 harbor
lina 102 indigo
| eli 27 harbor
farah 11 ember
lina 87 delta
lina 34 birch
lina 90 fable
| jules 55 ember
hana 31 harbor
jules 4 harbor
eli 83 harbor
kim 86 indigo
lina 117 fable
| jules 55 ember
hana 31 harbor
jules 4 harbor
eli 83 harbor
kim 86 indigo
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058547-p1 | Output only the first 5 records. | NR <= 5 | eli 27 harbor
farah 11 ember
lina 87 delta
lina 34 birch
lina 90 fable
hana 54 birch
ivan 62 indigo
jules 72 indigo
hana 117 harbor
lina 102 indigo
| eli 27 harbor
farah 11 ember
lina 87 delta
lina 34 birch
lina 90 fable
| jules 55 ember
hana 31 harbor
jules 4 harbor
eli 83 harbor
kim 86 indigo
lina 117 fable
| jules 55 ember
hana 31 harbor
jules 4 harbor
eli 83 harbor
kim 86 indigo
| first_n | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0058547 | qwen/qwen3.7-plus |
awkweave-0058548 | Skip the first line and print every remaining line unchanged. | NR > 1 | kim 119 harbor
bruno 108 ember
bruno 107 harbor
bruno 67 fable
farah 31 juniper
chen 14 delta
bruno 101 cobalt
| bruno 108 ember
bruno 107 harbor
bruno 67 fable
farah 31 juniper
chen 14 delta
bruno 101 cobalt
| chen 14 indigo
ivan 64 indigo
chen 13 indigo
dina 43 juniper
jules 19 delta
alice 70 delta
hana 120 cobalt
kim 47 delta
kim 30 harbor
| ivan 64 indigo
chen 13 indigo
dina 43 juniper
jules 19 delta
alice 70 delta
hana 120 cobalt
kim 47 delta
kim 30 harbor
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058548-p1 | Omit the first line and print all subsequent lines without modification. | NR > 1 | kim 119 harbor
bruno 108 ember
bruno 107 harbor
bruno 67 fable
farah 31 juniper
chen 14 delta
bruno 101 cobalt
| bruno 108 ember
bruno 107 harbor
bruno 67 fable
farah 31 juniper
chen 14 delta
bruno 101 cobalt
| chen 14 indigo
ivan 64 indigo
chen 13 indigo
dina 43 juniper
jules 19 delta
alice 70 delta
hana 120 cobalt
kim 47 delta
kim 30 harbor
| ivan 64 indigo
chen 13 indigo
dina 43 juniper
jules 19 delta
alice 70 delta
hana 120 cobalt
kim 47 delta
kim 30 harbor
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058548 | qwen/qwen3.7-plus |
awkweave-0058549 | Count how many records have active in column 2. Print 0 if there are none. | $2 == "active"{n++}END{print n+0} | dina paused 15
gus ready 8
kim closed 104
alice active 18
farah ready 98
alice pending 63
lina active 9
| 2
| hana paused 64
dina active 91
eli failed 109
eli active 78
chen pending 85
gus closed 81
| 2
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058549-p1 | Count the number of records with 'active' in the second column; output 0 if none are found. | $2 == "active"{n++}END{print n+0} | dina paused 15
gus ready 8
kim closed 104
alice active 18
farah ready 98
alice pending 63
lina active 9
| 2
| hana paused 64
dina active 91
eli failed 109
eli active 78
chen pending 85
gus closed 81
| 2
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058549 | qwen/qwen3.7-plus |
awkweave-0058550 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | delta 20 bruno
birch 17 dina
amber 22 farah
grove 15 farah
delta 21 eli
birch 6 chen
delta 24 kim
| 125
| delta 2 dina
amber 11 eli
juniper 28 lina
delta 29 kim
delta 4 eli
fable 30 hana
| 104
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058550-p1 | Compute and display the sum of integer values in the second column. | {s+=$2}END{print s+0} | delta 20 bruno
birch 17 dina
amber 22 farah
grove 15 farah
delta 21 eli
birch 6 chen
delta 24 kim
| 125
| delta 2 dina
amber 11 eli
juniper 28 lina
delta 29 kim
delta 4 eli
fable 30 hana
| 104
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058550 | qwen/qwen3.7-plus |
awkweave-0058551 | Print the arithmetic mean of column 1, rounded to exactly two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 15 gus indigo
16 dina harbor
17 gus harbor
3 ivan delta
30 gus fable
13 hana ember
3 farah birch
12 eli cobalt
1 hana indigo
6 chen harbor
| 11.60
| 23 jules ember
24 gus amber
3 ivan cobalt
30 gus juniper
17 jules ember
1 kim juniper
| 16.33
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058551-p1 | Calculate and print the average of the first column, rounded to two decimal places. | {s+=$1;n++}END{printf "%.2f\n",s/n} | 15 gus indigo
16 dina harbor
17 gus harbor
3 ivan delta
30 gus fable
13 hana ember
3 farah birch
12 eli cobalt
1 hana indigo
6 chen harbor
| 11.60
| 23 jules ember
24 gus amber
3 ivan cobalt
30 gus juniper
17 jules ember
1 kim juniper
| 16.33
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058551 | qwen/qwen3.7-plus |
awkweave-0058552 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 14 farah
delta 15 ivan
indigo 14 lina
indigo 21 farah
cobalt 29 kim
juniper 2 hana
| 2
| juniper 1 kim
cobalt 28 alice
harbor 16 ivan
juniper 19 bruno
birch 2 farah
harbor 9 eli
amber 9 hana
amber 11 hana
harbor 8 hana
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0058552-p1 | Identify and print the minimum numeric value found in the second column. | NR==1||$2<extreme{extreme=$2}END{print extreme} | birch 14 farah
delta 15 ivan
indigo 14 lina
indigo 21 farah
cobalt 29 kim
juniper 2 hana
| 2
| juniper 1 kim
cobalt 28 alice
harbor 16 ivan
juniper 19 bruno
birch 2 farah
harbor 9 eli
amber 9 hana
amber 11 hana
harbor 8 hana
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0058552 | qwen/qwen3.7-plus |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.