Skip to content

5-Minute Quick Start

This walkthrough takes you from a clean checkout to a first analysis in about five minutes. No data file is needed — leap-desktop --demo loads the built-in, deterministic 48-row engineering dataset.

1. Build

cargo build --release --offline --locked

2. Launch the demo

./target/release/leap-desktop --demo

The desktop window opens with the demo dataset loaded. The Classic Workbench profile is table-first with a 3-pane sidebar (Columns / Notes / Actions); the Modern Docked profile is also available via the View menu (Ctrl+Shift+P).

Classic Workbench with the demo dataset loaded

3. Explore the grid

The grid is fully interactive:

  • Select rows — click, or drag a range. Every linked view follows the same selection.
  • Brush a plot — drag a rectangle on the linked scatter plot; both scatter and histogram reflect the brush instantly. A plain click clears the selection; Escape cancels an in-flight brush.
  • Edit cells — double-click a cell, edit, and commit. Undo with Ctrl+Z, redo with Ctrl+Y.
  • Exclude rows — the excluded state removes rows from every computation; it is deliberately never coupled to selection.

4. Run an analysis

Open Analyze → "Distribution" (or the CLI equivalent) and drop the response column into the Y, Response zone. With the role zones satisfied, click Run — the result, residual and report panels update, and the report tree regenerates.

Distribution report on demo data

For a fitted regression, choose Fit Y by X with Y, Response and X, Factor assigned. Residual diagnostics (normal probability plot, F-test, OLS tables) land in the report tree.

Fit Y by X report with residual diagnostics

5. Build a graph

Press Ctrl+G (or Graph → "Graph Builder"). Assign X and Y — the spec is only valid when both are assigned — then pick a layer (scatter, line, smooth, box, bar, histogram) and color/wrap grouping as needed. The graph builder shares state with the linked plots.

Graph Builder scatter with smooth layer

6. Save your work

Press Ctrl+S to save the current .leap project (SQLite + immutable Parquet objects, crash-safe). Open it later with Ctrl+O.

Project save dialog / workspace save

7. Script the same analysis from the CLI

The same engine backs the CLI, so results are reproducible from the shell:

./target/release/leap fit-ols <file.csv> --x pressure_bar --y yield_pct

Key bindings

Action Keys
Save project Ctrl+S
Open project Ctrl+O
Formula column Ctrl+Alt+L
Graph Builder Ctrl+G
Switch profile Ctrl+Shift+P
Cycle theme Ctrl+Shift+T
Toggle high contrast Ctrl+Shift+H
Undo / Redo Ctrl+Z / Ctrl+Y
Help F1

Keyboard help

Press F1 anywhere in the app for the in-app keymap and help panel.

Next: read the CLI Reference, or move on to Migrating Workflows if you are coming from another statistical package.