Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
11
77
prompt
stringlengths
26
2.6k
response
stringlengths
31
4.34k
instruction
stringlengths
26
2.6k
output
stringlengths
31
4.34k
messages
listlengths
2
3
category
stringclasses
15 values
origin
stringclasses
13 values
source
stringlengths
0
105
lane
stringclasses
2 values
response_mode
stringclasses
4 values
task_family
stringclasses
6 values
rating
int64
3
5
mix_weight
float64
0.5
6
think_tokens_est
int64
0
327
construct_tags
listlengths
0
8
schema_version
stringclasses
1 value
test_harness
stringlengths
129
452
⌀
difficulty
int64
2
8
⌀
td96_r1_fn_list_zip_alternating_merge
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Merge two lists by alternating elements from each list, starting with the first list. If one list is longer, append the remaining elements at the end. Required declarations/signatures: fn alternating_merge(xs: list[in...
<think> To merge two lists alternately, I need to iterate through both lists simultaneously but pick elements in alternating fashion. The approach is: 1) Initialize an empty result list, 2) Use two indices to track positions in both lists, 3) Alternate between taking an element from the first list and then from the sec...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Merge two lists by alternating elements from each list, starting with the first list. If one list is longer, append the remaining elements at the end. Required declarations/signatures: fn alternating_merge(xs: list[in...
<think> To merge two lists alternately, I need to iterate through both lists simultaneously but pick elements in alternating fashion. The approach is: 1) Initialize an empty result list, 2) Use two indices to track positions in both lists, 3) Alternate between taking an element from the first list and then from the sec...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nMerge two lists by alternating elements from each list, starting with the first list. If one list is longer, append the remai...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_list_zip_alternating_merge.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
230
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(alternating_merge([1, 3, 5], [2, 4, 6]) == [1, 2, 3, 4, 5, 6]) assert(alternating_merge([1, 2], [3, 4, 5, 6]) == [1, 3, 2, 4, 5, 6]) assert(alternating_merge([], [1, 2]) == [1, 2]) return "ok" }
null
v7-01bd1f5a3f4a3295
Write a Vox function implementing the specification. Write a Vox function count_uppercase(s: str) to int that returns the count of uppercase letters (A-Z) in the string. Required signature: fn count_uppercase(s: str) to int
fn count_uppercase(s: str) to int { let chars: list[str] = s.chars() let mut count: int = 0 let mut i: int = 0 while i < chars.len() { match chars[i] { Some(c) => { let code: int = c.ord() if code >= 65 and code <= 90 { count = coun...
Write a Vox function implementing the specification. Write a Vox function count_uppercase(s: str) to int that returns the count of uppercase letters (A-Z) in the string. Required signature: fn count_uppercase(s: str) to int
fn count_uppercase(s: str) to int { let chars: list[str] = s.chars() let mut count: int = 0 let mut i: int = 0 while i < chars.len() { match chars[i] { Some(c) => { let code: int = c.ord() if code >= 65 and code <= 90 { count = coun...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nWrite a Vox function count_uppercase(s: str) to int that returns the count of uppercase letters (A-Z) in the string.\n\nRequired signature:\nfn count_uppercase(s: str) to int" }, { "role": "assistant", "content...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/078-count-uppercase/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-01f7b5a879290371
Write a Vox function implementing the specification. Write a Vox function is_square(n: int) to bool that returns true if n is a perfect square (n >= 0). Uses integer square root check. Required signature: fn is_square(n: int) to bool
fn is_square(n: int) to bool { if n < 0 { return false } let mut i: int = 0 while i * i <= n { if i * i == n { return true } i = i + 1 } return false }
Write a Vox function implementing the specification. Write a Vox function is_square(n: int) to bool that returns true if n is a perfect square (n >= 0). Uses integer square root check. Required signature: fn is_square(n: int) to bool
fn is_square(n: int) to bool { if n < 0 { return false } let mut i: int = 0 while i * i <= n { if i * i == n { return true } i = i + 1 } return false }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nWrite a Vox function is_square(n: int) to bool that returns true if n is a perfect square (n >= 0). Uses integer square root check.\n\nRequired signature:\nfn is_square(n: int) to bool" }, { "role": "assistant", ...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/086-is-square/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-03813aaf2e0a3a7b
Write a valid self-contained Vox module matching `scripts/test_for.vox`.
fn main() { let files_res = std.fs.glob("*"); if files_res.is_err() { return; } let files = files_res.unwrap(); for f in files { let parts = f.split("."); print("f: " + f); } }
Write a valid self-contained Vox module matching `scripts/test_for.vox`.
fn main() { let files_res = std.fs.glob("*"); if files_res.is_err() { return; } let files = files_res.unwrap(); for f in files { let parts = f.split("."); print("f: " + f); } }
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `scripts/test_for.vox`." }, { "role": "assistant", "content": "fn main() {\n let files_res = std.fs.glob(\"*\");\n if files_res.is_err() { return; }\n let files = files_res.unwrap();\n for f in files {\n ...
function_idioms
repo_source_pool
scripts/test_for.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-039e0b67c1b0aab9
Write a Vox function called main The file already defines: ```vox fn check_drift() to Result[str] ```
fn main() { let result = check_drift() if result.is_err() { log.error(result.unwrap_err()) process.exit(1) } }
Write a Vox function called main The file already defines: ```vox fn check_drift() to Result[str] ```
fn main() { let result = check_drift() if result.is_err() { log.error(result.unwrap_err()) process.exit(1) } }
[ { "role": "user", "content": "Write a Vox function called main\n\nThe file already defines:\n```vox\nfn check_drift() to Result[str]\n```" }, { "role": "assistant", "content": "fn main() {\n let result = check_drift()\n if result.is_err() {\n log.error(result.unwrap_err())\n ...
function_idioms
human
scripts/ci-proximity-drift.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
2
td96_r1_fn_list_zip_chunk_sums
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given a list of integers and a chunk size, divide the list into chunks of that size and return a list containing the sum of each chunk. Ignore any leftover elements that don't form a complete chunk. Required declarati...
<think> I need to process the list in fixed-size segments and compute the sum for each complete segment. The approach involves: 1) Handling edge cases like empty list or non-positive chunk size by returning empty result, 2) Iterating through the list in steps equal to chunk_size, 3) For each chunk, summing all elements...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given a list of integers and a chunk size, divide the list into chunks of that size and return a list containing the sum of each chunk. Ignore any leftover elements that don't form a complete chunk. Required declarati...
<think> I need to process the list in fixed-size segments and compute the sum for each complete segment. The approach involves: 1) Handling edge cases like empty list or non-positive chunk size by returning empty result, 2) Iterating through the list in steps equal to chunk_size, 3) For each chunk, summing all elements...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nGiven a list of integers and a chunk size, divide the list into chunks of that size and return a list containing the sum of e...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_list_zip_chunk_sums.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
251
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(chunk_sums([1, 2, 3, 4, 5, 6], 2) == [3, 7, 11]) assert(chunk_sums([1, 2, 3, 4, 5], 3) == [6]) assert(chunk_sums([], 2) == []) return "ok" }
null
v7-048d1344263258f7
Write a Vox function implementing the specification. Find the most frequently occurring element in a list of ints. If there is a tie, return the smallest value among the tied elements. The list is non-empty. Required signature: fn most_frequent(xs: list[int]) to int
fn most_frequent(xs: list[int]) to int { let mut unique: list[int] = [] for x in xs { if not unique.contains(x) { unique.push(x) } } let mut best_val: int = 0 let mut best_count: int = 0 let mut first: bool = true for u in unique { let mut count: int = 0 ...
Write a Vox function implementing the specification. Find the most frequently occurring element in a list of ints. If there is a tie, return the smallest value among the tied elements. The list is non-empty. Required signature: fn most_frequent(xs: list[int]) to int
fn most_frequent(xs: list[int]) to int { let mut unique: list[int] = [] for x in xs { if not unique.contains(x) { unique.push(x) } } let mut best_val: int = 0 let mut best_count: int = 0 let mut first: bool = true for u in unique { let mut count: int = 0 ...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nFind the most frequently occurring element in a list of ints. If there is a tie, return the smallest value among the tied elements. The list is non-empty.\n\nRequired signature:\nfn most_frequent(xs: list[int]) to int" }...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/133-most-frequent/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-04fd8f7c40ccac4f
Write a valid self-contained Vox module matching `scripts/generate-grammars.vox`.
import fs import regex // THE SINGLE SOURCE OF TRUTH (SSOT) — kept in `main()` because Vox does not yet // surface module-level `const` to function scopes (audit 2026-05-23). Helpers // take the SSOT strings as parameters. fn update_hljs(keywords: str, literals: str, builtins: str) { let path = "docs/theme/highli...
Write a valid self-contained Vox module matching `scripts/generate-grammars.vox`.
import fs import regex // THE SINGLE SOURCE OF TRUTH (SSOT) — kept in `main()` because Vox does not yet // surface module-level `const` to function scopes (audit 2026-05-23). Helpers // take the SSOT strings as parameters. fn update_hljs(keywords: str, literals: str, builtins: str) { let path = "docs/theme/highli...
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `scripts/generate-grammars.vox`." }, { "role": "assistant", "content": "import fs\nimport regex\n\n// THE SINGLE SOURCE OF TRUTH (SSOT) — kept in `main()` because Vox does not yet\n// surface module-level `const` to f...
function_idioms
repo_source_pool
scripts/generate-grammars.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-0545f3a68fae49c2
Write valid Vox code implementing: Saga-Style Manual Compensation with Result
// --- // title: "Saga-Style Manual Compensation with Result" // description: "Application-level compensation: each step returns Result, and a failure triggers a compensating action (cancel) via match — no durable-workflow runtime involved." // syntax_version: "0.5.0" // status: golden // category: example // construct...
Write valid Vox code implementing: Saga-Style Manual Compensation with Result
// --- // title: "Saga-Style Manual Compensation with Result" // description: "Application-level compensation: each step returns Result, and a failure triggers a compensating action (cancel) via match — no durable-workflow runtime involved." // syntax_version: "0.5.0" // status: golden // category: example // construct...
[ { "role": "user", "content": "Write valid Vox code implementing: Saga-Style Manual Compensation with Result" }, { "role": "assistant", "content": "// ---\n// title: \"Saga-Style Manual Compensation with Result\"\n// description: \"Application-level compensation: each step returns Result, and a f...
function_idioms
repo_source_pool
examples/golden/saga_compensation.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_list_zip_dedupe_adjacent_runs
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Remove consecutive duplicate elements from a list, keeping only the first occurrence of each run of identical values. Required declarations/signatures: fn dedupe_adjacent_runs(xs: list[int]) to list[int]
<think> The task is to eliminate consecutive duplicates while preserving the order and the first occurrence of each sequence of identical elements. My approach: 1) Handle the edge case of an empty list by returning an empty list, 2) Initialize the result with the first element (if exists), 3) Iterate through the remain...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Remove consecutive duplicate elements from a list, keeping only the first occurrence of each run of identical values. Required declarations/signatures: fn dedupe_adjacent_runs(xs: list[int]) to list[int]
<think> The task is to eliminate consecutive duplicates while preserving the order and the first occurrence of each sequence of identical elements. My approach: 1) Handle the edge case of an empty list by returning an empty list, 2) Initialize the result with the first element (if exists), 3) Iterate through the remain...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nRemove consecutive duplicate elements from a list, keeping only the first occurrence of each run of identical values.\n\nRequ...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_list_zip_dedupe_adjacent_runs.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
268
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(dedupe_adjacent_runs([1, 1, 2, 2, 2, 3, 1]) == [1, 2, 3, 1]) assert(dedupe_adjacent_runs([]) == []) assert(dedupe_adjacent_runs([5, 5, 5]) == [5]) return "ok" }
null
v7-05660e8d14745a0e
Write a Vox function `main`: main exercises all three variants so `vox run --mode interp` exits cleanly. EXPECT: adt_multi_field: all checks passed The file already defines: ```vox type Shape = | Circle(radius: float) | Rectangle(w: float, h: float) | Point fn area(s: Shape) to float fn describe(s: Shape...
// main exercises all three variants so `vox run --mode interp` exits cleanly. // EXPECT: adt_multi_field: all checks passed pub fn main() { let c = Circle(2.0) let r = Rectangle(4.0, 3.0) let p = Point let c_area = area(c) assert(c_area > 12.56) assert(c_area < 12.57) assert(area(r) is 12...
Write a Vox function `main`: main exercises all three variants so `vox run --mode interp` exits cleanly. EXPECT: adt_multi_field: all checks passed The file already defines: ```vox type Shape = | Circle(radius: float) | Rectangle(w: float, h: float) | Point fn area(s: Shape) to float fn describe(s: Shape...
// main exercises all three variants so `vox run --mode interp` exits cleanly. // EXPECT: adt_multi_field: all checks passed pub fn main() { let c = Circle(2.0) let r = Rectangle(4.0, 3.0) let p = Point let c_area = area(c) assert(c_area > 12.56) assert(c_area < 12.57) assert(area(r) is 12...
[ { "role": "user", "content": "Write a Vox function `main`: main exercises all three variants so `vox run --mode interp` exits cleanly. EXPECT: adt_multi_field: all checks passed\n\nThe file already defines:\n```vox\ntype Shape =\n | Circle(radius: float)\n | Rectangle(w: float, h: float)\n | Point\...
function_idioms
human
examples/golden/adt_multi_field.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
2
v7-05d8dbb546adaa50
Write a valid self-contained Vox module matching `crates/vox-compiler/tests/llm_fixtures/data_transform.vox`.
fn transform(data: List[int]) -> List[int] { let mut out = [] for item in data { if item > 0 { out.push(item * 2) } } return out }
Write a valid self-contained Vox module matching `crates/vox-compiler/tests/llm_fixtures/data_transform.vox`.
fn transform(data: List[int]) -> List[int] { let mut out = [] for item in data { if item > 0 { out.push(item * 2) } } return out }
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `crates/vox-compiler/tests/llm_fixtures/data_transform.vox`." }, { "role": "assistant", "content": "fn transform(data: List[int]) -> List[int] {\n let mut out = []\n for item in data {\n if item > 0 {\n ...
function_idioms
repo_source_pool
crates/vox-compiler/tests/llm_fixtures/data_transform.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-0751aeddfc6ccbf6
Write a Vox function implementing the specification. Convert a list of digits (each 0-9) to a non-negative integer, treating the list as most-significant first. For example, [1, 2, 3] -> 123. Return 0 for an empty list. Required signature: fn digits_to_int(ds: list[int]) to int
fn digits_to_int(ds: list[int]) to int { let mut result: int = 0 for d in ds { result = result * 10 + d } return result }
Write a Vox function implementing the specification. Convert a list of digits (each 0-9) to a non-negative integer, treating the list as most-significant first. For example, [1, 2, 3] -> 123. Return 0 for an empty list. Required signature: fn digits_to_int(ds: list[int]) to int
fn digits_to_int(ds: list[int]) to int { let mut result: int = 0 for d in ds { result = result * 10 + d } return result }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nConvert a list of digits (each 0-9) to a non-negative integer, treating the list as most-significant first. For example, [1, 2, 3] -> 123. Return 0 for an empty list.\n\nRequired signature:\nfn digits_to_int(ds: list[int])...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/152-digits-to-int/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_list_zip_pairwise_combine
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given two lists of integers of equal length, return a new list where each element is the sum of corresponding elements from both input lists. Required declarations/signatures: fn pairwise_combine(xs: list[int], ys: li...
<think> This problem requires iterating through two lists simultaneously and combining their elements. I'll use indexing to access elements at the same position in both lists. The key steps are: 1) Verify that both lists have the same length - if not, we should handle this case appropriately, 2) Create a new empty resu...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given two lists of integers of equal length, return a new list where each element is the sum of corresponding elements from both input lists. Required declarations/signatures: fn pairwise_combine(xs: list[int], ys: li...
<think> This problem requires iterating through two lists simultaneously and combining their elements. I'll use indexing to access elements at the same position in both lists. The key steps are: 1) Verify that both lists have the same length - if not, we should handle this case appropriately, 2) Create a new empty resu...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nGiven two lists of integers of equal length, return a new list where each element is the sum of corresponding elements from b...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_list_zip_pairwise_combine.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
247
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(pairwise_combine([1, 2, 3], [4, 5, 6]) == [5, 7, 9]) assert(pairwise_combine([], []) == []) assert(pairwise_combine([10, -5], [2, 3]) == [12, -2]) return "ok" }
null
v7-0765224356ac21fd
Write a Vox function implementing the specification. Given two lists of integers, return a list where element i is the sum of the i-th elements of both lists. Stop at the shorter list's length. Required signature: fn zip_sum(xs: list[int], ys: list[int]) to list[int]
fn zip_sum(xs: list[int], ys: list[int]) to list[int] { let mut result: list[int] = [] let mut i: int = 0 let n: int = xs.len() let m: int = ys.len() while i < n and i < m { match xs[i] { Some(a) => { match ys[i] { Some(b) => { result.push(a + ...
Write a Vox function implementing the specification. Given two lists of integers, return a list where element i is the sum of the i-th elements of both lists. Stop at the shorter list's length. Required signature: fn zip_sum(xs: list[int], ys: list[int]) to list[int]
fn zip_sum(xs: list[int], ys: list[int]) to list[int] { let mut result: list[int] = [] let mut i: int = 0 let n: int = xs.len() let m: int = ys.len() while i < n and i < m { match xs[i] { Some(a) => { match ys[i] { Some(b) => { result.push(a + ...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nGiven two lists of integers, return a list where element i is the sum of the i-th elements of both lists. Stop at the shorter list's length.\n\nRequired signature:\nfn zip_sum(xs: list[int], ys: list[int]) to list[int]" ...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/134-zip-sum/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-07917c54166bafa0
Write a Vox function called is_archive The file already defines: ```vox import fs fn norm(p: str) to str ```
fn is_archive(p: str) to bool { return norm(p).contains("/archive/"); }
Write a Vox function called is_archive The file already defines: ```vox import fs fn norm(p: str) to str ```
fn is_archive(p: str) to bool { return norm(p).contains("/archive/"); }
[ { "role": "user", "content": "Write a Vox function called is_archive\n\nThe file already defines:\n```vox\nimport fs\n\nfn norm(p: str) to str\n```" }, { "role": "assistant", "content": "fn is_archive(p: str) to bool {\n return norm(p).contains(\"/archive/\");\n}" } ]
function_idioms
human
scripts/docs-corpus-census.vox
vox_codegen
code_only
vox_codegen
5
6
0
[ "fn" ]
vox_dogfood_v1
null
2
v7-07ae175869b83dfc
Write a Vox function implementing the specification. Remove all space characters from a string and return the result. Required signature: fn remove_spaces(s: str) to str
fn remove_spaces(s: str) to str { let mut result: str = "" let chars: list[str] = s.chars() for c in chars { if c != " " { result = result + c } } return result }
Write a Vox function implementing the specification. Remove all space characters from a string and return the result. Required signature: fn remove_spaces(s: str) to str
fn remove_spaces(s: str) to str { let mut result: str = "" let chars: list[str] = s.chars() for c in chars { if c != " " { result = result + c } } return result }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nRemove all space characters from a string and return the result.\n\nRequired signature:\nfn remove_spaces(s: str) to str" }, { "role": "assistant", "content": "fn remove_spaces(s: str) to str {\n let mut res...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/110-remove-spaces/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_num_series_collatz_step_count
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. The Collatz sequence starts with any positive integer n. Each subsequent term is obtained from the previous term as follows: if the previous term is even, the next term is one half of the previous term. If the previous...
<think> Start with step count at 0. While current number is not 1, increment step count. If even, divide by two. If odd, multiply by three and add one. Return step count once loop exits. Handle edge case where input is already 1 (return 0). Ensure loop terminates correctly by checking convergence property (assumed for ...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. The Collatz sequence starts with any positive integer n. Each subsequent term is obtained from the previous term as follows: if the previous term is even, the next term is one half of the previous term. If the previous...
<think> Start with step count at 0. While current number is not 1, increment step count. If even, divide by two. If odd, multiply by three and add one. Return step count once loop exits. Handle edge case where input is already 1 (return 0). Ensure loop terminates correctly by checking convergence property (assumed for ...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nThe Collatz sequence starts with any positive integer n. Each subsequent term is obtained from the previous term as follows: ...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_num_series_collatz_step_count.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
106
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(collatz_step_count(1) == 0) assert(collatz_step_count(2) == 1) assert(collatz_step_count(3) == 7) assert(collatz_step_count(4) == 2) return "ok" }
null
v7-07ef7cad1ba3f51f
Write a valid self-contained Vox module matching `scripts/render-durable-animation.vox`.
// vox:caps fs env process // Re-render docs-astro/public/media/durable_essentialist_loop.webp. // Migrated 2026-05-24 to canonical Vox idioms: // - `-> str` -> `to str` // - `!` -> `not` // - process.run + env.get return wrapped types; process.cwd() returns bare str import fs import path import process import e...
Write a valid self-contained Vox module matching `scripts/render-durable-animation.vox`.
// vox:caps fs env process // Re-render docs-astro/public/media/durable_essentialist_loop.webp. // Migrated 2026-05-24 to canonical Vox idioms: // - `-> str` -> `to str` // - `!` -> `not` // - process.run + env.get return wrapped types; process.cwd() returns bare str import fs import path import process import e...
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `scripts/render-durable-animation.vox`." }, { "role": "assistant", "content": "// vox:caps fs env process\n// Re-render docs-astro/public/media/durable_essentialist_loop.webp.\n// Migrated 2026-05-24 to canonical Vox ...
function_idioms
repo_source_pool
scripts/render-durable-animation.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-094462d5fe2c13ee
Write a valid self-contained Vox module matching `examples/cli-tour/build-and-project.vox`.
// CLI reference tour — build & project lifecycle commands. // Each entry documents a real `vox <subcommand>` invocation. // // vox build src/main.vox — compile a single .vox file to TypeScript // vox check src/main.vox — type-check without producing output // vox compile ...
Write a valid self-contained Vox module matching `examples/cli-tour/build-and-project.vox`.
// CLI reference tour — build & project lifecycle commands. // Each entry documents a real `vox <subcommand>` invocation. // // vox build src/main.vox — compile a single .vox file to TypeScript // vox check src/main.vox — type-check without producing output // vox compile ...
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `examples/cli-tour/build-and-project.vox`." }, { "role": "assistant", "content": "// CLI reference tour — build & project lifecycle commands.\n// Each entry documents a real `vox <subcommand>` invocation.\n//\n// vox ...
function_idioms
repo_source_pool
examples/cli-tour/build-and-project.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-0ab27c51816a70da
Write a Vox function implementing the specification. Given a list of ints, return the difference between the largest and smallest element (i.e., max - min). Return 0 for an empty list. Required signature: fn list_spread(xs: list[int]) to int
fn list_spread(xs: list[int]) to int { if xs.is_empty() { return 0 } let mut lo: int = 0 let mut hi: int = 0 let mut first: bool = true for x in xs { if first { lo = x hi = x first = false } else { if x < lo { ...
Write a Vox function implementing the specification. Given a list of ints, return the difference between the largest and smallest element (i.e., max - min). Return 0 for an empty list. Required signature: fn list_spread(xs: list[int]) to int
fn list_spread(xs: list[int]) to int { if xs.is_empty() { return 0 } let mut lo: int = 0 let mut hi: int = 0 let mut first: bool = true for x in xs { if first { lo = x hi = x first = false } else { if x < lo { ...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nGiven a list of ints, return the difference between the largest and smallest element (i.e., max - min). Return 0 for an empty list.\n\nRequired signature:\nfn list_spread(xs: list[int]) to int" }, { "role": "assist...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/135-list-spread/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_num_series_is_harshad_number
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. A Harshad number is an integer divisible by the sum of its digits. Write a function `is_harshad_number(n: int) to bool` that returns true if `n` is a Harshad number. Required declarations/signatures: fn is_harshad_num...
<think> First, handle negative inputs by taking absolute value since divisibility is defined on magnitude. Extract digits by converting the number to a string and iterating over characters, converting each back to integer. Sum all digits. Check if original number modulo this sum equals zero. Edge cases include n=0 (sum...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. A Harshad number is an integer divisible by the sum of its digits. Write a function `is_harshad_number(n: int) to bool` that returns true if `n` is a Harshad number. Required declarations/signatures: fn is_harshad_num...
<think> First, handle negative inputs by taking absolute value since divisibility is defined on magnitude. Extract digits by converting the number to a string and iterating over characters, converting each back to integer. Sum all digits. Check if original number modulo this sum equals zero. Edge cases include n=0 (sum...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nA Harshad number is an integer divisible by the sum of its digits. Write a function `is_harshad_number(n: int) to bool` that ...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_num_series_is_harshad_number.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
132
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(is_harshad_number(18) == true) assert(is_harshad_number(19) == false) assert(is_harshad_number(1) == true) assert(is_harshad_number(0) == false) return "ok" }
null
v7-0af3439ecfee52fa
Write a Vox function implementing the specification. Clamp an integer x to the range [lo, hi]. Return lo if x < lo, hi if x > hi, otherwise x. Required signature: fn clamp(x: int, lo: int, hi: int) to int
fn clamp(x: int, lo: int, hi: int) to int { if x < lo { return lo } if x > hi { return hi } return x }
Write a Vox function implementing the specification. Clamp an integer x to the range [lo, hi]. Return lo if x < lo, hi if x > hi, otherwise x. Required signature: fn clamp(x: int, lo: int, hi: int) to int
fn clamp(x: int, lo: int, hi: int) to int { if x < lo { return lo } if x > hi { return hi } return x }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nClamp an integer x to the range [lo, hi]. Return lo if x < lo, hi if x > hi, otherwise x.\n\nRequired signature:\nfn clamp(x: int, lo: int, hi: int) to int" }, { "role": "assistant", "content": "fn clamp(x: int...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/027-clamp/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-0b63f7d048ec5026
Write a Vox function implementing the specification. Return the sum of the decimal digits of a non-negative integer. Required signature: fn sum_digits(n: int) to int
fn sum_digits(n: int) to int { if n == 0 { return 0 } let mut num = n let mut total = 0 while num > 0 { total = total + num % 10 num = num / 10 } return total }
Write a Vox function implementing the specification. Return the sum of the decimal digits of a non-negative integer. Required signature: fn sum_digits(n: int) to int
fn sum_digits(n: int) to int { if n == 0 { return 0 } let mut num = n let mut total = 0 while num > 0 { total = total + num % 10 num = num / 10 } return total }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nReturn the sum of the decimal digits of a non-negative integer.\n\nRequired signature:\nfn sum_digits(n: int) to int" }, { "role": "assistant", "content": "fn sum_digits(n: int) to int {\n if n == 0 { return...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/007-sum-digits/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-0bdc766a7d91aade
Write a valid self-contained Vox module matching `scripts/t3-surface-inventory.vox`.
// vox:caps fs env // scripts/t3-surface-inventory.vox // // Token-bounded T3 Chat & T3 Code Ecosystem Surface Inventory Verifier (Phase 203 — T3-CLONE-GRAPH-01..04). // Verifies the structured surface graph contract (`contracts/reports/t3-ecosystem-surface-graph.v1.json`) // across all 9 cloned T3 ecosystem repositori...
Write a valid self-contained Vox module matching `scripts/t3-surface-inventory.vox`.
// vox:caps fs env // scripts/t3-surface-inventory.vox // // Token-bounded T3 Chat & T3 Code Ecosystem Surface Inventory Verifier (Phase 203 — T3-CLONE-GRAPH-01..04). // Verifies the structured surface graph contract (`contracts/reports/t3-ecosystem-surface-graph.v1.json`) // across all 9 cloned T3 ecosystem repositori...
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `scripts/t3-surface-inventory.vox`." }, { "role": "assistant", "content": "// vox:caps fs env\n// scripts/t3-surface-inventory.vox\n//\n// Token-bounded T3 Chat & T3 Code Ecosystem Surface Inventory Verifier (Phase 20...
function_idioms
repo_source_pool
scripts/t3-surface-inventory.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_num_series_is_palindrome_base10
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. A number is a palindrome if it reads the same backward as forward. Write a function `is_palindrome_base10(n: int) to bool` that returns true if the decimal representation of `n` is palindromic. Required declarations/s...
<think> Convert the integer to its string representation. Ignore the sign during comparison. Compare characters from both ends moving inward. If all symmetric pairs match, it's a palindrome. Use two pointers: one starting at beginning, another at end. Loop until they meet or cross. Mismatch means not palindrome. Single...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. A number is a palindrome if it reads the same backward as forward. Write a function `is_palindrome_base10(n: int) to bool` that returns true if the decimal representation of `n` is palindromic. Required declarations/s...
<think> Convert the integer to its string representation. Ignore the sign during comparison. Compare characters from both ends moving inward. If all symmetric pairs match, it's a palindrome. Use two pointers: one starting at beginning, another at end. Loop until they meet or cross. Mismatch means not palindrome. Single...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nA number is a palindrome if it reads the same backward as forward. Write a function `is_palindrome_base10(n: int) to bool` th...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_num_series_is_palindrome_base10.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
149
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(is_palindrome_base10(121) == true) assert(is_palindrome_base10(-121) == false) assert(is_palindrome_base10(10) == false) assert(is_palindrome_base10(0) == true) return "ok" }
null
v7-0c9fa83382c44bfb
Write a Vox function `main`: vox:caps subprocess
// vox:caps subprocess fn main() { print("Testing process primitives...") // Test spawn_background // We'll spawn a simple 'ping' or 'echo' in the background (Windows) let res = process.spawn_background("cmd", ["/c", "echo background-alive"]) match res { Ok(id) => print("Spawned backgro...
Write a Vox function `main`: vox:caps subprocess
// vox:caps subprocess fn main() { print("Testing process primitives...") // Test spawn_background // We'll spawn a simple 'ping' or 'echo' in the background (Windows) let res = process.spawn_background("cmd", ["/c", "echo background-alive"]) match res { Ok(id) => print("Spawned backgro...
[ { "role": "user", "content": "Write a Vox function `main`: vox:caps subprocess" }, { "role": "assistant", "content": "// vox:caps subprocess\nfn main() {\n print(\"Testing process primitives...\")\n \n // Test spawn_background\n // We'll spawn a simple 'ping' or 'echo' in the backgro...
function_idioms
human
scripts/test_process_primitives.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
2
v7-0d58ab551b7662fa
Write a Vox function called main
fn main() { let x = std.fs.exists("foo"); print(str(x)); }
Write a Vox function called main
fn main() { let x = std.fs.exists("foo"); print(str(x)); }
[ { "role": "user", "content": "Write a Vox function called main" }, { "role": "assistant", "content": "fn main() {\n let x = std.fs.exists(\"foo\");\n print(str(x));\n}" } ]
function_idioms
human
scripts/test_fs.vox
vox_codegen
code_only
vox_codegen
5
6
0
[ "fn" ]
vox_dogfood_v1
null
2
v7-0d62fdeb1dee6def
Write valid Vox code implementing: High-Precision Fixed-Point Decimal Math
// --- // title: "High-Precision Fixed-Point Decimal Math" // description: "Fixed-point `dec` literals and arithmetic avoiding IEEE 754 float error in financial and counting logic." // syntax_version: "0.5.0" // status: golden // category: example // constructs: [dec, fn, let, assert] // last_validated: 2026-06-03 // t...
Write valid Vox code implementing: High-Precision Fixed-Point Decimal Math
// --- // title: "High-Precision Fixed-Point Decimal Math" // description: "Fixed-point `dec` literals and arithmetic avoiding IEEE 754 float error in financial and counting logic." // syntax_version: "0.5.0" // status: golden // category: example // constructs: [dec, fn, let, assert] // last_validated: 2026-06-03 // t...
[ { "role": "user", "content": "Write valid Vox code implementing: High-Precision Fixed-Point Decimal Math" }, { "role": "assistant", "content": "// ---\n// title: \"High-Precision Fixed-Point Decimal Math\"\n// description: \"Fixed-point `dec` literals and arithmetic avoiding IEEE 754 float error...
function_idioms
repo_source_pool
examples/golden/decimal_math.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_opt_scan_guard_before_scan
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Write a function `guard_before_scan(xs: list[int], threshold: int) to bool` that returns `false` immediately if the list is empty. Otherwise, it checks if ALL elements are less than `threshold`. It must not scan beyond...
<think> Start by checking if the list `xs` is empty. If it is, return `false` as per the requirement. If not, proceed to scan the list element by element. For each element `x` in `xs`, check if `x >= threshold`. If any such element is found, return `false` immediately without scanning further. If the loop completes wit...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Write a function `guard_before_scan(xs: list[int], threshold: int) to bool` that returns `false` immediately if the list is empty. Otherwise, it checks if ALL elements are less than `threshold`. It must not scan beyond...
<think> Start by checking if the list `xs` is empty. If it is, return `false` as per the requirement. If not, proceed to scan the list element by element. For each element `x` in `xs`, check if `x >= threshold`. If any such element is found, return `false` immediately without scanning further. If the loop completes wit...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nWrite a function `guard_before_scan(xs: list[int], threshold: int) to bool` that returns `false` immediately if the list is e...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_opt_scan_guard_before_scan.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
152
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(guard_before_scan([], 5) == false) assert(guard_before_scan([1, 2, 3], 4) == true) assert(guard_before_scan([1, 2, 3], 3) == false) assert(guard_before_scan([10], 5) == false) assert(guard_before_scan([1, 2, 10, 3], 5) == false) // stops at 10 return "ok" ...
null
v7-0fb85f2fd9251beb
Write a valid self-contained Vox module matching `scripts/arch-check.vox`.
// vox:caps process // scripts/arch-check.vox // // Single source of truth for the architecture check CI step. // // Invokes `cargo run -p vox-arch-check --quiet` and forwards the exit code. // CI calls this script so the invocation flags live in // one place. (The former .gitlab-ci.yml mirror was retired on 2026-06-03...
Write a valid self-contained Vox module matching `scripts/arch-check.vox`.
// vox:caps process // scripts/arch-check.vox // // Single source of truth for the architecture check CI step. // // Invokes `cargo run -p vox-arch-check --quiet` and forwards the exit code. // CI calls this script so the invocation flags live in // one place. (The former .gitlab-ci.yml mirror was retired on 2026-06-03...
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `scripts/arch-check.vox`." }, { "role": "assistant", "content": "// vox:caps process\n// scripts/arch-check.vox\n//\n// Single source of truth for the architecture check CI step.\n//\n// Invokes `cargo run -p vox-arch...
function_idioms
repo_source_pool
scripts/arch-check.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-0fd0e7ec69a71669
Write a Vox function implementing the specification. Count all positive divisors of n, including 1 and n itself. For example, count_divisors(6) = 4 because 1, 2, 3, 6 all divide 6. Assume n >= 1. Required signature: fn count_divisors(n: int) to int
fn count_divisors(n: int) to int { let mut count: int = 0 let mut i: int = 1 while i <= n { if n % i == 0 { count = count + 1 } i = i + 1 } return count }
Write a Vox function implementing the specification. Count all positive divisors of n, including 1 and n itself. For example, count_divisors(6) = 4 because 1, 2, 3, 6 all divide 6. Assume n >= 1. Required signature: fn count_divisors(n: int) to int
fn count_divisors(n: int) to int { let mut count: int = 0 let mut i: int = 1 while i <= n { if n % i == 0 { count = count + 1 } i = i + 1 } return count }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nCount all positive divisors of n, including 1 and n itself.\nFor example, count_divisors(6) = 4 because 1, 2, 3, 6 all divide 6.\nAssume n >= 1.\n\nRequired signature:\nfn count_divisors(n: int) to int" }, { "role"...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/059-count-divisors/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-11f3f3c776b57b70
Write a Vox function implementing the specification. Remove the last element from a list of ints and return the shorter list. Return an empty list if the input is already empty. Required signature: fn remove_last(xs: list[int]) to list[int]
fn remove_last(xs: list[int]) to list[int] { let n: int = xs.len() if n == 0 { return xs } let mut result: list[int] = [] let mut i: int = 0 while i < n - 1 { match xs[i] { Some(v) => { result.push(v) } None => {} } i = i + 1 } retu...
Write a Vox function implementing the specification. Remove the last element from a list of ints and return the shorter list. Return an empty list if the input is already empty. Required signature: fn remove_last(xs: list[int]) to list[int]
fn remove_last(xs: list[int]) to list[int] { let n: int = xs.len() if n == 0 { return xs } let mut result: list[int] = [] let mut i: int = 0 while i < n - 1 { match xs[i] { Some(v) => { result.push(v) } None => {} } i = i + 1 } retu...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nRemove the last element from a list of ints and return the shorter list. Return an empty list if the input is already empty.\n\nRequired signature:\nfn remove_last(xs: list[int]) to list[int]" }, { "role": "assista...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/154-remove-last/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-12b9fcc8c174587d
Write a Vox function `active_worktree_basenames`: Basenames of git-registered worktree directories (from `git worktree list`). Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's target/. Uses std.process.run (captures stdout) — confirmed available on the interpreter + native codegen paths. The ...
// Basenames of git-registered worktree directories (from `git worktree list`). // Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's // target/. Uses std.process.run (captures stdout) — confirmed available on the // interpreter + native codegen paths. fn active_worktree_basenames() to list[str]...
Write a Vox function `active_worktree_basenames`: Basenames of git-registered worktree directories (from `git worktree list`). Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's target/. Uses std.process.run (captures stdout) — confirmed available on the interpreter + native codegen paths. The ...
// Basenames of git-registered worktree directories (from `git worktree list`). // Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's // target/. Uses std.process.run (captures stdout) — confirmed available on the // interpreter + native codegen paths. fn active_worktree_basenames() to list[str]...
[ { "role": "user", "content": "Write a Vox function `active_worktree_basenames`: Basenames of git-registered worktree directories (from `git worktree list`). Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's target/. Uses std.process.run (captures stdout) — confirmed available on the...
function_idioms
human
scripts/clean-build-artifacts.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
2
td96_r1_fn_range_pred_calculate_tax_brackets
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Calculate total tax owed based on income and progressive tax brackets. Each bracket is a pair (income_limit, tax_rate_percent). Tax is applied incrementally. Required declarations/signatures: `fn calculate_tax_brackets...
<think> Implement progressive taxation. Brackets are sorted by income limits ascending. For each bracket, determine taxable income within that bracket: min(current_income, bracket_limit) - previous_bracket_limit. Multiply this amount by bracket rate (percent converted to decimal). Accumulate tax. Update previous_bracke...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Calculate total tax owed based on income and progressive tax brackets. Each bracket is a pair (income_limit, tax_rate_percent). Tax is applied incrementally. Required declarations/signatures: `fn calculate_tax_brackets...
<think> Implement progressive taxation. Brackets are sorted by income limits ascending. For each bracket, determine taxable income within that bracket: min(current_income, bracket_limit) - previous_bracket_limit. Multiply this amount by bracket rate (percent converted to decimal). Accumulate tax. Update previous_bracke...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nCalculate total tax owed based on income and progressive tax brackets. Each bracket is a pair (income_limit, tax_rate_percent...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_range_pred_calculate_tax_brackets.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
227
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(calculate_tax_brackets(0, [[10000, 10], [30000, 15]]) == 0) assert(calculate_tax_brackets(25000, [[10000, 10], [30000, 15]]) == 3250) assert(calculate_tax_brackets(50000, [[10000, 10], [30000, 15], [100000, 25]]) == 9000) return "ok" }
null
v7-12cf856577925d5c
Write a valid self-contained Vox module matching `crates/vox-compiler/tests/llm_fixtures/fix_06_impl.vox`.
fn test_06() to bool { return true }
Write a valid self-contained Vox module matching `crates/vox-compiler/tests/llm_fixtures/fix_06_impl.vox`.
fn test_06() to bool { return true }
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `crates/vox-compiler/tests/llm_fixtures/fix_06_impl.vox`." }, { "role": "assistant", "content": "fn test_06() to bool { return true }" } ]
function_idioms
repo_source_pool
crates/vox-compiler/tests/llm_fixtures/fix_06_impl.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-13ced5a9b9c21df3
Write a Vox function `active_worktree_basenames`: Basenames of git-registered worktree directories (from `git worktree list`). Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's target/. Uses std.process.run (captures stdout) — confirmed available on the interpreter + native codegen paths. The ...
// Basenames of git-registered worktree directories (from `git worktree list`). // Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's // target/. Uses std.process.run (captures stdout) — confirmed available on the // interpreter + native codegen paths. fn active_worktree_basenames() to list[str]...
Write a Vox function `active_worktree_basenames`: Basenames of git-registered worktree directories (from `git worktree list`). Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's target/. Uses std.process.run (captures stdout) — confirmed available on the interpreter + native codegen paths. The ...
// Basenames of git-registered worktree directories (from `git worktree list`). // Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's // target/. Uses std.process.run (captures stdout) — confirmed available on the // interpreter + native codegen paths. fn active_worktree_basenames() to list[str]...
[ { "role": "user", "content": "Write a Vox function `active_worktree_basenames`: Basenames of git-registered worktree directories (from `git worktree list`). Used to AUTO-SKIP active worktrees so cleanup never deletes a live agent's target/. Uses std.process.run (captures stdout) — confirmed available on the...
function_idioms
human
scripts/clean-build-artifacts.vox
vox_codegen
code_only
vox_codegen
5
6
0
[ "fn" ]
vox_dogfood_v1
null
2
v7-141b776f9e746e29
Write a Vox function implementing the specification. Given a sorted list of ints and a value, insert the value in the correct sorted position and return the resulting sorted list. Required signature: fn insert_sorted(xs: list[int], val: int) to list[int]
fn insert_sorted(xs: list[int], val: int) to list[int] { let mut result: list[int] = [] let mut inserted: bool = false for x in xs { if not inserted and val <= x { result.push(val) inserted = true } result.push(x) } if not inserted { result.pus...
Write a Vox function implementing the specification. Given a sorted list of ints and a value, insert the value in the correct sorted position and return the resulting sorted list. Required signature: fn insert_sorted(xs: list[int], val: int) to list[int]
fn insert_sorted(xs: list[int], val: int) to list[int] { let mut result: list[int] = [] let mut inserted: bool = false for x in xs { if not inserted and val <= x { result.push(val) inserted = true } result.push(x) } if not inserted { result.pus...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nGiven a sorted list of ints and a value, insert the value in the correct sorted position and return the resulting sorted list.\n\nRequired signature:\nfn insert_sorted(xs: list[int], val: int) to list[int]" }, { "r...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/150-insert-sorted/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_range_pred_convert_celsius_to_fahrenheit
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Write a function that converts Celsius temperatures to Fahrenheit using the formula F = C * 9/5 + 32. Handle both positive and negative temperatures. Required declarations/signatures: fn celsius_to_fahrenheit(celsius:...
<think> This is a straightforward arithmetic conversion: F = C * 9/5 + 32. In integer arithmetic, I must be careful about truncation when doing C*9/5. Since division truncates towards zero in Vox, I should compute C*9 first then divide by 5. Edge cases include: zero (should give 32), negative numbers (correctly handle ...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Write a function that converts Celsius temperatures to Fahrenheit using the formula F = C * 9/5 + 32. Handle both positive and negative temperatures. Required declarations/signatures: fn celsius_to_fahrenheit(celsius:...
<think> This is a straightforward arithmetic conversion: F = C * 9/5 + 32. In integer arithmetic, I must be careful about truncation when doing C*9/5. Since division truncates towards zero in Vox, I should compute C*9 first then divide by 5. Edge cases include: zero (should give 32), negative numbers (correctly handle ...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nWrite a function that converts Celsius temperatures to Fahrenheit using the formula F = C * 9/5 + 32. Handle both positive an...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_range_pred_convert_celsius_to_fahrenheit.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
150
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(celsius_to_fahrenheit(0) == 32) assert(celsius_to_fahrenheit(100) == 212) assert(celsius_to_fahrenheit(-40) == -40) return "ok" }
null
v7-14b229dee00d4fb3
Write a valid self-contained Vox module matching `examples/golden-ts/string_with_json.vox`.
fn read_kind(payload_json: str) to str { return match std.json.parse(payload_json) { Ok(j) => j.get("kind").and_then(fn(jv: Json) to Option[str] { jv.as_str() }).unwrap_or("") Error(m) => "parse failed: " + m } }
Write a valid self-contained Vox module matching `examples/golden-ts/string_with_json.vox`.
fn read_kind(payload_json: str) to str { return match std.json.parse(payload_json) { Ok(j) => j.get("kind").and_then(fn(jv: Json) to Option[str] { jv.as_str() }).unwrap_or("") Error(m) => "parse failed: " + m } }
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `examples/golden-ts/string_with_json.vox`." }, { "role": "assistant", "content": "fn read_kind(payload_json: str) to str {\n return match std.json.parse(payload_json) {\n Ok(j) => j.get(\"kind\").and_then(fn...
function_idioms
repo_source_pool
examples/golden-ts/string_with_json.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-14c00771b1202558
Write a Vox function called run The file already defines: ```vox import fs import process type RunOut { exit: int, stdout: str, stderr: str, } fn proof_data_dir() to str ```
fn run(bin: str, args: list[str], env_pairs: list[str]) to RunOut { let pairs = env_pairs.push("VOX_DATA_DIR=" + proof_data_dir()) let res = std.process.run_capture_ex(bin, args, ".", pairs) if res.is_err() { return { exit: -1, stdout: "", stderr: "spawn failed: " + res.unwrap_err() } } let ...
Write a Vox function called run The file already defines: ```vox import fs import process type RunOut { exit: int, stdout: str, stderr: str, } fn proof_data_dir() to str ```
fn run(bin: str, args: list[str], env_pairs: list[str]) to RunOut { let pairs = env_pairs.push("VOX_DATA_DIR=" + proof_data_dir()) let res = std.process.run_capture_ex(bin, args, ".", pairs) if res.is_err() { return { exit: -1, stdout: "", stderr: "spawn failed: " + res.unwrap_err() } } let ...
[ { "role": "user", "content": "Write a Vox function called run\n\nThe file already defines:\n```vox\nimport fs\n\nimport process\n\ntype RunOut {\n exit: int,\n stdout: str,\n stderr: str,\n}\n\nfn proof_data_dir() to str\n```" }, { "role": "assistant", "content": "fn run(bin: str, args:...
function_idioms
human
scripts/model-routing-live-proof.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
2
v7-14c959eca6080727
Write a Vox function implementing the specification. Count the number of distinct (unique) values in a list of ints. Required signature: fn count_distinct(xs: list[int]) to int
fn count_distinct(xs: list[int]) to int { let mut seen: list[int] = [] for x in xs { if not seen.contains(x) { seen.push(x) } } return seen.len() }
Write a Vox function implementing the specification. Count the number of distinct (unique) values in a list of ints. Required signature: fn count_distinct(xs: list[int]) to int
fn count_distinct(xs: list[int]) to int { let mut seen: list[int] = [] for x in xs { if not seen.contains(x) { seen.push(x) } } return seen.len() }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nCount the number of distinct (unique) values in a list of ints.\n\nRequired signature:\nfn count_distinct(xs: list[int]) to int" }, { "role": "assistant", "content": "fn count_distinct(xs: list[int]) to int {\n...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/136-count-distinct/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_range_pred_count_leap_years
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Write a function that counts how many leap years exist in a given inclusive range of years. A year is a leap year if divisible by 4, but not by 100 unless also divisible by 400. Required declarations/signatures: fn co...
<think> I need to count leap years in the inclusive range [start_year, end_year]. A leap year satisfies: divisible by 4 AND (not divisible by 100 OR divisible by 400). I'll iterate from start_year to end_year inclusive, checking each year against this condition. Edge cases: start > end (return 0), same start/end (check...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Write a function that counts how many leap years exist in a given inclusive range of years. A year is a leap year if divisible by 4, but not by 100 unless also divisible by 400. Required declarations/signatures: fn co...
<think> I need to count leap years in the inclusive range [start_year, end_year]. A leap year satisfies: divisible by 4 AND (not divisible by 100 OR divisible by 400). I'll iterate from start_year to end_year inclusive, checking each year against this condition. Edge cases: start > end (return 0), same start/end (check...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nWrite a function that counts how many leap years exist in a given inclusive range of years. A year is a leap year if divisibl...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_range_pred_count_leap_years.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
181
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(count_leap_years(2000, 2020) == 6) assert(count_leap_years(1900, 1900) == 0) assert(count_leap_years(2000, 2000) == 1) return "ok" }
null
v7-14f1c18c2cdd058e
Write a valid self-contained Vox module matching `examples/golden-ts/match_tagged_union.vox`.
fn classify(code: int) to str { return match code { 0 => "ok" 404 => "not_found" 500 => { let prefix = "server" prefix + "_error" } _ => "other" } }
Write a valid self-contained Vox module matching `examples/golden-ts/match_tagged_union.vox`.
fn classify(code: int) to str { return match code { 0 => "ok" 404 => "not_found" 500 => { let prefix = "server" prefix + "_error" } _ => "other" } }
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `examples/golden-ts/match_tagged_union.vox`." }, { "role": "assistant", "content": "fn classify(code: int) to str {\n return match code {\n 0 => \"ok\"\n 404 => \"not_found\"\n 500 => {\n ...
function_idioms
repo_source_pool
examples/golden-ts/match_tagged_union.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-15173242927c6d60
Write a Vox function implementing the specification. Return true if the list of integers is sorted in non-decreasing order. An empty list is sorted. Required signature: fn is_sorted(xs: list[int]) to bool
fn is_sorted(xs: list[int]) to bool { let n: int = xs.len() if n <= 1 { return true } let mut i: int = 0 while i < n - 1 { match xs[i] { Some(a) => { match xs[i + 1] { Some(b) => { if a > b { ...
Write a Vox function implementing the specification. Return true if the list of integers is sorted in non-decreasing order. An empty list is sorted. Required signature: fn is_sorted(xs: list[int]) to bool
fn is_sorted(xs: list[int]) to bool { let n: int = xs.len() if n <= 1 { return true } let mut i: int = 0 while i < n - 1 { match xs[i] { Some(a) => { match xs[i + 1] { Some(b) => { if a > b { ...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nReturn true if the list of integers is sorted in non-decreasing order. An empty list is sorted.\n\nRequired signature:\nfn is_sorted(xs: list[int]) to bool" }, { "role": "assistant", "content": "fn is_sorted(xs...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/017-is-sorted/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-15cf07d43808fe22
Write a Vox function implementing the specification. Return true if every opening parenthesis has a matching closing parenthesis in the correct order. Required signature: fn is_balanced_parens(s: str) to bool
fn is_balanced_parens(s: str) to bool { let mut depth: int = 0 for ch in s.chars() { if ch == "(" { depth = depth + 1 } else { if ch == ")" { depth = depth - 1 if depth < 0 { return false } } ...
Write a Vox function implementing the specification. Return true if every opening parenthesis has a matching closing parenthesis in the correct order. Required signature: fn is_balanced_parens(s: str) to bool
fn is_balanced_parens(s: str) to bool { let mut depth: int = 0 for ch in s.chars() { if ch == "(" { depth = depth + 1 } else { if ch == ")" { depth = depth - 1 if depth < 0 { return false } } ...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nReturn true if every opening parenthesis has a matching closing parenthesis in the correct order.\n\nRequired signature:\nfn is_balanced_parens(s: str) to bool" }, { "role": "assistant", "content": "fn is_balan...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/024-is-balanced-parens/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_range_pred_count_multiples_up_to_limit
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Count how many positive multiples of a given number exist up to and including a limit. Required declarations/signatures: `fn count_multiples_up_to_limit(n: int, limit: int) to int`
<think> I need to count positive multiples of `n` that are <= `limit`. The multiples are n*1, n*2, n*3, ..., up to the largest k such that n*k <= limit. This is equivalent to floor(limit / n) when n > 0 and limit > 0. However, I should handle edge cases carefully. If n <= 0, there are no positive multiples, so return 0...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Count how many positive multiples of a given number exist up to and including a limit. Required declarations/signatures: `fn count_multiples_up_to_limit(n: int, limit: int) to int`
<think> I need to count positive multiples of `n` that are <= `limit`. The multiples are n*1, n*2, n*3, ..., up to the largest k such that n*k <= limit. This is equivalent to floor(limit / n) when n > 0 and limit > 0. However, I should handle edge cases carefully. If n <= 0, there are no positive multiples, so return 0...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nCount how many positive multiples of a given number exist up to and including a limit. Required declarations/signatures: `fn ...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_range_pred_count_multiples_up_to_limit.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
240
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(count_multiples_up_to_limit(3, 10) == 3) assert(count_multiples_up_to_limit(5, 25) == 5) assert(count_multiples_up_to_limit(7, 0) == 0) assert(count_multiples_up_to_limit(2, 1) == 0) return "ok" }
null
v7-177745dd372f5089
Write a Vox function implementing the specification. Count the number of consonants (non-vowel letters) in a string. The check is case-insensitive. Non-letter characters are ignored. Required signature: fn count_consonants(s: str) to int
fn count_consonants(s: str) to int { let lower: str = s.to_lower() let chars: list[str] = lower.chars() let vowels: list[str] = ["a", "e", "i", "o", "u"] let mut count: int = 0 for c in chars { let code: int = c.ord() if code >= 97 and code <= 122 { if not vowels.contains...
Write a Vox function implementing the specification. Count the number of consonants (non-vowel letters) in a string. The check is case-insensitive. Non-letter characters are ignored. Required signature: fn count_consonants(s: str) to int
fn count_consonants(s: str) to int { let lower: str = s.to_lower() let chars: list[str] = lower.chars() let vowels: list[str] = ["a", "e", "i", "o", "u"] let mut count: int = 0 for c in chars { let code: int = c.ord() if code >= 97 and code <= 122 { if not vowels.contains...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nCount the number of consonants (non-vowel letters) in a string. The check is case-insensitive. Non-letter characters are ignored.\n\nRequired signature:\nfn count_consonants(s: str) to int" }, { "role": "assistant"...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/131-count-consonants/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-18b97bf5f06033b4
Implement the string_field function using Vox syntax The file already defines: ```vox import fs import process ```
fn string_field(value: Json, key: str) to str { return value.get(key).and_then(fn(x: Json) to Option[str] { x.as_str() }).unwrap_or("") }
Implement the string_field function using Vox syntax The file already defines: ```vox import fs import process ```
fn string_field(value: Json, key: str) to str { return value.get(key).and_then(fn(x: Json) to Option[str] { x.as_str() }).unwrap_or("") }
[ { "role": "user", "content": "Implement the string_field function using Vox syntax\n\nThe file already defines:\n```vox\nimport fs\n\nimport process\n```" }, { "role": "assistant", "content": "fn string_field(value: Json, key: str) to str {\n return value.get(key).and_then(fn(x: Json) to Opti...
function_idioms
human
scripts/axis-drive-openrouter-e2e.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
2
v7-18dab9544c3af3a7
Write a valid self-contained Vox module matching `scripts/ci/gui-registry-check.vox`.
// gui-registry-check.vox // CI guard to verify TypeScript interface synchronization with Rust SSoT structure for the registry. fn main() { let ts_file = "crates/vox-gui/ui/src/transport.ts"; if not std.fs.exists(ts_file) { log.error("Could not find " + ts_file); std.process.exit(1); } ...
Write a valid self-contained Vox module matching `scripts/ci/gui-registry-check.vox`.
// gui-registry-check.vox // CI guard to verify TypeScript interface synchronization with Rust SSoT structure for the registry. fn main() { let ts_file = "crates/vox-gui/ui/src/transport.ts"; if not std.fs.exists(ts_file) { log.error("Could not find " + ts_file); std.process.exit(1); } ...
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `scripts/ci/gui-registry-check.vox`." }, { "role": "assistant", "content": "// gui-registry-check.vox\n// CI guard to verify TypeScript interface synchronization with Rust SSoT structure for the registry.\n\nfn main()...
function_idioms
repo_source_pool
scripts/ci/gui-registry-check.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_range_pred_days_since_new_year
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given a month (1-12) and day (1-31), calculate how many days have passed since January 1st in a non-leap year. Assume valid inputs. Required declarations/signatures: `fn days_since_new_year(month: int, day: int) to int...
<think> To compute days since Jan 1st in a non-leap year, I need the cumulative days per month. Create a list with days in each month: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]. Initialize a counter to 0. Loop through months from January (index 0) up to but not including the target month (month - 1). Add the day...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given a month (1-12) and day (1-31), calculate how many days have passed since January 1st in a non-leap year. Assume valid inputs. Required declarations/signatures: `fn days_since_new_year(month: int, day: int) to int...
<think> To compute days since Jan 1st in a non-leap year, I need the cumulative days per month. Create a list with days in each month: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]. Initialize a counter to 0. Loop through months from January (index 0) up to but not including the target month (month - 1). Add the day...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nGiven a month (1-12) and day (1-31), calculate how many days have passed since January 1st in a non-leap year. Assume valid i...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_range_pred_days_since_new_year.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
194
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(days_since_new_year(1, 1) == 0) assert(days_since_new_year(3, 1) == 59) assert(days_since_new_year(12, 31) == 364) assert(days_since_new_year(7, 4) == 184) return "ok" }
null
v7-18e313fa9c96d790
Write a Vox function implementing the specification. Return the minimum value in a non-empty list of integers. Required signature: fn min_of_list(xs: list[int]) to int
fn min_of_list(xs: list[int]) to int { let mut result: int = 0 match xs[0] { Some(v) => { result = v } None => {} } let mut i: int = 1 while i < xs.len() { match xs[i] { Some(v) => { if v < result { result = v } ...
Write a Vox function implementing the specification. Return the minimum value in a non-empty list of integers. Required signature: fn min_of_list(xs: list[int]) to int
fn min_of_list(xs: list[int]) to int { let mut result: int = 0 match xs[0] { Some(v) => { result = v } None => {} } let mut i: int = 1 while i < xs.len() { match xs[i] { Some(v) => { if v < result { result = v } ...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nReturn the minimum value in a non-empty list of integers.\n\nRequired signature:\nfn min_of_list(xs: list[int]) to int" }, { "role": "assistant", "content": "fn min_of_list(xs: list[int]) to int {\n let mut ...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/025-min-of-list/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-19dd79f129c3b6a9
Write a valid self-contained Vox module matching `apps/vox-mental-tracker/scripts/preview_workflow.vox`.
// Preview / desktop workflow — informational only (invoke commands from repo docs). // Build app TS: vox build src/main.vox -o dist // Install/sync: pnpm install && pnpm build:plugin && npx cap sync // Web preview: serve dist/ with any static server after wiring Vite scaffold if applicable. fn main() { pri...
Write a valid self-contained Vox module matching `apps/vox-mental-tracker/scripts/preview_workflow.vox`.
// Preview / desktop workflow — informational only (invoke commands from repo docs). // Build app TS: vox build src/main.vox -o dist // Install/sync: pnpm install && pnpm build:plugin && npx cap sync // Web preview: serve dist/ with any static server after wiring Vite scaffold if applicable. fn main() { pri...
[ { "role": "user", "content": "Write a valid self-contained Vox module matching `apps/vox-mental-tracker/scripts/preview_workflow.vox`." }, { "role": "assistant", "content": "// Preview / desktop workflow — informational only (invoke commands from repo docs).\n// Build app TS: vox build src/mai...
function_idioms
repo_source_pool
apps/vox-mental-tracker/scripts/preview_workflow.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
v7-1c2e563f195bcdc2
Write a Vox function implementing the specification. Count how many times sub occurs in s, including overlapping occurrences. An empty sub returns 0. Required signature: fn count_substring(s: str, sub: str) to int
fn count_substring(s: str, sub: str) to int { let n: int = s.len() let m: int = sub.len() if m == 0 { return 0 } if m > n { return 0 } let mut count: int = 0 let mut i: int = 0 while i + m <= n { if s.slice(i, i + m) == sub { count = count + 1 ...
Write a Vox function implementing the specification. Count how many times sub occurs in s, including overlapping occurrences. An empty sub returns 0. Required signature: fn count_substring(s: str, sub: str) to int
fn count_substring(s: str, sub: str) to int { let n: int = s.len() let m: int = sub.len() if m == 0 { return 0 } if m > n { return 0 } let mut count: int = 0 let mut i: int = 0 while i + m <= n { if s.slice(i, i + m) == sub { count = count + 1 ...
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nCount how many times sub occurs in s, including overlapping occurrences. An empty sub returns 0.\n\nRequired signature:\nfn count_substring(s: str, sub: str) to int" }, { "role": "assistant", "content": "fn cou...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/153-count-substring/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
td96_r1_fn_range_pred_filter_range_inclusive
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given a list of integers and two bounds (inclusive), return a new list containing only elements within the specified range. Required declarations/signatures: `fn filter_range_inclusive(xs: list[int], low: int, high: in...
<think> The goal is to filter a list based on inclusive lower and upper bounds. I'll create a new empty mutable list to store results. Then I'll iterate through the input list using a while loop with an index variable initialized to 0. For each element, I'll check if it's greater than or equal to the lower bound AND le...
Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code. Given a list of integers and two bounds (inclusive), return a new list containing only elements within the specified range. Required declarations/signatures: `fn filter_range_inclusive(xs: list[int], low: int, high: in...
<think> The goal is to filter a list based on inclusive lower and upper bounds. I'll create a new empty mutable list to store results. Then I'll iterate through the input list using a while loop with an index variable initialized to 0. For each element, I'll check if it's greater than or equal to the lower bound AND le...
[ { "role": "system", "content": "" }, { "role": "user", "content": "Plan the algorithm and edge cases concisely inside `<think>...</think>`, then output valid Vox code.\n\nGiven a list of integers and two bounds (inclusive), return a new list containing only elements within the specified range. R...
function_idioms
mit_teacher_gapfill_v96
mit_teacher_gapfill_v96/td96_r1_fn_range_pred_filter_range_inclusive.vox
vox_codegen
reasoning_trace
vox_think_codegen
5
1
228
[ "fn" ]
vox_dogfood_v1
fn __vox_eval_harness() to str { assert(filter_range_inclusive([1, 5, 10, 15, 20], 5, 15) == [5, 10, 15]) assert(filter_range_inclusive([], 0, 10) == []) assert(filter_range_inclusive([1, 2, 3], 10, 20) == []) assert(filter_range_inclusive([-5, -1, 0, 1, 5], -2, 2) == [-1, 0, 1]) return "ok" }
null
v7-1d30e01fe846033e
Write a Vox function implementing the specification. Write a Vox function reverse_words(s: str) to str that splits the string by spaces, reverses the word list, and joins it back with spaces. Required signature: fn reverse_words(s: str) to str
fn reverse_words(s: str) to str { let words: list[str] = s.split(" ") let rev: list[str] = words.reversed() return rev.join(" ") }
Write a Vox function implementing the specification. Write a Vox function reverse_words(s: str) to str that splits the string by spaces, reverses the word list, and joins it back with spaces. Required signature: fn reverse_words(s: str) to str
fn reverse_words(s: str) to str { let words: list[str] = s.split(" ") let rev: list[str] = words.reversed() return rev.join(" ") }
[ { "role": "user", "content": "Write a Vox function implementing the specification.\n\nWrite a Vox function reverse_words(s: str) to str that splits the string by spaces, reverses the word list, and joins it back with spaces.\n\nRequired signature:\nfn reverse_words(s: str) to str" }, { "role": "assi...
function_idioms
humaneval_vox_training_eligible
contracts/eval/humaneval-vox/problems/096-reverse-words/reference.vox
vox_codegen
code_only
vox_codegen
5
1
0
[ "fn" ]
vox_dogfood_v1
null
null
End of preview. Expand in Data Studio

Vox Mens Verified Training Corpus — brbrainerd/vox-mens-data-vox-lang

Compiler-checked, interpreter-verified .vox code generation, compiler-repair, and step-by-step <think> execution-trace training data powering the Vox Mens open-weights model ladder (0.8B, 2B, 4B, 9B, and 27B).


How We Organically Improve Speed & Intelligence Across All Sizes (0.8B–27B)

Even a 27B checkpoint is compact compared to 300B+ commercial cloud models, and laptop-friendly 0.8B–9B models have tight parameter budgets. Instead of feeding noisy scraped text or cloned synthetic bloat, Vox Mens improves every rung through a closed, deterministic verification loop (v9.6):

1. Dual-Stream AST Structural Deduplication (1 Unique Problem per Row)

Every candidate row is canonicalized through the real Vox lexer (vox_compiler::lexer::lex):

  • Positional $\alpha$-renaming (xxh3_128) + Role-Erased 16×4 Tabulation MinHash LSH: Collapses parametric template clones (2,109 -> 167 FPS-diverse representatives, -92% clone bloat) while keeping human/repo idioms and math replay uncapped.
  • Result (v9.6 dogfood_v7): Cuts training wall-clock time by 56.5% (2.30× faster) and peak memory by 26.0% while matching 166-task execution accuracy and improving construct richness (0.125 -> 0.2157) and <think> accuracy (+6.3 pp on vox_think).

2. Compiler + Interpreter Verification Oracle (0% Unverified Code)

Every .vox code row in data/train.jsonl clears the real Vox toolchain before entering training:

  • Frontend parse + typecheck (vox check): Including declaration-context scaffolding across all 14 first-class Vox constructs (fn, adt_match, state_machine, action, workflow, page, component, query, mutation, table, actor, mcp_tool, test, error_correction).
  • In-process Interpreter execution + wrong_stub anti-tautology: Executable functions, ADTs, state machines, parsers, and <think> -> .vox bridge rows must pass __vox_eval_harness() AND reject a mutated wrong_stub so tautological assertions cannot slip in.

3. 6-Suite 8-Gram Containment Anti-Leakage Firewall

Every row (prompt, post-</think> code, and full completion) is verified below < 0.35 5-gram containment and < 0.40 8-gram Jaccard/containment across all 6 held-out suites (heldout_bench 52, heldout_bench_v2 166, heldout_bench_v2_canary 64, vox_think 128, gsm8k_think 128, and math500_think 128). Held-out items (training_eligible: false) are refused at staging time.


Corpus Composition (2,070 Unique Verified Rows in data/train.jsonl)

Lane / Slice Rows Share Verification Tier
Direct verified .vox codegen (v7_codegen_verified: function, algorithm, data_structures, string_parsing, matrix_grid, adt_match, state_machine, endpoint_handler, workflow_actor_mcp, ui_fullstack, multi_construct_file) 1,305 63.0% vox check + Interpreter harness + wrong_stub anti-tautology
Real vox check compiler diagnostic → repaired .vox (v7_error_correction) 200 9.7% Broken snippet fails vox check; repaired target compiles & passes anti-stub
<think> -> executable .vox reasoning bridge (v7_think_vox_bridge, <= 384 think tokens) 200 9.7% Bounded CoT plan + Interpreter-verified .vox completion
Multi-step math & symbolic <think> derivations (v7_math_symbolic_replay) 170 8.2% 18 exact-arithmetic domains (gcd-reduced fractions + independent check pass); 0.0 overlap with gsm8k_think & math500_think
Vox <think> statement-by-statement execution & invariant traces (v7_vox_reasoning_trace) 130 6.3% Explicit intermediate state tables + check pass, exact Interpreter output match
Grounded Vox idiom Q&A (v7_docs_idiom_qa) 65 3.1% Every answer contains compiling .vox code
Total 2,070 100% 75.8% direct + 24.2% <think> · 14/14 construct floors passed

Release Changelog

  • v2 / main (dogfood_v7 reasoning-hygiene refresh, 2,070 rows, BLAKE3 cf9d8df9a45c7470fb24dbd18c6027df): Replaced terse 2-bullet math replay rows and 3-line Vox trace summaries with 18 exact-arithmetic-verified multi-step chain-of-thought math domains (each carrying an independent mathematical check identity) and full per-statement vox_reasoning_trace state tables (construct_richness_mean = 0.2219, -37.2% chars / -35.0% bytes vs v6, 0 leaks across all 6 suites).
  • v1 (dogfood_v7 initial, 2,183 rows, BLAKE3 240a7c7ea3b8ff9f4810603d661197b7): Dual-stream AST deduplication (-92% template clones, -56.5% training wall time), 197 <think> -> .vox bridge rows, 200 real vox check error_correction pairs, 14/14 construct floors, and 6-suite 8-gram containment proof (reports/mens-corpus-v7-provenance.json).
  • Initial release (dogfood_v6, 3,933 rows): Combined verified_vox_codegen_v2 + dogfood_v5 <think> traces (reports/mens-verified-corpus-v2.json, reports/dogfood_v5_stats.json).

Files in This Repository

  • data/train.jsonl — 2,070 uniform JSONL training records (prompt, response, category, lane, response_mode, origin, rating, training_eligible).
  • reports/mens-corpus-v7-provenance.json — Full v9.6 provenance, compression ratios, MIT/Apache-2.0 teacher allowlist breakdown, 14-construct floor receipts, and BLAKE3 digests.
  • reports/v7_stats.json — Category & response-mode summary statistics.
  • reports/mens-verified-corpus-v2.json & reports/dogfood_v5_stats.json — Historical v6/v5 provenance reports.
  • dataset_manifest.json — Per-file BLAKE3 checksums generated by vox mens hub dataset.

Links

Downloads last month
64

Models trained or fine-tuned on brbrainerd/vox-mens-data-vox-lang

Collection including brbrainerd/vox-mens-data-vox-lang