# `BB.Estimator.ObjectDetection.Test.ScriptedRuntime`
[🔗](https://github.com/beam-bots/bb_estimator_object_detection/blob/main/test/support/scripted_runtime.ex#L5)

A runtime that describes the input and outputs it is given as options,
and answers every run with the same output values.

Options:

- `:input` - the input `BB.Inference.Description.Tensor`
- `:outputs` - `{tensor, values}` pairs, `values` being a flat list

Each run's inputs are sent to the pid stored at
`{BB.Estimator.ObjectDetection.Test.ScriptedRuntime, :recipient}` in
`:persistent_term`, if there is one, as `{:scripted_runtime, :run, inputs}`.

---

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