# Model calls, tool events and step runtime All three views cover the selected attempts of the 810 main held-out episodes. Each view has one Parquet file per task. Use `cell_id` and `seed` for episode identity and add zero-based `step` for the environment decision. A cell identifies the model, memory method and task. | View | Rows | Grain | | --- | ---: | --- | | `model_calls` | 314,611 | One recorded model exchange. | | `tool_events` | 163,324 | One host event attached to an exchange, including 163,247 tool results and 77 additional visual-tool error events. | | `step_runtime` | 86,913 | One executed environment step and its observed outcome. | ## Model calls `request_index` is the zero-based order within an episode and joins the visual dataset’s requests view. The host's one-based `call` counter restarts for each phase at each step. `LOG` records the preceding interaction and `PLAN` chooses the action for the current step. The initial step has no preceding interaction. Within one step, a phase can make several calls. `message_count` is the host's count of candidate-supplied messages, excluding the host's system prefix. `new_message_count` counts the messages logged as new since the preceding exchange in that phase. `image_count` counts attachments to this request. `input_tokens` and `output_tokens` are recorded token counts per exchange. They support cost and context-length analysis. Monetary charges require separate pricing assumptions. The observed `stop_reason` values are `stop`, `length`, `tool_use`, `refusal` and `content_filter`. `valid_command` records whether the host accepted the command syntax, phase, action or tool contract. `command_name` is the accepted operation, including `ACTION` and `DONE`. It is null for rejected commands. The executed environment action is in `step_runtime`. The 15,185 rejected commands remain in the data. `visual_renders` is the ordered list of host rendering attempts attributed to this exchange. An empty list records zero attempts. The logs include 5,539 valid and 77 invalid attempts. Each records its validity, output width and height in pixels when available, the requested rendering operations and the index of the output operation. A program can read a frame, crop it, resize it and form a tile. Each operation records its zero-based input operation indices, source frame's step if parseable, crop box in the archived pixel coordinates, maximum resize side and tile column count as applicable. Null denotes an inapplicable or unavailable parameter. Invalid render requests may reference an unresolved input. Source frame identifiers refer to frames in the current episode. Graph indices replace the temporary aliases used inside the program. The input images seen by a subsequent request can be looked up separately in the visual dataset. ## Tool events Join to `model_calls` on `cell_id`, `seed` and `request_index`. `event_index` is zero-based within that exchange. `tool_name` preserves the tool identifier. For `tool_result`, `is_error` is the runtime's Boolean error flag and `event_phase` is the phase recorded on the event. For `visual_tool_error`, `event_phase` is null and `is_error` is true. `phase` identifies the enclosing exchange in both cases. The host appends events to the most recent exchange. One command can have several attached events. Count `tool_result` when comparing recorded tool executions, and count `visual_tool_error` separately when studying rendering failures. Of 163,247 tool results, 1,802 had their error flag set. The events cover 104 distinct tool identifiers. ## Step runtime `executed_action`, `score`, `terminated`, `truncated` and `action_override` match the compact public step trace. `score` is the score recorded after the step. `reward` is the adapter's step reward, in its native units. `candidate_compute_seconds` measures candidate computation on the step, excluding time spent waiting for model replies. `host_fallback` records a worker fallback and `environment_fallback` records a fallback in the adapter’s action mapping. `action_override` is the separately recorded worker override flag. `native_success` contains the adapter's success Boolean where populated. Null means no success value was recorded on that step. Aggregate token and protocol-error totals agree with the core dataset for every episode. For example, the following DuckDB query compares the cost of an environment step by task, memory method and model. Summing the calls within a step first gives each step equal weight. The left join includes steps with zero calls. ```sql WITH calls_per_step AS ( SELECT cell_id, seed, step, sum(input_tokens) AS inputs FROM read_parquet('data/model_calls/*.parquet') GROUP BY cell_id, seed, step ) SELECT cell_id, count(*) AS steps, avg(coalesce(inputs, 0)) AS mean_input_tokens_per_step FROM read_parquet('data/step_runtime/*.parquet') LEFT JOIN calls_per_step USING (cell_id, seed, step) GROUP BY cell_id ORDER BY cell_id; ```