> ## Documentation Index
> Fetch the complete documentation index at: https://docs.summand.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Experiments

> Schedule analytical components to run against a dataset or view, with versioned outputs and run history.

An **experiment** is a recurring run of one or more **components** (predictors, forecasts, column stats and others) against a **dataset** or **view**. Experiments are how recurring analysis happens in Summand — instead of remembering to re-run a notebook, you wire up an experiment and it runs forever.

## Anatomy

| Field | Purpose |
| - | - |
| `experimentId` | Stable identifier. |
| `name` / `description` | Human-readable. |
| `datasetId` | The source dataset. Set this or `viewId`, not both. |
| `viewId` | The source view. Set this or `datasetId`, not both. |
| `components[]` | List of component IDs to run. At least one. |
| `inputs` | A dict keyed by `ComponentInput.name` — typed values supplied to each component. |
| `schedulePreset` / `cronExpression` | When to run. |
| `enabled` | Pause without deleting. |
| `runCount`, `lastRunAt`, `recentRuns[]` | Run history (last 3 surfaced inline; full history under **Run history**). |

Experiments are stored as DynamoDB items keyed under the user. EventBridge Scheduler is what actually fires them on cron — Summand's runtime is Lambda + Step Functions, not a long-running scheduler service.

## Schedule options

Six presets cover the common cases:

* **Daily at 3 AM** (`cron(0 3 * * ? *)`)
* **Daily at 6 AM**
* **Every 6 hours**
* **Every 12 hours**
* **Weekly Monday 3 AM**
* **Weekly Sunday 3 AM**

Or write your own AWS EventBridge cron / rate expression:

```text theme={null}
cron(*/15 * * * ? *)        — every 15 minutes
cron(0 9 ? * MON-FRI *)     — every weekday at 9 AM
cron(0 0 1 * ? *)           — first of every month at midnight
rate(2 hours)               — every two hours
```

Note that EventBridge cron uses six fields, not the standard five — the day-of-week field has special semantics. The in-product editor validates and surfaces a human-readable description (e.g. *"At minute 0, every 6 hours"*) so you can sanity-check before saving.

## Components

A component is a unit of analysis with declared **inputs** and **outputs**. The component catalog defines what's available; today it includes:

* **Predictors** — fit an EBM and write feature importance and shape functions.
* **Column stats** — per-column distributions, missingness and cardinality.
* **Forecast, outlier report, correlations, missing-value patterns and distribution profile.**
* **Computed-context pieces** — UMAP, feature metadata, and similar artifacts.

Each component has typed inputs that the experiment editor renders as form fields (number inputs for thresholds, dropdowns for column references, etc.). For example, the Predictors component has an input for "target column" — *that's where target column lives in the product today*, not on the dataset.

See [Components](https://docs.summand.com/concepts/components.md) for the full catalog and what each one does.

## Sources: dataset vs. view

You can target either a dataset or a view:

* **Dataset** — components run on the curated Parquet for that dataset. The simplest case.
* **View** — components run on the SQL view's output. Use this when you need to filter, join, or aggregate first, or when you want experiments to share a common definition (define the cohort once as a view, point multiple experiments at it).

An experiment can use a view you own or a view shared with you. You need read access to the view when you create the experiment, and a run is skipped if that access is later revoked.

## Outputs

Each run writes:

* A **new computed-context version** for the source, with each component's output in S3.
* A row in **Run history** with status, duration, and any error.

Outputs are queryable from chat (*"what did the last predictor run say?"*) and viewable on the dataset's **Components** tab.

## Run history

The experiment detail page shows the most recent runs with status (`running` / `completed` / `failed`), duration, and (on failure) the error message. Older runs paginate further back.

Failed runs are kept — Summand doesn't auto-retry. You can:

* **Manually re-run** from the experiment detail page (a one-shot trigger; doesn't change the schedule).
* **Edit and re-save** to fix the configuration; the next scheduled tick picks up the change.
* **Pause** if the underlying source is broken upstream and you don't want to spam failures.

## Manual triggers

Hit the **Run now** button to fire an experiment outside its schedule. The run shows up in history alongside scheduled runs; the next scheduled tick runs as normal.

This is the right way to test a configuration before letting it go on cron.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.