# Reports and recordings

bsln version: `0.0.1b40`

SDK source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln`

Page source: `baseline-robotics/engineering@c8db8d9fbc8ce8e0524c5ee45cebdfcec34fc666:robotics/bsln/docs/customer/QUICKSTART.md`

[Read on the web](https://docs.baseline-robotics.com/results/) | [Markdown](https://docs.baseline-robotics.com/results.md) | [Documentation index](https://docs.baseline-robotics.com/llms.txt)

## Get the report and recording

<a id="read-the-report-offline"></a>
<a id="clientdownload_session"></a>

```bash
bash -c '
read -r -p "Session ID: " session_id || exit 1
[[ $session_id =~ ^ses_[[:alnum:]_-]+$ ]] || { printf "%s\n" "Enter a valid session ID." >&2; exit 1; }
bsln get session-report "$session_id" &&
bsln download session "$session_id" --out ./data
'
```

Use the ID of an ended session. See [SDK downloads](https://docs.baseline-robotics.com/sdk/client-data-reference.md#clientdownload_session) for Python or [recording format](https://docs.baseline-robotics.com/recordings.md) for the bundle layout.

## Read the outcome before the counters

Add `--json` to the report command to read the fields below.

| Field | What it measures |
| --- | --- |
| `end_reason.code` and `end_reason.detail` | Why the session ended. See the [end-reason codes](https://docs.baseline-robotics.com/help.md#why-a-session-ended). |
| `commands.dropped` | Messages the server dropped at its rate limit. |
| `commands.chunks.chunk_targets_late` | Individual chunk targets that arrived too late to play. |
| `holds.deadman` | Station-reported count and duration of holds when commands expired or the chunk buffer emptied. |
| `recording` and `notes` | Uploaded episodes, readable rows and explanations for missing data. |

Null counters indicate unavailable evidence. Use `notes` before comparing totals across sessions.

## Execution outcome and task label

`end_reason` reports how execution ended. Score task success against your task's success condition using the episode evidence.

## Safety adjustments

`safety.ticks` counts readable rows. A row can have several flags. Compare `adjusted_ticks / commanded_ticks` per joint and keep both counts. Commanded rows require finite requested and permitted values and exclude protective holds. A change over 0.000001 joint units counts as an adjustment. Missing or zero denominators make the fraction unavailable.

## Compare trials offline

In an empty directory, download the [trial example](https://docs.baseline-robotics.com/downloads/results/synthetic-trials.json) and run the comparison:

```bash
curl -fsSLO https://docs.baseline-robotics.com/downloads/results/compare_trials.py &&
curl -fsSLO https://docs.baseline-robotics.com/downloads/results/synthetic-trials.json &&
uv run --no-project compare_trials.py synthetic-trials.json --out summary.json
```

Compare `summary.json` with the [expected summary](https://docs.baseline-robotics.com/downloads/results/expected-summary.json).

### Define the comparison before counting

Register trial counts, conditions, checkpoint and adapter versions, stopping rules and an explicit task criterion before collecting results. Record execution and task labels separately. Keep aborted and incomplete trials in the registered count. Keep label sources and reasons for missing data.

### Read both the task rate and its coverage

Divide successful completed trials by labeled completed trials. Also report completed over registered, labeled over completed, and documented completed successes over registered. A missing label stays unknown. A zero denominator yields null. Keep original recordings and reports with your analysis.

<a id="read-a-recording"></a>
<a id="policy-motion-in-replay"></a>

For replay, read the [requested, permitted and measured joint series](https://docs.baseline-robotics.com/recordings.md#step-data).
