duels / docs /SCHEMA.md
bradedwards's picture
Upload OpenRÆ Duels v1.0.0 dataset
30440bc verified
|
Raw History Blame Contribute Delete
4.05 kB
# Table schemas
## `episodes`
| Field | Arrow type | Nullable |
|---|---|---|
| `episode_id` | `string` | no |
| `range_id` | `int64` | yes |
| `started_at` | `string` | yes |
| `ended_at` | `string` | yes |
| `duration_seconds` | `double` | yes |
| `container_count` | `int32` | yes |
| `telemetry_cleanup_deleted` | `int64` | yes |
| `telemetry_cleanup_remaining` | `int64` | yes |
| `telemetry_cleanup_json` | `string` | yes |
| `curation_status` | `string` | no |
| `curation_source` | `string` | no |
| `qualified_scope` | `string` | yes |
| `bank_position` | `int32` | yes |
| `variant` | `string` | yes |
| `decision` | `string` | yes |
| `canonical_archive_path` | `string` | no |
| `alternate_copy_count` | `int32` | no |
| `raw_bytes` | `int64` | no |
| `raw_event_count` | `int64` | no |
| `message_count` | `int64` | no |
| `tool_call_count` | `int64` | no |
| `tool_result_count` | `int64` | no |
| `red_prompt_sha256` | `string` | yes |
| `blue_prompt_sha256` | `string` | yes |
| `qualification_json` | `string` | yes |
| `candidate_json` | `string` | yes |
| `research_json` | `string` | yes |
| `bank_json` | `string` | yes |
| `raw_episode_json` | `string` | no |
## `traces`
| Field | Arrow type | Nullable |
|---|---|---|
| `episode_id` | `string` | no |
| `role` | `string` | no |
| `trace_path` | `string` | no |
| `trace_sha256` | `string` | no |
| `trace_bytes` | `int64` | no |
| `trace_lines` | `int64` | no |
| `started_at` | `string` | yes |
| `ended_at` | `string` | yes |
| `duration_seconds` | `double` | yes |
| `model` | `string` | yes |
| `claude_version` | `string` | yes |
| `prompt_path` | `string` | yes |
| `prompt_sha256` | `string` | yes |
| `round_count` | `int32` | yes |
| `tool_call_count` | `int64` | yes |
| `tool_result_count` | `int64` | yes |
| `assistant_text_count` | `int64` | yes |
| `reasoning_block_count` | `int64` | yes |
| `raw_metadata_json` | `string` | yes |
## `messages`
| Field | Arrow type | Nullable |
|---|---|---|
| `episode_id` | `string` | no |
| `role` | `string` | no |
| `sequence` | `int64` | no |
| `timestamp` | `string` | yes |
| `timestamp_ms` | `int64` | yes |
| `message_role` | `string` | no |
| `content_type` | `string` | no |
| `content` | `string` | yes |
| `tool_call_id` | `string` | yes |
| `tool_name` | `string` | yes |
| `tool_input_json` | `string` | yes |
| `tool_result_json` | `string` | yes |
| `model` | `string` | yes |
| `claude_session_id` | `string` | yes |
| `claude_message_id` | `string` | yes |
| `parent_tool_use_id` | `string` | yes |
| `source_path` | `string` | no |
| `source_line` | `int64` | no |
| `source_sha256` | `string` | no |
## `events`
| Field | Arrow type | Nullable |
|---|---|---|
| `episode_id` | `string` | no |
| `role` | `string` | no |
| `sequence` | `int64` | no |
| `timestamp` | `string` | yes |
| `kind` | `string` | no |
| `round` | `int32` | yes |
| `stream` | `string` | yes |
| `event_type` | `string` | yes |
| `event_subtype` | `string` | yes |
| `claude_session_id` | `string` | yes |
| `model` | `string` | yes |
| `source_path` | `string` | no |
| `source_line` | `int64` | no |
| `source_sha256` | `string` | no |
| `raw_json` | `string` | no |
## `director_records`
| Field | Arrow type | Nullable |
|---|---|---|
| `sequence` | `int64` | no |
| `timestamp` | `string` | yes |
| `episode_id` | `string` | yes |
| `range_id` | `int64` | yes |
| `role` | `string` | yes |
| `kind` | `string` | yes |
| `variant` | `string` | yes |
| `status` | `string` | yes |
| `outcome` | `string` | yes |
| `reason` | `string` | yes |
| `guidance` | `string` | yes |
| `notes` | `string` | yes |
| `visibility` | `string` | yes |
| `source_path` | `string` | no |
| `source_line` | `int64` | no |
| `raw_json` | `string` | no |
## `artifacts`
| Field | Arrow type | Nullable |
|---|---|---|
| `path` | `string` | no |
| `bytes` | `int64` | no |
| `sha256` | `string` | no |
| `media_type` | `string` | yes |
| `artifact_class` | `string` | no |
| `episode_id` | `string` | yes |
| `role` | `string` | yes |