Dataset Viewer
Auto-converted to Parquet Duplicate
role
stringclasses
2 values
user
stringlengths
8
286
assistant
stringlengths
8
17.2k
category
stringclasses
84 values
source
stringclasses
64 values
approx_tokens
int64
311
4.3k
output
stringclasses
628 values
system
stringclasses
2 values
subtype
stringclasses
24 values
_diag
stringclasses
16 values
tool_use
ORCHESTRATOR TASK: The planner has assigned you: implement a complete Synoema IoT water pump controller. Requirements: flow sensor gpio 5, pressure gpio 6, pump gpio 8, valve gpio 9, alarm when pressure > 90. Execute step by step, verify each component, report completion.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\":\"water_pump_controller.sno\",\"content\":\"-- IoT Water Pump Controller\\n-- Flow sensor: GPIO 5, Pressure sensor: GPIO 6\\n-- Pump: GPIO 8, Valve: GPIO 9, Alarm when press...
7b_orchestrator_iot
7b_distilled_glm
2,344
null
null
null
null
codegen
sum of numbers whose reverse is prime
revNum2 acc n = ? n == 0 -> acc : revNum2 (acc * 10 + n % 10) (n / 10) isPrimeMH2 n = ? n < 2 -> 0 : chkMH2 2 n chkMH2 d n = ? d * d > n -> 1 : ? n % d == 0 -> 0 : chkMH2 (d + 1) n main = foldl (\acc n -> ? isPrimeMH2 (revNum2 0 n) == 1 -> acc + n : acc) 0 [13 31 17 71 37 73 11 22 33 44]
multi_helper
gen_bulk_v4
null
253
null
null
null
codegen
Synoema: mySum of [1 2 144].
ms_144 [] = 0 ms_144 (x:xs) = x + ms_144 xs main = ms_144 [1 2 144]
list
gen_filler
null
147
null
null
null
tool_use
Implement `sum_squares_of_first` in Synoema (for sum squares of first k divisors), write to src/sum_squares_of_first_r1.sno, then typecheck.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/sum_squares_of_first_r1.sno\", \"content\": \"isDivOf9 n d = n % d == 0\\nmain = foldl (\\\\acc d -> ? isDivOf9 12 d -> acc + d * d : acc) 0 [1 2 3 4 5 6 7 8 9 10 11 ...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Broken-then-fixed task. Write `sign x = if x > 0 then 1 else 0` to src/sign.sno, typecheck (fails — no if/else in Synoema), rewrite with ternary, typecheck again.
[{"role": "assistant", "content": "Broken-then-fixed task. Variant 5: writing the broken if/else version first.", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/sign.sno\", \"content\": \"sign x = if x > 0 then 1 else 0\"}"}}]}, {"role": "tool", "conten...
tu13
c5tu13_strict4tool
null
null
null
null
null
tool_use
The function depth needs a conditional. Write it with if/else (fails in Synoema), then fix using ternary, typechecking each version.
[{"role": "assistant", "content": "First attempt uses if/else. (case 9)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/depth.sno\", \"content\": \"depth d = if d > 100 then 1 else 0\"}"}}]}, {"role": "tool", "content": "Written 34 bytes to src/depth.s...
tu4
clean_fixerr_general
null
null
null
null
null
tool_use
Search 'adt direction synoema', implement ADT example. Write to src/adt_adt_shape_5.sno, typecheck and run.
[{"role": "assistant", "content": "I'll search the corpus for 'adt direction synoema'.", "tool_calls": [{"type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"adt direction synoema\"}"}}]}, {"role": "tool", "content": "-- Found examples for: adt direction synoema\nDirection = North | Sou...
search_write
gen_search_run_v1
null
null
You are a Synoema programming assistant.
null
null
tool_use
Search corpus for 'reverse num synoema', then implement it and typecheck
[{"role": "assistant", "content": "Searching for reference.", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"reverse num synoema\", \"top_k\": 3}"}}]}, {"role": "tool", "content": "[REFERENCE] reverse num: a common algorithm. Implementation uses pattern...
tu6
c4ref_doc_style
null
null
null
null
null
codegen
Synoema fizz 22: multiples of 3→1, 5→2, 15→3, else 0.
fizz n = ? n % 15 == 0 -> 3 : ? n % 3 == 0 -> 1 : ? n % 5 == 0 -> 2 : 0 main = fizz 22
pattern
gen_lang_v4
null
0
null
null
null
tool_use
Implement `Synoema:_`dbl_33`_ap` in Synoema (for Synoema: `dbl_33` applies `x * 2` to x=33.), write to src/Synoema:_`dbl_33`_ap_r2.sno, then typecheck.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema:_`dbl_33`_ap_r2.sno\", \"content\": \"dbl_33 x = x * 2\\nmain = dbl_33 33\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK"}, {"role": "assis...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
DELEGATED TASK: Refactor the capitalize function in Synoema to add: 1) type signature 2) requires/ensures contracts 3) handle edge cases. Write to src/main.sno, verify, run tests.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_read", "arguments": "{\"path\":\"src/main.sno\"}"}}]}, {"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\":\"sr...
7b_orchestrator_delegation
7b_distilled_glm
1,499
null
null
null
null
tool_use
Implement `path dir file` in src/path_str_3.sno. Fix: replace `+` with `++` for string concatenation.
[{"role": "assistant", "content": "Writing code to `src/path_str_3.sno` now.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/path_str_3.sno\", \"content\": \"path dir file = dir + \\\"/\\\" + file\\nmain = path \\\"src\\\" \\\"main.sno\\\"\"}"}}]}, {"role": "tool"...
fix_error
gen_fix_error_v1
null
null
You are a Synoema programming assistant.
null
null
codegen
Synoema `sumTo 4` — sum from 1 to n.
sumTo 0 = 0 sumTo n = n + sumTo (n - 1) main = sumTo 4
recursive
gen_lang_v4
null
10
null
null
null
tool_use
Implement `Write_Synoema_`hyper` in Synoema (Write Synoema `hyperSum` — sum of 3. Call: hyperSum 7 8 9.). Write to src/Write_Synoema_`hyper_run0.sno, typecheck, then run.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Write_Synoema_`hyper_run0.sno\", \"content\": \"hyperSum a b c = a + b + c\\nmain = hyperSum 7 8 9\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK"}...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
Synoema: `mod7_31` applies `x % 7` to x=31.
mod7_31 x = x % 7 main = mod7_31 31
arith
gen_lang_v4
null
3
null
null
null
codegen
sum of integers 1 to 321
main = 321 * (321 + 1) / 2
arith
gen_bulk_v10
null
null
You are a Synoema programming assistant.
null
null
tool_use
Write Synoema quicksort with sequential binding to src/qsort_3_1_4_1_5_9.sno. Typecheck and run.
[{"role": "assistant", "content": "Writing quicksort to `src/qsort_3_1_4_1_5_9.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/qsort_3_1_4_1_5_9.sno\", \"content\": \"qsort [] = []\\nqsort (x:xs) =\\n smaller = qsort [y | y <- xs, y <= x]\\n larger = qsort...
local_comp_targeted
gen_qsort_tu12
null
null
You are a Synoema programming assistant.
list_comp_qsort
null
tool_use
Write filter odds using list comprehension to src/odds_5.sno, typecheck and run
[{"role": "assistant", "content": "V5: Writing filter odds with inline list comprehension [expr | var <- list, cond].", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/odds_5.sno\", \"content\": \"odds xs = [x | x <- xs, x % 2 == 1]\\nmain = odds [1 2 3 ...
tu12
c2tu12
null
null
null
null
null
tool_use
Write Synoema `positives` using filter with lambda. Write to src/pos_13.sno, typecheck and run.
[{"role": "assistant", "content": "I'll write the Synoema code to `src/pos_13.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/pos_13.sno\", \"content\": \"positives xs = filter (\\\\x -> x > 0) xs\\nmain = positives [(-3) 1 (-2) 4 0 5]\"}"}}]}, {"role": "too...
lang_hof
gen_lang_tooluse_v1
null
null
You are a Synoema programming assistant.
hof
null
tool_use
Look at src/add.sno, then create minf (a similar operation) in src/minf_14.sno, typecheck.
[{"role": "assistant", "content": "Reading src/add.sno for reference. (v14)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_read", "arguments": "{\"path\": \"src/add.sno\"}"}}]}, {"role": "tool", "content": "add x y = x + y\nmain = add 3 4", "tool_call_id": "c1"}, {"role": "assistant", "con...
local
creadwrite
null
null
null
null
null
tool_use
Write and typecheck a Synoema function: Synoema `applyTwice square 4` — apply square twice to 4.. Save as src/Synoema_`applyTwice__r0.sno.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`applyTwice__r0.sno\", \"content\": \"square x = x * x\\napplyTwice f x = f (f x)\\nmain = applyTwice square 4\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Search 'gcd euclid synoema', write gcd to src/gcd.sno, typecheck and run gcd 48 18.
[{"role": "assistant", "content": "Searching corpus for 'gcd euclid synoema'.", "tool_calls": [{"type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"gcd euclid synoema\"}"}}]}, {"role": "tool", "content": "gcd a b = ? b == 0 -> a : gcd b (a % b)\n-- Euclidean algorithm"}, {"role": "assi...
search_write_check_run
gen_targeted_c1_fails
null
null
You are a Synoema programming assistant.
null
null
tool_use
Search 'factorial recursive synoema', implement fact(5) to src/fact.sno, typecheck and run.
[{"role": "assistant", "content": "Searching corpus for 'factorial recursive synoema'.", "tool_calls": [{"type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"factorial recursive synoema\"}"}}]}, {"role": "tool", "content": "fact 0 = 1\nfact n = n * fact (n-1)"}, {"role": "assistant", "c...
search_write_check_run
gen_targeted_c1_fails
null
null
You are a Synoema programming assistant.
null
null
codegen
Synoema `larger 1 5` — larger of.
larger a b = ? a > b -> a : b main = larger 1 5
arith
gen_lang_v4
null
5
null
null
null
tool_use
Write Synoema evens xs = filter even xs with main = evens [1 2 3 4 5 6 7 8]. Typecheck and run.
[{"role": "assistant", "content": "Writing to `src/hof_filter_5.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/hof_filter_5.sno\", \"content\": \"evens xs = filter even xs\\nmain = evens [1 2 3 4 5 6 7 8]\"}"}}]}, {"role": "tool", "content": "Written 56 byt...
write_check_run
gen_targeted_c1_fails
null
null
You are a Synoema programming assistant.
null
null
tool_use
Create src/Synoema_`sumDiv5_[3__run2.sno implementing Synoema `sumDiv5 [3 6 9 12]` — sum of elements divisible by 5. in Synoema. Typecheck and run, show output.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`sumDiv5_[3__run2.sno\", \"content\": \"sumDiv5 [] = 0\\nsumDiv5 (x:xs) = ? x % 5 == 0 -> x + sumDiv5 xs : sumDiv5 xs\\nmain = sumDiv5 [3 6 9 12]\\n\"}"}}]}, ...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
sum 1 to 120
main = 120 * (120 + 1) / 2
arith
gen_bulk_v5
null
null
You are a Synoema programming assistant.
null
null
tool_use
Define ADT Tea with constructors Black_t | Green_t | White_t | Oolong | Herbal. Write a pattern-matching accessor and main, save to src/tea_5.sno, typecheck and run.
[{"role": "assistant", "content": "Defining ADT Tea. (v5)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/tea_5.sno\", \"content\": \"Tea = Black_t | Green_t | White_t | Oolong | Herbal\\ncaff_t Black_t = 47\\ncaff_t Green_t = 28\\ncaff_t White_t = 6\\...
adt
cadt2
null
null
null
null
null
codegen
sum of integers 1 to 279
main = 279 * (279 + 1) / 2
arith
gen_bulk_v10
null
null
You are a Synoema programming assistant.
null
null
tool_use
Implement `Write_Synoema_`fact`` in Synoema (for Write Synoema `fact` — factorial. Compute fact(5).), write to src/Write_Synoema_`fact`_r1.sno, then typecheck.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Write_Synoema_`fact`_r1.sno\", \"content\": \"fact 0 = 1\\nfact n = n * fact (n-1)\\nmain = fact 5\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK"}...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Create src/work_done_force=15_d_run0.sno implementing work done force=15 displacement=8 angle=1 in Synoema. Typecheck and run, show output.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/work_done_force=15_d_run0.sno\", \"content\": \"force = 15\\ndisplacement = 8\\nmain = force * displacement\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "conten...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Write to src/light.sno: Light = On | Off toggle On = Off toggle Off = On main = toggle On Then typecheck and run.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/light.sno\", \"content\": \"Light = On | Off\\ntoggle On = Off\\ntoggle Off = On\\nmain = toggle On\\n\"}"}}]}, {"role": "assistant", "content": null, "tool_calls": [...
adt
minimax_v3
null
Off
null
null
null
tool_use
Check src/double.sno, then write a new Synoema function for cube at src/cube.sno. Verify with typecheck.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_read", "arguments": "{\"path\": \"src/double.sno\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "double x = x * 2\nmain = double 21"}, {"role": "assistant", "content": null, "tool_calls": [{"id...
read_write
gen_tool_use_v1b
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
Write a Synoema function `sum2` that adds two numbers. Test with 18 and 3.
sum2 x y = x + y main = sum2 18 3
basic
gen_lang_v1
null
21
null
null
null
codegen
Write recursive Synoema `myProd` that multiplies all elements of a list. Test: myProd [4 16 64].
myProd [] = 1 myProd (x:xs) = x * myProd xs main = myProd [4 16 64]
list
gen_lang_v2
null
4096
null
null
null
tool_use
Write a Synoema program for Synoema: function `calc_plus_1_5` that computes sum of 1 and 5., save to src/Synoema:_function_`c_run1.sno, typecheck and run it.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema:_function_`c_run1.sno\", \"content\": \"calc_plus_1_5 x y = x + y\\nmain = calc_plus_1_5 1 5\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
Write recursive `myProd` (product). Test: [3 3 3].
myProd [] = 1 myProd (x:xs) = x * myProd xs main = myProd [3 3 3]
list
gen_lang_v1
null
27
null
null
null
tool_use
Implement myhead and mytail using cons patterns in Synoema. myhead (x:_) = x, mytail (_:xs) = xs, main = myhead [1 2 3]. Write to src/lists.sno and typecheck.
[{"role": "assistant", "content": "Writing to `src/lists_49.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/lists_49.sno\", \"content\": \"myhead (x:_) = x\\nmytail (_:xs) = xs\\nmain = myhead [1 2 3]\"}"}}]}, {"role": "tool", "content": "Written 57 bytes to...
write_check
gen_targeted_c1_fails
null
null
You are a Synoema programming assistant.
null
null
tool_use
Write Synoema code to src/list_map.sno that defines my_map f lst applying function f to each element. Use it to square all numbers in [1 2 3 4 5] and print result. Call sno_typecheck and sno_run.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/list_map.sno\", \"content\": \"my_map f [] = []\\nmy_map f (x:xs) = (f x) : (my_map f xs)\\n\\nmain =\\n print (my_map (\\\\x -> x * x) [1 2 3 4 5])\\n\"}"}}]}, {"ro...
hof
minimax_v2
null
[1 4 9 16 25] ()
null
null
null
codegen
Synoema: `mod3_20` applies `x % 3` to x=20.
mod3_20 x = x % 3 main = mod3_20 20
arith
gen_lang_v4
null
2
null
null
null
tool_use
Define ADT Chord with constructors Major | Minor | Aug | Dim | Sus | Dom. Write a pattern-matching accessor and main, save to src/chord_5.sno, typecheck and run.
[{"role": "assistant", "content": "Defining ADT Chord. (v5)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/chord_5.sno\", \"content\": \"Chord = Major | Minor | Aug | Dim | Sus | Dom\\nnotes Major = 3\\nnotes Minor = 3\\nnotes Aug = 3\\nnotes Dim = 3\...
adt
cadt2
null
null
null
null
null
tool_use
Search corpus for 'fibonacci synoema', write the implementation to src/fib_tu20ref1.sno, typecheck it. If there is an error, fix it. Then run it.
[{"role": "assistant", "content": "Searching corpus.", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"fibonacci synoema\", \"top_k\": 3}"}}]}, {"role": "tool", "content": "[REFERENCE] fibonacci: a common algorithm. Implementation uses pattern matching a...
tu20
c4tu20ref
null
null
null
null
null
tool_use
Search corpus for 'range synoema', then implement it and typecheck
[{"role": "assistant", "content": "Searching for reference.", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"range synoema\", \"top_k\": 3}"}}]}, {"role": "tool", "content": "Topic: range. Implementation guide: define base case for empty/zero, recursive...
tu6
c4ref_doc_style
null
null
null
null
null
tool_use
The function pressure needs a conditional. Write it with if/else (fails in Synoema), then fix using ternary, typechecking each version.
[{"role": "assistant", "content": "First attempt uses if/else. (case 9)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/pressure.sno\", \"content\": \"pressure pr = if pr > 5 then 1 else 0\"}"}}]}, {"role": "tool", "content": "Written 37 bytes to src/p...
tu4
clean_fixerr_general
null
null
null
null
null
tool_use
Create src/filter_ev_run2.sno implementing filter evens in Synoema. Typecheck and run, show output.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/filter_ev_run2.sno\", \"content\": \"main = filter (\\\\x -> x % 2 == 0) [1 2 3 4 5 6]\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK"}, {"role": "...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Implement `path dir file` in src/path_str_4.sno. Fix: replace `+` with `++` for string concatenation.
[{"role": "assistant", "content": "Writing code to `src/path_str_4.sno` now.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/path_str_4.sno\", \"content\": \"path dir file = dir + \\\"/\\\" + file\\nmain = path \\\"lib\\\" \\\"utils.sno\\\"\"}"}}]}, {"role": "tool...
fix_error
gen_fix_error_v1
null
null
You are a Synoema programming assistant.
null
null
tool_use
Implement Synoema: function `calc_times_1_7` that computes product of 1 and 7. in Synoema. Write to src/Synoema:_function_`c_r2.sno and verify with typecheck.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema:_function_`c_r2.sno\", \"content\": \"calc_times_1_7 x y = x * y\\nmain = calc_times_1_7 1 7\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Create src/Synoema_`myNth_0_[10_run1.sno implementing Synoema `myNth 0 [10 20 30]` — element at index 0. in Synoema. Typecheck and run, show output.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`myNth_0_[10_run1.sno\", \"content\": \"myNth 0 (x:xs) = x\\nmyNth n (x:xs) = myNth (n-1) xs\\nmain = myNth 0 [10 20 30]\\n\"}"}}]}, {"role": "tool", "tool_ca...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Create balance that computes via a local binding, save to src/balance_8.sno, verify and execute.
[{"role": "assistant", "content": "Creating the function — local binding for the intermediate. (v8)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/balance_8.sno\", \"content\": \"balance inc exp =\\n net = inc - exp\\n net + 50\\nmain = balance 300 ...
local
clocal
null
null
null
null
null
tool_use
Search corpus for 'inc v synoema', write the implementation to src/inc_v_tu20ref4.sno, typecheck it. If there is an error, fix it. Then run it.
[{"role": "assistant", "content": "Searching corpus.", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"inc v synoema\", \"top_k\": 3}"}}]}, {"role": "tool", "content": "Synoema convention for inc v: recursive function with pattern matching. Use ternary ?...
tu20
c4tu20ref
null
null
null
null
null
codegen
Write Synoema `maxAB` — max of a,b. Call: maxAB 10 2.
maxAB a b = ? a > b -> a : b main = maxAB 10 2
formula
gen_lang_v3
null
10
null
null
null
tool_use
Write myProduct [] = 1 and myProduct (x:xs) = x * myProduct xs, main = myProduct [1 2 3 4 5] to src/product.sno, typecheck and run.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/product.sno\", \"content\": \"myProduct [] = 1\\nmyProduct (x:xs) = x * myProduct xs\\n\\nmain = myProduct [1 2 3 4 5]\\n\"}"}}]}, {"role": "assistant", "content": nu...
list
rebuild_minimax
null
null
null
null
null
tool_use
Implement `Synoema_`cd_1`_—_cou` in Synoema (Synoema `cd 1` — countdown from 1 to 0.). Write to src/Synoema_`cd_1`_—_cou_run2.sno, typecheck, then run.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`cd_1`_\\u2014_cou_run2.sno\", \"content\": \"cd n = ? n < 0 -> [] : [n] ++ cd (n-1)\\nmain = cd 1\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Write safe division with error handling in Synoema with type annotation and contracts. Fix any typecheck errors before finishing.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\":\"safe_div.sno\",\"content\":\"-- ADT for division result with error handling\\nResult = Ok Int | Error String\\n\\n-- Safe division with type annotation and contracts\\nsaf...
7b_fix_loop
7b_distilled_glm
1,194
null
null
null
null
codegen
Synoema `expOf 3 3` — exponentiation: 3^3.
expOf b 0 = 1 expOf b e = b * expOf b (e - 1) main = expOf 3 3
recursive
gen_lang_v4
null
27
null
null
null
tool_use
Write a Synoema program for Synoema `mySum [5 10 15 20 25]`., save to src/Synoema_`mySum_[5_10_r2.sno, and typecheck it.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`mySum_[5_10_r2.sno\", \"content\": \"mySum [] = 0\\nmySum (x:xs) = x + mySum xs\\nmain = mySum [5 10 15 20 25]\\n\"}"}}]}, {"role": "tool", "tool_call_id": "...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
compute seqJacob sequence term/sum
seqJacob 0 = 0 seqJacob 1 = 1 seqJacob n = seqJacob (n - 1) + 2 * seqJacob (n - 2) main = seqJacob 7
recursive
gen_bulk_v4
null
43
null
null
null
tool_use
Write comprehension-based `doubles xs` to src/doubles_0.sno. Typecheck and run.
[{"role": "assistant", "content": "Creating `src/doubles_0.sno` now.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/doubles_0.sno\", \"content\": \"doubles xs = [x * 2 | x <- xs]\\nmain = doubles [1 2 3 4 5]\"}"}}]}, {"role": "tool", "content": "Written 57 bytes ...
local_comp_targeted
gen_chronic_v2
null
null
You are a Synoema programming assistant.
list_comp_transform
null
codegen
Synoema `maxEl [2 4 6]` — maximum.
maxEl (x:[]) = x maxEl (x:xs) = ? x > maxEl xs -> x : maxEl xs main = maxEl [2 4 6]
list
gen_lang_v4
null
6
null
null
null
tool_use
Implement `myfoldr` in Synoema. Write to src/fold_8.sno, typecheck and run.
[{"role": "assistant", "content": "I'll write the Synoema code to `src/fold_8.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/fold_8.sno\", \"content\": \"myfoldr f acc [] = acc\\nmyfoldr f acc (x:xs) = f x (myfoldr f acc xs)\\nmain = myfoldr (\\\\x acc -> x...
lang_hof
gen_lang_tooluse_v1
null
null
You are a Synoema programming assistant.
hof
null
tool_use
Create the Tool_t ADT, write a pattern-matching accessor, main calls it. Save to src/tool_t_11.sno, typecheck and run.
[{"role": "assistant", "content": "Defining ADT Tool_t with pattern-matching accessor. (v11)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/tool_t_11.sno\", \"content\": \"Tool_t = Hammer | Saw | Drill | Wrench\\nweight Hammer = 2\\nweight Saw = 1\\nw...
adt
cadt
null
null
null
null
null
codegen
Synoema multi-function: factorial with isZero helper. Test: 4.
isZero n = n == 0 factZ 0 = 1 factZ n = n * factZ (n - 1) main = factZ 4
multi
gen_lang_v2
null
24
null
null
null
codegen
Synoema `numDigits 99` — number of digits.
numDigits n = ? n < 10 -> 1 : 1 + numDigits (n / 10) main = numDigits 99
recursive
gen_lang_v2
null
2
null
null
null
codegen
Synoema `sumSq2 [1 2 3 4 5 6 7 8 9 10 11]` — sum of squares.
sumSq2 [] = 0 sumSq2 (x:xs) = x * x + sumSq2 xs main = sumSq2 [1 2 3 4 5 6 7 8 9 10 11]
list
gen_lang_v4
null
506
null
null
null
tool_use
Write Synoema list reverse using cons. Write to src/rev_18.sno, typecheck and run.
[{"role": "assistant", "content": "I'll write the Synoema code to `src/rev_18.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/rev_18.sno\", \"content\": \"myreverse [] = []\\nmyreverse (x:xs) = myreverse xs ++ [x]\\nmain = myreverse [1 2 3 4 5]\"}"}}]}, {"ro...
lang_cons
gen_lang_tooluse_v1
null
null
You are a Synoema programming assistant.
cons
null
tool_use
Search corpus for binary search, read any existing file, write binsearch to src/binsearch_tu9_4.sno, typecheck and run
[{"role": "assistant", "content": "Step 1: search.", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"binary search synoema\", \"top_k\": 3}"}}]}, {"role": "tool", "content": "Synoema convention for binary search: recursive function with pattern matching....
tu9
c4tu9_terminate
null
null
null
null
null
tool_use
Write a Synoema program for myConcat: concat two lists sum, save to src/myConcat:_concat_two_run1.sno, typecheck and run it.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/myConcat:_concat_two_run1.sno\", \"content\": \"myConcat [] ys = ys\\nmyConcat (x:xs) ys = x : myConcat xs ys\\nmain = foldl (\\\\acc x -> acc + x) 0 (myConcat [1 2 3...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
Synoema `numDigits 1000` — number of digits.
numDigits n = ? n < 10 -> 1 : 1 + numDigits (n / 10) main = numDigits 1000
recursive
gen_lang_v2
null
4
null
null
null
tool_use
Write and typecheck a Synoema function: Write Synoema `addAB` — add a and b. Call: addAB 5 7.. Save as src/Write_Synoema_`addAB_r2.sno.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Write_Synoema_`addAB_r2.sno\", \"content\": \"addAB a b = a + b\\nmain = addAB 5 7\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK"}, {"role": "assi...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Write Synoema doubles xs = map (\x -> x * 2) xs with main = doubles [1 2 3 4 5]. Write to src/doubles.sno, typecheck and run.
[{"role": "assistant", "content": "Writing to `src/hof_map_5.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/hof_map_5.sno\", \"content\": \"doubles xs = map (\\\\x -> x * 2) xs\\nmain = doubles [1 2 3 4 5]\"}"}}]}, {"role": "tool", "content": "Written 60 by...
write_check_run
gen_targeted_c1_fails
null
null
You are a Synoema programming assistant.
null
null
tool_use
Write Synoema list sum using cons pattern. Write to src/mysum_11.sno, typecheck and run.
[{"role": "assistant", "content": "I'll write the Synoema code to `src/mysum_11.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/mysum_11.sno\", \"content\": \"mysum [] = 0\\nmysum (x:xs) = x + mysum xs\\nmain = mysum [1 2 3 4 5]\"}"}}]}, {"role": "tool", "co...
lang_cons
gen_lang_tooluse_v1
null
null
You are a Synoema programming assistant.
cons
null
tool_use
Implement `min x y` in src/min_8_3_1.sno. Typecheck — fix any if/else errors using ternary syntax.
[{"role": "assistant", "content": "I'll write the code to `src/min_8_3_1.sno` and typecheck it.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/min_8_3_1.sno\", \"content\": \"min x y = if x < y then x else y\\nmain = min 8 3\"}"}}]}, {"role": "tool", "content": "...
fix_error
gen_fix_error_v1
null
null
You are a Synoema programming assistant.
null
null
tool_use
Search corpus for 'map double synoema', write the implementation to src/list_double_all_tu20ref4.sno, typecheck it. If there is an error, fix it. Then run it.
[{"role": "assistant", "content": "Searching corpus.", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "search_corpus", "arguments": "{\"query\": \"map double synoema\", \"top_k\": 3}"}}]}, {"role": "tool", "content": "Synoema convention for map double: recursive function with pattern matching. Use...
tu20
c4tu20ref
null
null
null
null
null
tool_use
Write a Synoema program for Synoema `factorial2 3` — n! recursive., save to src/Synoema_`factorial2__r1.sno, and typecheck it.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`factorial2__r1.sno\", \"content\": \"factorial2 0 = 1\\nfactorial2 n = n * factorial2 (n - 1)\\nmain = factorial2 3\\n\"}"}}]}, {"role": "tool", "tool_call_i...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
Write Synoema `hundredMinus` — 100 minus n. Call: hundredMinus 75.
hundredMinus n = 100 - n main = hundredMinus 75
formula
gen_lang_v3
null
25
null
null
null
codegen
Synoema: function `add` that adds two numbers. Test: add 4 5.
add x y = x + y main = add 4 5
arith
gen_lang_v2
null
9
null
null
null
codegen
compute 28^2+45^2
main = 28 * 28 + 45 * 45
arith
gen_bulk_v5
null
null
You are a Synoema programming assistant.
null
null
codegen
Write recursive `myLen` that counts elements. Test: myLen [1 1 2 3 5 8].
myLen [] = 0 myLen (x:xs) = 1 + myLen xs main = myLen [1 1 2 3 5 8]
list
gen_lang_v1
null
6
null
null
null
tool_use
Write a Synoema program for Synoema `maxEl [2 4 6 8 10]` — maximum., save to src/Synoema_`maxEl_[2_4__run1.sno, typecheck and run it.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`maxEl_[2_4__run1.sno\", \"content\": \"maxEl (x:[]) = x\\nmaxEl (x:xs) = ? x > maxEl xs -> x : maxEl xs\\nmain = maxEl [2 4 6 8 10]\\n\"}"}}]}, {"role": "too...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
prefix sum at index k
prefSum k [] = 0 prefSum 0 (x:_) = x prefSum k (x:xs) = x + prefSum (k - 1) xs main = prefSum 4 [1 2 3 4 5 6]
real_task
gen_grow_6k
null
15
null
null
null
codegen
compute seqMoser sequence term/sum
seqMoser 0 = 1 seqMoser 1 = 1 seqMoser n = ? n % 2 == 0 -> seqMoser (n / 2) : seqMoser ((n - 1) / 2) + seqMoser ((n + 1) / 2) main = seqMoser 15
recursive
gen_bulk_v4
null
4
null
null
null
codegen
multiply 9 * 22
main = 9 * 22
arith
gen_bulk_v10
null
null
You are a Synoema programming assistant.
null
null
tool_use
Read src/add.sno, then write `double x = x * 2` with main = double 21 to src/double.sno. Typecheck.
[{"role": "assistant", "content": "Reading `src/add.sno` first.", "tool_calls": [{"type": "function", "function": {"name": "file_read", "arguments": "{\"path\": \"src/add.sno\"}"}}]}, {"role": "tool", "content": "add x y = x + y\nmain = add 3 4\n"}, {"role": "assistant", "content": "Writing similar function to `src/dou...
read_write_check
gen_targeted_c1_fails
null
null
You are a Synoema programming assistant.
null
null
tool_use
Implement `energy m v` in src/energy_10.sno. Bind intermediate values inline. Write, typecheck and run.
[{"role": "assistant", "content": "I'll implement this in `src/energy_10.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/energy_10.sno\", \"content\": \"energy m v =\\n v2 = v * v\\n m * v2 / 2\\nmain = energy 10 3\"}"}}]}, {"role": "tool", "content": "Wri...
local_comp_targeted
gen_chronic_v2
null
null
You are a Synoema programming assistant.
local_binding_physics
null
tool_use
Write filter odds using list comprehension to src/odds_2.sno, typecheck and run
[{"role": "assistant", "content": "V2: Writing filter odds with inline list comprehension [expr | var <- list, cond].", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/odds_2.sno\", \"content\": \"odds xs = [x | x <- xs, x % 2 == 1]\\nmain = odds [1 2 3 ...
tu12
c2tu12
null
null
null
null
null
tool_use
Implement Shape ADT in Synoema: Shape = Circle Int | Rect Int Int. area (Circle r) = 3 * r * r, area (Rect w h) = w * h, main = area (Circle 5). Write to src/shape.sno and typecheck.
[{"role": "assistant", "content": "Writing to `src/shape_26.sno`.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/shape_26.sno\", \"content\": \"Shape = Circle Int | Rect Int Int\\narea (Circle r) = 3 * r * r\\narea (Rect w h) = w * h\\nmain = area (Circle 5)\"}"}...
write_check
gen_targeted_c1_fails
null
null
You are a Synoema programming assistant.
null
null
codegen
Synoema `mn2 99 100` — min of two.
mn2 a b = ? a < b -> a : b main = mn2 99 100
arith
gen_lang_v4
null
99
null
null
null
codegen
Synoema ADT Season = Spring | Summer | Autumn | Winter. Function `seasN` maps to 0-based index. Test: seasN Spring.
Season = Spring | Summer | Autumn | Winter seasN Spring = 0 seasN Summer = 1 seasN Autumn = 2 seasN Winter = 3 main = seasN Spring
adt
gen_lang_v4
null
0
null
null
null
codegen
Synoema: `mod7_18` applies `x % 7` to x=18.
mod7_18 x = x % 7 main = mod7_18 18
arith
gen_lang_v4
null
4
null
null
null
tool_use
Write a Synoema program for subtract two integers, save to src/sub_r1.sno, and typecheck it.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/sub_r1.sno\", \"content\": \"sub x y = x - y\\nmain = sub 10 3\\n\"}"}}]}, {"role": "tool", "tool_call_id": "c1", "content": "OK"}, {"role": "assistant", "content": n...
basic
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
tool_use
Write a Synoema program for Synoema `sumPos [0 1 2 3 4]` — sum of positives., save to src/Synoema_`sumPos_[0_1_run2.sno, typecheck and run it.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/Synoema_`sumPos_[0_1_run2.sno\", \"content\": \"sumPos [] = 0\\nsumPos (x:xs) = ? x > 0 -> x + sumPos xs : sumPos xs\\nmain = sumPos [0 1 2 3 4]\\n\"}"}}]}, {"role": ...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
Synoema `sumSq2 [10 9 8 7 6 5 4 3 2 1]` — sum of squares.
sumSq2 [] = 0 sumSq2 (x:xs) = x * x + sumSq2 xs main = sumSq2 [10 9 8 7 6 5 4 3 2 1]
list
gen_lang_v4
null
385
null
null
null
codegen
multiply 12 * 19
main = 12 * 19
arith
gen_bulk_v10
null
null
You are a Synoema programming assistant.
null
null
codegen
Write Synoema `dec` that decrements by 1, result 19. Call with 20.
dec x = x - 1 main = dec 20
arith
gen_lang_v2
null
19
null
null
null
codegen
Write Synoema `areaRect` that computes area of rectangle. Call it with (5, 8).
areaRect w h = w * h main = areaRect 5 8
conv
gen_lang_v1
null
40
null
null
null
codegen
sum 1 to 124
main = 124 * (124 + 1) / 2
arith
gen_bulk_v9
null
null
You are a Synoema programming assistant.
null
null
tool_use
Write `grade score` to src/grade_v7.sno and typecheck it. Note: Synoema has no if/else, use `? cond -> a : b`.
[{"role": "assistant", "content": "I'll write the code to `src/grade_v7.sno` and typecheck it.", "tool_calls": [{"type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/grade_v7.sno\", \"content\": \"grade score = if score >= 90 then \\\"A\\\" else if score >= 80 then \\\"B\\\" else if sco...
fix_error
gen_fix_error_v1
null
null
You are a Synoema programming assistant.
if_else_fix
null
tool_use
Define ADT Quality_q with constructors Trash | Bad | OK | Good | Great. Write a pattern-matching accessor and main, save to src/quality_q_5.sno, typecheck and run.
[{"role": "assistant", "content": "Defining ADT Quality_q. (v5)", "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/quality_q_5.sno\", \"content\": \"Quality_q = Trash | Bad | OK | Good | Great\\nstars Trash = 0\\nstars Bad = 1\\nstars OK = 2\\nstars Good ...
adt
cadt2
null
null
null
null
null
tool_use
Write, typecheck, and run a Synoema program for scan: count how many times sum exceeded threshold. File: src/scan:_count_how_many_run0.sno.
[{"role": "assistant", "content": null, "tool_calls": [{"id": "c1", "type": "function", "function": {"name": "file_write", "arguments": "{\"path\": \"src/scan:_count_how_many_run0.sno\", \"content\": \"countExceed acc cnt thresh [] = cnt\\ncountExceed acc cnt thresh (x:xs) =\\n newAcc = acc + x\\n newCnt = ? newA...
run
gen_tool_use_v1
null
null
You are sno-code, a Synoema coding agent. Use tools to write, check, and run Synoema code.
null
null
codegen
Synoema: `mod3_6` applies `x % 3` to x=6.
mod3_6 x = x % 3 main = mod3_6 6
arith
gen_lang_v4
null
0
null
null
null
End of preview. Expand in Data Studio

Synoema Tools — Training Corpora

Exact corpora used to fine-tune the 100% Synoema agentic tool-use models (3B, 1.5B). Website: https://synoema.tech

Files

File Used for Examples
merged_seq_c8.jsonl 3B C8 (100%) 18317
merged_seq_c12.jsonl 1.5B C12 (100%) 17321
targeted/targeted_seq_c9mw_3b.jsonl 3B multi-write fix (TU4/TU13) 44
targeted/targeted_seq_c11fix_1.5b.jsonl 1.5B fix (TU4/TU13/TU20/TU30) 36
targeted/targeted_seq_c10fix_0.8b.jsonl 0.8B fix (comprehensions/ADT/HOF) 33

Schema

tool_use rows: user (task), assistant (JSON list of assistant/tool turns: file_write/file_read/sno_typecheck/sno_run/search_corpus). codegen rows: assistant (Synoema source).

Every example is compiler-validated — each final file_write passes sno check + sno run (real Synoema compiler) with non-empty output.

License: Apache-2.0. Synoema © Andrey Bubnov — https://synoema.tech

Downloads last month
26