> For the complete documentation index, see [llms.txt](https://algolytics-technologies.gitbook.io/algolytics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://algolytics-technologies.gitbook.io/algolytics/scoring.one-platform/scenario-development/validation.md).

# Validation

Validation of the scenario executes a scenario which is currently loaded in a viewer. It can be done in Browse or Design view. User can select from a drop-down menu how input arguments are provide. There three forms:&#x20;

* Auto – the system sets automatically default input values
* Form – a form popup allows to set input values manually
* Inline – input values are defined in a JSON format

<figure><img src="https://2784301415-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZKEXabVqsSUGdA72pv7B%2Fuploads%2FkYC4V1QWgVtZpseKDpF6%2Fimage.png?alt=media&amp;token=07de625f-91cb-443c-a170-4b864d0d16dd" alt=""><figcaption></figcaption></figure>

### Auto

A default option is <kbd>Auto</kbd>, which provides scenario with values dependently on the type defined in the Start node of the scenario. A table below lists default system values used in <kbd>Auto</kbd> mode.&#x20;

| Type of input variable | Default value                                 |
| ---------------------- | --------------------------------------------- |
| string                 | "Lorem ipsum"                                 |
| double                 | 1                                             |
| integer                | 1                                             |
| map                    | \["a": 1, "b": 2, "c": 3, "d": "Lorem ipsum"] |
| vector                 | \[1, 2, 3, "Lorem ipsum"]                     |
| bool                   | true                                          |

### Form

When Form option is selected, validation process starts with a pop-up window with a form containing all input variables, which needs to be filled manually. If some variables are defined as optional, they can be left unset, but they will be set to default system values as in <kbd>Auto</kbd> mode. Required variables have to be filled.&#x20;

<figure><img src="https://2784301415-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZKEXabVqsSUGdA72pv7B%2Fuploads%2FLCnS9otYjt8MXjSgq3h3%2Fimage.png?alt=media&amp;token=56f35837-86c8-4953-96d6-c6372c1a0242" alt=""><figcaption></figcaption></figure>

### Inline

In Inline mode, variables can be set in a JSON format in a small single-line text input. If some variables are defined as optional, they can be left unset, but they will be set to default system values as in <kbd>Auto</kbd> mode. Required variables have to be filled.

<figure><img src="https://2784301415-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZKEXabVqsSUGdA72pv7B%2Fuploads%2FQVCAkXd5NvFSpVwMBLSF%2Fimage.png?alt=media&amp;token=e3a85989-37fc-4637-ae20-909b1dd421f5" alt=""><figcaption></figcaption></figure>
