# `Imp.Optimizer.GRPO.Callback`
[🔗](https://github.com/deepfates/imp/blob/v0.18.1/lib/imp/optimizer/grpo/callback.ex#L1)

Stable, data-only callback identity for resumable GRPO jobs.

A callback binds a trusted, already-loaded module and function to a
consumer-owned versioned id and JSON-safe configuration. Imp persists only
that identity and the configuration digest; it never serializes executable
code or reconstructs atoms from saved data.

Reward callbacks receive `(example, prediction, config)`. Validation
callbacks receive `(program, dataset, context, config)`.

# `kind`

```elixir
@type kind() :: :reward | :validation
```

# `t`

```elixir
@type t() :: %Imp.Optimizer.GRPO.Callback{
  config: term(),
  config_sha256: String.t(),
  function: atom(),
  id: String.t(),
  kind: kind(),
  module: module()
}
```

# `identity`

# `invoke`

# `invoke`

# `new`

# `reward`

# `validate`

# `validation`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
