Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
id: string
prompt: string
files: struct<settings.py: string, README.md: string, tests/check.py: string, src/app.py: string>
  child 0, settings.py: string
  child 1, README.md: string
  child 2, tests/check.py: string
  child 3, src/app.py: string
verify: struct<settings.py: string, src/app.py: string>
  child 0, settings.py: string
  child 1, src/app.py: string
expected_events: list<item: string>
  child 0, item: string
messages: null
verify_contains: struct<docs/notes.md: list<item: string>>
  child 0, docs/notes.md: list<item: string>
      child 0, item: string
verify_command: list<item: string>
  child 0, item: string
verify_json: struct<summary.json: struct<name: string, kind: string>>
  child 0, summary.json: struct<name: string, kind: string>
      child 0, name: string
      child 1, kind: string
split: string
tags: list<item: string>
  child 0, item: string
to
{'id': Value('string'), 'split': Value('string'), 'tags': List(Value('string')), 'messages': List(Json(decode=True))}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1816, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 310, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 130, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: string
              prompt: string
              files: struct<settings.py: string, README.md: string, tests/check.py: string, src/app.py: string>
                child 0, settings.py: string
                child 1, README.md: string
                child 2, tests/check.py: string
                child 3, src/app.py: string
              verify: struct<settings.py: string, src/app.py: string>
                child 0, settings.py: string
                child 1, src/app.py: string
              expected_events: list<item: string>
                child 0, item: string
              messages: null
              verify_contains: struct<docs/notes.md: list<item: string>>
                child 0, docs/notes.md: list<item: string>
                    child 0, item: string
              verify_command: list<item: string>
                child 0, item: string
              verify_json: struct<summary.json: struct<name: string, kind: string>>
                child 0, summary.json: struct<name: string, kind: string>
                    child 0, name: string
                    child 1, kind: string
              split: string
              tags: list<item: string>
                child 0, item: string
              to
              {'id': Value('string'), 'split': Value('string'), 'tags': List(Value('string')), 'messages': List(Json(decode=True))}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1348, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 890, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 951, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1683, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
string
split
string
tags
list
messages
list
codex-single-exec_command-000
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-001
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-002
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-003
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-004
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-005
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-006
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-007
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-008
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-009
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-010
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-011
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-012
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-013
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-014
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-015
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-016
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-017
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-018
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-019
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-020
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-021
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-022
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-023
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-024
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-025
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-026
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-027
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-028
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-exec_command-029
train
[ "codex", "single_tool", "exec_command" ]
[ { "role": "user", "content": "Use Codex's exec command tool for this command and keep output bounded." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "exec_command", "argum...
codex-single-write_stdin-000
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-001
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-002
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-003
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-004
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-005
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-006
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-007
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-008
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-009
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-010
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-011
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-012
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-013
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-014
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-015
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-016
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-017
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-018
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-019
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-020
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-021
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-022
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-023
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-024
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-025
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-026
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-027
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-write_stdin-028
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":1,\"ch...
codex-single-write_stdin-029
train
[ "codex", "single_tool", "write_stdin" ]
[ { "role": "user", "content": "Send input to the running command session." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "write_stdin", "arguments": "{\"session_id\":2,\"ch...
codex-single-apply_patch-000
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-001
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-002
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-003
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-004
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-005
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-006
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-007
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-008
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-009
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-010
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-011
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-012
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-013
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-014
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-015
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-016
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-017
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-018
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-019
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-020
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-021
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-022
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-023
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-024
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-025
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-026
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-027
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-028
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-apply_patch-029
train
[ "codex", "single_tool", "apply_patch" ]
[ { "role": "user", "content": "Apply the file change with Codex's patch tool." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "apply_patch", "arguments": "{\"patch\":\"*** B...
codex-single-update_plan-000
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"plan\":[{\"step\":\"In...
codex-single-update_plan-001
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"explanation\":\"The im...
codex-single-update_plan-002
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"plan\":[{\"step\":\"In...
codex-single-update_plan-003
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"explanation\":\"The im...
codex-single-update_plan-004
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"plan\":[{\"step\":\"In...
codex-single-update_plan-005
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"explanation\":\"The im...
codex-single-update_plan-006
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"plan\":[{\"step\":\"In...
codex-single-update_plan-007
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"explanation\":\"The im...
codex-single-update_plan-008
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"plan\":[{\"step\":\"In...
codex-single-update_plan-009
train
[ "codex", "single_tool", "update_plan" ]
[ { "role": "user", "content": "Track this multi-step task with a plan." }, { "role": "assistant", "content": "", "tool_calls": [ { "id": "call_1", "type": "function", "function": { "name": "update_plan", "arguments": "{\"explanation\":\"The im...
End of preview.

Tool Calling Harness Training Corpus

This dataset contains supervised tool-calling conversations and executable eval tasks for three local coding-agent harnesses:

  • Swival
  • opencode
  • Codex CLI

The examples are OpenAI-style chat records. Assistant tool calls use a tool_calls array with JSON-encoded function arguments, followed by tool-result messages and final assistant responses. The corpus is intended for fine-tuning and evaluating local models that need to choose the right tool, use the correct argument shape, recover from harness-specific mistakes, and verify coding work through the actual harness.

Files

Training splits:

  • swival/train.jsonl: 6,064 examples
  • opencode/train.jsonl: 6,290 examples
  • codex/train.jsonl: 6,410 examples

Eval task specs:

  • swival/eval.jsonl: 5 executable eval tasks
  • opencode/eval.jsonl: 5 executable eval tasks
  • codex/eval.jsonl: 5 executable eval tasks

Tool inventories:

  • swival/tool_inventory.json
  • opencode/tool_inventory.json
  • codex/tool_inventory.json

Harness support files:

  • configs/opencode-qwen35.json
  • configs/codex-qwen35.toml
  • scripts/run_swival_eval.py
  • scripts/run_opencode_eval.py
  • scripts/run_codex_eval.py
  • scripts/validate_dataset.py
  • scripts/validate_opencode_dataset.py
  • scripts/validate_codex_dataset.py

Local Harness Targets

The generated eval runners were tested against a local OpenAI-compatible qwen35 server at http://127.0.0.1:8000.

Swival uses:

swival --profile omlx

opencode uses:

bunx opencode-ai@latest run --model qwen35/qwen35

Codex uses:

env OMLX_API_KEY=omlx codex -a never exec --json --ephemeral --skip-git-repo-check --sandbox workspace-write -c model_provider=\"omlx\" -m qwen35

Validation

The source workspace validated the generated artifacts with:

uv run python scripts/validate_dataset.py data/swival_tool_calling_train.jsonl
uv run python scripts/validate_dataset.py data/swival_tool_calling_eval.jsonl
uv run python scripts/validate_opencode_dataset.py data/opencode_tool_calling_train.jsonl
uv run python scripts/validate_opencode_dataset.py data/opencode_tool_calling_eval.jsonl
uv run python scripts/validate_codex_dataset.py data/codex_tool_calling_train.jsonl
uv run python scripts/validate_codex_dataset.py data/codex_tool_calling_eval.jsonl
uv run python scripts/run_swival_eval.py --self-check
uv run python scripts/run_opencode_eval.py --self-check
uv run python scripts/run_codex_eval.py --self-check

Live smoke tests were also run for opencode and Codex against the local qwen35 endpoint. Swival, opencode, and Codex each have their own tool naming and argument conventions, so the examples intentionally avoid collapsing them into one generic schema.

Schema

Training rows use:

{
  "id": "string",
  "split": "train",
  "tags": ["harness", "tool_name"],
  "messages": [
    {"role": "user", "content": "task"},
    {
      "role": "assistant",
      "content": "",
      "tool_calls": [
        {
          "id": "call_1",
          "type": "function",
          "function": {
            "name": "tool_name",
            "arguments": "{\"key\":\"value\"}"
          }
        }
      ]
    },
    {"role": "tool", "tool_call_id": "call_1", "name": "tool_name", "content": "tool result"},
    {"role": "assistant", "content": "final response"}
  ]
}

Eval rows define disposable workspace files plus verifiers such as exact file contents, substring checks, missing-file checks, JSON field checks, and command checks.

Downloads last month
49