Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

name: op-synth-exponential
description: Exponential samples with rate parameter lambda; mean is 1/lambda.
kind: operator
category: SYNTH
operator: exponential
type: reference
applies_to: inspect, predict, manifest
examples_tags: [synth, time-series, distribution-shape]

Synth distributions emit per-row values; no Response.Components. No MCP tool runs synth: the CLI (pulse synth from-schema) or Pulse.Synth does (synthetic-data).

Use when

Draws positive waiting times where short waits are common and long ones rare, set by how often events happen.

Questions it answers:

  • How do I simulate the time between customer arrivals?
  • How do I generate realistic call durations for a load test?

Use something else:

  • poisson when you want whole-number counts of events per period.
  • pareto when a few values should be extremely large.

Params

NameTypeDefaultDescription
lambdafloat1.0Rate parameter; must be > 0. Mean = 1/lambda.

Inputs

  • field type: — numeric: u4/u8/u16/u32/u64, f32/f64, decimal128. Output is always > 0.

Output

Per-row float64 sample from Exp(lambda) (machine-independent). The tail is unbounded: under a low lambda an integer field saturates at its type’s maximum (u4 15, u8 255).

Contract

  • Applies to: numeric fields.

Gotchas

  • lambda <= 0 → SERVICE_VALIDATION before any row is written.
  • Memoryless: the hazard rate is constant. For inter-arrival times, sum the draws downstream (a running-sum window).
  • No clamp param — bound via constraints (e.g. delay_s < 86400) if a runaway tail breaks the field’s range.
  • Common pattern: exponential lifetimes / wait-times, log-transformed for distribution-shape work.

See