# core.FitContext

``` python
core.FitContext(model, likelihood, layout, caps, seed=0)
```

What every pass knows about the fit, fixed for its duration.

## Parameters

| Name | Type | Description | Default |
|----|----|----|----|
| model | ModelFn | The model as a function of the params. | *required* |
| likelihood | Likelihood | The likelihood the curvature sees: the unit one (see `LateLikelihood`). | *required* |
| layout | Layout | How the params group into blocks. | *required* |
| caps | Capabilities | What the probe recorded about the model. | *required* |
| seed | int | A seed fixed for the whole fit, drawn from the fit’s `generator`, for draws that must be the same on every batch (a sketch’s test matrix). Per-batch draws use the `generator` that `update` gets instead. | `0` |
