prompt stringlengths 144 465 | answer stringlengths 5 127 | metadata stringlengths 308 686 | task stringclasses 9
values | mode stringclasses 1
value | level int64 0 0 |
|---|---|---|---|---|---|
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x13 x30 x56 x5 x25 x5 x21 x9 x32 x13 x25 x56 x59 x36 x25 x50 x13 x45 x47 x9 x41 x61 x23 x25 x11 x34 x47 x38 x2 x48 x50 x54
(TARGET)
x11 | x13 x30 x56 x5 x25 x5 x21 x9 x32 x13 x25 x56 x59 x36 x25 x50 x13 x45 x47 x9 x41 x61 x23 x25 x34 x47 x38 x2 x48 x50 x54 | {'task': 'delete', 'seq': [['x13', 'x30', 'x56', 'x5', 'x25', 'x5', 'x21', 'x9', 'x32', 'x13', 'x25', 'x56', 'x59', 'x36', 'x25', 'x50', 'x13', 'x45', 'x47', 'x9', 'x41', 'x61', 'x23', 'x25', 'x11', 'x34', 'x47', 'x38', 'x2', 'x48', 'x50', 'x54'], 'x11'], 'k': 4, 'n': 32, '_time': 0.00045013427734375, '_task': 'basic_p... | delete | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o2 o3 c3 o3 o2 o2 c2 o1 c1 o1 c1 o2 o1 c1 c2 c2 o3 o2 c2 o3 o2 c2 c3 o3 c3 c3 c3 c2 o2 c2 o3 c3 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.000244140625, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x27 x46 x4 x55 x48 x51 x20 x57 x64 x61 x59 x5 x36 x61 x52 x54 x22 x15 x32 x21 x22 x45 x29 x19 x4 x32 x59 x32 x46 x57 x13 x17 | x17 x13 x57 x46 x32 x59 x32 x4 x19 x29 x45 x22 x21 x32 x15 x22 x54 x52 x61 x36 x5 x59 x61 x64 x57 x20 x51 x48 x55 x4 x46 x27 | {'task': 'reverse', 'seq': ['x27', 'x46', 'x4', 'x55', 'x48', 'x51', 'x20', 'x57', 'x64', 'x61', 'x59', 'x5', 'x36', 'x61', 'x52', 'x54', 'x22', 'x15', 'x32', 'x21', 'x22', 'x45', 'x29', 'x19', 'x4', 'x32', 'x59', 'x32', 'x46', 'x57', 'x13', 'x17'], 'k': 4, 'n': 32, '_time': 0.0002856254577636719, '_task': 'basic_proce... | reverse | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x50; POP; PUSH x14; PUSH x29; PUSH x51; PUSH x53; PUSH x63; PUSH x6; PUSH x58; PUSH x50; PUSH x26; PUSH x35; PUSH x2; PUSH x42; PUSH x59; PUSH x57; PUSH x... | x24 x3 x14 x26 x50 x58 x6 x63 x53 x51 x29 x14 | {'task': 'stack', 'seq': ['PUSH x50', 'POP', 'PUSH x14', 'PUSH x29', 'PUSH x51', 'PUSH x53', 'PUSH x63', 'PUSH x6', 'PUSH x58', 'PUSH x50', 'PUSH x26', 'PUSH x35', 'PUSH x2', 'PUSH x42', 'PUSH x59', 'PUSH x57', 'PUSH x17', 'POP', 'POP', 'PUSH x1', 'PUSH x2', 'POP', 'POP', 'POP', 'POP', 'POP', 'POP', 'PUSH x14', 'PUSH x... | stack | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o1 o1 c1 c1 o1 o0 c0 c1 o0 o3 o2 o3 c3 c2 o1 c1 o0 o2 c2 c0 c3 o1 o1 c1 o0 c0 c1 o3 c3 o2 c2 c0 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00039267539978027344, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x43 x20 x35 x58 x20 x17 x5 x57 x1 x32 x27 x54 x42 x33 x46 x3 x17 x6 x27 x42 x6 x31 x29 x58 x63 x2 x12 x29 x54 x50 x39 x57 | x1 x2 x3 x5 x6 x6 x12 x17 x17 x20 x20 x27 x27 x29 x29 x31 x32 x33 x35 x39 x42 x42 x43 x46 x50 x54 x54 x57 x57 x58 x58 x63 | {'task': 'sort', 'seq': ['x43', 'x20', 'x35', 'x58', 'x20', 'x17', 'x5', 'x57', 'x1', 'x32', 'x27', 'x54', 'x42', 'x33', 'x46', 'x3', 'x17', 'x6', 'x27', 'x42', 'x6', 'x31', 'x29', 'x58', 'x63', 'x2', 'x12', 'x29', 'x54', 'x50', 'x39', 'x57'], 'k': 4, 'n': 32, '_time': 0.0002818107604980469, '_task': 'basic_procedural'... | sort | instruct | 0 |
Return the ordered union of the two sequences: keep each token the first time it appears while scanning A then B.
(A)
x15 x53 x23 x42 x39 x1 x52 x46 x18 x3 x21 x21 x6 x39 x14 x11
(B)
x63 x15 x34 x46 x55 x55 x32 x48 x3 x41 x30 x35 x60 x55 x28 x19 | x15 x53 x23 x42 x39 x1 x52 x46 x18 x3 x21 x6 x14 x11 x63 x34 x55 x32 x48 x41 x30 x35 x60 x28 x19 | {'task': 'union', 'seq': [['x15', 'x53', 'x23', 'x42', 'x39', 'x1', 'x52', 'x46', 'x18', 'x3', 'x21', 'x21', 'x6', 'x39', 'x14', 'x11'], ['x63', 'x15', 'x34', 'x46', 'x55', 'x55', 'x32', 'x48', 'x3', 'x41', 'x30', 'x35', 'x60', 'x55', 'x28', 'x19']], 'k': 4, 'n': 32, '_time': 0.0003933906555175781, '_task': 'basic_proc... | union | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o1 o1 c1 o3 o3 o0 o2 c2 o0 o1 c1 o1 c1 c0 o2 c2 o1 c1 o0 o3 o2 c2 o1 o3 c3 c1 c3 c0 c0 c3 c3 c1 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00038504600524902344, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Return the ordered union of the two sequences: keep each token the first time it appears while scanning A then B.
(A)
x17 x12 x57 x15 x41 x37 x47 x11 x41 x64 x14 x33 x4 x9 x38 x11
(B)
x64 x8 x56 x60 x16 x51 x29 x55 x42 x19 x30 x21 x54 x42 x6 x40 | x17 x12 x57 x15 x41 x37 x47 x11 x64 x14 x33 x4 x9 x38 x8 x56 x60 x16 x51 x29 x55 x42 x19 x30 x21 x54 x6 x40 | {'task': 'union', 'seq': [['x17', 'x12', 'x57', 'x15', 'x41', 'x37', 'x47', 'x11', 'x41', 'x64', 'x14', 'x33', 'x4', 'x9', 'x38', 'x11'], ['x64', 'x8', 'x56', 'x60', 'x16', 'x51', 'x29', 'x55', 'x42', 'x19', 'x30', 'x21', 'x54', 'x42', 'x6', 'x40']], 'k': 4, 'n': 32, '_time': 0.0004000663757324219, '_task': 'basic_proc... | union | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x19 x60 x44 x14 x13 x36 x14 x56 x25 x11 x2 x28 x43 x38 x10 x33 x19 x60 x12 x63 x22 x49 x5 x1 x44 x9 x50 x37 x48 x47 x32 x6 | x19 x60 x44 x14 x13 x36 x14 x56 x25 x11 x2 x28 x43 x38 x10 x33 x19 x60 x12 x63 x22 x49 x5 x1 x44 x9 x50 x37 x48 x47 x32 x6 | {'task': 'identity', 'seq': ['x19', 'x60', 'x44', 'x14', 'x13', 'x36', 'x14', 'x56', 'x25', 'x11', 'x2', 'x28', 'x43', 'x38', 'x10', 'x33', 'x19', 'x60', 'x12', 'x63', 'x22', 'x49', 'x5', 'x1', 'x44', 'x9', 'x50', 'x37', 'x48', 'x47', 'x32', 'x6'], 'k': 4, 'n': 32, '_time': 0.00041294097900390625, '_task': 'basic_proce... | identity | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o0 o3 o2 o2 o2 o0 c0 o3 o1 c1 o2 c2 c3 o1 o0 c0 o3 o2 c2 c3 c1 c2 c2 c2 o3 o3 o0 c0 c3 c3 c3 c0 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0002541542053222656, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x4 x24 x8 x60 x42 x24 x10 x59 x2 x31 x14 x28 x51 x63 x3 x34 x59 x42 x35 x4 x58 x14 x56 x31 x63 x51 x41 x54 x16 x61 x32 x2 | x2 x32 x61 x16 x54 x41 x51 x63 x31 x56 x14 x58 x4 x35 x42 x59 x34 x3 x63 x51 x28 x14 x31 x2 x59 x10 x24 x42 x60 x8 x24 x4 | {'task': 'reverse', 'seq': ['x4', 'x24', 'x8', 'x60', 'x42', 'x24', 'x10', 'x59', 'x2', 'x31', 'x14', 'x28', 'x51', 'x63', 'x3', 'x34', 'x59', 'x42', 'x35', 'x4', 'x58', 'x14', 'x56', 'x31', 'x63', 'x51', 'x41', 'x54', 'x16', 'x61', 'x32', 'x2'], 'k': 4, 'n': 32, '_time': 0.00041413307189941406, '_task': 'basic_procedu... | reverse | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x19 x49 x21 x47 x5 x48 x36 x48 x57 x58 x49 x47 x34 x22 x20 x21 x36 x14 x16 x45 x60 x3 x29 x63 x36 x44 x5 x60 x51 x3 x47 x61 | x19 x49 x21 x47 x5 x48 x36 x57 x58 x34 x22 x20 x14 x16 x45 x60 x3 x29 x63 x44 x51 x61 | {'task': 'set', 'seq': ['x19', 'x49', 'x21', 'x47', 'x5', 'x48', 'x36', 'x48', 'x57', 'x58', 'x49', 'x47', 'x34', 'x22', 'x20', 'x21', 'x36', 'x14', 'x16', 'x45', 'x60', 'x3', 'x29', 'x63', 'x36', 'x44', 'x5', 'x60', 'x51', 'x3', 'x47', 'x61'], 'k': 4, 'n': 32, '_time': 0.00028252601623535156, '_task': 'basic_procedura... | set | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o1 c1 o3 o0 c0 o1 c1 o1 o3 c3 c1 c3 o3 o3 c3 o2 c2 o0 o2 o1 c1 o3 o3 c3 c3 c2 o2 c2 c0 o1 c1 c3 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0003840923309326172, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x50 x30 x52 x3 x27 x54 x33 x5 x53 x10 x10 x59 x57 x20 x2 x14 x8 x29 x13 x39 x18 x12 x44 x37 x26 x50 x20 x36 x64 x11 x19 x5 | x50 x30 x52 x3 x27 x54 x33 x5 x53 x10 x10 x59 x57 x20 x2 x14 x8 x29 x13 x39 x18 x12 x44 x37 x26 x50 x20 x36 x64 x11 x19 x5 | {'task': 'identity', 'seq': ['x50', 'x30', 'x52', 'x3', 'x27', 'x54', 'x33', 'x5', 'x53', 'x10', 'x10', 'x59', 'x57', 'x20', 'x2', 'x14', 'x8', 'x29', 'x13', 'x39', 'x18', 'x12', 'x44', 'x37', 'x26', 'x50', 'x20', 'x36', 'x64', 'x11', 'x19', 'x5'], 'k': 4, 'n': 32, '_time': 0.00025773048400878906, '_task': 'basic_proce... | identity | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o3 c3 o2 c2 o3 o2 c2 o3 c3 o3 c3 o1 c1 c3 o1 o2 o0 o2 o3 c3 o2 o2 o0 c0 c2 c2 o0 c0 c2 c0 c2 c1 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00038313865661621094, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x50 x24 x20 x20 x57 x51 x45 x11 x29 x35 x61 x17 x15 x62 x62 x48 x40 x58 x39 x12 x9 x52 x6 x33 x17 x33 x26 x38 x37 x16 x9 x5 | x5 x6 x9 x9 x11 x12 x15 x16 x17 x17 x20 x20 x24 x26 x29 x33 x33 x35 x37 x38 x39 x40 x45 x48 x50 x51 x52 x57 x58 x61 x62 x62 | {'task': 'sort', 'seq': ['x50', 'x24', 'x20', 'x20', 'x57', 'x51', 'x45', 'x11', 'x29', 'x35', 'x61', 'x17', 'x15', 'x62', 'x62', 'x48', 'x40', 'x58', 'x39', 'x12', 'x9', 'x52', 'x6', 'x33', 'x17', 'x33', 'x26', 'x38', 'x37', 'x16', 'x9', 'x5'], 'k': 4, 'n': 32, '_time': 0.0002884864807128906, '_task': 'basic_procedura... | sort | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x54 x4 x53 x54 x1 x30 x7 x51 x54 x46 x49 x24 x8 x23 x11 x54 x42 x21 x39 x37 x24 x56 x33 x41 x40 x7 x48 x42 x38 x28 x53 x62 | x54 x4 x53 x54 x1 x30 x7 x51 x54 x46 x49 x24 x8 x23 x11 x54 x42 x21 x39 x37 x24 x56 x33 x41 x40 x7 x48 x42 x38 x28 x53 x62 | {'task': 'identity', 'seq': ['x54', 'x4', 'x53', 'x54', 'x1', 'x30', 'x7', 'x51', 'x54', 'x46', 'x49', 'x24', 'x8', 'x23', 'x11', 'x54', 'x42', 'x21', 'x39', 'x37', 'x24', 'x56', 'x33', 'x41', 'x40', 'x7', 'x48', 'x42', 'x38', 'x28', 'x53', 'x62'], 'k': 4, 'n': 32, '_time': 0.00041174888610839844, '_task': 'basic_proce... | identity | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x58; PUSH x28; PUSH x28; POP; PUSH x39; PUSH x1; PUSH x35; PUSH x61; POP; PUSH x11; POP; POP; POP; PUSH x16; POP; PUSH x42; POP; PUSH x12; PUSH x5; PUSH x... | EMPTY | {'task': 'stack', 'seq': ['PUSH x58', 'PUSH x28', 'PUSH x28', 'POP', 'PUSH x39', 'PUSH x1', 'PUSH x35', 'PUSH x61', 'POP', 'PUSH x11', 'POP', 'POP', 'POP', 'PUSH x16', 'POP', 'PUSH x42', 'POP', 'PUSH x12', 'PUSH x5', 'PUSH x22', 'POP', 'POP', 'POP', 'POP', 'POP', 'POP', 'PUSH x7', 'POP', 'PUSH x26', 'POP', 'PUSH x34', ... | stack | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x41 x21 x10 x10 x4 x62 x33 x56 x49 x20 x29 x39 x27 x27 x2 x53 x61 x62 x20 x37 x32 x39 x57 x8 x25 x23 x53 x17 x9 x20 x10 x57
(TARGET)
x10 | x41 x21 x10 x4 x62 x33 x56 x49 x20 x29 x39 x27 x27 x2 x53 x61 x62 x20 x37 x32 x39 x57 x8 x25 x23 x53 x17 x9 x20 x10 x57 | {'task': 'delete', 'seq': [['x41', 'x21', 'x10', 'x10', 'x4', 'x62', 'x33', 'x56', 'x49', 'x20', 'x29', 'x39', 'x27', 'x27', 'x2', 'x53', 'x61', 'x62', 'x20', 'x37', 'x32', 'x39', 'x57', 'x8', 'x25', 'x23', 'x53', 'x17', 'x9', 'x20', 'x10', 'x57'], 'x10'], 'k': 4, 'n': 32, '_time': 0.0003197193145751953, '_task': 'basi... | delete | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x12; POP; PUSH x45; PUSH x2; PUSH x56; PUSH x34; POP; PUSH x50; POP; PUSH x61; PUSH x34; PUSH x33; PUSH x41; POP; PUSH x40; PUSH x25; PUSH x12; POP; PUSH ... | EMPTY | {'task': 'stack', 'seq': ['PUSH x12', 'POP', 'PUSH x45', 'PUSH x2', 'PUSH x56', 'PUSH x34', 'POP', 'PUSH x50', 'POP', 'PUSH x61', 'PUSH x34', 'PUSH x33', 'PUSH x41', 'POP', 'PUSH x40', 'PUSH x25', 'PUSH x12', 'POP', 'PUSH x57', 'POP', 'PUSH x30', 'POP', 'POP', 'POP', 'PUSH x36', 'POP', 'POP', 'POP', 'POP', 'POP', 'POP'... | stack | instruct | 0 |
Generate one valid shuffle-Dyck-4 sequence of exactly 32 tokens. Each close ci must match a previously opened oi of the same type, but closing order may be interleaved across types. Return only the sequence. | o0 o0 o1 c0 o3 o2 o2 o3 o3 o3 c3 o2 c1 c0 o1 c2 o1 c2 c1 o2 c3 o0 o2 c2 o1 c1 c3 c0 c1 c3 c2 c2 | {'task': 'dyck_shuffle', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0003044605255126953, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 46, '_answer_tokens':... | dyck_shuffle | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o1 o2 o0 c0 o3 c3 o0 o0 c0 c0 c2 o1 o3 c3 c1 o3 c3 o1 o3 o0 c0 c3 o1 c1 c1 o1 c1 o3 c3 o0 c0 c1 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00024580955505371094, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x24 x46 x23 x11 x18 x25 x35 x21 x50 x64 x56 x42 x36 x13 x24 x16 x31 x19 x14 x56 x9 x7 x57 x48 x2 x49 x60 x37 x64 x43 x45 x56
(TARGET)
x64 | x24 x46 x23 x11 x18 x25 x35 x21 x50 x56 x42 x36 x13 x24 x16 x31 x19 x14 x56 x9 x7 x57 x48 x2 x49 x60 x37 x64 x43 x45 x56 | {'task': 'delete', 'seq': [['x24', 'x46', 'x23', 'x11', 'x18', 'x25', 'x35', 'x21', 'x50', 'x64', 'x56', 'x42', 'x36', 'x13', 'x24', 'x16', 'x31', 'x19', 'x14', 'x56', 'x9', 'x7', 'x57', 'x48', 'x2', 'x49', 'x60', 'x37', 'x64', 'x43', 'x45', 'x56'], 'x64'], 'k': 4, 'n': 32, '_time': 0.0004343986511230469, '_task': 'bas... | delete | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x20 x45 x55 x52 x26 x46 x11 x45 x9 x25 x30 x39 x2 x57 x40 x16 x6 x29 x1 x2 x3 x56 x24 x55 x38 x47 x38 x51 x52 x60 x49 x18 | x20 x45 x55 x52 x26 x46 x11 x9 x25 x30 x39 x2 x57 x40 x16 x6 x29 x1 x3 x56 x24 x38 x47 x51 x60 x49 x18 | {'task': 'set', 'seq': ['x20', 'x45', 'x55', 'x52', 'x26', 'x46', 'x11', 'x45', 'x9', 'x25', 'x30', 'x39', 'x2', 'x57', 'x40', 'x16', 'x6', 'x29', 'x1', 'x2', 'x3', 'x56', 'x24', 'x55', 'x38', 'x47', 'x38', 'x51', 'x52', 'x60', 'x49', 'x18'], 'k': 4, 'n': 32, '_time': 0.00026607513427734375, '_task': 'basic_procedural'... | set | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x56 x10 x38 x19 x3 x19 x62 x46 x33 x24 x20 x14 x8 x23 x42 x42 x17 x18 x25 x59 x34 x37 x7 x63 x37 x59 x61 x18 x24 x27 x18 x49 | x56 x10 x38 x19 x3 x19 x62 x46 x33 x24 x20 x14 x8 x23 x42 x42 x17 x18 x25 x59 x34 x37 x7 x63 x37 x59 x61 x18 x24 x27 x18 x49 | {'task': 'identity', 'seq': ['x56', 'x10', 'x38', 'x19', 'x3', 'x19', 'x62', 'x46', 'x33', 'x24', 'x20', 'x14', 'x8', 'x23', 'x42', 'x42', 'x17', 'x18', 'x25', 'x59', 'x34', 'x37', 'x7', 'x63', 'x37', 'x59', 'x61', 'x18', 'x24', 'x27', 'x18', 'x49'], 'k': 4, 'n': 32, '_time': 0.0004127025604248047, '_task': 'basic_proc... | identity | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x52 x16 x56 x9 x45 x57 x21 x40 x58 x17 x23 x21 x5 x10 x47 x22 x41 x15 x28 x33 x9 x41 x47 x9 x28 x41 x6 x41 x49 x20 x36 x41 | x41 x36 x20 x49 x41 x6 x41 x28 x9 x47 x41 x9 x33 x28 x15 x41 x22 x47 x10 x5 x21 x23 x17 x58 x40 x21 x57 x45 x9 x56 x16 x52 | {'task': 'reverse', 'seq': ['x52', 'x16', 'x56', 'x9', 'x45', 'x57', 'x21', 'x40', 'x58', 'x17', 'x23', 'x21', 'x5', 'x10', 'x47', 'x22', 'x41', 'x15', 'x28', 'x33', 'x9', 'x41', 'x47', 'x9', 'x28', 'x41', 'x6', 'x41', 'x49', 'x20', 'x36', 'x41'], 'k': 4, 'n': 32, '_time': 0.0002601146697998047, '_task': 'basic_procedu... | reverse | instruct | 0 |
Generate one valid shuffle-Dyck-4 sequence of exactly 32 tokens. Each close ci must match a previously opened oi of the same type, but closing order may be interleaved across types. Return only the sequence. | o2 c2 o1 o1 c1 c1 o0 c0 o1 o0 o2 o2 c0 c2 o1 o1 o1 c2 c1 o0 o2 o2 c0 o1 o1 c2 c2 c1 c1 c1 c1 c1 | {'task': 'dyck_shuffle', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00029754638671875, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 46, '_answer_tokens': 6... | dyck_shuffle | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x57; PUSH x7; POP; PUSH x25; PUSH x6; PUSH x2; POP; POP; PUSH x9; POP; PUSH x62; PUSH x22; POP; POP; PUSH x33; PUSH x38; PUSH x53; PUSH x13; POP; PUSH x50... | x38 x33 x25 x57 | {'task': 'stack', 'seq': ['PUSH x57', 'PUSH x7', 'POP', 'PUSH x25', 'PUSH x6', 'PUSH x2', 'POP', 'POP', 'PUSH x9', 'POP', 'PUSH x62', 'PUSH x22', 'POP', 'POP', 'PUSH x33', 'PUSH x38', 'PUSH x53', 'PUSH x13', 'POP', 'PUSH x50', 'PUSH x30', 'PUSH x61', 'PUSH x18', 'PUSH x26', 'POP', 'POP', 'POP', 'POP', 'POP', 'POP', 'PU... | stack | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x12 x52 x36 x63 x49 x18 x62 x4 x9 x53 x49 x33 x5 x41 x7 x37 x56 x62 x57 x27 x33 x63 x59 x3 x42 x38 x3 x21 x50 x46 x41 x51 | x3 x3 x4 x5 x7 x9 x12 x18 x21 x27 x33 x33 x36 x37 x38 x41 x41 x42 x46 x49 x49 x50 x51 x52 x53 x56 x57 x59 x62 x62 x63 x63 | {'task': 'sort', 'seq': ['x12', 'x52', 'x36', 'x63', 'x49', 'x18', 'x62', 'x4', 'x9', 'x53', 'x49', 'x33', 'x5', 'x41', 'x7', 'x37', 'x56', 'x62', 'x57', 'x27', 'x33', 'x63', 'x59', 'x3', 'x42', 'x38', 'x3', 'x21', 'x50', 'x46', 'x41', 'x51'], 'k': 4, 'n': 32, '_time': 0.0002751350402832031, '_task': 'basic_procedural'... | sort | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x56 x19 x18 x36 x62 x7 x64 x50 x15 x17 x49 x3 x5 x8 x2 x16 x42 x16 x24 x7 x61 x3 x13 x22 x47 x10 x20 x49 x7 x37 x63 x31
(TARGET)
x31 | x56 x19 x18 x36 x62 x7 x64 x50 x15 x17 x49 x3 x5 x8 x2 x16 x42 x16 x24 x7 x61 x3 x13 x22 x47 x10 x20 x49 x7 x37 x63 | {'task': 'delete', 'seq': [['x56', 'x19', 'x18', 'x36', 'x62', 'x7', 'x64', 'x50', 'x15', 'x17', 'x49', 'x3', 'x5', 'x8', 'x2', 'x16', 'x42', 'x16', 'x24', 'x7', 'x61', 'x3', 'x13', 'x22', 'x47', 'x10', 'x20', 'x49', 'x7', 'x37', 'x63', 'x31'], 'x31'], 'k': 4, 'n': 32, '_time': 0.0002880096435546875, '_task': 'basic_pr... | delete | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x61; PUSH x14; PUSH x35; PUSH x49; PUSH x11; PUSH x45; PUSH x25; PUSH x2; PUSH x53; PUSH x49; PUSH x24; PUSH x37; PUSH x17; POP; PUSH x35; PUSH x7; PUSH x... | x45 x11 x49 x35 x14 x61 | {'task': 'stack', 'seq': ['PUSH x61', 'PUSH x14', 'PUSH x35', 'PUSH x49', 'PUSH x11', 'PUSH x45', 'PUSH x25', 'PUSH x2', 'PUSH x53', 'PUSH x49', 'PUSH x24', 'PUSH x37', 'PUSH x17', 'POP', 'PUSH x35', 'PUSH x7', 'PUSH x2', 'POP', 'POP', 'POP', 'PUSH x60', 'PUSH x22', 'POP', 'PUSH x28', 'POP', 'POP', 'POP', 'POP', 'POP',... | stack | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x51; POP; PUSH x59; PUSH x28; PUSH x63; PUSH x41; POP; PUSH x51; PUSH x46; POP; PUSH x62; PUSH x21; PUSH x64; PUSH x37; POP; PUSH x23; PUSH x9; PUSH x60; ... | x13 x17 x60 x9 x23 x64 x21 x62 x51 x63 x28 x59 | {'task': 'stack', 'seq': ['PUSH x51', 'POP', 'PUSH x59', 'PUSH x28', 'PUSH x63', 'PUSH x41', 'POP', 'PUSH x51', 'PUSH x46', 'POP', 'PUSH x62', 'PUSH x21', 'PUSH x64', 'PUSH x37', 'POP', 'PUSH x23', 'PUSH x9', 'PUSH x60', 'PUSH x17', 'PUSH x46', 'PUSH x17', 'PUSH x18', 'PUSH x3', 'POP', 'POP', 'POP', 'PUSH x50', 'POP', ... | stack | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o3 c3 o1 c1 o0 o3 c3 c0 o2 c2 o3 c3 o0 c0 o3 c3 o0 c0 o2 o3 o3 o0 o0 o2 o2 c2 c2 c0 c0 c3 c3 c2 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0002636909484863281, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o3 o0 c0 c3 o1 o0 c0 c1 o2 c2 o0 c0 o2 o2 o3 c3 o1 c1 c2 o0 o0 o1 o3 c3 c1 c0 o0 c0 c0 o1 c1 c2 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00026535987854003906, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Generate one valid shuffle-Dyck-4 sequence of exactly 32 tokens. Each close ci must match a previously opened oi of the same type, but closing order may be interleaved across types. Return only the sequence. | o1 o2 o3 c1 c2 c3 o3 o0 o3 c3 c3 c0 o3 c3 o2 c2 o1 c1 o3 o3 c3 o1 o1 o1 o2 c1 o2 c1 c3 c1 c2 c2 | {'task': 'dyck_shuffle', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00045800209045410156, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 46, '_answer_tokens'... | dyck_shuffle | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x29 x7 x32 x61 x26 x60 x20 x5 x34 x11 x6 x28 x43 x44 x26 x37 x50 x3 x57 x53 x2 x27 x33 x14 x35 x42 x17 x50 x15 x7 x52 x4 | x29 x7 x32 x61 x26 x60 x20 x5 x34 x11 x6 x28 x43 x44 x37 x50 x3 x57 x53 x2 x27 x33 x14 x35 x42 x17 x15 x52 x4 | {'task': 'set', 'seq': ['x29', 'x7', 'x32', 'x61', 'x26', 'x60', 'x20', 'x5', 'x34', 'x11', 'x6', 'x28', 'x43', 'x44', 'x26', 'x37', 'x50', 'x3', 'x57', 'x53', 'x2', 'x27', 'x33', 'x14', 'x35', 'x42', 'x17', 'x50', 'x15', 'x7', 'x52', 'x4'], 'k': 4, 'n': 32, '_time': 0.0002903938293457031, '_task': 'basic_procedural', ... | set | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x59 x13 x39 x52 x11 x39 x61 x51 x25 x55 x55 x44 x31 x59 x14 x14 x39 x9 x57 x10 x13 x33 x50 x7 x42 x16 x36 x54 x41 x20 x45 x53
(TARGET)
x51 | x59 x13 x39 x52 x11 x39 x61 x25 x55 x55 x44 x31 x59 x14 x14 x39 x9 x57 x10 x13 x33 x50 x7 x42 x16 x36 x54 x41 x20 x45 x53 | {'task': 'delete', 'seq': [['x59', 'x13', 'x39', 'x52', 'x11', 'x39', 'x61', 'x51', 'x25', 'x55', 'x55', 'x44', 'x31', 'x59', 'x14', 'x14', 'x39', 'x9', 'x57', 'x10', 'x13', 'x33', 'x50', 'x7', 'x42', 'x16', 'x36', 'x54', 'x41', 'x20', 'x45', 'x53'], 'x51'], 'k': 4, 'n': 32, '_time': 0.00041747093200683594, '_task': 'b... | delete | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x47 x54 x57 x19 x12 x37 x40 x22 x9 x55 x56 x64 x37 x56 x26 x18 x39 x28 x21 x21 x19 x27 x14 x4 x29 x4 x48 x23 x37 x51 x34 x4
(TARGET)
x4 | x47 x54 x57 x19 x12 x37 x40 x22 x9 x55 x56 x64 x37 x56 x26 x18 x39 x28 x21 x21 x19 x27 x14 x29 x4 x48 x23 x37 x51 x34 x4 | {'task': 'delete', 'seq': [['x47', 'x54', 'x57', 'x19', 'x12', 'x37', 'x40', 'x22', 'x9', 'x55', 'x56', 'x64', 'x37', 'x56', 'x26', 'x18', 'x39', 'x28', 'x21', 'x21', 'x19', 'x27', 'x14', 'x4', 'x29', 'x4', 'x48', 'x23', 'x37', 'x51', 'x34', 'x4'], 'x4'], 'k': 4, 'n': 32, '_time': 0.00040984153747558594, '_task': 'basi... | delete | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x34 x34 x1 x16 x24 x17 x38 x14 x51 x47 x30 x36 x5 x24 x18 x31 x7 x49 x29 x40 x55 x29 x19 x39 x47 x31 x36 x42 x46 x39 x44 x34
(TARGET)
x17 | x34 x34 x1 x16 x24 x38 x14 x51 x47 x30 x36 x5 x24 x18 x31 x7 x49 x29 x40 x55 x29 x19 x39 x47 x31 x36 x42 x46 x39 x44 x34 | {'task': 'delete', 'seq': [['x34', 'x34', 'x1', 'x16', 'x24', 'x17', 'x38', 'x14', 'x51', 'x47', 'x30', 'x36', 'x5', 'x24', 'x18', 'x31', 'x7', 'x49', 'x29', 'x40', 'x55', 'x29', 'x19', 'x39', 'x47', 'x31', 'x36', 'x42', 'x46', 'x39', 'x44', 'x34'], 'x17'], 'k': 4, 'n': 32, '_time': 0.0004267692565917969, '_task': 'bas... | delete | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x60 x46 x18 x36 x15 x33 x49 x42 x1 x11 x46 x20 x23 x34 x1 x10 x34 x25 x11 x29 x32 x58 x18 x58 x49 x33 x44 x33 x38 x61 x2 x44 | x60 x46 x18 x36 x15 x33 x49 x42 x1 x11 x46 x20 x23 x34 x1 x10 x34 x25 x11 x29 x32 x58 x18 x58 x49 x33 x44 x33 x38 x61 x2 x44 | {'task': 'identity', 'seq': ['x60', 'x46', 'x18', 'x36', 'x15', 'x33', 'x49', 'x42', 'x1', 'x11', 'x46', 'x20', 'x23', 'x34', 'x1', 'x10', 'x34', 'x25', 'x11', 'x29', 'x32', 'x58', 'x18', 'x58', 'x49', 'x33', 'x44', 'x33', 'x38', 'x61', 'x2', 'x44'], 'k': 4, 'n': 32, '_time': 0.0004134178161621094, '_task': 'basic_proc... | identity | instruct | 0 |
Return the ordered union of the two sequences: keep each token the first time it appears while scanning A then B.
(A)
x14 x30 x15 x1 x60 x59 x24 x14 x26 x8 x41 x2 x9 x47 x14 x20
(B)
x16 x34 x53 x27 x12 x58 x2 x16 x58 x32 x21 x25 x11 x29 x50 x62 | x14 x30 x15 x1 x60 x59 x24 x26 x8 x41 x2 x9 x47 x20 x16 x34 x53 x27 x12 x58 x32 x21 x25 x11 x29 x50 x62 | {'task': 'union', 'seq': [['x14', 'x30', 'x15', 'x1', 'x60', 'x59', 'x24', 'x14', 'x26', 'x8', 'x41', 'x2', 'x9', 'x47', 'x14', 'x20'], ['x16', 'x34', 'x53', 'x27', 'x12', 'x58', 'x2', 'x16', 'x58', 'x32', 'x21', 'x25', 'x11', 'x29', 'x50', 'x62']], 'k': 4, 'n': 32, '_time': 0.0004515647888183594, '_task': 'basic_proce... | union | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x59 x64 x43 x43 x41 x11 x42 x50 x60 x42 x20 x64 x37 x47 x16 x21 x11 x12 x38 x48 x59 x9 x13 x55 x36 x14 x18 x26 x22 x38 x35 x37
(TARGET)
x12 | x59 x64 x43 x43 x41 x11 x42 x50 x60 x42 x20 x64 x37 x47 x16 x21 x11 x38 x48 x59 x9 x13 x55 x36 x14 x18 x26 x22 x38 x35 x37 | {'task': 'delete', 'seq': [['x59', 'x64', 'x43', 'x43', 'x41', 'x11', 'x42', 'x50', 'x60', 'x42', 'x20', 'x64', 'x37', 'x47', 'x16', 'x21', 'x11', 'x12', 'x38', 'x48', 'x59', 'x9', 'x13', 'x55', 'x36', 'x14', 'x18', 'x26', 'x22', 'x38', 'x35', 'x37'], 'x12'], 'k': 4, 'n': 32, '_time': 0.00038123130798339844, '_task': '... | delete | instruct | 0 |
Return the ordered union of the two sequences: keep each token the first time it appears while scanning A then B.
(A)
x56 x39 x55 x21 x7 x51 x10 x5 x55 x31 x9 x53 x42 x22 x7 x34
(B)
x54 x8 x28 x22 x30 x7 x41 x6 x52 x19 x21 x49 x6 x16 x31 x6 | x56 x39 x55 x21 x7 x51 x10 x5 x31 x9 x53 x42 x22 x34 x54 x8 x28 x30 x41 x6 x52 x19 x49 x16 | {'task': 'union', 'seq': [['x56', 'x39', 'x55', 'x21', 'x7', 'x51', 'x10', 'x5', 'x55', 'x31', 'x9', 'x53', 'x42', 'x22', 'x7', 'x34'], ['x54', 'x8', 'x28', 'x22', 'x30', 'x7', 'x41', 'x6', 'x52', 'x19', 'x21', 'x49', 'x6', 'x16', 'x31', 'x6']], 'k': 4, 'n': 32, '_time': 0.0004329681396484375, '_task': 'basic_procedura... | union | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x57 x29 x29 x56 x64 x55 x30 x30 x54 x12 x1 x3 x2 x43 x10 x33 x14 x4 x23 x5 x55 x6 x55 x25 x2 x25 x45 x18 x5 x37 x15 x63
(TARGET)
x2 | x57 x29 x29 x56 x64 x55 x30 x30 x54 x12 x1 x3 x43 x10 x33 x14 x4 x23 x5 x55 x6 x55 x25 x2 x25 x45 x18 x5 x37 x15 x63 | {'task': 'delete', 'seq': [['x57', 'x29', 'x29', 'x56', 'x64', 'x55', 'x30', 'x30', 'x54', 'x12', 'x1', 'x3', 'x2', 'x43', 'x10', 'x33', 'x14', 'x4', 'x23', 'x5', 'x55', 'x6', 'x55', 'x25', 'x2', 'x25', 'x45', 'x18', 'x5', 'x37', 'x15', 'x63'], 'x2'], 'k': 4, 'n': 32, '_time': 0.0003304481506347656, '_task': 'basic_pro... | delete | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x40 x9 x52 x10 x39 x23 x17 x36 x28 x17 x3 x11 x61 x59 x45 x24 x26 x57 x17 x39 x28 x58 x51 x24 x30 x50 x21 x43 x27 x51 x39 x9
(TARGET)
x61 | x40 x9 x52 x10 x39 x23 x17 x36 x28 x17 x3 x11 x59 x45 x24 x26 x57 x17 x39 x28 x58 x51 x24 x30 x50 x21 x43 x27 x51 x39 x9 | {'task': 'delete', 'seq': [['x40', 'x9', 'x52', 'x10', 'x39', 'x23', 'x17', 'x36', 'x28', 'x17', 'x3', 'x11', 'x61', 'x59', 'x45', 'x24', 'x26', 'x57', 'x17', 'x39', 'x28', 'x58', 'x51', 'x24', 'x30', 'x50', 'x21', 'x43', 'x27', 'x51', 'x39', 'x9'], 'x61'], 'k': 4, 'n': 32, '_time': 0.0002608299255371094, '_task': 'bas... | delete | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x55; PUSH x7; PUSH x40; PUSH x1; PUSH x28; PUSH x41; PUSH x29; PUSH x56; PUSH x30; PUSH x31; POP; PUSH x27; POP; PUSH x42; PUSH x21; POP; PUSH x7; PUSH x3... | x56 x29 x41 x28 x1 x40 x7 x55 | {'task': 'stack', 'seq': ['PUSH x55', 'PUSH x7', 'PUSH x40', 'PUSH x1', 'PUSH x28', 'PUSH x41', 'PUSH x29', 'PUSH x56', 'PUSH x30', 'PUSH x31', 'POP', 'PUSH x27', 'POP', 'PUSH x42', 'PUSH x21', 'POP', 'PUSH x7', 'PUSH x33', 'PUSH x14', 'PUSH x38', 'POP', 'PUSH x10', 'POP', 'PUSH x51', 'POP', 'PUSH x5', 'POP', 'POP', 'P... | stack | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x62 x52 x26 x4 x50 x41 x54 x51 x53 x28 x48 x14 x23 x44 x33 x64 x2 x6 x62 x17 x19 x38 x51 x19 x28 x45 x33 x28 x53 x8 x51 x31 | x62 x52 x26 x4 x50 x41 x54 x51 x53 x28 x48 x14 x23 x44 x33 x64 x2 x6 x17 x19 x38 x45 x8 x31 | {'task': 'set', 'seq': ['x62', 'x52', 'x26', 'x4', 'x50', 'x41', 'x54', 'x51', 'x53', 'x28', 'x48', 'x14', 'x23', 'x44', 'x33', 'x64', 'x2', 'x6', 'x62', 'x17', 'x19', 'x38', 'x51', 'x19', 'x28', 'x45', 'x33', 'x28', 'x53', 'x8', 'x51', 'x31'], 'k': 4, 'n': 32, '_time': 0.00041794776916503906, '_task': 'basic_procedura... | set | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x27 x58 x17 x42 x39 x51 x64 x9 x2 x50 x25 x48 x36 x49 x9 x17 x19 x51 x20 x43 x23 x44 x42 x6 x9 x53 x40 x41 x43 x55 x24 x61 | x61 x24 x55 x43 x41 x40 x53 x9 x6 x42 x44 x23 x43 x20 x51 x19 x17 x9 x49 x36 x48 x25 x50 x2 x9 x64 x51 x39 x42 x17 x58 x27 | {'task': 'reverse', 'seq': ['x27', 'x58', 'x17', 'x42', 'x39', 'x51', 'x64', 'x9', 'x2', 'x50', 'x25', 'x48', 'x36', 'x49', 'x9', 'x17', 'x19', 'x51', 'x20', 'x43', 'x23', 'x44', 'x42', 'x6', 'x9', 'x53', 'x40', 'x41', 'x43', 'x55', 'x24', 'x61'], 'k': 4, 'n': 32, '_time': 0.00025463104248046875, '_task': 'basic_proced... | reverse | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x63 x54 x27 x3 x11 x18 x21 x31 x37 x64 x63 x19 x3 x47 x35 x21 x27 x64 x35 x12 x33 x54 x8 x35 x47 x53 x21 x16 x14 x43 x62 x15 | x63 x54 x27 x3 x11 x18 x21 x31 x37 x64 x63 x19 x3 x47 x35 x21 x27 x64 x35 x12 x33 x54 x8 x35 x47 x53 x21 x16 x14 x43 x62 x15 | {'task': 'identity', 'seq': ['x63', 'x54', 'x27', 'x3', 'x11', 'x18', 'x21', 'x31', 'x37', 'x64', 'x63', 'x19', 'x3', 'x47', 'x35', 'x21', 'x27', 'x64', 'x35', 'x12', 'x33', 'x54', 'x8', 'x35', 'x47', 'x53', 'x21', 'x16', 'x14', 'x43', 'x62', 'x15'], 'k': 4, 'n': 32, '_time': 0.00027251243591308594, '_task': 'basic_pro... | identity | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x38 x24 x19 x8 x63 x7 x36 x62 x14 x25 x37 x21 x10 x8 x23 x54 x52 x12 x27 x21 x51 x38 x30 x60 x37 x6 x6 x42 x56 x11 x12 x61
(TARGET)
x60 | x38 x24 x19 x8 x63 x7 x36 x62 x14 x25 x37 x21 x10 x8 x23 x54 x52 x12 x27 x21 x51 x38 x30 x37 x6 x6 x42 x56 x11 x12 x61 | {'task': 'delete', 'seq': [['x38', 'x24', 'x19', 'x8', 'x63', 'x7', 'x36', 'x62', 'x14', 'x25', 'x37', 'x21', 'x10', 'x8', 'x23', 'x54', 'x52', 'x12', 'x27', 'x21', 'x51', 'x38', 'x30', 'x60', 'x37', 'x6', 'x6', 'x42', 'x56', 'x11', 'x12', 'x61'], 'x60'], 'k': 4, 'n': 32, '_time': 0.00042700767517089844, '_task': 'basi... | delete | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x18 x34 x44 x11 x8 x4 x18 x15 x4 x32 x37 x60 x45 x54 x55 x38 x6 x14 x15 x51 x59 x20 x41 x16 x11 x9 x9 x18 x16 x16 x39 x22 | x22 x39 x16 x16 x18 x9 x9 x11 x16 x41 x20 x59 x51 x15 x14 x6 x38 x55 x54 x45 x60 x37 x32 x4 x15 x18 x4 x8 x11 x44 x34 x18 | {'task': 'reverse', 'seq': ['x18', 'x34', 'x44', 'x11', 'x8', 'x4', 'x18', 'x15', 'x4', 'x32', 'x37', 'x60', 'x45', 'x54', 'x55', 'x38', 'x6', 'x14', 'x15', 'x51', 'x59', 'x20', 'x41', 'x16', 'x11', 'x9', 'x9', 'x18', 'x16', 'x16', 'x39', 'x22'], 'k': 4, 'n': 32, '_time': 0.0004127025604248047, '_task': 'basic_procedur... | reverse | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x22 x25 x4 x36 x43 x4 x7 x54 x62 x45 x60 x44 x49 x11 x8 x40 x46 x62 x13 x20 x23 x8 x17 x28 x49 x26 x62 x45 x5 x43 x27 x9 | x22 x25 x4 x36 x43 x4 x7 x54 x62 x45 x60 x44 x49 x11 x8 x40 x46 x62 x13 x20 x23 x8 x17 x28 x49 x26 x62 x45 x5 x43 x27 x9 | {'task': 'identity', 'seq': ['x22', 'x25', 'x4', 'x36', 'x43', 'x4', 'x7', 'x54', 'x62', 'x45', 'x60', 'x44', 'x49', 'x11', 'x8', 'x40', 'x46', 'x62', 'x13', 'x20', 'x23', 'x8', 'x17', 'x28', 'x49', 'x26', 'x62', 'x45', 'x5', 'x43', 'x27', 'x9'], 'k': 4, 'n': 32, '_time': 0.0003962516784667969, '_task': 'basic_procedur... | identity | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o0 c0 o1 o0 o3 o1 o2 c2 o0 c0 c1 o3 c3 o2 o2 o3 o1 c1 c3 o3 c3 c2 c2 c3 o3 c3 o3 c3 o3 c3 c0 c1 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0003826618194580078, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Generate one valid shuffle-Dyck-4 sequence of exactly 32 tokens. Each close ci must match a previously opened oi of the same type, but closing order may be interleaved across types. Return only the sequence. | o1 c1 o3 c3 o1 c1 o2 c2 o0 o2 o0 c0 o2 c0 c2 c2 o0 c0 o0 c0 o3 c3 o0 c0 o3 o1 c3 c1 o0 c0 o2 c2 | {'task': 'dyck_shuffle', 'seq': [], 'k': 4, 'n': 32, '_time': 0.00029778480529785156, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 46, '_answer_tokens'... | dyck_shuffle | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x18 x4 x10 x24 x12 x40 x60 x46 x5 x3 x7 x63 x3 x36 x19 x35 x35 x60 x46 x15 x17 x51 x19 x33 x63 x16 x36 x8 x7 x14 x56 x13 | x18 x4 x10 x24 x12 x40 x60 x46 x5 x3 x7 x63 x3 x36 x19 x35 x35 x60 x46 x15 x17 x51 x19 x33 x63 x16 x36 x8 x7 x14 x56 x13 | {'task': 'identity', 'seq': ['x18', 'x4', 'x10', 'x24', 'x12', 'x40', 'x60', 'x46', 'x5', 'x3', 'x7', 'x63', 'x3', 'x36', 'x19', 'x35', 'x35', 'x60', 'x46', 'x15', 'x17', 'x51', 'x19', 'x33', 'x63', 'x16', 'x36', 'x8', 'x7', 'x14', 'x56', 'x13'], 'k': 4, 'n': 32, '_time': 0.0004105567932128906, '_task': 'basic_procedur... | identity | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x32; PUSH x41; PUSH x60; PUSH x6; POP; POP; POP; PUSH x18; PUSH x61; PUSH x6; PUSH x30; PUSH x29; PUSH x56; PUSH x55; PUSH x15; PUSH x15; PUSH x30; PUSH x... | x29 x30 x6 x61 x18 x32 | {'task': 'stack', 'seq': ['PUSH x32', 'PUSH x41', 'PUSH x60', 'PUSH x6', 'POP', 'POP', 'POP', 'PUSH x18', 'PUSH x61', 'PUSH x6', 'PUSH x30', 'PUSH x29', 'PUSH x56', 'PUSH x55', 'PUSH x15', 'PUSH x15', 'PUSH x30', 'PUSH x44', 'POP', 'PUSH x14', 'PUSH x23', 'POP', 'POP', 'POP', 'POP', 'POP', 'POP', 'POP', 'PUSH x54', 'PO... | stack | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x15 x51 x7 x48 x40 x57 x40 x37 x21 x63 x35 x35 x42 x51 x54 x35 x40 x13 x1 x15 x50 x50 x63 x7 x24 x48 x3 x39 x61 x46 x15 x18 | x1 x3 x7 x7 x13 x15 x15 x15 x18 x21 x24 x35 x35 x35 x37 x39 x40 x40 x40 x42 x46 x48 x48 x50 x50 x51 x51 x54 x57 x61 x63 x63 | {'task': 'sort', 'seq': ['x15', 'x51', 'x7', 'x48', 'x40', 'x57', 'x40', 'x37', 'x21', 'x63', 'x35', 'x35', 'x42', 'x51', 'x54', 'x35', 'x40', 'x13', 'x1', 'x15', 'x50', 'x50', 'x63', 'x7', 'x24', 'x48', 'x3', 'x39', 'x61', 'x46', 'x15', 'x18'], 'k': 4, 'n': 32, '_time': 0.00042247772216796875, '_task': 'basic_procedur... | sort | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x52 x33 x41 x17 x7 x2 x35 x44 x32 x16 x48 x29 x46 x64 x33 x60 x63 x22 x33 x19 x12 x24 x55 x3 x7 x53 x47 x47 x16 x36 x6 x46 | x46 x6 x36 x16 x47 x47 x53 x7 x3 x55 x24 x12 x19 x33 x22 x63 x60 x33 x64 x46 x29 x48 x16 x32 x44 x35 x2 x7 x17 x41 x33 x52 | {'task': 'reverse', 'seq': ['x52', 'x33', 'x41', 'x17', 'x7', 'x2', 'x35', 'x44', 'x32', 'x16', 'x48', 'x29', 'x46', 'x64', 'x33', 'x60', 'x63', 'x22', 'x33', 'x19', 'x12', 'x24', 'x55', 'x3', 'x7', 'x53', 'x47', 'x47', 'x16', 'x36', 'x6', 'x46'], 'k': 4, 'n': 32, '_time': 0.0004191398620605469, '_task': 'basic_procedu... | reverse | instruct | 0 |
Generate one valid shuffle-Dyck-4 sequence of exactly 32 tokens. Each close ci must match a previously opened oi of the same type, but closing order may be interleaved across types. Return only the sequence. | o1 o3 o3 o1 o2 c3 c3 o0 c0 c2 c1 c1 o3 c3 o2 c2 o1 c1 o2 c2 o1 o2 o1 o0 o0 o2 c2 c1 c1 c0 c2 c0 | {'task': 'dyck_shuffle', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0003681182861328125, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 46, '_answer_tokens':... | dyck_shuffle | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x49 x21 x29 x38 x48 x18 x27 x32 x28 x56 x37 x64 x36 x52 x12 x50 x44 x49 x40 x34 x25 x33 x39 x62 x3 x42 x52 x26 x35 x58 x18 x20 | x49 x21 x29 x38 x48 x18 x27 x32 x28 x56 x37 x64 x36 x52 x12 x50 x44 x40 x34 x25 x33 x39 x62 x3 x42 x26 x35 x58 x20 | {'task': 'set', 'seq': ['x49', 'x21', 'x29', 'x38', 'x48', 'x18', 'x27', 'x32', 'x28', 'x56', 'x37', 'x64', 'x36', 'x52', 'x12', 'x50', 'x44', 'x49', 'x40', 'x34', 'x25', 'x33', 'x39', 'x62', 'x3', 'x42', 'x52', 'x26', 'x35', 'x58', 'x18', 'x20'], 'k': 4, 'n': 32, '_time': 0.0003631114959716797, '_task': 'basic_procedu... | set | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x30 x6 x11 x23 x29 x30 x10 x31 x43 x26 x35 x21 x31 x61 x49 x29 x54 x30 x30 x19 x13 x62 x38 x47 x34 x27 x50 x61 x5 x38 x25 x38
(TARGET)
x19 | x30 x6 x11 x23 x29 x30 x10 x31 x43 x26 x35 x21 x31 x61 x49 x29 x54 x30 x30 x13 x62 x38 x47 x34 x27 x50 x61 x5 x38 x25 x38 | {'task': 'delete', 'seq': [['x30', 'x6', 'x11', 'x23', 'x29', 'x30', 'x10', 'x31', 'x43', 'x26', 'x35', 'x21', 'x31', 'x61', 'x49', 'x29', 'x54', 'x30', 'x30', 'x19', 'x13', 'x62', 'x38', 'x47', 'x34', 'x27', 'x50', 'x61', 'x5', 'x38', 'x25', 'x38'], 'x19'], 'k': 4, 'n': 32, '_time': 0.0004353523254394531, '_task': 'ba... | delete | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x63; POP; PUSH x17; PUSH x19; PUSH x46; POP; PUSH x43; PUSH x36; PUSH x46; PUSH x28; PUSH x31; PUSH x22; PUSH x64; PUSH x28; PUSH x24; PUSH x16; PUSH x13;... | x22 x31 x28 x46 x36 x43 x19 x17 | {'task': 'stack', 'seq': ['PUSH x63', 'POP', 'PUSH x17', 'PUSH x19', 'PUSH x46', 'POP', 'PUSH x43', 'PUSH x36', 'PUSH x46', 'PUSH x28', 'PUSH x31', 'PUSH x22', 'PUSH x64', 'PUSH x28', 'PUSH x24', 'PUSH x16', 'PUSH x13', 'PUSH x41', 'PUSH x16', 'PUSH x33', 'PUSH x27', 'POP', 'POP', 'POP', 'PUSH x33', 'POP', 'POP', 'POP'... | stack | instruct | 0 |
Generate one valid shuffle-Dyck-4 sequence of exactly 32 tokens. Each close ci must match a previously opened oi of the same type, but closing order may be interleaved across types. Return only the sequence. | o0 o2 o1 o1 c0 c2 o3 c3 o0 o3 c3 c0 o1 c1 o3 c1 c3 o3 o3 c1 c3 o1 o3 c3 c1 c3 o0 c0 o2 o3 c3 c2 | {'task': 'dyck_shuffle', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0002987384796142578, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 46, '_answer_tokens':... | dyck_shuffle | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x14 x40 x6 x62 x3 x3 x26 x6 x39 x50 x30 x34 x2 x12 x7 x12 x8 x40 x37 x11 x14 x13 x29 x18 x32 x62 x61 x59 x28 x32 x45 x61 | x2 x3 x3 x6 x6 x7 x8 x11 x12 x12 x13 x14 x14 x18 x26 x28 x29 x30 x32 x32 x34 x37 x39 x40 x40 x45 x50 x59 x61 x61 x62 x62 | {'task': 'sort', 'seq': ['x14', 'x40', 'x6', 'x62', 'x3', 'x3', 'x26', 'x6', 'x39', 'x50', 'x30', 'x34', 'x2', 'x12', 'x7', 'x12', 'x8', 'x40', 'x37', 'x11', 'x14', 'x13', 'x29', 'x18', 'x32', 'x62', 'x61', 'x59', 'x28', 'x32', 'x45', 'x61'], 'k': 4, 'n': 32, '_time': 0.00041866302490234375, '_task': 'basic_procedural'... | sort | instruct | 0 |
Return the ordered union of the two sequences: keep each token the first time it appears while scanning A then B.
(A)
x1 x17 x6 x6 x30 x34 x11 x19 x6 x3 x29 x32 x42 x31 x19 x50
(B)
x7 x36 x33 x39 x61 x56 x5 x7 x46 x19 x15 x14 x61 x54 x22 x49 | x1 x17 x6 x30 x34 x11 x19 x3 x29 x32 x42 x31 x50 x7 x36 x33 x39 x61 x56 x5 x46 x15 x14 x54 x22 x49 | {'task': 'union', 'seq': [['x1', 'x17', 'x6', 'x6', 'x30', 'x34', 'x11', 'x19', 'x6', 'x3', 'x29', 'x32', 'x42', 'x31', 'x19', 'x50'], ['x7', 'x36', 'x33', 'x39', 'x61', 'x56', 'x5', 'x7', 'x46', 'x19', 'x15', 'x14', 'x61', 'x54', 'x22', 'x49']], 'k': 4, 'n': 32, '_time': 0.0004410743713378906, '_task': 'basic_procedur... | union | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x47; PUSH x16; PUSH x9; PUSH x58; PUSH x62; PUSH x53; PUSH x54; PUSH x3; PUSH x19; PUSH x52; PUSH x22; PUSH x44; PUSH x19; PUSH x59; PUSH x9; PUSH x33; PU... | x56 x52 x8 x55 x41 x21 x33 x9 x59 x19 x44 x22 x52 x19 x3 x54 x53 x62 x58 x9 x16 x47 | {'task': 'stack', 'seq': ['PUSH x47', 'PUSH x16', 'PUSH x9', 'PUSH x58', 'PUSH x62', 'PUSH x53', 'PUSH x54', 'PUSH x3', 'PUSH x19', 'PUSH x52', 'PUSH x22', 'PUSH x44', 'PUSH x19', 'PUSH x59', 'PUSH x9', 'PUSH x33', 'PUSH x21', 'PUSH x41', 'PUSH x55', 'PUSH x8', 'PUSH x52', 'PUSH x26', 'PUSH x9', 'PUSH x48', 'POP', 'POP... | stack | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x38 x18 x63 x56 x7 x5 x37 x1 x61 x7 x51 x62 x51 x51 x47 x39 x10 x19 x50 x32 x57 x20 x52 x24 x20 x21 x43 x18 x59 x47 x57 x58 | x1 x5 x7 x7 x10 x18 x18 x19 x20 x20 x21 x24 x32 x37 x38 x39 x43 x47 x47 x50 x51 x51 x51 x52 x56 x57 x57 x58 x59 x61 x62 x63 | {'task': 'sort', 'seq': ['x38', 'x18', 'x63', 'x56', 'x7', 'x5', 'x37', 'x1', 'x61', 'x7', 'x51', 'x62', 'x51', 'x51', 'x47', 'x39', 'x10', 'x19', 'x50', 'x32', 'x57', 'x20', 'x52', 'x24', 'x20', 'x21', 'x43', 'x18', 'x59', 'x47', 'x57', 'x58'], 'k': 4, 'n': 32, '_time': 0.0004360675811767578, '_task': 'basic_procedura... | sort | instruct | 0 |
Copy the sequence exactly.
(SEQUENCE)
x18 x6 x36 x20 x19 x31 x16 x20 x29 x50 x4 x18 x47 x9 x28 x20 x55 x16 x20 x40 x26 x2 x55 x19 x41 x63 x63 x57 x11 x63 x57 x9 | x18 x6 x36 x20 x19 x31 x16 x20 x29 x50 x4 x18 x47 x9 x28 x20 x55 x16 x20 x40 x26 x2 x55 x19 x41 x63 x63 x57 x11 x63 x57 x9 | {'task': 'identity', 'seq': ['x18', 'x6', 'x36', 'x20', 'x19', 'x31', 'x16', 'x20', 'x29', 'x50', 'x4', 'x18', 'x47', 'x9', 'x28', 'x20', 'x55', 'x16', 'x20', 'x40', 'x26', 'x2', 'x55', 'x19', 'x41', 'x63', 'x63', 'x57', 'x11', 'x63', 'x57', 'x9'], 'k': 4, 'n': 32, '_time': 0.00042438507080078125, '_task': 'basic_proce... | identity | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x33; PUSH x5; PUSH x17; POP; POP; PUSH x4; POP; PUSH x52; POP; PUSH x10; PUSH x54; PUSH x64; PUSH x48; PUSH x4; PUSH x46; PUSH x8; PUSH x39; POP; PUSH x25... | x10 x33 | {'task': 'stack', 'seq': ['PUSH x33', 'PUSH x5', 'PUSH x17', 'POP', 'POP', 'PUSH x4', 'POP', 'PUSH x52', 'POP', 'PUSH x10', 'PUSH x54', 'PUSH x64', 'PUSH x48', 'PUSH x4', 'PUSH x46', 'PUSH x8', 'PUSH x39', 'POP', 'PUSH x25', 'PUSH x31', 'PUSH x46', 'POP', 'POP', 'POP', 'POP', 'POP', 'PUSH x40', 'POP', 'POP', 'POP', 'PO... | stack | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x9 x17 x30 x54 x49 x15 x54 x64 x61 x18 x38 x8 x5 x22 x12 x28 x16 x40 x44 x20 x51 x14 x37 x43 x13 x54 x25 x63 x29 x38 x64 x57 | x9 x17 x30 x54 x49 x15 x64 x61 x18 x38 x8 x5 x22 x12 x28 x16 x40 x44 x20 x51 x14 x37 x43 x13 x25 x63 x29 x57 | {'task': 'set', 'seq': ['x9', 'x17', 'x30', 'x54', 'x49', 'x15', 'x54', 'x64', 'x61', 'x18', 'x38', 'x8', 'x5', 'x22', 'x12', 'x28', 'x16', 'x40', 'x44', 'x20', 'x51', 'x14', 'x37', 'x43', 'x13', 'x54', 'x25', 'x63', 'x29', 'x38', 'x64', 'x57'], 'k': 4, 'n': 32, '_time': 0.00042438507080078125, '_task': 'basic_procedur... | set | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x3 x17 x19 x49 x58 x13 x45 x11 x14 x10 x13 x38 x48 x12 x15 x26 x39 x52 x27 x49 x24 x10 x12 x17 x28 x17 x40 x59 x13 x17 x10 x36 | x3 x17 x19 x49 x58 x13 x45 x11 x14 x10 x38 x48 x12 x15 x26 x39 x52 x27 x24 x28 x40 x59 x36 | {'task': 'set', 'seq': ['x3', 'x17', 'x19', 'x49', 'x58', 'x13', 'x45', 'x11', 'x14', 'x10', 'x13', 'x38', 'x48', 'x12', 'x15', 'x26', 'x39', 'x52', 'x27', 'x49', 'x24', 'x10', 'x12', 'x17', 'x28', 'x17', 'x40', 'x59', 'x13', 'x17', 'x10', 'x36'], 'k': 4, 'n': 32, '_time': 0.000316619873046875, '_task': 'basic_procedur... | set | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x35 x45 x16 x1 x36 x20 x23 x15 x9 x21 x55 x56 x52 x28 x39 x49 x62 x6 x48 x40 x45 x38 x34 x4 x56 x18 x49 x46 x11 x61 x13 x54 | x35 x45 x16 x1 x36 x20 x23 x15 x9 x21 x55 x56 x52 x28 x39 x49 x62 x6 x48 x40 x38 x34 x4 x18 x46 x11 x61 x13 x54 | {'task': 'set', 'seq': ['x35', 'x45', 'x16', 'x1', 'x36', 'x20', 'x23', 'x15', 'x9', 'x21', 'x55', 'x56', 'x52', 'x28', 'x39', 'x49', 'x62', 'x6', 'x48', 'x40', 'x45', 'x38', 'x34', 'x4', 'x56', 'x18', 'x49', 'x46', 'x11', 'x61', 'x13', 'x54'], 'k': 4, 'n': 32, '_time': 0.0003151893615722656, '_task': 'basic_procedural... | set | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x40 x56 x18 x44 x28 x7 x6 x35 x60 x63 x54 x30 x16 x8 x18 x57 x11 x7 x61 x49 x21 x17 x23 x48 x30 x62 x32 x5 x9 x61 x32 x60 | x5 x6 x7 x7 x8 x9 x11 x16 x17 x18 x18 x21 x23 x28 x30 x30 x32 x32 x35 x40 x44 x48 x49 x54 x56 x57 x60 x60 x61 x61 x62 x63 | {'task': 'sort', 'seq': ['x40', 'x56', 'x18', 'x44', 'x28', 'x7', 'x6', 'x35', 'x60', 'x63', 'x54', 'x30', 'x16', 'x8', 'x18', 'x57', 'x11', 'x7', 'x61', 'x49', 'x21', 'x17', 'x23', 'x48', 'x30', 'x62', 'x32', 'x5', 'x9', 'x61', 'x32', 'x60'], 'k': 4, 'n': 32, '_time': 0.0004363059997558594, '_task': 'basic_procedural'... | sort | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x13 x11 x58 x15 x39 x38 x15 x39 x36 x49 x59 x16 x3 x59 x18 x39 x56 x19 x43 x13 x48 x4 x51 x53 x21 x64 x45 x43 x36 x11 x49 x29 | x13 x11 x58 x15 x39 x38 x36 x49 x59 x16 x3 x18 x56 x19 x43 x48 x4 x51 x53 x21 x64 x45 x29 | {'task': 'set', 'seq': ['x13', 'x11', 'x58', 'x15', 'x39', 'x38', 'x15', 'x39', 'x36', 'x49', 'x59', 'x16', 'x3', 'x59', 'x18', 'x39', 'x56', 'x19', 'x43', 'x13', 'x48', 'x4', 'x51', 'x53', 'x21', 'x64', 'x45', 'x43', 'x36', 'x11', 'x49', 'x29'], 'k': 4, 'n': 32, '_time': 0.0004162788391113281, '_task': 'basic_procedur... | set | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x35 x12 x3 x36 x3 x13 x60 x53 x24 x44 x6 x18 x40 x13 x48 x11 x44 x10 x30 x3 x46 x28 x11 x3 x37 x60 x60 x49 x15 x18 x59 x33
(TARGET)
x15 | x35 x12 x3 x36 x3 x13 x60 x53 x24 x44 x6 x18 x40 x13 x48 x11 x44 x10 x30 x3 x46 x28 x11 x3 x37 x60 x60 x49 x18 x59 x33 | {'task': 'delete', 'seq': [['x35', 'x12', 'x3', 'x36', 'x3', 'x13', 'x60', 'x53', 'x24', 'x44', 'x6', 'x18', 'x40', 'x13', 'x48', 'x11', 'x44', 'x10', 'x30', 'x3', 'x46', 'x28', 'x11', 'x3', 'x37', 'x60', 'x60', 'x49', 'x15', 'x18', 'x59', 'x33'], 'x15'], 'k': 4, 'n': 32, '_time': 0.0003228187561035156, '_task': 'basic... | delete | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x29 x46 x29 x50 x15 x15 x55 x31 x47 x47 x56 x20 x46 x12 x39 x13 x58 x9 x50 x50 x43 x62 x52 x33 x55 x10 x43 x28 x62 x57 x27 x50 | x50 x27 x57 x62 x28 x43 x10 x55 x33 x52 x62 x43 x50 x50 x9 x58 x13 x39 x12 x46 x20 x56 x47 x47 x31 x55 x15 x15 x50 x29 x46 x29 | {'task': 'reverse', 'seq': ['x29', 'x46', 'x29', 'x50', 'x15', 'x15', 'x55', 'x31', 'x47', 'x47', 'x56', 'x20', 'x46', 'x12', 'x39', 'x13', 'x58', 'x9', 'x50', 'x50', 'x43', 'x62', 'x52', 'x33', 'x55', 'x10', 'x43', 'x28', 'x62', 'x57', 'x27', 'x50'], 'k': 4, 'n': 32, '_time': 0.0003192424774169922, '_task': 'basic_pro... | reverse | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x35 x8 x8 x7 x51 x60 x54 x9 x29 x50 x26 x25 x17 x28 x17 x18 x46 x1 x60 x16 x13 x62 x10 x10 x64 x56 x43 x44 x37 x4 x56 x38 | x1 x4 x7 x8 x8 x9 x10 x10 x13 x16 x17 x17 x18 x25 x26 x28 x29 x35 x37 x38 x43 x44 x46 x50 x51 x54 x56 x56 x60 x60 x62 x64 | {'task': 'sort', 'seq': ['x35', 'x8', 'x8', 'x7', 'x51', 'x60', 'x54', 'x9', 'x29', 'x50', 'x26', 'x25', 'x17', 'x28', 'x17', 'x18', 'x46', 'x1', 'x60', 'x16', 'x13', 'x62', 'x10', 'x10', 'x64', 'x56', 'x43', 'x44', 'x37', 'x4', 'x56', 'x38'], 'k': 4, 'n': 32, '_time': 0.00043702125549316406, '_task': 'basic_procedural... | sort | instruct | 0 |
Generate one valid shuffle-Dyck-4 sequence of exactly 32 tokens. Each close ci must match a previously opened oi of the same type, but closing order may be interleaved across types. Return only the sequence. | o0 o0 c0 o3 o3 c3 o1 o3 c3 o0 o3 c1 c0 o2 o3 c0 c2 c3 c3 o3 o1 c3 c1 o0 o1 o1 o3 c1 c1 c3 c3 c0 | {'task': 'dyck_shuffle', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0004286766052246094, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 46, '_answer_tokens':... | dyck_shuffle | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x4 x46 x43 x5 x5 x42 x25 x13 x59 x48 x31 x24 x44 x43 x39 x45 x4 x49 x60 x2 x26 x38 x50 x12 x62 x50 x35 x24 x11 x52 x49 x42 | x42 x49 x52 x11 x24 x35 x50 x62 x12 x50 x38 x26 x2 x60 x49 x4 x45 x39 x43 x44 x24 x31 x48 x59 x13 x25 x42 x5 x5 x43 x46 x4 | {'task': 'reverse', 'seq': ['x4', 'x46', 'x43', 'x5', 'x5', 'x42', 'x25', 'x13', 'x59', 'x48', 'x31', 'x24', 'x44', 'x43', 'x39', 'x45', 'x4', 'x49', 'x60', 'x2', 'x26', 'x38', 'x50', 'x12', 'x62', 'x50', 'x35', 'x24', 'x11', 'x52', 'x49', 'x42'], 'k': 4, 'n': 32, '_time': 0.0004010200500488281, '_task': 'basic_procedu... | reverse | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x19 x39 x15 x15 x54 x54 x39 x35 x18 x24 x30 x28 x36 x44 x13 x40 x55 x15 x31 x23 x42 x28 x51 x56 x27 x59 x19 x18 x12 x57 x42 x12 | x19 x39 x15 x54 x35 x18 x24 x30 x28 x36 x44 x13 x40 x55 x31 x23 x42 x51 x56 x27 x59 x12 x57 | {'task': 'set', 'seq': ['x19', 'x39', 'x15', 'x15', 'x54', 'x54', 'x39', 'x35', 'x18', 'x24', 'x30', 'x28', 'x36', 'x44', 'x13', 'x40', 'x55', 'x15', 'x31', 'x23', 'x42', 'x28', 'x51', 'x56', 'x27', 'x59', 'x19', 'x18', 'x12', 'x57', 'x42', 'x12'], 'k': 4, 'n': 32, '_time': 0.00041556358337402344, '_task': 'basic_proce... | set | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x7 x16 x29 x6 x57 x25 x3 x56 x30 x61 x55 x41 x35 x35 x23 x42 x24 x18 x33 x3 x31 x36 x62 x8 x33 x46 x36 x31 x17 x46 x6 x49
(TARGET)
x46 | x7 x16 x29 x6 x57 x25 x3 x56 x30 x61 x55 x41 x35 x35 x23 x42 x24 x18 x33 x3 x31 x36 x62 x8 x33 x36 x31 x17 x46 x6 x49 | {'task': 'delete', 'seq': [['x7', 'x16', 'x29', 'x6', 'x57', 'x25', 'x3', 'x56', 'x30', 'x61', 'x55', 'x41', 'x35', 'x35', 'x23', 'x42', 'x24', 'x18', 'x33', 'x3', 'x31', 'x36', 'x62', 'x8', 'x33', 'x46', 'x36', 'x31', 'x17', 'x46', 'x6', 'x49'], 'x46'], 'k': 4, 'n': 32, '_time': 0.00043463706970214844, '_task': 'basic... | delete | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x50 x48 x55 x13 x38 x64 x14 x39 x60 x13 x2 x46 x52 x42 x6 x51 x49 x25 x42 x54 x44 x61 x49 x9 x37 x63 x64 x29 x46 x5 x32 x45
(TARGET)
x60 | x50 x48 x55 x13 x38 x64 x14 x39 x13 x2 x46 x52 x42 x6 x51 x49 x25 x42 x54 x44 x61 x49 x9 x37 x63 x64 x29 x46 x5 x32 x45 | {'task': 'delete', 'seq': [['x50', 'x48', 'x55', 'x13', 'x38', 'x64', 'x14', 'x39', 'x60', 'x13', 'x2', 'x46', 'x52', 'x42', 'x6', 'x51', 'x49', 'x25', 'x42', 'x54', 'x44', 'x61', 'x49', 'x9', 'x37', 'x63', 'x64', 'x29', 'x46', 'x5', 'x32', 'x45'], 'x60'], 'k': 4, 'n': 32, '_time': 0.00043463706970214844, '_task': 'bas... | delete | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x9 x34 x25 x34 x34 x26 x27 x10 x28 x50 x40 x1 x49 x11 x41 x53 x15 x41 x59 x32 x57 x7 x52 x63 x53 x33 x53 x58 x43 x3 x7 x25 | x9 x34 x25 x26 x27 x10 x28 x50 x40 x1 x49 x11 x41 x53 x15 x59 x32 x57 x7 x52 x63 x33 x58 x43 x3 | {'task': 'set', 'seq': ['x9', 'x34', 'x25', 'x34', 'x34', 'x26', 'x27', 'x10', 'x28', 'x50', 'x40', 'x1', 'x49', 'x11', 'x41', 'x53', 'x15', 'x41', 'x59', 'x32', 'x57', 'x7', 'x52', 'x63', 'x53', 'x33', 'x53', 'x58', 'x43', 'x3', 'x7', 'x25'], 'k': 4, 'n': 32, '_time': 0.0004277229309082031, '_task': 'basic_procedural'... | set | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x53; PUSH x8; PUSH x59; PUSH x52; POP; PUSH x20; PUSH x13; PUSH x15; PUSH x45; PUSH x42; PUSH x24; PUSH x56; PUSH x55; PUSH x21; POP; PUSH x13; POP; PUSH ... | x31 x48 x42 x45 x15 x13 x20 x59 x8 x53 | {'task': 'stack', 'seq': ['PUSH x53', 'PUSH x8', 'PUSH x59', 'PUSH x52', 'POP', 'PUSH x20', 'PUSH x13', 'PUSH x15', 'PUSH x45', 'PUSH x42', 'PUSH x24', 'PUSH x56', 'PUSH x55', 'PUSH x21', 'POP', 'PUSH x13', 'POP', 'PUSH x31', 'PUSH x18', 'PUSH x12', 'PUSH x5', 'POP', 'POP', 'POP', 'POP', 'POP', 'POP', 'PUSH x6', 'POP',... | stack | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x63; PUSH x23; PUSH x35; PUSH x9; PUSH x18; POP; PUSH x5; PUSH x64; PUSH x46; PUSH x58; POP; PUSH x7; POP; PUSH x25; POP; POP; POP; POP; PUSH x29; PUSH x3... | x23 x63 | {'task': 'stack', 'seq': ['PUSH x63', 'PUSH x23', 'PUSH x35', 'PUSH x9', 'PUSH x18', 'POP', 'PUSH x5', 'PUSH x64', 'PUSH x46', 'PUSH x58', 'POP', 'PUSH x7', 'POP', 'PUSH x25', 'POP', 'POP', 'POP', 'POP', 'PUSH x29', 'PUSH x36', 'PUSH x8', 'POP', 'PUSH x63', 'PUSH x1', 'POP', 'PUSH x37', 'POP', 'POP', 'POP', 'POP', 'POP... | stack | instruct | 0 |
Generate one valid Dyck-4 balanced-bracket sequence of exactly 32 tokens.
Use tokens o0..ok for opens and c0..ck for matching closes. Return only the sequence. | o0 c0 o0 c0 o0 c0 o2 o3 o0 c0 c3 c2 o1 o3 o3 c3 c3 c1 o0 c0 o0 o1 o1 c1 c1 c0 o1 c1 o1 o2 c2 c1 | {'task': 'dyck', 'seq': [], 'k': 4, 'n': 32, '_time': 0.0003838539123535156, '_task': 'basic_procedural', '_level': 0, '_config': {'c': 1.0, 'level': 0, 'seed': None, 'size': None, 'task': 'mixed', 'seq_len': 32, 'vocab_size': 64, 'k': 4, 'p_open': 0.49, 'max_depth': 16}, '_prompt_tokens': 39, '_answer_tokens': 64} | dyck | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x40 x50 x10 x56 x13 x23 x39 x32 x35 x4 x49 x21 x25 x40 x54 x24 x7 x61 x61 x1 x52 x29 x21 x37 x35 x49 x22 x53 x2 x25 x10 x1 | x1 x10 x25 x2 x53 x22 x49 x35 x37 x21 x29 x52 x1 x61 x61 x7 x24 x54 x40 x25 x21 x49 x4 x35 x32 x39 x23 x13 x56 x10 x50 x40 | {'task': 'reverse', 'seq': ['x40', 'x50', 'x10', 'x56', 'x13', 'x23', 'x39', 'x32', 'x35', 'x4', 'x49', 'x21', 'x25', 'x40', 'x54', 'x24', 'x7', 'x61', 'x61', 'x1', 'x52', 'x29', 'x21', 'x37', 'x35', 'x49', 'x22', 'x53', 'x2', 'x25', 'x10', 'x1'], 'k': 4, 'n': 32, '_time': 0.000408172607421875, '_task': 'basic_procedur... | reverse | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x35 x47 x54 x10 x33 x22 x55 x48 x35 x33 x21 x49 x2 x26 x4 x39 x43 x2 x27 x20 x33 x48 x26 x26 x28 x48 x49 x15 x46 x53 x38 x52
(TARGET)
x15 | x35 x47 x54 x10 x33 x22 x55 x48 x35 x33 x21 x49 x2 x26 x4 x39 x43 x2 x27 x20 x33 x48 x26 x26 x28 x48 x49 x46 x53 x38 x52 | {'task': 'delete', 'seq': [['x35', 'x47', 'x54', 'x10', 'x33', 'x22', 'x55', 'x48', 'x35', 'x33', 'x21', 'x49', 'x2', 'x26', 'x4', 'x39', 'x43', 'x2', 'x27', 'x20', 'x33', 'x48', 'x26', 'x26', 'x28', 'x48', 'x49', 'x15', 'x46', 'x53', 'x38', 'x52'], 'x15'], 'k': 4, 'n': 32, '_time': 0.0004515647888183594, '_task': 'bas... | delete | instruct | 0 |
Return the ordered union of the two sequences: keep each token the first time it appears while scanning A then B.
(A)
x12 x39 x47 x50 x45 x53 x44 x44 x18 x37 x52 x47 x48 x36 x43 x31
(B)
x9 x44 x48 x5 x12 x50 x6 x38 x18 x63 x30 x5 x59 x32 x15 x40 | x12 x39 x47 x50 x45 x53 x44 x18 x37 x52 x48 x36 x43 x31 x9 x5 x6 x38 x63 x30 x59 x32 x15 x40 | {'task': 'union', 'seq': [['x12', 'x39', 'x47', 'x50', 'x45', 'x53', 'x44', 'x44', 'x18', 'x37', 'x52', 'x47', 'x48', 'x36', 'x43', 'x31'], ['x9', 'x44', 'x48', 'x5', 'x12', 'x50', 'x6', 'x38', 'x18', 'x63', 'x30', 'x5', 'x59', 'x32', 'x15', 'x40']], 'k': 4, 'n': 32, '_time': 0.00045418739318847656, '_task': 'basic_pro... | union | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x4; PUSH x51; PUSH x40; PUSH x4; PUSH x46; PUSH x56; PUSH x43; PUSH x16; POP; PUSH x14; POP; PUSH x11; PUSH x63; POP; PUSH x18; POP; PUSH x18; PUSH x50; P... | x50 x18 x11 x43 x56 x46 x4 x40 x51 x4 | {'task': 'stack', 'seq': ['PUSH x4', 'PUSH x51', 'PUSH x40', 'PUSH x4', 'PUSH x46', 'PUSH x56', 'PUSH x43', 'PUSH x16', 'POP', 'PUSH x14', 'POP', 'PUSH x11', 'PUSH x63', 'POP', 'PUSH x18', 'POP', 'PUSH x18', 'PUSH x50', 'PUSH x17', 'POP', 'PUSH x59', 'PUSH x40', 'PUSH x20', 'POP', 'PUSH x51', 'PUSH x56', 'POP', 'POP', ... | stack | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x14 x36 x47 x20 x42 x20 x38 x57 x5 x52 x41 x20 x40 x24 x59 x36 x5 x38 x33 x64 x26 x40 x36 x21 x14 x22 x29 x63 x18 x56 x10 x33 | x33 x10 x56 x18 x63 x29 x22 x14 x21 x36 x40 x26 x64 x33 x38 x5 x36 x59 x24 x40 x20 x41 x52 x5 x57 x38 x20 x42 x20 x47 x36 x14 | {'task': 'reverse', 'seq': ['x14', 'x36', 'x47', 'x20', 'x42', 'x20', 'x38', 'x57', 'x5', 'x52', 'x41', 'x20', 'x40', 'x24', 'x59', 'x36', 'x5', 'x38', 'x33', 'x64', 'x26', 'x40', 'x36', 'x21', 'x14', 'x22', 'x29', 'x63', 'x18', 'x56', 'x10', 'x33'], 'k': 4, 'n': 32, '_time': 0.0004279613494873047, '_task': 'basic_proc... | reverse | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x41 x28 x1 x45 x33 x4 x32 x40 x54 x34 x39 x4 x12 x40 x1 x29 x20 x36 x12 x63 x3 x51 x17 x32 x31 x32 x38 x60 x31 x45 x13 x46
(TARGET)
x32 | x41 x28 x1 x45 x33 x4 x40 x54 x34 x39 x4 x12 x40 x1 x29 x20 x36 x12 x63 x3 x51 x17 x32 x31 x32 x38 x60 x31 x45 x13 x46 | {'task': 'delete', 'seq': [['x41', 'x28', 'x1', 'x45', 'x33', 'x4', 'x32', 'x40', 'x54', 'x34', 'x39', 'x4', 'x12', 'x40', 'x1', 'x29', 'x20', 'x36', 'x12', 'x63', 'x3', 'x51', 'x17', 'x32', 'x31', 'x32', 'x38', 'x60', 'x31', 'x45', 'x13', 'x46'], 'x32'], 'k': 4, 'n': 32, '_time': 0.00045228004455566406, '_task': 'basi... | delete | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x30 x58 x52 x7 x4 x19 x48 x34 x60 x14 x43 x62 x10 x10 x9 x51 x12 x42 x44 x42 x31 x37 x15 x59 x3 x37 x3 x22 x52 x56 x8 x26
(TARGET)
x48 | x30 x58 x52 x7 x4 x19 x34 x60 x14 x43 x62 x10 x10 x9 x51 x12 x42 x44 x42 x31 x37 x15 x59 x3 x37 x3 x22 x52 x56 x8 x26 | {'task': 'delete', 'seq': [['x30', 'x58', 'x52', 'x7', 'x4', 'x19', 'x48', 'x34', 'x60', 'x14', 'x43', 'x62', 'x10', 'x10', 'x9', 'x51', 'x12', 'x42', 'x44', 'x42', 'x31', 'x37', 'x15', 'x59', 'x3', 'x37', 'x3', 'x22', 'x52', 'x56', 'x8', 'x26'], 'x48'], 'k': 4, 'n': 32, '_time': 0.0004584789276123047, '_task': 'basic_... | delete | instruct | 0 |
Execute the stack operations. PUSH x pushes x. POP removes the top item. Return the final stack from top to bottom, or EMPTY if the stack is empty.
(OPERATIONS)
PUSH x43; PUSH x27; PUSH x19; PUSH x25; PUSH x48; PUSH x51; POP; PUSH x9; PUSH x45; PUSH x39; PUSH x19; PUSH x20; PUSH x26; PUSH x22; PUSH x52; PUSH x12; POP; ... | x27 x52 x22 x26 x20 x19 x39 x45 x9 x48 x25 x19 x27 x43 | {'task': 'stack', 'seq': ['PUSH x43', 'PUSH x27', 'PUSH x19', 'PUSH x25', 'PUSH x48', 'PUSH x51', 'POP', 'PUSH x9', 'PUSH x45', 'PUSH x39', 'PUSH x19', 'PUSH x20', 'PUSH x26', 'PUSH x22', 'PUSH x52', 'PUSH x12', 'POP', 'PUSH x27', 'PUSH x7', 'PUSH x42', 'PUSH x36', 'PUSH x64', 'POP', 'PUSH x17', 'POP', 'PUSH x52', 'POP... | stack | instruct | 0 |
Reverse the sequence.
(SEQUENCE)
x40 x16 x62 x5 x8 x39 x14 x50 x61 x61 x36 x48 x3 x17 x54 x37 x2 x60 x46 x51 x46 x43 x31 x21 x23 x2 x2 x43 x15 x64 x10 x14 | x14 x10 x64 x15 x43 x2 x2 x23 x21 x31 x43 x46 x51 x46 x60 x2 x37 x54 x17 x3 x48 x36 x61 x61 x50 x14 x39 x8 x5 x62 x16 x40 | {'task': 'reverse', 'seq': ['x40', 'x16', 'x62', 'x5', 'x8', 'x39', 'x14', 'x50', 'x61', 'x61', 'x36', 'x48', 'x3', 'x17', 'x54', 'x37', 'x2', 'x60', 'x46', 'x51', 'x46', 'x43', 'x31', 'x21', 'x23', 'x2', 'x2', 'x43', 'x15', 'x64', 'x10', 'x14'], 'k': 4, 'n': 32, '_time': 0.0003631114959716797, '_task': 'basic_procedur... | reverse | instruct | 0 |
Return the unique elements of the sequence in order of first appearance.
(SEQUENCE)
x47 x15 x11 x18 x16 x43 x43 x59 x37 x45 x46 x61 x20 x57 x10 x17 x47 x47 x2 x36 x58 x52 x23 x26 x10 x35 x35 x10 x15 x15 x34 x27 | x47 x15 x11 x18 x16 x43 x59 x37 x45 x46 x61 x20 x57 x10 x17 x2 x36 x58 x52 x23 x26 x35 x34 x27 | {'task': 'set', 'seq': ['x47', 'x15', 'x11', 'x18', 'x16', 'x43', 'x43', 'x59', 'x37', 'x45', 'x46', 'x61', 'x20', 'x57', 'x10', 'x17', 'x47', 'x47', 'x2', 'x36', 'x58', 'x52', 'x23', 'x26', 'x10', 'x35', 'x35', 'x10', 'x15', 'x15', 'x34', 'x27'], 'k': 4, 'n': 32, '_time': 0.0003495216369628906, '_task': 'basic_procedu... | set | instruct | 0 |
Return the ordered union of the two sequences: keep each token the first time it appears while scanning A then B.
(A)
x55 x3 x7 x1 x64 x1 x33 x29 x14 x25 x7 x59 x13 x21 x58 x22
(B)
x7 x28 x16 x11 x29 x60 x43 x18 x53 x53 x20 x43 x43 x60 x61 x12 | x55 x3 x7 x1 x64 x33 x29 x14 x25 x59 x13 x21 x58 x22 x28 x16 x11 x60 x43 x18 x53 x20 x61 x12 | {'task': 'union', 'seq': [['x55', 'x3', 'x7', 'x1', 'x64', 'x1', 'x33', 'x29', 'x14', 'x25', 'x7', 'x59', 'x13', 'x21', 'x58', 'x22'], ['x7', 'x28', 'x16', 'x11', 'x29', 'x60', 'x43', 'x18', 'x53', 'x53', 'x20', 'x43', 'x43', 'x60', 'x61', 'x12']], 'k': 4, 'n': 32, '_time': 0.0004477500915527344, '_task': 'basic_proced... | union | instruct | 0 |
Sort the sequence in ascending numeric order, where x2 < x10.
(SEQUENCE)
x46 x42 x12 x55 x2 x53 x58 x31 x44 x36 x59 x31 x53 x19 x36 x13 x8 x28 x3 x36 x32 x14 x38 x62 x40 x60 x64 x35 x34 x58 x61 x10 | x2 x3 x8 x10 x12 x13 x14 x19 x28 x31 x31 x32 x34 x35 x36 x36 x36 x38 x40 x42 x44 x46 x53 x53 x55 x58 x58 x59 x60 x61 x62 x64 | {'task': 'sort', 'seq': ['x46', 'x42', 'x12', 'x55', 'x2', 'x53', 'x58', 'x31', 'x44', 'x36', 'x59', 'x31', 'x53', 'x19', 'x36', 'x13', 'x8', 'x28', 'x3', 'x36', 'x32', 'x14', 'x38', 'x62', 'x40', 'x60', 'x64', 'x35', 'x34', 'x58', 'x61', 'x10'], 'k': 4, 'n': 32, '_time': 0.0004353523254394531, '_task': 'basic_procedur... | sort | instruct | 0 |
Delete the first occurrence of TARGET from SEQUENCE. If TARGET is absent, return SEQUENCE unchanged.
(SEQUENCE)
x1 x10 x20 x38 x56 x58 x50 x18 x37 x55 x47 x44 x15 x45 x60 x14 x46 x54 x37 x34 x27 x23 x25 x58 x38 x30 x4 x46 x7 x6 x52 x11
(TARGET)
x46 | x1 x10 x20 x38 x56 x58 x50 x18 x37 x55 x47 x44 x15 x45 x60 x14 x54 x37 x34 x27 x23 x25 x58 x38 x30 x4 x46 x7 x6 x52 x11 | {'task': 'delete', 'seq': [['x1', 'x10', 'x20', 'x38', 'x56', 'x58', 'x50', 'x18', 'x37', 'x55', 'x47', 'x44', 'x15', 'x45', 'x60', 'x14', 'x46', 'x54', 'x37', 'x34', 'x27', 'x23', 'x25', 'x58', 'x38', 'x30', 'x4', 'x46', 'x7', 'x6', 'x52', 'x11'], 'x46'], 'k': 4, 'n': 32, '_time': 0.00042438507080078125, '_task': 'bas... | delete | instruct | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.