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-0035611-p1 | Output only the fourth column for rows where the second column is exactly 'active'. | $2 == "active"{print $4} | juniper pending 120 chen
delta ready 58 hana
birch paused 67 lina
harbor closed 114 lina
amber closed 41 lina
grove pending 109 alice
fable active 54 eli
juniper active 118 kim
| eli
kim
| cobalt closed 21 kim
ember pending 96 eli
birch failed 86 dina
juniper paused 93 alice
cobalt failed 70 ivan
fable failed 15 jules
delta paused 73 jules
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035611 | qwen/qwen3.7-plus | |
awkweave-0035612 | Print all fields from lines where field 1 begins with WARN. | $1 ~ /^WARN/ | ERROR indigo 22
INFO indigo 82
WARN amber 9
DEBUG amber 109
WARN grove 60
DEBUG fable 88
WARN delta 42
WARN birch 71
| WARN amber 9
WARN grove 60
WARN delta 42
WARN birch 71
| ERROR amber 48
DEBUG indigo 75
WARN delta 84
DEBUG ember 54
DEBUG birch 106
DEBUG juniper 37
ERROR delta 86
| WARN delta 84
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035612-p1 | Output the entire line for any record where the first field starts with WARN. | $1 ~ /^WARN/ | ERROR indigo 22
INFO indigo 82
WARN amber 9
DEBUG amber 109
WARN grove 60
DEBUG fable 88
WARN delta 42
WARN birch 71
| WARN amber 9
WARN grove 60
WARN delta 42
WARN birch 71
| ERROR amber 48
DEBUG indigo 75
WARN delta 84
DEBUG ember 54
DEBUG birch 106
DEBUG juniper 37
ERROR delta 86
| WARN delta 84
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035612 | qwen/qwen3.7-plus |
awkweave-0035613 | Print every line except those containing the exact text cobalt. | $0 !~ /cobalt/ | indigo 83 failed
harbor 118 ready
indigo 5 paused
birch 1 ready
fable 20 pending
delta 113 pending
amber 85 failed
cobalt 999 active
| indigo 83 failed
harbor 118 ready
indigo 5 paused
birch 1 ready
fable 20 pending
delta 113 pending
amber 85 failed
| harbor 60 active
indigo 74 paused
delta 109 paused
indigo 77 failed
grove 85 closed
indigo 109 ready
cobalt 999 active
| harbor 60 active
indigo 74 paused
delta 109 paused
indigo 77 failed
grove 85 closed
indigo 109 ready
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035613-p1 | Display all lines that do not contain the exact string cobalt. | $0 !~ /cobalt/ | indigo 83 failed
harbor 118 ready
indigo 5 paused
birch 1 ready
fable 20 pending
delta 113 pending
amber 85 failed
cobalt 999 active
| indigo 83 failed
harbor 118 ready
indigo 5 paused
birch 1 ready
fable 20 pending
delta 113 pending
amber 85 failed
| harbor 60 active
indigo 74 paused
delta 109 paused
indigo 77 failed
grove 85 closed
indigo 109 ready
cobalt 999 active
| harbor 60 active
indigo 74 paused
delta 109 paused
indigo 77 failed
grove 85 closed
indigo 109 ready
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035613 | qwen/qwen3.7-plus |
awkweave-0035614 | Print lines 2 through 4, including both endpoints. | NR >= 2 && NR <= 4 | gus harbor 93
ivan cobalt 63
eli indigo 46
lina fable 17
bruno delta 29
hana juniper 86
chen birch 86
| ivan cobalt 63
eli indigo 46
lina fable 17
| farah birch 82
eli birch 73
bruno birch 65
hana grove 107
kim cobalt 8
kim cobalt 13
ivan juniper 40
bruno cobalt 93
| eli birch 73
bruno birch 65
hana grove 107
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035614-p1 | Show lines 2 to 4, inclusive of both the start and end lines. | NR >= 2 && NR <= 4 | gus harbor 93
ivan cobalt 63
eli indigo 46
lina fable 17
bruno delta 29
hana juniper 86
chen birch 86
| ivan cobalt 63
eli indigo 46
lina fable 17
| farah birch 82
eli birch 73
bruno birch 65
hana grove 107
kim cobalt 8
kim cobalt 13
ivan juniper 40
bruno cobalt 93
| eli birch 73
bruno birch 65
hana grove 107
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035614 | qwen/qwen3.7-plus |
awkweave-0035615 | Output only the first 5 records. | NR <= 5 | dina 16 fable
gus 60 grove
hana 46 indigo
ivan 6 indigo
lina 18 indigo
lina 28 amber
| dina 16 fable
gus 60 grove
hana 46 indigo
ivan 6 indigo
lina 18 indigo
| hana 115 birch
hana 57 delta
jules 0 delta
gus 90 delta
gus 33 delta
ivan 25 juniper
| hana 115 birch
hana 57 delta
jules 0 delta
gus 90 delta
gus 33 delta
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035615-p1 | Print only the initial 5 records from the input. | NR <= 5 | dina 16 fable
gus 60 grove
hana 46 indigo
ivan 6 indigo
lina 18 indigo
lina 28 amber
| dina 16 fable
gus 60 grove
hana 46 indigo
ivan 6 indigo
lina 18 indigo
| hana 115 birch
hana 57 delta
jules 0 delta
gus 90 delta
gus 33 delta
ivan 25 juniper
| hana 115 birch
hana 57 delta
jules 0 delta
gus 90 delta
gus 33 delta
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035615 | qwen/qwen3.7-plus |
awkweave-0035616 | Skip the first line and print every remaining line unchanged. | NR > 1 | jules 24 fable
jules 59 ember
lina 91 amber
ivan 60 birch
kim 11 grove
kim 103 delta
alice 50 delta
| jules 59 ember
lina 91 amber
ivan 60 birch
kim 11 grove
kim 103 delta
alice 50 delta
| kim 97 cobalt
alice 91 grove
ivan 102 fable
ivan 65 juniper
ivan 25 delta
jules 13 ember
kim 61 delta
bruno 79 delta
| alice 91 grove
ivan 102 fable
ivan 65 juniper
ivan 25 delta
jules 13 ember
kim 61 delta
bruno 79 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035616-p1 | Omit the header line and output the rest of the lines as they are. | NR > 1 | jules 24 fable
jules 59 ember
lina 91 amber
ivan 60 birch
kim 11 grove
kim 103 delta
alice 50 delta
| jules 59 ember
lina 91 amber
ivan 60 birch
kim 11 grove
kim 103 delta
alice 50 delta
| kim 97 cobalt
alice 91 grove
ivan 102 fable
ivan 65 juniper
ivan 25 delta
jules 13 ember
kim 61 delta
bruno 79 delta
| alice 91 grove
ivan 102 fable
ivan 65 juniper
ivan 25 delta
jules 13 ember
kim 61 delta
bruno 79 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035616 | qwen/qwen3.7-plus |
awkweave-0035617 | Count how many records have failed in column 2. Print 0 if there are none. | $2 == "failed"{n++}END{print n+0} | chen pending 49
farah pending 7
farah ready 13
alice failed 118
hana pending 70
bruno failed 79
gus failed 66
ivan failed 28
jules paused 106
kim ready 43
| 4
| gus failed 24
kim failed 90
lina pending 87
bruno failed 108
gus failed 118
dina active 47
jules active 76
kim failed 34
jules ready 33
gus paused 30
| 5
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035617-p1 | Count the number of entries with 'failed' in the second column; output 0 if the count is zero. | $2 == "failed"{n++}END{print n+0} | chen pending 49
farah pending 7
farah ready 13
alice failed 118
hana pending 70
bruno failed 79
gus failed 66
ivan failed 28
jules paused 106
kim ready 43
| 4
| gus failed 24
kim failed 90
lina pending 87
bruno failed 108
gus failed 118
dina active 47
jules active 76
kim failed 34
jules ready 33
gus paused 30
| 5
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035617 | qwen/qwen3.7-plus |
awkweave-0035618 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | farah 19 birch
bruno 27 grove
chen 29 cobalt
eli 7 birch
kim 22 cobalt
jules 2 fable
bruno 26 indigo
chen 4 ember
bruno 25 cobalt
| 161
| ivan 12 fable
alice 26 birch
bruno 28 cobalt
chen 29 fable
ivan 17 grove
bruno 19 ember
bruno 13 amber
hana 12 fable
| 156
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035618-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | farah 19 birch
bruno 27 grove
chen 29 cobalt
eli 7 birch
kim 22 cobalt
jules 2 fable
bruno 26 indigo
chen 4 ember
bruno 25 cobalt
| 161
| ivan 12 fable
alice 26 birch
bruno 28 cobalt
chen 29 fable
ivan 17 grove
bruno 19 ember
bruno 13 amber
hana 12 fable
| 156
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035618 | qwen/qwen3.7-plus |
awkweave-0035619 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 12 farah
indigo 8 gus
cobalt 23 eli
grove 21 gus
amber 12 eli
fable 18 dina
juniper 11 lina
indigo 4 dina
indigo 21 gus
ember 17 hana
| 14.70
| delta 30 alice
amber 18 chen
delta 5 lina
harbor 11 kim
indigo 14 ivan
grove 23 farah
amber 23 eli
| 17.71
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035619-p1 | Calculate the average of values in column 2 and format the result to two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | amber 12 farah
indigo 8 gus
cobalt 23 eli
grove 21 gus
amber 12 eli
fable 18 dina
juniper 11 lina
indigo 4 dina
indigo 21 gus
ember 17 hana
| 14.70
| delta 30 alice
amber 18 chen
delta 5 lina
harbor 11 kim
indigo 14 ivan
grove 23 farah
amber 23 eli
| 17.71
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035619 | qwen/qwen3.7-plus |
awkweave-0035620 | Find and print the smallest numeric value in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | amber 21 eli
birch 15 lina
juniper 6 eli
delta 22 dina
harbor 18 alice
delta 2 gus
cobalt 15 hana
delta 25 jules
fable 25 kim
| 2
| ember 20 gus
cobalt 19 chen
juniper 11 hana
amber 20 alice
birch 1 lina
amber 22 hana
juniper 15 alice
| 1
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035620-p1 | Identify and print the minimum numeric value present in column 2. | NR==1||$2<extreme{extreme=$2}END{print extreme} | amber 21 eli
birch 15 lina
juniper 6 eli
delta 22 dina
harbor 18 alice
delta 2 gus
cobalt 15 hana
delta 25 jules
fable 25 kim
| 2
| ember 20 gus
cobalt 19 chen
juniper 11 hana
amber 20 alice
birch 1 lina
amber 22 hana
juniper 15 alice
| 1
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035620 | qwen/qwen3.7-plus |
awkweave-0035621 | Find and print the largest numeric value in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 28 delta lina
11 indigo ivan
15 grove bruno
18 fable chen
4 fable eli
2 harbor eli
1 cobalt gus
| 28
| 16 birch hana
14 amber kim
20 ember ivan
11 grove ivan
20 harbor lina
22 harbor farah
16 indigo jules
7 indigo jules
17 amber eli
| 22
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035621-p1 | Identify and print the maximum numeric value present in column 1. | NR==1||$1>extreme{extreme=$1}END{print extreme} | 28 delta lina
11 indigo ivan
15 grove bruno
18 fable chen
4 fable eli
2 harbor eli
1 cobalt gus
| 28
| 16 birch hana
14 amber kim
20 ember ivan
11 grove ivan
20 harbor lina
22 harbor farah
16 indigo jules
7 indigo jules
17 amber eli
| 22
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035621 | qwen/qwen3.7-plus |
awkweave-0035622 | Count all input records and print the total. | END{print NR} | farah 62
hana 116
gus 77
gus 10
lina 70
jules 28
| 6
| jules 19
hana 105
ivan 46
bruno 67
hana 24
lina 74
jules 80
jules 112
bruno 42
| 9
| count_records | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035622-p1 | Count the total number of input records and print the result. | END{print NR} | farah 62
hana 116
gus 77
gus 10
lina 70
jules 28
| 6
| jules 19
hana 105
ivan 46
bruno 67
hana 24
lina 74
jules 80
jules 112
bruno 42
| 9
| count_records | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035622 | qwen/qwen3.7-plus |
awkweave-0035623 | Remove exact duplicate lines, preserving the first occurrence and original order. | !seen[$0]++ | alice juniper 119
alice indigo 92
bruno indigo 45
jules fable 91
bruno indigo 45
gus grove 6
chen birch 94
lina fable 9
farah grove 14
bruno grove 107
| alice juniper 119
alice indigo 92
bruno indigo 45
jules fable 91
gus grove 6
chen birch 94
lina fable 9
farah grove 14
bruno grove 107
| bruno ember 28
dina juniper 78
bruno ember 28
chen juniper 66
eli grove 82
bruno ember 86
eli cobalt 56
hana delta 4
dina fable 88
| bruno ember 28
dina juniper 78
chen juniper 66
eli grove 82
bruno ember 86
eli cobalt 56
hana delta 4
dina fable 88
| dedup_lines | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035623-p1 | Eliminate duplicate lines while keeping the first instance and maintaining the original sequence. | !seen[$0]++ | alice juniper 119
alice indigo 92
bruno indigo 45
jules fable 91
bruno indigo 45
gus grove 6
chen birch 94
lina fable 9
farah grove 14
bruno grove 107
| alice juniper 119
alice indigo 92
bruno indigo 45
jules fable 91
gus grove 6
chen birch 94
lina fable 9
farah grove 14
bruno grove 107
| bruno ember 28
dina juniper 78
bruno ember 28
chen juniper 66
eli grove 82
bruno ember 86
eli cobalt 56
hana delta 4
dina fable 88
| bruno ember 28
dina juniper 78
chen juniper 66
eli grove 82
bruno ember 86
eli cobalt 56
hana delta 4
dina fable 88
| dedup_lines | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035623 | qwen/qwen3.7-plus |
awkweave-0035624 | Keep only the first line for each distinct value in column 3; preserve input order. | !seen[$3]++ | chen grove 114
ivan fable 23
farah ember 84
lina ember 90
gus fable 23
bruno juniper 80
jules harbor 54
jules harbor 62
| chen grove 114
ivan fable 23
farah ember 84
lina ember 90
bruno juniper 80
jules harbor 54
jules harbor 62
| gus juniper 87
lina fable 21
hana juniper 36
chen juniper 73
chen indigo 69
alice delta 26
| gus juniper 87
lina fable 21
hana juniper 36
chen juniper 73
chen indigo 69
alice delta 26
| dedup_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035624-p1 | Retain only the initial occurrence of each unique value found in column 3, maintaining the original input sequence. | !seen[$3]++ | chen grove 114
ivan fable 23
farah ember 84
lina ember 90
gus fable 23
bruno juniper 80
jules harbor 54
jules harbor 62
| chen grove 114
ivan fable 23
farah ember 84
lina ember 90
bruno juniper 80
jules harbor 54
jules harbor 62
| gus juniper 87
lina fable 21
hana juniper 36
chen juniper 73
chen indigo 69
alice delta 26
| gus juniper 87
lina fable 21
hana juniper 36
chen juniper 73
chen indigo 69
alice delta 26
| dedup_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035624 | qwen/qwen3.7-plus |
awkweave-0035625 | For each record, print column 1 and the running sum of column 2, separated by a space. | {s+=$2;print $1,s} | alice 29 fable
lina 26 delta
kim 23 delta
jules 25 juniper
ivan 12 cobalt
farah 8 grove
gus 18 juniper
bruno 2 ember
| alice 29
lina 55
kim 78
jules 103
ivan 115
farah 123
gus 141
bruno 143
| jules 30 ember
ivan 26 delta
bruno 21 fable
eli 16 cobalt
farah 10 harbor
hana 18 juniper
| jules 30
ivan 56
bruno 77
eli 93
farah 103
hana 121
| running_total | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035625-p1 | Output column 1 alongside the cumulative total of column 2 for every record, using a space as the delimiter. | {s+=$2;print $1,s} | alice 29 fable
lina 26 delta
kim 23 delta
jules 25 juniper
ivan 12 cobalt
farah 8 grove
gus 18 juniper
bruno 2 ember
| alice 29
lina 55
kim 78
jules 103
ivan 115
farah 123
gus 141
bruno 143
| jules 30 ember
ivan 26 delta
bruno 21 fable
eli 16 cobalt
farah 10 harbor
hana 18 juniper
| jules 30
ivan 56
bruno 77
eli 93
farah 103
hana 121
| running_total | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035625 | qwen/qwen3.7-plus |
awkweave-0035626 | For every row, print field 1 followed by the sum of fields 2 and 3. | {print $1,$2+$3} | kim 15 14 delta
ivan 23 10 indigo
chen 12 1 grove
ivan 7 19 birch
hana 30 23 indigo
hana 30 14 indigo
dina 13 25 indigo
| kim 29
ivan 33
chen 13
ivan 26
hana 53
hana 44
dina 38
| jules 16 3 harbor
kim 13 29 delta
jules 13 27 delta
gus 28 15 fable
kim 22 14 ember
gus 28 20 grove
dina 19 14 amber
jules 19 10 amber
kim 24 14 fable
| jules 19
kim 42
jules 40
gus 43
kim 36
gus 48
dina 33
jules 29
kim 38
| computed_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035626-p1 | For each row, display field 1 followed by the result of adding fields 2 and 3 together. | {print $1,$2+$3} | kim 15 14 delta
ivan 23 10 indigo
chen 12 1 grove
ivan 7 19 birch
hana 30 23 indigo
hana 30 14 indigo
dina 13 25 indigo
| kim 29
ivan 33
chen 13
ivan 26
hana 53
hana 44
dina 38
| jules 16 3 harbor
kim 13 29 delta
jules 13 27 delta
gus 28 15 fable
kim 22 14 ember
gus 28 20 grove
dina 19 14 amber
jules 19 10 amber
kim 24 14 fable
| jules 19
kim 42
jules 40
gus 43
kim 36
gus 48
dina 33
jules 29
kim 38
| computed_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035626 | qwen/qwen3.7-plus |
awkweave-0035627 | Print column 1 and pass when column 2 is at least 21; otherwise print fail. | {print $1,($2>=21?"pass":"fail")} | gus 30
farah 1
dina 1
kim 18
ivan 27
alice 8
hana 5
ivan 27
| gus pass
farah fail
dina fail
kim fail
ivan pass
alice fail
hana fail
ivan pass
| alice 26
bruno 12
gus 6
lina 24
farah 17
eli 30
| alice pass
bruno fail
gus fail
lina pass
farah fail
eli pass
| conditional_label | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035627-p1 | Output column 1 paired with 'pass' if column 2 is greater than or equal to 21; otherwise, output it with 'fail'. | {print $1,($2>=21?"pass":"fail")} | gus 30
farah 1
dina 1
kim 18
ivan 27
alice 8
hana 5
ivan 27
| gus pass
farah fail
dina fail
kim fail
ivan pass
alice fail
hana fail
ivan pass
| alice 26
bruno 12
gus 6
lina 24
farah 17
eli 30
| alice pass
bruno fail
gus fail
lina pass
farah fail
eli pass
| conditional_label | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035627 | qwen/qwen3.7-plus |
awkweave-0035628 | Convert column 2 to uppercase and print only that column. | {print toupper($2)} | chen harbor 56
dina harbor 52
jules birch 84
eli ember 3
dina ember 48
eli delta 86
chen grove 108
ivan indigo 74
| HARBOR
HARBOR
BIRCH
EMBER
EMBER
DELTA
GROVE
INDIGO
| kim birch 73
jules amber 57
alice harbor 53
farah ember 45
ivan ember 17
dina cobalt 53
chen birch 97
| BIRCH
AMBER
HARBOR
EMBER
EMBER
COBALT
BIRCH
| uppercase | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035628-p1 | Transform column 2 to uppercase letters and output exclusively that modified column. | {print toupper($2)} | chen harbor 56
dina harbor 52
jules birch 84
eli ember 3
dina ember 48
eli delta 86
chen grove 108
ivan indigo 74
| HARBOR
HARBOR
BIRCH
EMBER
EMBER
DELTA
GROVE
INDIGO
| kim birch 73
jules amber 57
alice harbor 53
farah ember 45
ivan ember 17
dina cobalt 53
chen birch 97
| BIRCH
AMBER
HARBOR
EMBER
EMBER
COBALT
BIRCH
| uppercase | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035628 | qwen/qwen3.7-plus |
awkweave-0035629 | From column 1, print 4 characters starting at character 2. | {print substr($1,2,4)} | cobalt 17
indigo 1
fable 47
ember 98
ember 27
indigo 11
cobalt 35
| obal
ndig
able
mber
mber
ndig
obal
| grove 52
cobalt 12
juniper 53
grove 100
indigo 25
amber 32
delta 38
grove 52
harbor 5
| rove
obal
unip
rove
ndig
mber
elta
rove
arbo
| substring | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035629-p1 | Extract and print a substring of 4 characters from column 1, beginning at the second character position. | {print substr($1,2,4)} | cobalt 17
indigo 1
fable 47
ember 98
ember 27
indigo 11
cobalt 35
| obal
ndig
able
mber
mber
ndig
obal
| grove 52
cobalt 12
juniper 53
grove 100
indigo 25
amber 32
delta 38
grove 52
harbor 5
| rove
obal
unip
rove
ndig
mber
elta
rove
arbo
| substring | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035629 | qwen/qwen3.7-plus |
awkweave-0035630 | Replace every underscore in column 1 with a space and print the resulting values. | {gsub(/_/," ",$1);print $1} | juniper_indigo 51
amber_ember 80
ember_birch 94
amber_amber 100
harbor_grove 6
harbor_indigo 91
grove_juniper 115
| juniper indigo
amber ember
ember birch
amber amber
harbor grove
harbor indigo
grove juniper
| grove_delta 102
birch_harbor 29
cobalt_delta 10
harbor_amber 10
indigo_delta 107
indigo_amber 45
juniper_cobalt 47
harbor_ember 19
| grove delta
birch harbor
cobalt delta
harbor amber
indigo delta
indigo amber
juniper cobalt
harbor ember
| replace_underscores | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035630-p1 | Substitute all underscores in column 1 with spaces and output the modified values. | {gsub(/_/," ",$1);print $1} | juniper_indigo 51
amber_ember 80
ember_birch 94
amber_amber 100
harbor_grove 6
harbor_indigo 91
grove_juniper 115
| juniper indigo
amber ember
ember birch
amber amber
harbor grove
harbor indigo
grove juniper
| grove_delta 102
birch_harbor 29
cobalt_delta 10
harbor_amber 10
indigo_delta 107
indigo_amber 45
juniper_cobalt 47
harbor_ember 19
| grove delta
birch harbor
cobalt delta
harbor amber
indigo delta
indigo amber
juniper cobalt
harbor ember
| replace_underscores | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035630 | qwen/qwen3.7-plus |
awkweave-0035631 | Reverse the order of fields on every line and print all fields. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim cobalt 61 failed
chen delta 2 active
chen ember 59 paused
gus harbor 54 ready
dina grove 102 paused
kim fable 55 active
gus juniper 25 paused
alice delta 54 closed
eli indigo 27 pending
lina delta 66 closed
| failed 61 cobalt kim
active 2 delta chen
paused 59 ember chen
ready 54 harbor gus
paused 102 grove dina
active 55 fable kim
paused 25 juniper gus
closed 54 delta alice
pending 27 indigo eli
closed 66 delta lina
| bruno fable 93 closed
hana harbor 21 failed
ivan grove 50 pending
gus ember 119 paused
ivan birch 111 failed
lina harbor 28 ready
bruno harbor 1 ready
eli delta 38 ready
bruno cobalt 78 failed
| closed 93 fable bruno
failed 21 harbor hana
pending 50 grove ivan
paused 119 ember gus
failed 111 birch ivan
ready 28 harbor lina
ready 1 harbor bruno
ready 38 delta eli
failed 78 cobalt bruno
| reverse_fields | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035631-p1 | Invert the sequence of fields for every line and output all fields in this reversed order. | {for(i=NF;i>=1;i--)printf "%s%s",$i,(i>1?OFS:ORS)} | kim cobalt 61 failed
chen delta 2 active
chen ember 59 paused
gus harbor 54 ready
dina grove 102 paused
kim fable 55 active
gus juniper 25 paused
alice delta 54 closed
eli indigo 27 pending
lina delta 66 closed
| failed 61 cobalt kim
active 2 delta chen
paused 59 ember chen
ready 54 harbor gus
paused 102 grove dina
active 55 fable kim
paused 25 juniper gus
closed 54 delta alice
pending 27 indigo eli
closed 66 delta lina
| bruno fable 93 closed
hana harbor 21 failed
ivan grove 50 pending
gus ember 119 paused
ivan birch 111 failed
lina harbor 28 ready
bruno harbor 1 ready
eli delta 38 ready
bruno cobalt 78 failed
| closed 93 fable bruno
failed 21 harbor hana
pending 50 grove ivan
paused 119 ember gus
failed 111 birch ivan
ready 28 harbor lina
ready 1 harbor bruno
ready 38 delta eli
failed 78 cobalt bruno
| reverse_fields | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035631 | qwen/qwen3.7-plus |
awkweave-0035632 | Print the number of whitespace-separated fields on each line. | {print NF} | ivan cobalt 13 pending
ivan cobalt 71 closed
farah delta 64 active
bruno ember 14 ready
chen grove 28 paused
jules ember 34 paused
| 4
4
4
4
4
4
| bruno amber 51 pending
farah ember 65 pending
hana ember 102 pending
ivan juniper 25 closed
eli amber 33 active
chen harbor 96 ready
chen indigo 25 pending
kim birch 51 ready
lina indigo 110 closed
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035632-p1 | Output the count of whitespace-delimited fields present on each individual line. | {print NF} | ivan cobalt 13 pending
ivan cobalt 71 closed
farah delta 64 active
bruno ember 14 ready
chen grove 28 paused
jules ember 34 paused
| 4
4
4
4
4
4
| bruno amber 51 pending
farah ember 65 pending
hana ember 102 pending
ivan juniper 25 closed
eli amber 33 active
chen harbor 96 ready
chen indigo 25 pending
kim birch 51 ready
lina indigo 110 closed
| 4
4
4
4
4
4
4
4
4
| field_count | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035632 | qwen/qwen3.7-plus |
awkweave-0035633 | 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]]} | bruno delta 5
jules alpha 39
chen gamma 47
farah beta 62
bruno delta 45
kim gamma 35
kim beta 72
hana gamma 34
dina gamma 92
| delta 2
alpha 1
gamma 4
beta 2
| hana gamma 28
jules alpha 6
ivan alpha 73
lina alpha 21
chen gamma 49
chen beta 34
| gamma 2
alpha 3
beta 1
| count_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035633-p1 | Tally the number of records for each distinct value in column 2, then print each value with its count in the order they first appear. | {if(!($2 in counts))order[++n]=$2;counts[$2]++}END{for(i=1;i<=n;i++)print order[i],counts[order[i]]} | bruno delta 5
jules alpha 39
chen gamma 47
farah beta 62
bruno delta 45
kim gamma 35
kim beta 72
hana gamma 34
dina gamma 92
| delta 2
alpha 1
gamma 4
beta 2
| hana gamma 28
jules alpha 6
ivan alpha 73
lina alpha 21
chen gamma 49
chen beta 34
| gamma 2
alpha 3
beta 1
| count_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035633 | qwen/qwen3.7-plus |
awkweave-0035634 | 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 24
ivan alpha 6
gus delta 18
jules beta 15
ivan alpha 5
farah delta 25
hana beta 1
farah beta 11
| alpha 35
delta 43
beta 27
| kim delta 16
lina alpha 22
lina delta 6
gus gamma 27
jules delta 23
farah gamma 30
gus delta 9
chen beta 16
| delta 54
alpha 22
gamma 57
beta 16
| sum_by_key | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035634-p1 | Calculate the sum of column 3 grouped by each category in column 2, displaying the results in the 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 24
ivan alpha 6
gus delta 18
jules beta 15
ivan alpha 5
farah delta 25
hana beta 1
farah beta 11
| alpha 35
delta 43
beta 27
| kim delta 16
lina alpha 22
lina delta 6
gus gamma 27
jules delta 23
farah gamma 30
gus delta 9
chen beta 16
| delta 54
alpha 22
gamma 57
beta 16
| sum_by_key | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035634 | qwen/qwen3.7-plus |
awkweave-0035635 | Print each repeated value from column 1 with its number of occurrences, in first-appearance order. | {if(!($1 in counts))order[++n]=$1;counts[$1]++}END{for(i=1;i<=n;i++)if(counts[order[i]]>1)print order[i],counts[order[i]]} | alpha birch 22
alpha amber 47
delta fable 59
beta delta 59
delta ember 14
gamma harbor 94
delta harbor 68
| alpha 2
delta 3
| beta cobalt 10
alpha cobalt 71
alpha amber 6
delta fable 89
alpha birch 118
alpha birch 108
gamma fable 32
delta ember 110
alpha amber 21
| alpha 5
delta 2
| duplicates_only | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035635-p1 | List each value from column 1 that appears more than once, along 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]]} | alpha birch 22
alpha amber 47
delta fable 59
beta delta 59
delta ember 14
gamma harbor 94
delta harbor 68
| alpha 2
delta 3
| beta cobalt 10
alpha cobalt 71
alpha amber 6
delta fable 89
alpha birch 118
alpha birch 108
gamma fable 32
delta ember 110
alpha amber 21
| alpha 5
delta 2
| duplicates_only | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035635 | qwen/qwen3.7-plus |
awkweave-0035636 | The first row is a header. Print the display_name column for every data row. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note state display_name record_id
r001 jules 11 ready
r002 kim 27 failed
r003 kim 24 ready
r004 eli 3 failed
r005 bruno 18 paused
r006 chen 13 pending
r007 lina 15 pending
r008 jules 9 ready
r009 bruno 16 pending
r010 chen 24 active
| 11
27
24
3
18
13
15
9
16
24
| note state display_name record_id
r001 hana 22 pending
r002 farah 10 closed
r003 lina 26 pending
r004 kim 4 active
r005 farah 7 paused
r006 jules 10 pending
r007 hana 3 pending
| 22
10
26
4
7
10
3
| header_projection | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035636-p1 | Skip the header row and output the display_name field for all remaining records. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}{print $h["display_name"]} | note state display_name record_id
r001 jules 11 ready
r002 kim 27 failed
r003 kim 24 ready
r004 eli 3 failed
r005 bruno 18 paused
r006 chen 13 pending
r007 lina 15 pending
r008 jules 9 ready
r009 bruno 16 pending
r010 chen 24 active
| 11
27
24
3
18
13
15
9
16
24
| note state display_name record_id
r001 hana 22 pending
r002 farah 10 closed
r003 lina 26 pending
r004 kim 4 active
r005 farah 7 paused
r006 jules 10 pending
r007 hana 3 pending
| 22
10
26
4
7
10
3
| header_projection | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035636 | qwen/qwen3.7-plus |
awkweave-0035637 | The first row is a header. Print display_name for data rows whose score is greater than 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 chen 5 active
r002 hana 21 closed
r003 alice 16 closed
r004 farah 19 failed
r005 hana 25 closed
r006 lina 18 paused
r007 gus 3 pending
r008 dina 21 failed
r009 jules 21 failed
r010 jules 2 active
| hana
alice
farah
hana
lina
dina
jules
| record_id display_name score state
r001 gus 19 paused
r002 eli 21 pending
r003 farah 13 active
r004 alice 3 failed
r005 lina 14 closed
r006 alice 8 active
r007 eli 5 ready
r008 alice 6 failed
| gus
eli
| header_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035637-p1 | Ignoring the header, list the display_name values only where the score is strictly above 15. | NR==1{for(i=1;i<=NF;i++)h[$i]=i;next}$h["score"]>15{print $h["display_name"]} | record_id display_name score state
r001 chen 5 active
r002 hana 21 closed
r003 alice 16 closed
r004 farah 19 failed
r005 hana 25 closed
r006 lina 18 paused
r007 gus 3 pending
r008 dina 21 failed
r009 jules 21 failed
r010 jules 2 active
| hana
alice
farah
hana
lina
dina
jules
| record_id display_name score state
r001 gus 19 paused
r002 eli 21 pending
r003 farah 13 active
r004 alice 3 failed
r005 lina 14 closed
r006 alice 8 active
r007 eli 5 ready
r008 alice 6 failed
| gus
eli
| header_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035637 | qwen/qwen3.7-plus |
awkweave-0035638 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 1 closed
eli 8 paused
gus 14 paused
hana 30 failed
dina 27 closed
hana 13 active
farah 4 ready
alice 19 active
| 1
8
14
30
27
13
4
19
| bruno 25 pending
jules 11 ready
gus 4 ready
farah 12 failed
alice 23 ready
bruno 1 ready
eli 9 ready
| 25
11
4
12
23
1
9
| tsv_projection | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035638-p1 | The input is tab-separated. Print column 2 from every record. | BEGIN{FS=OFS="\t"}{print $2} | gus 1 closed
eli 8 paused
gus 14 paused
hana 30 failed
dina 27 closed
hana 13 active
farah 4 ready
alice 19 active
| 1
8
14
30
27
13
4
19
| bruno 25 pending
jules 11 ready
gus 4 ready
farah 12 failed
alice 23 ready
bruno 1 ready
eli 9 ready
| 25
11
4
12
23
1
9
| tsv_projection | 1 | train | original-grammar-copy | CC-BY-4.0 | awkweave-0035638 | qwen/qwen3.7-plus |
awkweave-0035639 | The input is simple comma-separated data with no quoted commas. Print column 1 when column 2 exceeds 22. | BEGIN{FS=OFS=","}$2>22{print $1} | eli,26,failed
gus,25,pending
alice,1,paused
alice,22,ready
farah,5,failed
kim,26,failed
hana,17,paused
farah,18,ready
ivan,23,paused
| eli
gus
kim
ivan
| bruno,29,active
gus,18,closed
chen,15,failed
jules,18,active
eli,3,active
alice,17,ready
farah,1,closed
lina,4,pending
farah,3,failed
kim,6,pending
| bruno
| csv_filter | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035639-p1 | For comma-separated input without quoted fields, output the first column whenever the second column value is greater than 22. | BEGIN{FS=OFS=","}$2>22{print $1} | eli,26,failed
gus,25,pending
alice,1,paused
alice,22,ready
farah,5,failed
kim,26,failed
hana,17,paused
farah,18,ready
ivan,23,paused
| eli
gus
kim
ivan
| bruno,29,active
gus,18,closed
chen,15,failed
jules,18,active
eli,3,active
alice,17,ready
farah,1,closed
lina,4,pending
farah,3,failed
kim,6,pending
| bruno
| csv_filter | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035639 | qwen/qwen3.7-plus |
awkweave-0035640 | Trim leading and trailing whitespace and collapse internal whitespace to single spaces. | {$1=$1;print} | eli fable 33
kim amber 61
hana juniper 94
farah ember 117
dina cobalt 116
lina juniper 6
| eli fable 33
kim amber 61
hana juniper 94
farah ember 117
dina cobalt 116
lina juniper 6
| farah grove 56
gus grove 52
kim ember 50
chen harbor 8
gus delta 57
farah cobalt 13
hana grove 36
| farah grove 56
gus grove 52
kim ember 50
chen harbor 8
gus delta 57
farah cobalt 13
hana grove 36
| normalize_whitespace | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035640-p1 | Remove leading and trailing spaces, and replace any sequence of internal whitespace with a single space. | {$1=$1;print} | eli fable 33
kim amber 61
hana juniper 94
farah ember 117
dina cobalt 116
lina juniper 6
| eli fable 33
kim amber 61
hana juniper 94
farah ember 117
dina cobalt 116
lina juniper 6
| farah grove 56
gus grove 52
kim ember 50
chen harbor 8
gus delta 57
farah cobalt 13
hana grove 36
| farah grove 56
gus grove 52
kim ember 50
chen harbor 8
gus delta 57
farah cobalt 13
hana grove 36
| normalize_whitespace | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035640 | qwen/qwen3.7-plus |
awkweave-0035641 | Find and print the longest input line; if tied, keep the earliest. | {if(length($0)>length(best))best=$0}END{print best} | chen amber 29 pending
kim cobalt 34 closed
farah ember 109 active
bruno indigo 69 failed
lina grove 82 ready
dina harbor 70 paused
farah juniper 109 ready
farah juniper 27 active
dina delta 17 failed
| farah juniper 109 ready
| jules harbor 49 pending
kim fable 105 ready
gus cobalt 52 closed
farah cobalt 109 paused
bruno harbor 20 ready
bruno cobalt 85 paused
dina cobalt 43 paused
eli grove 95 paused
chen birch 40 failed
dina fable 16 failed
| jules harbor 49 pending
| longest_line | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035641-p1 | Output the longest line from the input; if multiple lines share the maximum length, select the first one encountered. | {if(length($0)>length(best))best=$0}END{print best} | chen amber 29 pending
kim cobalt 34 closed
farah ember 109 active
bruno indigo 69 failed
lina grove 82 ready
dina harbor 70 paused
farah juniper 109 ready
farah juniper 27 active
dina delta 17 failed
| farah juniper 109 ready
| jules harbor 49 pending
kim fable 105 ready
gus cobalt 52 closed
farah cobalt 109 paused
bruno harbor 20 ready
bruno cobalt 85 paused
dina cobalt 43 paused
eli grove 95 paused
chen birch 40 failed
dina fable 16 failed
| jules harbor 49 pending
| longest_line | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035641 | qwen/qwen3.7-plus |
awkweave-0035642 | Print every 4th line starting at line 1 (then line 5, and so on). | NR%4==1 | jules 58
alice 7
lina 45
farah 116
bruno 61
kim 53
alice 50
chen 79
| jules 58
bruno 61
| lina 20
jules 6
lina 114
kim 107
bruno 50
hana 30
ivan 84
kim 39
jules 37
| lina 20
bruno 50
jules 37
| every_nth | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035642-p1 | Print lines 1, 5, 9, and so on, effectively selecting every fourth line starting from the beginning. | NR%4==1 | jules 58
alice 7
lina 45
farah 116
bruno 61
kim 53
alice 50
chen 79
| jules 58
bruno 61
| lina 20
jules 6
lina 114
kim 107
bruno 50
hana 30
ivan 84
kim 39
jules 37
| lina 20
bruno 50
jules 37
| every_nth | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035642 | qwen/qwen3.7-plus |
awkweave-0035643 | Count the distinct values in column 1 and print only the count. | {if(!seen[$1]++)n++}END{print n+0} | beta cobalt 95
delta ember 100
beta juniper 16
delta juniper 14
alpha indigo 55
delta cobalt 52
alpha delta 83
alpha harbor 81
delta juniper 10
alpha indigo 113
| 3
| delta cobalt 111
gamma delta 118
delta amber 51
alpha cobalt 87
delta ember 26
beta fable 81
alpha harbor 2
beta cobalt 29
gamma amber 21
alpha fable 100
| 4
| distinct_count | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035643-p1 | Calculate and display only the total number of unique entries found in the first column. | {if(!seen[$1]++)n++}END{print n+0} | beta cobalt 95
delta ember 100
beta juniper 16
delta juniper 14
alpha indigo 55
delta cobalt 52
alpha delta 83
alpha harbor 81
delta juniper 10
alpha indigo 113
| 3
| delta cobalt 111
gamma delta 118
delta amber 51
alpha cobalt 87
delta ember 26
beta fable 81
alpha harbor 2
beta cobalt 29
gamma amber 21
alpha fable 100
| 4
| distinct_count | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035643 | qwen/qwen3.7-plus |
awkweave-0035644 | 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} | chen 6 0
gus 18 5
dina 10 14
alice 5 15
dina 5 21
eli 23 3
| gus 3.60
dina 0.71
alice 0.33
dina 0.24
eli 7.67
| gus 13 0
farah 9 9
dina 27 17
ivan 13 26
alice 26 28
hana 17 10
hana 5 12
hana 18 6
kim 26 11
hana 15 7
| farah 1.00
dina 1.59
ivan 0.50
alice 0.93
hana 1.70
hana 0.42
hana 3.00
kim 2.36
hana 2.14
| ratio | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035644-p1 | For each row where the third column is non-zero, output the first column followed by the result of dividing the second column by the third, rounded to two decimal places. | {if($3!=0)printf "%s %.2f\n",$1,$2/$3} | chen 6 0
gus 18 5
dina 10 14
alice 5 15
dina 5 21
eli 23 3
| gus 3.60
dina 0.71
alice 0.33
dina 0.24
eli 7.67
| gus 13 0
farah 9 9
dina 27 17
ivan 13 26
alice 26 28
hana 17 10
hana 5 12
hana 18 6
kim 26 11
hana 15 7
| farah 1.00
dina 1.59
ivan 0.50
alice 0.93
hana 1.70
hana 0.42
hana 3.00
kim 2.36
hana 2.14
| ratio | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035644 | qwen/qwen3.7-plus |
awkweave-0035645 | 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]} | chen ember 4
dina cobalt 6
kim juniper 26
jules harbor 13
jules fable 18
gus indigo 25
lina grove 28
bruno harbor 2
alice fable 30
| alice fable 30
lina grove 28
kim juniper 26
| kim cobalt 23
farah ember 11
kim indigo 12
jules harbor 22
chen amber 9
hana amber 27
alice harbor 12
chen ember 24
ivan harbor 10
ivan cobalt 13
| hana amber 27
chen ember 24
kim cobalt 23
| top_three | 3 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035645-p1 | Retrieve 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]} | chen ember 4
dina cobalt 6
kim juniper 26
jules harbor 13
jules fable 18
gus indigo 25
lina grove 28
bruno harbor 2
alice fable 30
| alice fable 30
lina grove 28
kim juniper 26
| kim cobalt 23
farah ember 11
kim indigo 12
jules harbor 22
chen amber 9
hana amber 27
alice harbor 12
chen ember 24
ivan harbor 10
ivan cobalt 13
| hana amber 27
chen ember 24
kim cobalt 23
| top_three | 3 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035645 | qwen/qwen3.7-plus |
awkweave-0035646 | Select the 2nd and 1st fields in that order. | {print $2, $1} | failed chen 100 72 ready
paused kim 90 113 active
paused kim 28 60 ready
ready eli 66 103 pending
closed alice 53 74 ready
failed kim 64 38 pending
failed alice 82 45 ready
pending jules 37 11 failed
active bruno 3 91 ready
active hana 5 101 failed
| chen failed
kim paused
kim paused
eli ready
alice closed
kim failed
alice failed
jules pending
bruno active
hana active
| paused farah 21 117 closed
ready lina 102 28 paused
closed hana 9 51 pending
active lina 87 43 active
paused farah 39 93 pending
ready bruno 96 58 pending
paused hana 31 35 paused
paused gus 49 67 closed
failed dina 35 30 failed
| farah paused
lina ready
hana closed
lina active
farah paused
bruno ready
hana paused
gus paused
dina failed
| project_fields | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035646-p1 | Rearrange the fields to output the second field followed by the first field. | {print $2, $1} | failed chen 100 72 ready
paused kim 90 113 active
paused kim 28 60 ready
ready eli 66 103 pending
closed alice 53 74 ready
failed kim 64 38 pending
failed alice 82 45 ready
pending jules 37 11 failed
active bruno 3 91 ready
active hana 5 101 failed
| chen failed
kim paused
kim paused
eli ready
alice closed
kim failed
alice failed
jules pending
bruno active
hana active
| paused farah 21 117 closed
ready lina 102 28 paused
closed hana 9 51 pending
active lina 87 43 active
paused farah 39 93 pending
ready bruno 96 58 pending
paused hana 31 35 paused
paused gus 49 67 closed
failed dina 35 30 failed
| farah paused
lina ready
hana closed
lina active
farah paused
bruno ready
hana paused
gus paused
dina failed
| project_fields | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035646 | qwen/qwen3.7-plus |
awkweave-0035647 | Print the last field of every input line. | {print $NF} | juniper paused bruno 25 47
amber failed lina 46 115
amber ready eli 63 22
birch paused dina 16 76
indigo closed farah 1 61
amber failed farah 32 0
| 47
115
22
76
61
0
| cobalt paused hana 102 66
birch ready hana 109 77
amber active alice 57 1
amber closed jules 83 50
indigo pending jules 19 83
birch failed farah 84 0
amber closed farah 115 58
cobalt active bruno 70 99
ember paused lina 8 71
harbor active lina 71 119
| 66
77
1
50
83
0
58
99
71
119
| last_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035647-p1 | Output the final field from every line of the input. | {print $NF} | juniper paused bruno 25 47
amber failed lina 46 115
amber ready eli 63 22
birch paused dina 16 76
indigo closed farah 1 61
amber failed farah 32 0
| 47
115
22
76
61
0
| cobalt paused hana 102 66
birch ready hana 109 77
amber active alice 57 1
amber closed jules 83 50
indigo pending jules 19 83
birch failed farah 84 0
amber closed farah 115 58
cobalt active bruno 70 99
ember paused lina 8 71
harbor active lina 71 119
| 66
77
1
50
83
0
58
99
71
119
| last_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035647 | qwen/qwen3.7-plus |
awkweave-0035648 | Print the complete records where column 1 is at least 63. | $1 >= 63 | 94 farah chen
72 dina alice
83 chen hana
6 eli lina
51 ivan farah
108 chen jules
| 94 farah chen
72 dina alice
83 chen hana
108 chen jules
| 32 lina gus
12 jules eli
105 chen alice
28 gus bruno
0 jules jules
36 chen alice
6 gus dina
101 chen eli
62 bruno dina
64 kim lina
| 105 chen alice
101 chen eli
64 kim lina
| numeric_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035648-p1 | Display full records where the value in the first column is greater than or equal to 63. | $1 >= 63 | 94 farah chen
72 dina alice
83 chen hana
6 eli lina
51 ivan farah
108 chen jules
| 94 farah chen
72 dina alice
83 chen hana
108 chen jules
| 32 lina gus
12 jules eli
105 chen alice
28 gus bruno
0 jules jules
36 chen alice
6 gus dina
101 chen eli
62 bruno dina
64 kim lina
| 105 chen alice
101 chen eli
64 kim lina
| numeric_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035648 | qwen/qwen3.7-plus |
awkweave-0035649 | Show whole lines whose 3rd field is between 10 and 18, inclusive. | $3 >= 10 && $3 <= 18 | birch chen 18 closed
fable hana 10 paused
ember chen 4 closed
delta ivan 25 paused
delta ivan 29 failed
amber bruno 7 paused
harbor farah 20 failed
| birch chen 18 closed
fable hana 10 paused
| amber kim 14 failed
juniper ivan 4 pending
amber chen 3 paused
indigo hana 5 ready
amber hana 1 closed
ember kim 22 paused
birch kim 4 pending
| amber kim 14 failed
| numeric_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035649-p1 | Output entire lines where the third field falls within the range of 10 to 18, inclusive. | $3 >= 10 && $3 <= 18 | birch chen 18 closed
fable hana 10 paused
ember chen 4 closed
delta ivan 25 paused
delta ivan 29 failed
amber bruno 7 paused
harbor farah 20 failed
| birch chen 18 closed
fable hana 10 paused
| amber kim 14 failed
juniper ivan 4 pending
amber chen 3 paused
indigo hana 5 ready
amber hana 1 closed
ember kim 22 paused
birch kim 4 pending
| amber kim 14 failed
| numeric_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035649 | qwen/qwen3.7-plus |
awkweave-0035650 | Print column 1 only for rows where column 2 is exactly active. | $2 == "active"{print $1} | bruno ready fable 96
kim pending amber 4
dina active harbor 96
jules active birch 110
kim failed ember 38
kim closed juniper 24
| dina
jules
| ivan failed harbor 53
alice pending grove 111
dina pending harbor 80
dina ready indigo 36
jules ready birch 12
farah ready cobalt 9
lina ready harbor 72
farah ready fable 85
gus active delta 100
jules paused cobalt 95
| gus
| string_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035650-p1 | Extract and print only the first column for rows where the second column matches 'active' exactly. | $2 == "active"{print $1} | bruno ready fable 96
kim pending amber 4
dina active harbor 96
jules active birch 110
kim failed ember 38
kim closed juniper 24
| dina
jules
| ivan failed harbor 53
alice pending grove 111
dina pending harbor 80
dina ready indigo 36
jules ready birch 12
farah ready cobalt 9
lina ready harbor 72
farah ready fable 85
gus active delta 100
jules paused cobalt 95
| gus
| string_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035650 | qwen/qwen3.7-plus |
awkweave-0035651 | Print all fields from lines where field 1 begins with ERROR. | $1 ~ /^ERROR/ | ERROR fable 16
DEBUG juniper 66
INFO harbor 80
INFO amber 102
INFO grove 43
DEBUG grove 80
| ERROR fable 16
| ERROR grove 63
DEBUG ember 117
DEBUG fable 58
DEBUG fable 14
ERROR cobalt 100
DEBUG indigo 29
INFO juniper 62
| ERROR grove 63
ERROR cobalt 100
| regex_filter | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035651-p1 | Print all fields from any line where the first field starts with the string 'ERROR'. | $1 ~ /^ERROR/ | ERROR fable 16
DEBUG juniper 66
INFO harbor 80
INFO amber 102
INFO grove 43
DEBUG grove 80
| ERROR fable 16
| ERROR grove 63
DEBUG ember 117
DEBUG fable 58
DEBUG fable 14
ERROR cobalt 100
DEBUG indigo 29
INFO juniper 62
| ERROR grove 63
ERROR cobalt 100
| regex_filter | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035651 | qwen/qwen3.7-plus |
awkweave-0035652 | Print every line except those containing the exact text fable. | $0 !~ /fable/ | amber 83 failed
grove 21 ready
ember 31 closed
ember 79 active
amber 21 ready
cobalt 54 closed
grove 86 failed
birch 87 ready
grove 65 paused
juniper 26 ready
fable 999 active
| amber 83 failed
grove 21 ready
ember 31 closed
ember 79 active
amber 21 ready
cobalt 54 closed
grove 86 failed
birch 87 ready
grove 65 paused
juniper 26 ready
| harbor 89 active
delta 22 closed
birch 66 ready
juniper 117 closed
juniper 115 ready
cobalt 13 paused
harbor 93 ready
indigo 111 pending
fable 999 active
| harbor 89 active
delta 22 closed
birch 66 ready
juniper 117 closed
juniper 115 ready
cobalt 13 paused
harbor 93 ready
indigo 111 pending
| exclude_regex | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035652-p1 | Output every line that does not contain the exact substring 'fable'. | $0 !~ /fable/ | amber 83 failed
grove 21 ready
ember 31 closed
ember 79 active
amber 21 ready
cobalt 54 closed
grove 86 failed
birch 87 ready
grove 65 paused
juniper 26 ready
fable 999 active
| amber 83 failed
grove 21 ready
ember 31 closed
ember 79 active
amber 21 ready
cobalt 54 closed
grove 86 failed
birch 87 ready
grove 65 paused
juniper 26 ready
| harbor 89 active
delta 22 closed
birch 66 ready
juniper 117 closed
juniper 115 ready
cobalt 13 paused
harbor 93 ready
indigo 111 pending
fable 999 active
| harbor 89 active
delta 22 closed
birch 66 ready
juniper 117 closed
juniper 115 ready
cobalt 13 paused
harbor 93 ready
indigo 111 pending
| exclude_regex | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035652 | qwen/qwen3.7-plus |
awkweave-0035653 | Print lines 3 through 6, including both endpoints. | NR >= 3 && NR <= 6 | ivan delta 65
eli amber 92
ivan ember 30
jules cobalt 108
chen fable 23
jules delta 87
gus juniper 0
ivan cobalt 10
chen delta 32
farah birch 14
| ivan ember 30
jules cobalt 108
chen fable 23
jules delta 87
| ivan cobalt 41
gus ember 13
dina indigo 119
alice grove 10
bruno cobalt 57
chen birch 92
hana delta 59
| dina indigo 119
alice grove 10
bruno cobalt 57
chen birch 92
| line_range | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035653-p1 | Print lines numbered 3 through 6, ensuring both the start and end lines are included. | NR >= 3 && NR <= 6 | ivan delta 65
eli amber 92
ivan ember 30
jules cobalt 108
chen fable 23
jules delta 87
gus juniper 0
ivan cobalt 10
chen delta 32
farah birch 14
| ivan ember 30
jules cobalt 108
chen fable 23
jules delta 87
| ivan cobalt 41
gus ember 13
dina indigo 119
alice grove 10
bruno cobalt 57
chen birch 92
hana delta 59
| dina indigo 119
alice grove 10
bruno cobalt 57
chen birch 92
| line_range | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035653 | qwen/qwen3.7-plus |
awkweave-0035654 | Output only the first 5 records. | NR <= 5 | bruno 28 fable
ivan 114 harbor
dina 102 birch
jules 22 birch
ivan 47 grove
alice 25 cobalt
| bruno 28 fable
ivan 114 harbor
dina 102 birch
jules 22 birch
ivan 47 grove
| eli 23 birch
eli 15 fable
farah 70 fable
eli 69 indigo
dina 79 birch
jules 54 juniper
| eli 23 birch
eli 15 fable
farah 70 fable
eli 69 indigo
dina 79 birch
| first_n | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035654-p1 | Display only the initial 5 records from the input. | NR <= 5 | bruno 28 fable
ivan 114 harbor
dina 102 birch
jules 22 birch
ivan 47 grove
alice 25 cobalt
| bruno 28 fable
ivan 114 harbor
dina 102 birch
jules 22 birch
ivan 47 grove
| eli 23 birch
eli 15 fable
farah 70 fable
eli 69 indigo
dina 79 birch
jules 54 juniper
| eli 23 birch
eli 15 fable
farah 70 fable
eli 69 indigo
dina 79 birch
| first_n | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035654 | qwen/qwen3.7-plus |
awkweave-0035655 | Skip the first line and print every remaining line unchanged. | NR > 1 | gus 85 harbor
alice 16 fable
hana 57 ember
chen 74 cobalt
hana 105 birch
ivan 8 cobalt
| alice 16 fable
hana 57 ember
chen 74 cobalt
hana 105 birch
ivan 8 cobalt
| alice 25 harbor
kim 34 ember
ivan 59 ember
dina 58 indigo
alice 98 grove
dina 53 delta
| kim 34 ember
ivan 59 ember
dina 58 indigo
alice 98 grove
dina 53 delta
| skip_header | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035655-p1 | Ignore the first line and output all subsequent lines without modification. | NR > 1 | gus 85 harbor
alice 16 fable
hana 57 ember
chen 74 cobalt
hana 105 birch
ivan 8 cobalt
| alice 16 fable
hana 57 ember
chen 74 cobalt
hana 105 birch
ivan 8 cobalt
| alice 25 harbor
kim 34 ember
ivan 59 ember
dina 58 indigo
alice 98 grove
dina 53 delta
| kim 34 ember
ivan 59 ember
dina 58 indigo
alice 98 grove
dina 53 delta
| skip_header | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035655 | qwen/qwen3.7-plus |
awkweave-0035656 | Count how many records have closed in column 2. Print 0 if there are none. | $2 == "closed"{n++}END{print n+0} | lina paused 39
dina pending 23
hana pending 60
hana paused 22
dina paused 40
ivan pending 25
jules ready 101
hana failed 43
bruno ready 66
| 0
| alice paused 96
farah paused 63
ivan paused 76
jules paused 89
kim pending 56
bruno paused 107
| 0
| count_matches | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035656-p1 | Count the number of records where the second column is 'closed', and output 0 if the count is zero. | $2 == "closed"{n++}END{print n+0} | lina paused 39
dina pending 23
hana pending 60
hana paused 22
dina paused 40
ivan pending 25
jules ready 101
hana failed 43
bruno ready 66
| 0
| alice paused 96
farah paused 63
ivan paused 76
jules paused 89
kim pending 56
bruno paused 107
| 0
| count_matches | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035656 | qwen/qwen3.7-plus |
awkweave-0035657 | Calculate and print the sum of the integers in column 2. | {s+=$2}END{print s+0} | grove 3 bruno
amber 26 hana
indigo 2 bruno
birch 16 bruno
birch 16 bruno
indigo 12 bruno
harbor 7 kim
fable 16 chen
harbor 23 jules
| 121
| grove 4 farah
delta 7 ivan
cobalt 27 chen
delta 27 dina
cobalt 19 ivan
cobalt 17 ivan
delta 29 gus
ember 27 lina
juniper 20 hana
grove 22 kim
| 199
| sum_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035657-p1 | Compute and display the total sum of integer values found in the second column. | {s+=$2}END{print s+0} | grove 3 bruno
amber 26 hana
indigo 2 bruno
birch 16 bruno
birch 16 bruno
indigo 12 bruno
harbor 7 kim
fable 16 chen
harbor 23 jules
| 121
| grove 4 farah
delta 7 ivan
cobalt 27 chen
delta 27 dina
cobalt 19 ivan
cobalt 17 ivan
delta 29 gus
ember 27 lina
juniper 20 hana
grove 22 kim
| 199
| sum_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035657 | qwen/qwen3.7-plus |
awkweave-0035658 | Print the arithmetic mean of column 2, rounded to exactly two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | jules 23 grove
lina 7 amber
dina 11 ember
bruno 9 juniper
jules 18 birch
eli 6 juniper
eli 30 delta
| 14.86
| lina 29 delta
jules 19 juniper
hana 16 cobalt
eli 14 ember
kim 4 delta
farah 27 ember
hana 20 juniper
hana 27 grove
dina 16 juniper
alice 13 cobalt
| 18.50
| average_field | 2 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035658-p1 | Calculate the average of values in the second column and print the result rounded to precisely two decimal places. | {s+=$2;n++}END{printf "%.2f\n",s/n} | jules 23 grove
lina 7 amber
dina 11 ember
bruno 9 juniper
jules 18 birch
eli 6 juniper
eli 30 delta
| 14.86
| lina 29 delta
jules 19 juniper
hana 16 cobalt
eli 14 ember
kim 4 delta
farah 27 ember
hana 20 juniper
hana 27 grove
dina 16 juniper
alice 13 cobalt
| 18.50
| average_field | 2 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035658 | qwen/qwen3.7-plus |
awkweave-0035659 | Find and print the smallest numeric value in column 3. | NR==1||$3<extreme{extreme=$3}END{print extreme} | harbor chen 8
indigo jules 4
cobalt jules 2
harbor hana 28
indigo ivan 9
juniper alice 18
| 2
| harbor bruno 10
fable chen 21
birch gus 6
juniper eli 10
juniper bruno 18
amber bruno 13
amber eli 26
grove farah 3
| 3
| min_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035659-p1 | Identify and output the minimum numeric value present in the third column. | NR==1||$3<extreme{extreme=$3}END{print extreme} | harbor chen 8
indigo jules 4
cobalt jules 2
harbor hana 28
indigo ivan 9
juniper alice 18
| 2
| harbor bruno 10
fable chen 21
birch gus 6
juniper eli 10
juniper bruno 18
amber bruno 13
amber eli 26
grove farah 3
| 3
| min_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035659 | qwen/qwen3.7-plus |
awkweave-0035660 | Find and print the largest numeric value in column 3. | NR==1||$3>extreme{extreme=$3}END{print extreme} | farah birch 13
bruno delta 18
kim ember 8
gus ember 15
ivan birch 16
chen birch 10
kim fable 30
| 30
| dina amber 23
alice amber 15
ivan grove 29
hana cobalt 8
hana delta 26
dina juniper 10
chen juniper 16
| 29
| max_field | 1 | train | original-grammar | CC-BY-4.0 | null | null |
awkweave-0035660-p1 | Identify and output the maximum numerical value found in the third column. | NR==1||$3>extreme{extreme=$3}END{print extreme} | farah birch 13
bruno delta 18
kim ember 8
gus ember 15
ivan birch 16
chen birch 10
kim fable 30
| 30
| dina amber 23
alice amber 15
ivan grove 29
hana cobalt 8
hana delta 26
dina juniper 10
chen juniper 16
| 29
| max_field | 1 | train | openrouter-paraphrase | CC-BY-4.0 | awkweave-0035660 | qwen/qwen3.7-plus |
awkweave-0035661 | Count all input records and print the total. | END{print NR} | ivan 22
lina 119
alice 10
ivan 103
kim 30
ivan 10
| 6
| ivan 56
farah 7
ivan 48
gus 120
alice 59
lina 65
| 6
| 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.